Reorder SDKCallType enum for better compatibility with existing plugins.

This commit is contained in:
Nick Hastings 2021-10-26 17:32:02 -04:00
parent ffc23a1a1e
commit 4b58b9f673
2 changed files with 3 additions and 3 deletions

View File

@ -79,10 +79,10 @@ enum ValveCallType
ValveCall_Static, /**< Static call */
ValveCall_Entity, /**< Thiscall (CBaseEntity implicit first parameter) */
ValveCall_Player, /**< Thiscall (CBasePlayer implicit first parameter) */
ValveCall_Server, /**< Thiscall (CBaseServer implicit first parameter) */
ValveCall_GameRules, /**< Thiscall (CGameRules implicit first paramater) */
ValveCall_EntityList, /**< Thiscall (CGlobalEntityList implicit first paramater) */
ValveCall_Raw, /**< Thiscall (address explicit first parameter) */
ValveCall_Server, /**< Thiscall (CBaseServer implicit first parameter) */
};
/**

View File

@ -58,10 +58,10 @@ enum SDKCallType
SDKCall_Static, /**< Static call */
SDKCall_Entity, /**< CBaseEntity call */
SDKCall_Player, /**< CBasePlayer call */
SDKCall_Server, /**< CBaseServer call */
SDKCall_GameRules, /**< CGameRules call */
SDKCall_EntityList, /**< CGlobalEntityList call */
SDKCall_Raw /**< |this| pointer with an arbitrary address */
SDKCall_Raw, /**< |this| pointer with an arbitrary address */
SDKCall_Server /**< CBaseServer call */
};
enum SDKLibrary