From b746fa1e3bd0a216d4085e38383fb0c7e496646d Mon Sep 17 00:00:00 2001 From: aixxe Date: Mon, 19 Dec 2016 19:19:33 +0000 Subject: [PATCH] Add IVModelInfoClient::GetStudioModel. * Proper structures coming soon. Signed-off-by: aixxe --- include/cstrike/Interfaces/IVModelInfo.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/cstrike/Interfaces/IVModelInfo.h b/include/cstrike/Interfaces/IVModelInfo.h index cf20856..06b9234 100644 --- a/include/cstrike/Interfaces/IVModelInfo.h +++ b/include/cstrike/Interfaces/IVModelInfo.h @@ -17,11 +17,15 @@ #define BONE_USED_BY_VERTEX_LOD7 0x20000 #define BONE_USED_BY_BONE_MERGE 0x40000 -class model_t; +class studiohdr_t; class IVModelInfoClient { public: const char* GetModelName(const model_t* model) { return GetVirtualFunction(this, 4)(this, model); } + + studiohdr_t* GetStudioModel(const model_t* model) { + return GetVirtualFunction(this, 29)(this, model); + } }; \ No newline at end of file