2020-08-25 18:42:52 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-08-18 20:42:30 +00:00
|
|
|
#include <string>
|
|
|
|
#include <cstring>
|
|
|
|
|
|
|
|
#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-26 17:40:10 +00:00
|
|
|
int32_t money;
|
2020-08-27 20:16:52 +00:00
|
|
|
int32_t fusionmatter;
|
2020-08-18 20:42:30 +00:00
|
|
|
sPCStyle PCStyle;
|
|
|
|
sPCStyle2 PCStyle2;
|
2020-08-24 21:04:56 +00:00
|
|
|
sNano Nanos[37]; // acquired nanos
|
2020-08-23 00:52:54 +00:00
|
|
|
int equippedNanos[3];
|
2020-08-24 21:04:56 +00:00
|
|
|
int activeNano; // active nano (index into Nanos)
|
|
|
|
int8_t iPCState;
|
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-26 17:40:10 +00:00
|
|
|
sItemTrade Trade[12];
|
|
|
|
int32_t moneyInTrade;
|
2020-08-27 02:35:13 +00:00
|
|
|
bool isTrading;
|
|
|
|
bool isTradeConfirm;
|
2020-08-21 20:09:52 +00:00
|
|
|
bool IsGM;
|
2020-08-18 20:42:30 +00:00
|
|
|
};
|