MCPcopy Create free account
hub / github.com/Alex-Rachel/TGameServer / PlayerPack

Struct PlayerPack

Gameproto/SocketGameProtocol.pb.go:364–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364type PlayerPack struct {
365 Playername string `protobuf:"bytes,1,opt,name=playername,proto3" json:"playername,omitempty"`
366 PlayerID string `protobuf:"bytes,2,opt,name=playerID,proto3" json:"playerID,omitempty"`
367 Hp int32 `protobuf:"varint,3,opt,name=hp,proto3" json:"hp,omitempty"`
368 PosPack *PosPack `protobuf:"bytes,4,opt,name=posPack,proto3" json:"posPack,omitempty"`
369 PlayerJob int32 `protobuf:"varint,5,opt,name=playerJob,proto3" json:"playerJob,omitempty"`
370 PlayerAppearance string `protobuf:"bytes,6,opt,name=playerAppearance,proto3" json:"playerAppearance,omitempty"`
371 XXX_NoUnkeyedLiteral struct{} `json:"-"`
372 XXX_unrecognized []byte `json:"-"`
373 XXX_sizecache int32 `json:"-"`
374}
375
376func (m *PlayerPack) Reset() { *m = PlayerPack{} }
377func (m *PlayerPack) String() string { return proto.CompactTextString(m) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected