Documentation ¶
Index ¶
- Variables
- type PlayerChatMessageMessage
- func (*PlayerChatMessageMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerChatMessageMessage) GetMessage() *messagehandler.ChatMessage
- func (x *PlayerChatMessageMessage) GetMessageContent() string
- func (x *PlayerChatMessageMessage) GetSenderId() string
- func (x *PlayerChatMessageMessage) GetSenderUsername() string
- func (*PlayerChatMessageMessage) ProtoMessage()
- func (x *PlayerChatMessageMessage) ProtoReflect() protoreflect.Message
- func (x *PlayerChatMessageMessage) Reset()
- func (x *PlayerChatMessageMessage) String() string
- type PlayerConnectMessage
- func (*PlayerConnectMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerConnectMessage) GetPlayerId() string
- func (x *PlayerConnectMessage) GetPlayerSkin() *common.PlayerSkin
- func (x *PlayerConnectMessage) GetPlayerUsername() string
- func (x *PlayerConnectMessage) GetServerId() string
- func (*PlayerConnectMessage) ProtoMessage()
- func (x *PlayerConnectMessage) ProtoReflect() protoreflect.Message
- func (x *PlayerConnectMessage) Reset()
- func (x *PlayerConnectMessage) String() string
- type PlayerDisconnectMessage
- func (*PlayerDisconnectMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerDisconnectMessage) GetPlayerId() string
- func (x *PlayerDisconnectMessage) GetPlayerUsername() string
- func (*PlayerDisconnectMessage) ProtoMessage()
- func (x *PlayerDisconnectMessage) ProtoReflect() protoreflect.Message
- func (x *PlayerDisconnectMessage) Reset()
- func (x *PlayerDisconnectMessage) String() string
- type PlayerSwitchServerMessage
- func (*PlayerSwitchServerMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerSwitchServerMessage) GetPlayerId() string
- func (x *PlayerSwitchServerMessage) GetServerId() string
- func (*PlayerSwitchServerMessage) ProtoMessage()
- func (x *PlayerSwitchServerMessage) ProtoReflect() protoreflect.Message
- func (x *PlayerSwitchServerMessage) Reset()
- func (x *PlayerSwitchServerMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_common_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PlayerChatMessageMessage ¶
type PlayerChatMessageMessage struct { Message *messagehandler.ChatMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` SenderId string `protobuf:"bytes,2,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"` SenderUsername string `protobuf:"bytes,3,opt,name=sender_username,json=senderUsername,proto3" json:"sender_username,omitempty"` MessageContent string `protobuf:"bytes,4,opt,name=message_content,json=messageContent,proto3" json:"message_content,omitempty"` // contains filtered or unexported fields }
PlayerChatMessageMessage is sent when a player sends a chat message sent in the 'mc-messages' topic (Kafka)
func (*PlayerChatMessageMessage) Descriptor
deprecated
func (*PlayerChatMessageMessage) Descriptor() ([]byte, []int)
Deprecated: Use PlayerChatMessageMessage.ProtoReflect.Descriptor instead.
func (*PlayerChatMessageMessage) GetMessage ¶
func (x *PlayerChatMessageMessage) GetMessage() *messagehandler.ChatMessage
func (*PlayerChatMessageMessage) GetMessageContent ¶
func (x *PlayerChatMessageMessage) GetMessageContent() string
func (*PlayerChatMessageMessage) GetSenderId ¶
func (x *PlayerChatMessageMessage) GetSenderId() string
func (*PlayerChatMessageMessage) GetSenderUsername ¶
func (x *PlayerChatMessageMessage) GetSenderUsername() string
func (*PlayerChatMessageMessage) ProtoMessage ¶
func (*PlayerChatMessageMessage) ProtoMessage()
func (*PlayerChatMessageMessage) ProtoReflect ¶
func (x *PlayerChatMessageMessage) ProtoReflect() protoreflect.Message
func (*PlayerChatMessageMessage) Reset ¶
func (x *PlayerChatMessageMessage) Reset()
func (*PlayerChatMessageMessage) String ¶
func (x *PlayerChatMessageMessage) String() string
type PlayerConnectMessage ¶
type PlayerConnectMessage struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` PlayerUsername string `protobuf:"bytes,2,opt,name=player_username,json=playerUsername,proto3" json:"player_username,omitempty"` PlayerSkin *common.PlayerSkin `protobuf:"bytes,4,opt,name=player_skin,json=playerSkin,proto3" json:"player_skin,omitempty"` ServerId string `protobuf:"bytes,3,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // contains filtered or unexported fields }
func (*PlayerConnectMessage) Descriptor
deprecated
func (*PlayerConnectMessage) Descriptor() ([]byte, []int)
Deprecated: Use PlayerConnectMessage.ProtoReflect.Descriptor instead.
func (*PlayerConnectMessage) GetPlayerId ¶
func (x *PlayerConnectMessage) GetPlayerId() string
func (*PlayerConnectMessage) GetPlayerSkin ¶
func (x *PlayerConnectMessage) GetPlayerSkin() *common.PlayerSkin
func (*PlayerConnectMessage) GetPlayerUsername ¶
func (x *PlayerConnectMessage) GetPlayerUsername() string
func (*PlayerConnectMessage) GetServerId ¶
func (x *PlayerConnectMessage) GetServerId() string
func (*PlayerConnectMessage) ProtoMessage ¶
func (*PlayerConnectMessage) ProtoMessage()
func (*PlayerConnectMessage) ProtoReflect ¶
func (x *PlayerConnectMessage) ProtoReflect() protoreflect.Message
func (*PlayerConnectMessage) Reset ¶
func (x *PlayerConnectMessage) Reset()
func (*PlayerConnectMessage) String ¶
func (x *PlayerConnectMessage) String() string
type PlayerDisconnectMessage ¶
type PlayerDisconnectMessage struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` PlayerUsername string `protobuf:"bytes,2,opt,name=player_username,json=playerUsername,proto3" json:"player_username,omitempty"` // contains filtered or unexported fields }
func (*PlayerDisconnectMessage) Descriptor
deprecated
func (*PlayerDisconnectMessage) Descriptor() ([]byte, []int)
Deprecated: Use PlayerDisconnectMessage.ProtoReflect.Descriptor instead.
func (*PlayerDisconnectMessage) GetPlayerId ¶
func (x *PlayerDisconnectMessage) GetPlayerId() string
func (*PlayerDisconnectMessage) GetPlayerUsername ¶
func (x *PlayerDisconnectMessage) GetPlayerUsername() string
func (*PlayerDisconnectMessage) ProtoMessage ¶
func (*PlayerDisconnectMessage) ProtoMessage()
func (*PlayerDisconnectMessage) ProtoReflect ¶
func (x *PlayerDisconnectMessage) ProtoReflect() protoreflect.Message
func (*PlayerDisconnectMessage) Reset ¶
func (x *PlayerDisconnectMessage) Reset()
func (*PlayerDisconnectMessage) String ¶
func (x *PlayerDisconnectMessage) String() string
type PlayerSwitchServerMessage ¶
type PlayerSwitchServerMessage struct { PlayerId string `protobuf:"bytes,1,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` ServerId string `protobuf:"bytes,2,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"` // contains filtered or unexported fields }
PlayerSwitchServerMessage is sent when a player is confirmed to have switched servers. it is therefore only sent by the proxy the player is connected to.
func (*PlayerSwitchServerMessage) Descriptor
deprecated
func (*PlayerSwitchServerMessage) Descriptor() ([]byte, []int)
Deprecated: Use PlayerSwitchServerMessage.ProtoReflect.Descriptor instead.
func (*PlayerSwitchServerMessage) GetPlayerId ¶
func (x *PlayerSwitchServerMessage) GetPlayerId() string
func (*PlayerSwitchServerMessage) GetServerId ¶
func (x *PlayerSwitchServerMessage) GetServerId() string
func (*PlayerSwitchServerMessage) ProtoMessage ¶
func (*PlayerSwitchServerMessage) ProtoMessage()
func (*PlayerSwitchServerMessage) ProtoReflect ¶
func (x *PlayerSwitchServerMessage) ProtoReflect() protoreflect.Message
func (*PlayerSwitchServerMessage) Reset ¶
func (x *PlayerSwitchServerMessage) Reset()
func (*PlayerSwitchServerMessage) String ¶
func (x *PlayerSwitchServerMessage) String() string
Click to show internal directories.
Click to hide internal directories.