From 4b58b9f6731f338e3f797b8aa20ecc2d159ca682 Mon Sep 17 00:00:00 2001 From: Nick Hastings Date: Tue, 26 Oct 2021 17:32:02 -0400 Subject: [PATCH] Reorder SDKCallType enum for better compatibility with existing plugins. --- extensions/sdktools/vdecoder.h | 2 +- plugins/include/sdktools.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/sdktools/vdecoder.h b/extensions/sdktools/vdecoder.h index 5c741a7b..5e564132 100644 --- a/extensions/sdktools/vdecoder.h +++ b/extensions/sdktools/vdecoder.h @@ -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) */ }; /** diff --git a/plugins/include/sdktools.inc b/plugins/include/sdktools.inc index 7c44938b..2e229ad3 100644 --- a/plugins/include/sdktools.inc +++ b/plugins/include/sdktools.inc @@ -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