state

package
v1.2.13-alpha6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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
const (
	CoreState_CORE_STATE_UNKNOWN CoreState = 0
	CoreState_CORE_STATE_ONLINE  CoreState = 1
	CoreState_CORE_STATE_OFFLINE CoreState = 2
)

func (CoreState) Descriptor added in v1.2.14

func (CoreState) Descriptor() protoreflect.EnumDescriptor

func (CoreState) Enum added in v1.2.14

func (x CoreState) Enum() *CoreState

func (CoreState) EnumDescriptor deprecated

func (CoreState) EnumDescriptor() ([]byte, []int)

Deprecated: Use CoreState.Descriptor instead.

func (CoreState) Number added in v1.2.14

func (x CoreState) Number() protoreflect.EnumNumber

func (CoreState) String

func (x CoreState) String() string

func (CoreState) Type added in v1.2.14

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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL