From 56806e904534812e015a5067d517fbc0a4ea7b97 Mon Sep 17 00:00:00 2001 From: Marvin D <41352111+IcePixelx@users.noreply.github.com> Date: Thu, 3 Nov 2022 00:06:11 +0100 Subject: [PATCH] ServerClass impl --- r5dev/public/server_class.h | 21 +++++++++++++++++++++ r5dev/vproj/dedicated.vcxproj | 1 + r5dev/vproj/dedicated.vcxproj.filters | 3 +++ r5dev/vproj/gamesdk.vcxproj | 1 + r5dev/vproj/gamesdk.vcxproj.filters | 3 +++ 5 files changed, 29 insertions(+) create mode 100644 r5dev/public/server_class.h diff --git a/r5dev/public/server_class.h b/r5dev/public/server_class.h new file mode 100644 index 00000000..6e26bd51 --- /dev/null +++ b/r5dev/public/server_class.h @@ -0,0 +1,21 @@ +#pragma once + +//----------------------------------------------------------------------------- +// Purpose: Server side class definition +//----------------------------------------------------------------------------- +class ServerClass +{ +public: + const char* GetName(void) const + { + return m_pNetworkName; + } + +public: + char* m_pNetworkName; + void* m_pSendTable; + ServerClass* m_pNext; + int m_Unknown1; + int m_ClassID; + int m_InstanceBaselineIndex; +}; \ No newline at end of file diff --git a/r5dev/vproj/dedicated.vcxproj b/r5dev/vproj/dedicated.vcxproj index ec3b81b1..3d7b57d6 100644 --- a/r5dev/vproj/dedicated.vcxproj +++ b/r5dev/vproj/dedicated.vcxproj @@ -232,6 +232,7 @@ + diff --git a/r5dev/vproj/dedicated.vcxproj.filters b/r5dev/vproj/dedicated.vcxproj.filters index 3270e893..f01d1a4a 100644 --- a/r5dev/vproj/dedicated.vcxproj.filters +++ b/r5dev/vproj/dedicated.vcxproj.filters @@ -1248,6 +1248,9 @@ sdk\engine + + sdk\public + diff --git a/r5dev/vproj/gamesdk.vcxproj b/r5dev/vproj/gamesdk.vcxproj index da7e4e25..ea1a10b2 100644 --- a/r5dev/vproj/gamesdk.vcxproj +++ b/r5dev/vproj/gamesdk.vcxproj @@ -311,6 +311,7 @@ + diff --git a/r5dev/vproj/gamesdk.vcxproj.filters b/r5dev/vproj/gamesdk.vcxproj.filters index 91775da3..dd48a04d 100644 --- a/r5dev/vproj/gamesdk.vcxproj.filters +++ b/r5dev/vproj/gamesdk.vcxproj.filters @@ -1889,6 +1889,9 @@ sdk\engine + + sdk\public +