Advertisement
dudeinberlin

bf3 SoldierClassNames

Oct 27th, 2013
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.68 KB | None | 0 0
  1. class CharacterCustomizationAsset :
  2.         public fb::Asset
  3.     {
  4.     public:
  5.         UIHudIcon m_uIHudIcon;//
  6.         fb::String m_uIKitIconName;
  7.         fb::String m_labelSid;
  8.  
  9.  
  10.         __forceinline char *GetName()
  11.         {
  12.             static char szName[20] = {0};
  13.             bool asdf = false;
  14.             bool Slash = false;
  15.  
  16.             const char *name = this->m_name.m_chars;
  17.  
  18.             if( name )
  19.             {
  20.                 for( int i = 0, j = 0; i < (int)strlen(name); i++ )
  21.                 {
  22.                     if( asdf && name[i] == '_' )
  23.                     {
  24.                         szName[j] = 0;
  25.                         break;
  26.                     }
  27.  
  28.                     if( name[i] == '/' && !asdf )
  29.                     {
  30.                         if(!Slash)
  31.                         {
  32.                             Slash = true;
  33.                             continue;
  34.                         }
  35.                         asdf = true;
  36.                         continue;
  37.                     }
  38.  
  39.                     if( asdf )
  40.                     {
  41.                         szName[j] = name[i+2];
  42.                         j++;
  43.                     }
  44.                 }
  45.             }
  46.             return szName;
  47.         }
  48.     };
  49.  
  50.     class Player
  51.     {
  52.     public:
  53.         virtual ~Player();
  54.         virtual SoldierEntity* getSoldier();//
  55.         virtual EntryComponent * getEntry();  //
  56.         virtual bool isInVehicle(); //
  57.         virtual unsigned int getId(); //
  58.         virtual bool isUnlocked(const class UnlockAssetBase *);  
  59.  
  60.         PlayerData* m_data;// 0x08
  61.         MemoryArena* m_arena;// 0x0C
  62.         eastl::basic_string<char,eastl_arena_allocator> m_name;     // 0x10
  63.         OnlineId m_onlineId; // 0x20
  64.         OnlineId m_groupId; // 0x40
  65.         OnlineId m_clubId; // 0x60
  66.         unsigned int m_analogInputEnableMask;                     // this+0x80
  67.         unsigned __int64 m_digitalInputEnableMask;                // this+0x88
  68.         CharacterCustomizationAsset* m_selectedCustomizationAsset;// this+0x90
  69.         char eastlpad_0x94[0x284];//0x94
  70.         bool m_isAIPlayer;//0x318
  71.         bool m_isSpectator;//0x319
  72.         char allign_0x31a[0x2];//0x31a
  73.         int m_teamId; // 0x31C
  74.     }; // 0x320
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement