2019-06-14 23:34:19 +00:00
|
|
|
#pragma once
|
|
|
|
#include "Automobile.h"
|
|
|
|
#include "PlayerPed.h"
|
|
|
|
|
|
|
|
enum eWastedBustedState {
|
|
|
|
WBSTATE_PLAYING = 0x0,
|
|
|
|
WBSTATE_WASTED = 0x1,
|
|
|
|
WBSTATE_BUSTED = 0x2,
|
|
|
|
WBSTATE_FAILED_CRITICAL_MISSION = 0x3,
|
|
|
|
};
|
|
|
|
|
|
|
|
struct CCivilianPed {
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
class CPlayerInfo {
|
|
|
|
public:
|
|
|
|
CPlayerPed *m_pPed;
|
|
|
|
CVehicle *m_pRemoteVehicle;
|
|
|
|
CColModel m_ColModel;
|
|
|
|
CVehicle *m_pVehicleEx;
|
|
|
|
char m_aszPlayerName[70];
|
|
|
|
private:
|
|
|
|
int8 _pad0[2];
|
|
|
|
public:
|
|
|
|
int32 m_nMoney;
|
|
|
|
int32 m_nVisibleMoney;
|
|
|
|
int32 m_nCollectedPackages;
|
|
|
|
int32 m_nTotalPackages;
|
|
|
|
int32 field_188;
|
|
|
|
int32 m_nSwitchTaxiTime;
|
2019-06-16 22:16:38 +00:00
|
|
|
bool m_bSwitchTaxi;
|
2019-06-14 23:34:19 +00:00
|
|
|
int8 field_197;
|
|
|
|
int8 field_198;
|
|
|
|
int8 field_199;
|
|
|
|
int32 m_nNextSexFrequencyUpdateTime;
|
|
|
|
int32 m_nNextSexMoneyUpdateTime;
|
|
|
|
int32 m_nSexFrequency;
|
|
|
|
CCivilianPed *m_pHooker;
|
|
|
|
int8 m_bWBState; // eWastedBustedState
|
|
|
|
int8 field_217;
|
|
|
|
int8 field_218;
|
|
|
|
int8 field_219;
|
|
|
|
int32 m_nWBTime;
|
2019-06-16 22:16:38 +00:00
|
|
|
bool m_bInRemoteMode;
|
2019-06-14 23:34:19 +00:00
|
|
|
int8 field_225;
|
|
|
|
int8 field_226;
|
|
|
|
int8 field_227;
|
|
|
|
int32 m_nTimeLostRemoteCar;
|
|
|
|
int32 m_nTimeLastHealthLoss;
|
|
|
|
int32 m_nTimeLastArmourLoss;
|
|
|
|
int32 field_240;
|
|
|
|
int32 m_nUpsideDownCounter;
|
|
|
|
int32 field_248;
|
|
|
|
int16 m_nTrafficMultiplier;
|
|
|
|
int8 field_254;
|
|
|
|
int8 field_255;
|
2019-06-16 22:16:38 +00:00
|
|
|
float m_fRoadDensity;
|
2019-06-14 23:34:19 +00:00
|
|
|
int32 m_nPreviousTimeRewardedForExplosion;
|
|
|
|
int32 m_nExplosionsSinceLastReward;
|
|
|
|
int32 field_268;
|
|
|
|
int32 field_272;
|
2019-06-16 22:16:38 +00:00
|
|
|
bool m_bInfiniteSprint;
|
|
|
|
bool m_bFastReload;
|
|
|
|
bool m_bGetOutOfJailFree;
|
|
|
|
bool m_bGetOutOfHospitalFree;
|
2019-06-14 23:34:19 +00:00
|
|
|
uint8 m_aSkinName[32];
|
|
|
|
RwTexture *m_pSkinTexture;
|
|
|
|
};
|
|
|
|
|
|
|
|
static_assert(sizeof(CPlayerInfo) == 0x13C, "CPlayerPed: error");
|