diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2025-05-20 16:41:03 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2025-05-20 16:41:03 -0300 |
| commit | 42be37f4ad99fc8580415fed89939e305d56193e (patch) | |
| tree | 41303aace3c214f925a43fec6a857f313196e38d /src/player.hh | |
| parent | 7fe30185df21617cf44100f89db462cd4501050e (diff) | |
| download | game-42be37f4ad99fc8580415fed89939e305d56193e.tar.gz game-42be37f4ad99fc8580415fed89939e305d56193e.zip | |
implement `main.cc`, `shm.cc`, and `time.cc` + overall tweeks
Diffstat (limited to 'src/player.hh')
| -rw-r--r-- | src/player.hh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/player.hh b/src/player.hh index b6009a1..0a3f583 100644 --- a/src/player.hh +++ b/src/player.hh @@ -3,6 +3,7 @@ #include "main.hh" #include "creature.hh" +#include "containers.hh" struct TPlayerData { uint32 CharacterID; @@ -43,7 +44,7 @@ struct TPlayerData { int InventorySize; uint8 *Depot[9]; int DepotSize[9]; - ulong AccountID; + uint32 AccountID; int Sex; char Name[30]; uint8 Rights[12]; @@ -76,7 +77,7 @@ struct TPlayer: TCreature { // DATA // ========================================================================= //TCreature super_TCreature; // IMPLICIT - ulong AccountID; + uint32 AccountID; char Guild[31]; char Rank[31]; char Title[31]; @@ -98,10 +99,10 @@ struct TPlayer: TCreature { uint8 SpellList[256]; int QuestValues[500]; Object OpenContainer[16]; - vector<long_unsigned_int> AttackedPlayers; + vector<uint32> AttackedPlayers; int NumberOfAttackedPlayers; bool Aggressor; - vector<long_unsigned_int> FormerAttackedPlayers; + vector<uint32> FormerAttackedPlayers; int NumberOfFormerAttackedPlayers; bool FormerAggressor; uint32 FormerLogoutRound; |
