/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/client.dm

IS_CLIENT_OR_MOCKUse NONE for continue interaction Checks if the given target is either a client or a mock client
VALIDATE_CLIENT_INITIALIZATIONChecks to see if a /client has fully gone through New() as a safeguard against certain operations. Should return the boolean value of the fully_created var, which should be TRUE if New() has finished running. FALSE otherwise.

Define Details

IS_CLIENT_OR_MOCK

Use NONE for continue interaction Checks if the given target is either a client or a mock client

VALIDATE_CLIENT_INITIALIZATION

Checks to see if a /client has fully gone through New() as a safeguard against certain operations. Should return the boolean value of the fully_created var, which should be TRUE if New() has finished running. FALSE otherwise.