/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_CLIENTEnsures that the client has been fully initialized via New(), and can't somehow execute actions before that. Security measure. WILL RETURN OUT OF THE ENTIRE PROC COMPLETELY IF THE CLIENT IS NOT FULLY INITIALIZED. BE WARNED IF YOU WANT RETURN VALUES.

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

Ensures that the client has been fully initialized via New(), and can't somehow execute actions before that. Security measure. WILL RETURN OUT OF THE ENTIRE PROC COMPLETELY IF THE CLIENT IS NOT FULLY INITIALIZED. BE WARNED IF YOU WANT RETURN VALUES.