forked from MTSR/mapserver
player.moderator flag
This commit is contained in:
parent
7be41ffe80
commit
959505d092
@ -38,11 +38,12 @@ type Minecart struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Player struct {
|
type Player struct {
|
||||||
Pos GenericPos `json:"pos"`
|
Pos GenericPos `json:"pos"`
|
||||||
Velocity GenericPos `json:"velocity"`
|
Velocity GenericPos `json:"velocity"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
HP float64 `json:"hp"`
|
HP float64 `json:"hp"`
|
||||||
Breath float64 `json:"breath"`
|
Breath float64 `json:"breath"`
|
||||||
|
Moderator bool `json:"moderator"`
|
||||||
//TODO: stamina, skin, etc
|
//TODO: stamina, skin, etc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user