2024-04-17 03:45:38 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
namespace diablo2 {
|
|
|
|
namespace structures {
|
|
|
|
struct net_client;
|
2024-05-03 03:43:43 +00:00
|
|
|
|
2024-04-17 03:45:38 +00:00
|
|
|
struct player_data {
|
2024-05-03 03:43:43 +00:00
|
|
|
char name[0x10]; //+00 Player Name
|
|
|
|
void* pt_quest[3]; //+10 Quest Pointers for each difficulty
|
2024-04-17 03:45:38 +00:00
|
|
|
uint8_t uk1[0x18]; //+1C //before : 0x14
|
2024-05-03 03:43:43 +00:00
|
|
|
void* pt_arena_unit; //+34 ptArena for the Unit
|
2024-04-17 03:45:38 +00:00
|
|
|
uint8_t uk2[0x4]; //+38 //before : 0x7
|
2024-05-03 03:43:43 +00:00
|
|
|
uint16_t mp_source_portal_unique_id; //+3C Source Portal Unique_ID
|
2024-04-17 03:45:38 +00:00
|
|
|
uint8_t uk3[0x2]; //+3E
|
2024-05-03 03:43:43 +00:00
|
|
|
uint16_t mp_dest_portal_unique_id; //+40 Destination Portal Unique_ID
|
|
|
|
uint8_t uk4[0x06]; //+42
|
|
|
|
uint8_t pt_object_un_id; //+48 Object UniqueID for TownPortals
|
|
|
|
uint8_t uk5[0x53]; //+49
|
|
|
|
net_client* net_client; //+9C ptClient
|
2024-04-17 03:45:38 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|