mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add inlines for getting edict and names
This commit is contained in:
parent
8136374693
commit
abb9f30753
@ -34,6 +34,9 @@ public:
|
||||
int GetModelIndex(void) const; // Virtual in-engine!
|
||||
string_t GetModelName(void) const; // Virtual in-engine!
|
||||
|
||||
inline edict_t GetEdict(void) { return NetworkProp()->GetEdict(); }
|
||||
inline string_t GetName(void) const { return m_iName; }
|
||||
|
||||
protected:
|
||||
char m_RefEHandle[4];
|
||||
char gap_c[4];
|
||||
@ -101,7 +104,7 @@ protected:
|
||||
int m_fDataObjectTypes;
|
||||
int m_iEFlags;
|
||||
int m_fFlags;
|
||||
__int64 m_iName;
|
||||
string_t m_iName;
|
||||
int m_scriptNameIndex;
|
||||
int m_instanceNameIndex;
|
||||
char m_scriptName[64];
|
||||
|
Loading…
x
Reference in New Issue
Block a user