Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CharacterCustomizationAsset :
- public fb::Asset
- {
- public:
- UIHudIcon m_uIHudIcon;//
- fb::String m_uIKitIconName;
- fb::String m_labelSid;
- __forceinline char *GetName()
- {
- static char szName[20] = {0};
- bool asdf = false;
- bool Slash = false;
- const char *name = this->m_name.m_chars;
- if( name )
- {
- for( int i = 0, j = 0; i < (int)strlen(name); i++ )
- {
- if( asdf && name[i] == '_' )
- {
- szName[j] = 0;
- break;
- }
- if( name[i] == '/' && !asdf )
- {
- if(!Slash)
- {
- Slash = true;
- continue;
- }
- asdf = true;
- continue;
- }
- if( asdf )
- {
- szName[j] = name[i+2];
- j++;
- }
- }
- }
- return szName;
- }
- };
- class Player
- {
- public:
- virtual ~Player();
- virtual SoldierEntity* getSoldier();//
- virtual EntryComponent * getEntry(); //
- virtual bool isInVehicle(); //
- virtual unsigned int getId(); //
- virtual bool isUnlocked(const class UnlockAssetBase *);
- PlayerData* m_data;// 0x08
- MemoryArena* m_arena;// 0x0C
- eastl::basic_string<char,eastl_arena_allocator> m_name; // 0x10
- OnlineId m_onlineId; // 0x20
- OnlineId m_groupId; // 0x40
- OnlineId m_clubId; // 0x60
- unsigned int m_analogInputEnableMask; // this+0x80
- unsigned __int64 m_digitalInputEnableMask; // this+0x88
- CharacterCustomizationAsset* m_selectedCustomizationAsset;// this+0x90
- char eastlpad_0x94[0x284];//0x94
- bool m_isAIPlayer;//0x318
- bool m_isSpectator;//0x319
- char allign_0x31a[0x2];//0x31a
- int m_teamId; // 0x31C
- }; // 0x320
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement