OpenFusion/src/Player.hpp

35 lines
693 B
C++
Raw Normal View History

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;
int slot; // player slot, not nano slot
int32_t money;
int32_t fusionmatter;
2020-08-18 20:42:30 +00:00
sPCStyle PCStyle;
sPCStyle2 PCStyle2;
sNano Nanos[37]; // acquired nanos
int equippedNanos[3];
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];
sItemBase Inven[AINVEN_COUNT];
sItemTrade Trade[12];
int32_t moneyInTrade;
bool isTrading;
bool isTradeConfirm;
bool IsGM;
2020-08-18 20:42:30 +00:00
};