Documentation ¶
Index ¶
- Variables
- type PlayerRolesUpdateMessage
- func (*PlayerRolesUpdateMessage) Descriptor() ([]byte, []int)deprecated
- func (x *PlayerRolesUpdateMessage) GetChangeType() PlayerRolesUpdateMessage_ChangeType
- func (x *PlayerRolesUpdateMessage) GetPlayerId() string
- func (x *PlayerRolesUpdateMessage) GetRoleId() string
- func (*PlayerRolesUpdateMessage) ProtoMessage()
- func (x *PlayerRolesUpdateMessage) ProtoReflect() protoreflect.Message
- func (x *PlayerRolesUpdateMessage) Reset()
- func (x *PlayerRolesUpdateMessage) String() string
- type PlayerRolesUpdateMessage_ChangeType
- func (PlayerRolesUpdateMessage_ChangeType) Descriptor() protoreflect.EnumDescriptor
- func (x PlayerRolesUpdateMessage_ChangeType) Enum() *PlayerRolesUpdateMessage_ChangeType
- func (PlayerRolesUpdateMessage_ChangeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PlayerRolesUpdateMessage_ChangeType) Number() protoreflect.EnumNumber
- func (x PlayerRolesUpdateMessage_ChangeType) String() string
- func (PlayerRolesUpdateMessage_ChangeType) Type() protoreflect.EnumType
- type RoleUpdateMessage
- func (*RoleUpdateMessage) Descriptor() ([]byte, []int)deprecated
- func (x *RoleUpdateMessage) GetChangeType() RoleUpdateMessage_ChangeType
- func (x *RoleUpdateMessage) GetRole() *permission.Role
- func (*RoleUpdateMessage) ProtoMessage()
- func (x *RoleUpdateMessage) ProtoReflect() protoreflect.Message
- func (x *RoleUpdateMessage) Reset()
- func (x *RoleUpdateMessage) String() string
- type RoleUpdateMessage_ChangeType
- func (RoleUpdateMessage_ChangeType) Descriptor() protoreflect.EnumDescriptor
- func (x RoleUpdateMessage_ChangeType) Enum() *RoleUpdateMessage_ChangeType
- func (RoleUpdateMessage_ChangeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RoleUpdateMessage_ChangeType) Number() protoreflect.EnumNumber
- func (x RoleUpdateMessage_ChangeType) String() string
- func (RoleUpdateMessage_ChangeType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RoleUpdateMessage_ChangeType_name = map[int32]string{ 0: "CREATE", 1: "DELETE", 2: "MODIFY", } RoleUpdateMessage_ChangeType_value = map[string]int32{ "CREATE": 0, "DELETE": 1, "MODIFY": 2, } )
Enum value maps for RoleUpdateMessage_ChangeType.
View Source
var ( PlayerRolesUpdateMessage_ChangeType_name = map[int32]string{ 0: "ADD", 1: "REMOVE", } PlayerRolesUpdateMessage_ChangeType_value = map[string]int32{ "ADD": 0, "REMOVE": 1, } )
Enum value maps for PlayerRolesUpdateMessage_ChangeType.
View Source
var File_permission_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PlayerRolesUpdateMessage ¶
type PlayerRolesUpdateMessage struct { ChangeType PlayerRolesUpdateMessage_ChangeType `` /* 160-byte string literal not displayed */ PlayerId string `protobuf:"bytes,2,opt,name=player_id,json=playerId,proto3" json:"player_id,omitempty"` RoleId string `protobuf:"bytes,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // contains filtered or unexported fields }
func (*PlayerRolesUpdateMessage) Descriptor
deprecated
func (*PlayerRolesUpdateMessage) Descriptor() ([]byte, []int)
Deprecated: Use PlayerRolesUpdateMessage.ProtoReflect.Descriptor instead.
func (*PlayerRolesUpdateMessage) GetChangeType ¶
func (x *PlayerRolesUpdateMessage) GetChangeType() PlayerRolesUpdateMessage_ChangeType
func (*PlayerRolesUpdateMessage) GetPlayerId ¶
func (x *PlayerRolesUpdateMessage) GetPlayerId() string
func (*PlayerRolesUpdateMessage) GetRoleId ¶
func (x *PlayerRolesUpdateMessage) GetRoleId() string
func (*PlayerRolesUpdateMessage) ProtoMessage ¶
func (*PlayerRolesUpdateMessage) ProtoMessage()
func (*PlayerRolesUpdateMessage) ProtoReflect ¶
func (x *PlayerRolesUpdateMessage) ProtoReflect() protoreflect.Message
func (*PlayerRolesUpdateMessage) Reset ¶
func (x *PlayerRolesUpdateMessage) Reset()
func (*PlayerRolesUpdateMessage) String ¶
func (x *PlayerRolesUpdateMessage) String() string
type PlayerRolesUpdateMessage_ChangeType ¶
type PlayerRolesUpdateMessage_ChangeType int32
const ( PlayerRolesUpdateMessage_ADD PlayerRolesUpdateMessage_ChangeType = 0 PlayerRolesUpdateMessage_REMOVE PlayerRolesUpdateMessage_ChangeType = 1 )
func (PlayerRolesUpdateMessage_ChangeType) Descriptor ¶
func (PlayerRolesUpdateMessage_ChangeType) Descriptor() protoreflect.EnumDescriptor
func (PlayerRolesUpdateMessage_ChangeType) Enum ¶
func (x PlayerRolesUpdateMessage_ChangeType) Enum() *PlayerRolesUpdateMessage_ChangeType
func (PlayerRolesUpdateMessage_ChangeType) EnumDescriptor
deprecated
func (PlayerRolesUpdateMessage_ChangeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PlayerRolesUpdateMessage_ChangeType.Descriptor instead.
func (PlayerRolesUpdateMessage_ChangeType) Number ¶
func (x PlayerRolesUpdateMessage_ChangeType) Number() protoreflect.EnumNumber
func (PlayerRolesUpdateMessage_ChangeType) String ¶
func (x PlayerRolesUpdateMessage_ChangeType) String() string
func (PlayerRolesUpdateMessage_ChangeType) Type ¶
func (PlayerRolesUpdateMessage_ChangeType) Type() protoreflect.EnumType
type RoleUpdateMessage ¶
type RoleUpdateMessage struct { ChangeType RoleUpdateMessage_ChangeType `` /* 153-byte string literal not displayed */ // role either the deleted, created or updated role Role *permission.Role `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*RoleUpdateMessage) Descriptor
deprecated
func (*RoleUpdateMessage) Descriptor() ([]byte, []int)
Deprecated: Use RoleUpdateMessage.ProtoReflect.Descriptor instead.
func (*RoleUpdateMessage) GetChangeType ¶
func (x *RoleUpdateMessage) GetChangeType() RoleUpdateMessage_ChangeType
func (*RoleUpdateMessage) GetRole ¶
func (x *RoleUpdateMessage) GetRole() *permission.Role
func (*RoleUpdateMessage) ProtoMessage ¶
func (*RoleUpdateMessage) ProtoMessage()
func (*RoleUpdateMessage) ProtoReflect ¶
func (x *RoleUpdateMessage) ProtoReflect() protoreflect.Message
func (*RoleUpdateMessage) Reset ¶
func (x *RoleUpdateMessage) Reset()
func (*RoleUpdateMessage) String ¶
func (x *RoleUpdateMessage) String() string
type RoleUpdateMessage_ChangeType ¶
type RoleUpdateMessage_ChangeType int32
const ( RoleUpdateMessage_CREATE RoleUpdateMessage_ChangeType = 0 RoleUpdateMessage_DELETE RoleUpdateMessage_ChangeType = 1 RoleUpdateMessage_MODIFY RoleUpdateMessage_ChangeType = 2 )
func (RoleUpdateMessage_ChangeType) Descriptor ¶
func (RoleUpdateMessage_ChangeType) Descriptor() protoreflect.EnumDescriptor
func (RoleUpdateMessage_ChangeType) Enum ¶
func (x RoleUpdateMessage_ChangeType) Enum() *RoleUpdateMessage_ChangeType
func (RoleUpdateMessage_ChangeType) EnumDescriptor
deprecated
func (RoleUpdateMessage_ChangeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoleUpdateMessage_ChangeType.Descriptor instead.
func (RoleUpdateMessage_ChangeType) Number ¶
func (x RoleUpdateMessage_ChangeType) Number() protoreflect.EnumNumber
func (RoleUpdateMessage_ChangeType) String ¶
func (x RoleUpdateMessage_ChangeType) String() string
func (RoleUpdateMessage_ChangeType) Type ¶
func (RoleUpdateMessage_ChangeType) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.