Thread
:
In general, when should I use stock vs public vs [blank]
View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
01-31-2014 , 04:19 Re: In general, when should I use stock vs public vs [blank]
#
4
stock is for functions in include files (they don't get compiled into the plugin if unused), public is for functions that other plugins or SourceMod needs to be able to call (i.e. forward callbacks), and no specifier is for everything else (there is also static which is used for "internal" functions in include files, which are only visible to other functions in that file).
__________________
Spider - A Replacement Webcompiler
Accelerator - Crash Reporting That Doesn't Suck
VTable.js - In-browser Virtual Function Table Dumper
TF2Items
|
SteamTools
|
VPhysics
|
RocketBounce
|
Free2BeKicked
|
Connect
|
Webcon & Conplex
asherkin
View Public Profile
Send a private message to asherkin
Visit asherkin's homepage!
Find More Posts by asherkin