OpenFusion/src/Player.hpp

32 lines
580 B
C++
Raw Normal View History

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;
int slot; // player slot, not nano slot
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];
bool IsGM;
2020-08-18 20:42:30 +00:00
};
#endif