Added request at29487
1) New hookable Engine func: GetInfoKeyBuffer 2) New GameDLL func that can be called via engfunc: GetInfoKeyBuffer 3) New native: copy_infokey_buffer that copies data out of the specified info key buffer 4) EngFunc_InfoKeyValue, EngFunc_SetKeyValue, and EngFunc_SetClientKeyValue have been reworked so that they expect pointers to an info key buffer in order to work properly o_O
This commit is contained in:
@ -20,6 +20,9 @@
|
||||
#define FMRES_IGNORED 1
|
||||
#define FMRES_OVERRIDE 3
|
||||
|
||||
// Use this with GetInfoKeyBuffer if you want the server's localinfo buffer
|
||||
#define FM_NULLENT -1
|
||||
|
||||
|
||||
/* Used with engfunc()
|
||||
*/
|
||||
@ -105,7 +108,8 @@ enum {
|
||||
EngFunc_InfoKeyValue, // char*) (char *infobuffer, char *key);
|
||||
EngFunc_SetKeyValue, // void ) (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);
|
||||
EngFunc_GetInfoKeyBuffer // char*) (edict_t *e);
|
||||
};
|
||||
|
||||
/* Used with dllfunc()
|
||||
@ -513,14 +517,16 @@ enum {
|
||||
FM_ShouldCollide,
|
||||
|
||||
//LATE ADDITIONS (v1.71)
|
||||
FM_ClientUserInfoChanged, //passes id only
|
||||
FM_ClientUserInfoChanged,
|
||||
|
||||
// LATE ADDITIONS (v1.75)
|
||||
FM_UpdateClientData,
|
||||
FM_AddToFullPack,
|
||||
FM_CmdStart,
|
||||
FM_CmdEnd,
|
||||
FM_CreateInstBaseline,
|
||||
FM_CreateBaseline
|
||||
FM_CreateBaseline,
|
||||
FM_GetInfoKeyBuffer
|
||||
};
|
||||
|
||||
enum TraceResult
|
||||
|
Reference in New Issue
Block a user