diff options
author | aap <aap@papnet.eu> | 2019-06-29 11:09:33 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-29 11:09:33 +0200 |
commit | b2f8c7eb23f9def86acb84ba2936041ded0db748 (patch) | |
tree | df7bda7922a10f05de1ca758a3fa463786ed28ea /src/entities/PlayerInfo.h | |
parent | forgot the actual file... (diff) | |
download | re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar.gz re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar.bz2 re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar.lz re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar.xz re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.tar.zst re3-b2f8c7eb23f9def86acb84ba2936041ded0db748.zip |
Diffstat (limited to 'src/entities/PlayerInfo.h')
-rw-r--r-- | src/entities/PlayerInfo.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/src/entities/PlayerInfo.h b/src/entities/PlayerInfo.h index abda1b23..79f379d5 100644 --- a/src/entities/PlayerInfo.h +++ b/src/entities/PlayerInfo.h @@ -1,6 +1,6 @@ #pragma once -#include "Automobile.h" -#include "PlayerPed.h" + +#include "Collision.h" enum eWastedBustedState { @@ -10,10 +10,9 @@ enum eWastedBustedState WBSTATE_FAILED_CRITICAL_MISSION, }; -struct CCivilianPed -{ - -}; +class CVehicle; +class CPlayerPed; +class CCivilianPed; class CPlayerInfo { @@ -22,10 +21,7 @@ public: CVehicle *m_pRemoteVehicle; CColModel m_ColModel; CVehicle *m_pVehicleEx; - char m_aszPlayerName[70]; -private: - int8 _pad0[2]; -public: + char m_aPlayerName[70]; int32 m_nMoney; int32 m_nVisibleMoney; int32 m_nCollectedPackages; @@ -40,7 +36,7 @@ public: int32 m_nNextSexMoneyUpdateTime; int32 m_nSexFrequency; CCivilianPed *m_pHooker; - int8 m_bWBState; // eWastedBustedState + int8 m_WBState; // eWastedBustedState int8 field_217; int8 field_218; int8 field_219; @@ -71,4 +67,4 @@ public: RwTexture *m_pSkinTexture; }; -static_assert(sizeof(CPlayerInfo) == 0x13C, "CPlayerPed: error"); +static_assert(sizeof(CPlayerInfo) == 0x13C, "CPlayerInfo: error"); |