Added some comments to benefit all mankind :o
This commit is contained in:
parent
4e1123730c
commit
b2aff10e46
@ -109,6 +109,8 @@ enum {
|
|||||||
EngFunc_SetKeyValue, // void ) (char *infobuffer, char *key, char *value);
|
EngFunc_SetKeyValue, // void ) (char *infobuffer, char *key, char *value);
|
||||||
EngFunc_SetClientKeyValue, // void ) (int clientIndex, char *infobuffer, char *key, char *value);
|
EngFunc_SetClientKeyValue, // void ) (int clientIndex, char *infobuffer, char *key, char *value);
|
||||||
EngFunc_CreateInstBaseline, // int ) (int classname, struct entity_state_s *baseline);
|
EngFunc_CreateInstBaseline, // int ) (int classname, struct entity_state_s *baseline);
|
||||||
|
|
||||||
|
// Returns pointer to info buffer that can be used with the infobuffer param of InfoKeyValue, SetKeyValue, and SetClientKeyValue
|
||||||
EngFunc_GetInfoKeyBuffer // char*) (edict_t *e);
|
EngFunc_GetInfoKeyBuffer // char*) (edict_t *e);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -185,6 +185,9 @@ stock EF_SetClientKeyValue(const ID, const INFOBUFFER, const KEY[], const VALUE[
|
|||||||
|
|
||||||
stock EF_CreateInstBaseline(CLASSNAME, baseline)
|
stock EF_CreateInstBaseline(CLASSNAME, baseline)
|
||||||
return engfunc(EngFunc_CreateInstBaseline, CLASSNAME, baseline)
|
return engfunc(EngFunc_CreateInstBaseline, CLASSNAME, baseline)
|
||||||
|
|
||||||
|
// Returns pointer to info buffer that can be used with the INFOBUFFER param
|
||||||
|
// of EF_InfoKeyValue, EF_SetKeyValue, and EF_SetClientKeyValue
|
||||||
stock EF_GetInfoKeyBuffer(const ENTITY)
|
stock EF_GetInfoKeyBuffer(const ENTITY)
|
||||||
return engfunc(EngFunc_GetInfoKeyBuffer, ENTITY)
|
return engfunc(EngFunc_GetInfoKeyBuffer, ENTITY)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user