2020-08-18 20:42:30 +00:00
|
|
|
#include <string>
|
|
|
|
#include <cstring>
|
|
|
|
|
|
|
|
#ifndef _PLR_HPP
|
|
|
|
#define _PLR_HPP
|
|
|
|
|
|
|
|
#include "CNProtocol.hpp"
|
|
|
|
#include "CNStructs.hpp"
|
|
|
|
|
|
|
|
struct Player {
|
|
|
|
int64_t SerialKey;
|
|
|
|
int32_t iID;
|
|
|
|
uint64_t FEKey;
|
|
|
|
|
|
|
|
int level;
|
|
|
|
int HP;
|
2020-08-23 00:52:54 +00:00
|
|
|
int slot; // player slot, not nano slot
|
2020-08-18 20:42:30 +00:00
|
|
|
sPCStyle PCStyle;
|
|
|
|
sPCStyle2 PCStyle2;
|
2020-08-22 18:02:08 +00:00
|
|
|
sNano Nanos[37];
|
2020-08-23 00:52:54 +00:00
|
|
|
int equippedNanos[3];
|
|
|
|
int nano; // active nano (index into Nanos)
|
2020-08-18 20:42:30 +00:00
|
|
|
|
|
|
|
int x, y, z, angle;
|
|
|
|
sItemBase Equip[AEQUIP_COUNT];
|
2020-08-21 02:10:14 +00:00
|
|
|
sItemBase Inven[AINVEN_COUNT];
|
2020-08-21 20:09:52 +00:00
|
|
|
bool IsGM;
|
2020-08-18 20:42:30 +00:00
|
|
|
};
|
|
|
|
|
2020-08-23 00:52:54 +00:00
|
|
|
#endif
|