OSDN Git Service
(root)
/
mmo
/
main.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
チャンネル機能を仮実装
[mmo/main.git]
/
common
/
database
/
AccountProperty.hpp
1
//
2
// AccountProperty.hpp
3
//
4
5
#pragma once
6
7
enum AccountProperty {
8
REVISION = 0x0,
9
PUBLIC_KEY = 0x1,
10
LOGIN = 0x2,
11
CHANNEL = 0x3,
12
NAME = 0xA3,
13
TRIP = 0xA4,
14
MODEL_NAME = 0xA5,
15
IP_ADDRESS = 0xF0,
16
UDP_PORT = 0xF1,
17
};
18
19
struct PlayerPosition {
20
PlayerPosition() : x(0), y(0), z(0), theta(0), vy(0) {}
21
PlayerPosition(int16_t x_, int16_t y_, int16_t z_, uint8_t theta_, int8_t vy_)
\r
22
: x(x_), y(y_), z(z_), theta(theta_), vy(vy_) {}
23
int16_t x, y, z;
\r
24
uint8_t theta;
\r
25
int8_t vy;
\r
26
};