ServerClass impl

This commit is contained in:
Marvin D 2022-11-03 00:06:11 +01:00
parent bf88ecbc4a
commit 56806e9045
5 changed files with 29 additions and 0 deletions

View File

@ -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;
};

View File

@ -232,6 +232,7 @@
<ClInclude Include="..\public\isnapshotmgr.h" />
<ClInclude Include="..\public\ivscript.h" />
<ClInclude Include="..\public\model_types.h" />
<ClInclude Include="..\public\server_class.h" />
<ClInclude Include="..\public\studio.h" />
<ClInclude Include="..\public\utility\binstream.h" />
<ClInclude Include="..\public\utility\httplib.h" />

View File

@ -1248,6 +1248,9 @@
<ClInclude Include="..\engine\sdk_dll.h">
<Filter>sdk\engine</Filter>
</ClInclude>
<ClInclude Include="..\public\server_class.h">
<Filter>sdk\public</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\common\opcodes.cpp">

View File

@ -311,6 +311,7 @@
<ClInclude Include="..\public\materialsystem\shader_vcs_version.h" />
<ClInclude Include="..\public\model_types.h" />
<ClInclude Include="..\public\rendersystem\schema\texture.g.h" />
<ClInclude Include="..\public\server_class.h" />
<ClInclude Include="..\public\studio.h" />
<ClInclude Include="..\core\resource.h" />
<ClInclude Include="..\public\utility\binstream.h" />

View File

@ -1889,6 +1889,9 @@
<ClInclude Include="..\engine\gl_rmain.h">
<Filter>sdk\engine</Filter>
</ClInclude>
<ClInclude Include="..\public\server_class.h">
<Filter>sdk\public</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Image Include="..\shared\resource\lockedserver.png">