Add ValveType_Object type.
This is for the few cases where we have function parameters to objects that don't fit our other predefined types (CBaseEntity, CBasePlayer, string). Most calls currently pass those as POD (which is incorrect, but works on x86), or one of the other pointer types (which is also incorrect, and can lead to confusion, but works on x86 and x86-64). This type only works when manually buffering the parameter for calls, and is not supported for return types.
This commit is contained in:
committed by
Nicholas Hastings
parent
de84f47503
commit
0be7813398
@@ -48,11 +48,12 @@ enum ValveType
|
||||
Valve_CBasePlayer, /**< CBasePlayer (disallow normal ents) */
|
||||
Valve_Vector, /**< Vector */
|
||||
Valve_QAngle, /**< QAngle */
|
||||
Valve_POD, /**< Plain old data */
|
||||
Valve_POD, /**< Plain old data, int32 size */
|
||||
Valve_Float, /**< Float */
|
||||
Valve_Edict, /**< Edict */
|
||||
Valve_String, /**< String */
|
||||
Valve_Bool, /**< Boolean */
|
||||
Valve_Object, /**< Object, not matching one of the above types */
|
||||
};
|
||||
|
||||
enum DataStatus
|
||||
|
||||
Reference in New Issue
Block a user