Documentation ¶
Index ¶
- Variables
- type CoreState
- type EntityState
- func (EntityState) Descriptor() protoreflect.EnumDescriptor
- func (x EntityState) Enum() *EntityState
- func (EntityState) EnumDescriptor() ([]byte, []int)deprecated
- func (x EntityState) Number() protoreflect.EnumNumber
- func (x EntityState) String() string
- func (EntityState) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CoreState_name = map[int32]string{ 0: "CORE_STATE_UNKNOWN", 1: "CORE_STATE_ONLINE", 2: "CORE_STATE_OFFLINE", } CoreState_value = map[string]int32{ "CORE_STATE_UNKNOWN": 0, "CORE_STATE_ONLINE": 1, "CORE_STATE_OFFLINE": 2, } )
Enum value maps for CoreState.
View Source
var ( EntityState_name = map[int32]string{ 0: "ENTITY_STATE_UNKNOWN", 1: "ENTITY_STATE_ONLINE", 2: "ENTITY_STATE_OFFLIEN", } EntityState_value = map[string]int32{ "ENTITY_STATE_UNKNOWN": 0, "ENTITY_STATE_ONLINE": 1, "ENTITY_STATE_OFFLIEN": 2, } )
Enum value maps for EntityState.
View Source
var File_core_state_proto protoreflect.FileDescriptor
View Source
var File_entity_state_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CoreState ¶
type CoreState int32
func (CoreState) Descriptor ¶ added in v1.2.14
func (CoreState) Descriptor() protoreflect.EnumDescriptor
func (CoreState) EnumDescriptor
deprecated
func (CoreState) Number ¶ added in v1.2.14
func (x CoreState) Number() protoreflect.EnumNumber
func (CoreState) Type ¶ added in v1.2.14
func (CoreState) Type() protoreflect.EnumType
type EntityState ¶
type EntityState int32
const ( EntityState_ENTITY_STATE_UNKNOWN EntityState = 0 EntityState_ENTITY_STATE_ONLINE EntityState = 1 EntityState_ENTITY_STATE_OFFLIEN EntityState = 2 )
func (EntityState) Descriptor ¶ added in v1.2.14
func (EntityState) Descriptor() protoreflect.EnumDescriptor
func (EntityState) Enum ¶ added in v1.2.14
func (x EntityState) Enum() *EntityState
func (EntityState) EnumDescriptor
deprecated
func (EntityState) EnumDescriptor() ([]byte, []int)
Deprecated: Use EntityState.Descriptor instead.
func (EntityState) Number ¶ added in v1.2.14
func (x EntityState) Number() protoreflect.EnumNumber
func (EntityState) String ¶
func (x EntityState) String() string
func (EntityState) Type ¶ added in v1.2.14
func (EntityState) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.