Documentation ¶
Index ¶
- Variables
- type ConnectableServer
- func (*ConnectableServer) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectableServer) GetAddress() string
- func (x *ConnectableServer) GetId() string
- func (x *ConnectableServer) GetPort() uint32
- func (*ConnectableServer) ProtoMessage()
- func (x *ConnectableServer) ProtoReflect() protoreflect.Message
- func (x *ConnectableServer) Reset()
- func (x *ConnectableServer) String() string
- type ServerType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ServerType_name = map[int32]string{ 0: "PROXY", 1: "LOBBY", 2: "MARATHON", 3: "BLOCK_SUMO", 4: "PARKOURTAG", 5: "LAZERTAG", 6: "HOLEY_MOLEY", 7: "MARATHON_RACING", 8: "BATTLE", 9: "MINESWEEPER", } ServerType_value = map[string]int32{ "PROXY": 0, "LOBBY": 1, "MARATHON": 2, "BLOCK_SUMO": 3, "PARKOURTAG": 4, "LAZERTAG": 5, "HOLEY_MOLEY": 6, "MARATHON_RACING": 7, "BATTLE": 8, "MINESWEEPER": 9, } )
Enum value maps for ServerType.
View Source
var File_common_models_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConnectableServer ¶
type ConnectableServer struct { // Kubernetes pod name, e.g lobby-wgxtd-llffk Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Port uint32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*ConnectableServer) Descriptor
deprecated
func (*ConnectableServer) Descriptor() ([]byte, []int)
Deprecated: Use ConnectableServer.ProtoReflect.Descriptor instead.
func (*ConnectableServer) GetAddress ¶
func (x *ConnectableServer) GetAddress() string
func (*ConnectableServer) GetId ¶
func (x *ConnectableServer) GetId() string
func (*ConnectableServer) GetPort ¶
func (x *ConnectableServer) GetPort() uint32
func (*ConnectableServer) ProtoMessage ¶
func (*ConnectableServer) ProtoMessage()
func (*ConnectableServer) ProtoReflect ¶
func (x *ConnectableServer) ProtoReflect() protoreflect.Message
func (*ConnectableServer) Reset ¶
func (x *ConnectableServer) Reset()
func (*ConnectableServer) String ¶
func (x *ConnectableServer) String() string
type ServerType ¶
type ServerType int32
const ( ServerType_PROXY ServerType = 0 ServerType_LOBBY ServerType = 1 ServerType_MARATHON ServerType = 2 ServerType_BLOCK_SUMO ServerType = 3 ServerType_PARKOURTAG ServerType = 4 ServerType_LAZERTAG ServerType = 5 ServerType_HOLEY_MOLEY ServerType = 6 ServerType_MARATHON_RACING ServerType = 7 ServerType_BATTLE ServerType = 8 ServerType_MINESWEEPER ServerType = 9 )
func (ServerType) Descriptor ¶
func (ServerType) Descriptor() protoreflect.EnumDescriptor
func (ServerType) Enum ¶
func (x ServerType) Enum() *ServerType
func (ServerType) EnumDescriptor
deprecated
func (ServerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServerType.Descriptor instead.
func (ServerType) Number ¶
func (x ServerType) Number() protoreflect.EnumNumber
func (ServerType) String ¶
func (x ServerType) String() string
func (ServerType) Type ¶
func (ServerType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.