Documentation ¶
Index ¶
- Variables
- type C2SDisconnectPacket
- func (*C2SDisconnectPacket) Descriptor() ([]byte, []int)deprecated
- func (x *C2SDisconnectPacket) GetReason() string
- func (*C2SDisconnectPacket) ProtoMessage()
- func (x *C2SDisconnectPacket) ProtoReflect() protoreflect.Message
- func (x *C2SDisconnectPacket) Reset()
- func (x *C2SDisconnectPacket) String() string
- type C2SPacket
- func (*C2SPacket) Descriptor() ([]byte, []int)deprecated
- func (x *C2SPacket) GetDisconnect() *C2SDisconnectPacket
- func (m *C2SPacket) GetPacket() isC2SPacket_Packet
- func (x *C2SPacket) GetPing() *C2SPingPacket
- func (x *C2SPacket) GetUpdateLocation() *C2SUpdateLocationPacket
- func (x *C2SPacket) GetUpdatePerk() *C2SPerkUpdatePacket
- func (*C2SPacket) ProtoMessage()
- func (x *C2SPacket) ProtoReflect() protoreflect.Message
- func (x *C2SPacket) Reset()
- func (x *C2SPacket) String() string
- type C2SPacket_Disconnect
- type C2SPacket_Ping
- type C2SPacket_UpdateLocation
- type C2SPacket_UpdatePerk
- type C2SPerkUpdatePacket
- func (*C2SPerkUpdatePacket) Descriptor() ([]byte, []int)deprecated
- func (x *C2SPerkUpdatePacket) GetCategory() PerkCategory
- func (x *C2SPerkUpdatePacket) GetPerks() []string
- func (*C2SPerkUpdatePacket) ProtoMessage()
- func (x *C2SPerkUpdatePacket) ProtoReflect() protoreflect.Message
- func (x *C2SPerkUpdatePacket) Reset()
- func (x *C2SPerkUpdatePacket) String() string
- type C2SPingPacket
- type C2SUpdateLocationPacket
- func (*C2SUpdateLocationPacket) Descriptor() ([]byte, []int)deprecated
- func (x *C2SUpdateLocationPacket) GetDestination() string
- func (x *C2SUpdateLocationPacket) GetOrigin() string
- func (x *C2SUpdateLocationPacket) GetPreLobby() bool
- func (*C2SUpdateLocationPacket) ProtoMessage()
- func (x *C2SUpdateLocationPacket) ProtoReflect() protoreflect.Message
- func (x *C2SUpdateLocationPacket) Reset()
- func (x *C2SUpdateLocationPacket) String() string
- type PerkCategory
- func (PerkCategory) Descriptor() protoreflect.EnumDescriptor
- func (x PerkCategory) Enum() *PerkCategory
- func (PerkCategory) EnumDescriptor() ([]byte, []int)deprecated
- func (x PerkCategory) Number() protoreflect.EnumNumber
- func (x PerkCategory) String() string
- func (PerkCategory) Type() protoreflect.EnumType
- type S2CPacket
- func (*S2CPacket) Descriptor() ([]byte, []int)deprecated
- func (m *S2CPacket) GetPacket() isS2CPacket_Packet
- func (x *S2CPacket) GetPing() *S2CPingPacket
- func (x *S2CPacket) GetUpdatePerk() *S2CPerkUpdatePacket
- func (*S2CPacket) ProtoMessage()
- func (x *S2CPacket) ProtoReflect() protoreflect.Message
- func (x *S2CPacket) Reset()
- func (x *S2CPacket) String() string
- type S2CPacket_Ping
- type S2CPacket_UpdatePerk
- type S2CPerkUpdatePacket
- func (*S2CPerkUpdatePacket) Descriptor() ([]byte, []int)deprecated
- func (x *S2CPerkUpdatePacket) GetCategory() PerkCategory
- func (x *S2CPerkUpdatePacket) GetPerks() []string
- func (x *S2CPerkUpdatePacket) GetUuid() string
- func (*S2CPerkUpdatePacket) ProtoMessage()
- func (x *S2CPerkUpdatePacket) ProtoReflect() protoreflect.Message
- func (x *S2CPerkUpdatePacket) Reset()
- func (x *S2CPerkUpdatePacket) String() string
- type S2CPingPacket
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PerkCategory_name = map[int32]string{ 0: "PERSONAL", 1: "TEAM", 2: "GAME", } PerkCategory_value = map[string]int32{ "PERSONAL": 0, "TEAM": 1, "GAME": 2, } )
Enum value maps for PerkCategory.
View Source
var File_packets_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type C2SDisconnectPacket ¶
type C2SDisconnectPacket struct { Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*C2SDisconnectPacket) Descriptor
deprecated
func (*C2SDisconnectPacket) Descriptor() ([]byte, []int)
Deprecated: Use C2SDisconnectPacket.ProtoReflect.Descriptor instead.
func (*C2SDisconnectPacket) GetReason ¶
func (x *C2SDisconnectPacket) GetReason() string
func (*C2SDisconnectPacket) ProtoMessage ¶
func (*C2SDisconnectPacket) ProtoMessage()
func (*C2SDisconnectPacket) ProtoReflect ¶
func (x *C2SDisconnectPacket) ProtoReflect() protoreflect.Message
func (*C2SDisconnectPacket) Reset ¶
func (x *C2SDisconnectPacket) Reset()
func (*C2SDisconnectPacket) String ¶
func (x *C2SDisconnectPacket) String() string
type C2SPacket ¶
type C2SPacket struct { // Types that are assignable to Packet: // // *C2SPacket_UpdateLocation // *C2SPacket_UpdatePerk // *C2SPacket_Disconnect // *C2SPacket_Ping Packet isC2SPacket_Packet `protobuf_oneof:"packet"` // contains filtered or unexported fields }
func (*C2SPacket) Descriptor
deprecated
func (*C2SPacket) GetDisconnect ¶
func (x *C2SPacket) GetDisconnect() *C2SDisconnectPacket
func (*C2SPacket) GetPing ¶
func (x *C2SPacket) GetPing() *C2SPingPacket
func (*C2SPacket) GetUpdateLocation ¶
func (x *C2SPacket) GetUpdateLocation() *C2SUpdateLocationPacket
func (*C2SPacket) GetUpdatePerk ¶
func (x *C2SPacket) GetUpdatePerk() *C2SPerkUpdatePacket
func (*C2SPacket) ProtoMessage ¶
func (*C2SPacket) ProtoMessage()
func (*C2SPacket) ProtoReflect ¶
func (x *C2SPacket) ProtoReflect() protoreflect.Message
type C2SPacket_Disconnect ¶
type C2SPacket_Disconnect struct {
Disconnect *C2SDisconnectPacket `protobuf:"bytes,4,opt,name=disconnect,proto3,oneof"`
}
type C2SPacket_Ping ¶
type C2SPacket_Ping struct {
Ping *C2SPingPacket `protobuf:"bytes,5,opt,name=ping,proto3,oneof"`
}
type C2SPacket_UpdateLocation ¶
type C2SPacket_UpdateLocation struct {
UpdateLocation *C2SUpdateLocationPacket `protobuf:"bytes,1,opt,name=updateLocation,proto3,oneof"`
}
type C2SPacket_UpdatePerk ¶
type C2SPacket_UpdatePerk struct {
UpdatePerk *C2SPerkUpdatePacket `protobuf:"bytes,2,opt,name=updatePerk,proto3,oneof"`
}
type C2SPerkUpdatePacket ¶
type C2SPerkUpdatePacket struct { Category PerkCategory `protobuf:"varint,1,opt,name=category,proto3,enum=art.ameliah.laby.addons.cubepanion.PerkCategory" json:"category,omitempty"` Perks []string `protobuf:"bytes,2,rep,name=perks,proto3" json:"perks,omitempty"` // contains filtered or unexported fields }
func (*C2SPerkUpdatePacket) Descriptor
deprecated
func (*C2SPerkUpdatePacket) Descriptor() ([]byte, []int)
Deprecated: Use C2SPerkUpdatePacket.ProtoReflect.Descriptor instead.
func (*C2SPerkUpdatePacket) GetCategory ¶
func (x *C2SPerkUpdatePacket) GetCategory() PerkCategory
func (*C2SPerkUpdatePacket) GetPerks ¶
func (x *C2SPerkUpdatePacket) GetPerks() []string
func (*C2SPerkUpdatePacket) ProtoMessage ¶
func (*C2SPerkUpdatePacket) ProtoMessage()
func (*C2SPerkUpdatePacket) ProtoReflect ¶
func (x *C2SPerkUpdatePacket) ProtoReflect() protoreflect.Message
func (*C2SPerkUpdatePacket) Reset ¶
func (x *C2SPerkUpdatePacket) Reset()
func (*C2SPerkUpdatePacket) String ¶
func (x *C2SPerkUpdatePacket) String() string
type C2SPingPacket ¶
type C2SPingPacket struct {
// contains filtered or unexported fields
}
func (*C2SPingPacket) Descriptor
deprecated
func (*C2SPingPacket) Descriptor() ([]byte, []int)
Deprecated: Use C2SPingPacket.ProtoReflect.Descriptor instead.
func (*C2SPingPacket) ProtoMessage ¶
func (*C2SPingPacket) ProtoMessage()
func (*C2SPingPacket) ProtoReflect ¶
func (x *C2SPingPacket) ProtoReflect() protoreflect.Message
func (*C2SPingPacket) Reset ¶
func (x *C2SPingPacket) Reset()
func (*C2SPingPacket) String ¶
func (x *C2SPingPacket) String() string
type C2SUpdateLocationPacket ¶
type C2SUpdateLocationPacket struct { Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` PreLobby bool `protobuf:"varint,3,opt,name=preLobby,proto3" json:"preLobby,omitempty"` // contains filtered or unexported fields }
func (*C2SUpdateLocationPacket) Descriptor
deprecated
func (*C2SUpdateLocationPacket) Descriptor() ([]byte, []int)
Deprecated: Use C2SUpdateLocationPacket.ProtoReflect.Descriptor instead.
func (*C2SUpdateLocationPacket) GetDestination ¶
func (x *C2SUpdateLocationPacket) GetDestination() string
func (*C2SUpdateLocationPacket) GetOrigin ¶
func (x *C2SUpdateLocationPacket) GetOrigin() string
func (*C2SUpdateLocationPacket) GetPreLobby ¶
func (x *C2SUpdateLocationPacket) GetPreLobby() bool
func (*C2SUpdateLocationPacket) ProtoMessage ¶
func (*C2SUpdateLocationPacket) ProtoMessage()
func (*C2SUpdateLocationPacket) ProtoReflect ¶
func (x *C2SUpdateLocationPacket) ProtoReflect() protoreflect.Message
func (*C2SUpdateLocationPacket) Reset ¶
func (x *C2SUpdateLocationPacket) Reset()
func (*C2SUpdateLocationPacket) String ¶
func (x *C2SUpdateLocationPacket) String() string
type PerkCategory ¶
type PerkCategory int32
const ( PerkCategory_PERSONAL PerkCategory = 0 PerkCategory_TEAM PerkCategory = 1 PerkCategory_GAME PerkCategory = 2 )
func (PerkCategory) Descriptor ¶
func (PerkCategory) Descriptor() protoreflect.EnumDescriptor
func (PerkCategory) Enum ¶
func (x PerkCategory) Enum() *PerkCategory
func (PerkCategory) EnumDescriptor
deprecated
func (PerkCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use PerkCategory.Descriptor instead.
func (PerkCategory) Number ¶
func (x PerkCategory) Number() protoreflect.EnumNumber
func (PerkCategory) String ¶
func (x PerkCategory) String() string
func (PerkCategory) Type ¶
func (PerkCategory) Type() protoreflect.EnumType
type S2CPacket ¶
type S2CPacket struct { // Types that are assignable to Packet: // // *S2CPacket_UpdatePerk // *S2CPacket_Ping Packet isS2CPacket_Packet `protobuf_oneof:"packet"` // contains filtered or unexported fields }
func (*S2CPacket) Descriptor
deprecated
func (*S2CPacket) GetPing ¶
func (x *S2CPacket) GetPing() *S2CPingPacket
func (*S2CPacket) GetUpdatePerk ¶
func (x *S2CPacket) GetUpdatePerk() *S2CPerkUpdatePacket
func (*S2CPacket) ProtoMessage ¶
func (*S2CPacket) ProtoMessage()
func (*S2CPacket) ProtoReflect ¶
func (x *S2CPacket) ProtoReflect() protoreflect.Message
type S2CPacket_Ping ¶
type S2CPacket_Ping struct {
Ping *S2CPingPacket `protobuf:"bytes,3,opt,name=ping,proto3,oneof"`
}
type S2CPacket_UpdatePerk ¶
type S2CPacket_UpdatePerk struct {
UpdatePerk *S2CPerkUpdatePacket `protobuf:"bytes,1,opt,name=updatePerk,proto3,oneof"`
}
type S2CPerkUpdatePacket ¶
type S2CPerkUpdatePacket struct { Category PerkCategory `protobuf:"varint,1,opt,name=category,proto3,enum=art.ameliah.laby.addons.cubepanion.PerkCategory" json:"category,omitempty"` Perks []string `protobuf:"bytes,2,rep,name=perks,proto3" json:"perks,omitempty"` Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*S2CPerkUpdatePacket) Descriptor
deprecated
func (*S2CPerkUpdatePacket) Descriptor() ([]byte, []int)
Deprecated: Use S2CPerkUpdatePacket.ProtoReflect.Descriptor instead.
func (*S2CPerkUpdatePacket) GetCategory ¶
func (x *S2CPerkUpdatePacket) GetCategory() PerkCategory
func (*S2CPerkUpdatePacket) GetPerks ¶
func (x *S2CPerkUpdatePacket) GetPerks() []string
func (*S2CPerkUpdatePacket) GetUuid ¶
func (x *S2CPerkUpdatePacket) GetUuid() string
func (*S2CPerkUpdatePacket) ProtoMessage ¶
func (*S2CPerkUpdatePacket) ProtoMessage()
func (*S2CPerkUpdatePacket) ProtoReflect ¶
func (x *S2CPerkUpdatePacket) ProtoReflect() protoreflect.Message
func (*S2CPerkUpdatePacket) Reset ¶
func (x *S2CPerkUpdatePacket) Reset()
func (*S2CPerkUpdatePacket) String ¶
func (x *S2CPerkUpdatePacket) String() string
type S2CPingPacket ¶
type S2CPingPacket struct {
// contains filtered or unexported fields
}
func (*S2CPingPacket) Descriptor
deprecated
func (*S2CPingPacket) Descriptor() ([]byte, []int)
Deprecated: Use S2CPingPacket.ProtoReflect.Descriptor instead.
func (*S2CPingPacket) ProtoMessage ¶
func (*S2CPingPacket) ProtoMessage()
func (*S2CPingPacket) ProtoReflect ¶
func (x *S2CPingPacket) ProtoReflect() protoreflect.Message
func (*S2CPingPacket) Reset ¶
func (x *S2CPingPacket) Reset()
func (*S2CPingPacket) String ¶
func (x *S2CPingPacket) String() string
Click to show internal directories.
Click to hide internal directories.