1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-10 19:02:11 +08:00
hl2sdk/public/entity2/entitycomponent.h
zer0.k 7931af02fa
Implement CEntityHandle & CEntitySystem (#134)
Add CConcreteEntityList, CEntityComponent, CScriptComponent, CGameEntitySystem, rewrite IHandleEntity to use CEntityHandle instead of CBaseHandle, update NUM_SERIAL_NUM_BITS, comment out old CBaseEntity, obsolete basehandle.h
2023-09-30 15:49:35 +03:00

26 lines
412 B
C++

#ifndef ENTITYCOMPONENT_H
#define ENTITYCOMPONENT_H
#if _WIN32
#pragma once
#endif
#include <tier0/platform.h>
#include "tier1/utlsymbollarge.h"
class CEntityComponent
{
private:
uint8 unknown[0x8]; // 0x0
};
class CScriptComponent : public CEntityComponent
{
private:
uint8 unknown[0x28]; // 0x8
public:
CUtlSymbolLarge m_scriptClassName; // 0x30
};
#endif // ENTITYCOMPONENT_H