event

package
v0.0.0-...-93c0b9c Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Permission_name = map[int32]string{
		0: "PUBLIC",
		1: "FRIENDS_PLUS",
		2: "FRIENDS_ONLY",
		3: "INVITE_PLUS",
		4: "INVITE_ONLY",
	}
	Permission_value = map[string]int32{
		"PUBLIC":       0,
		"FRIENDS_PLUS": 1,
		"FRIENDS_ONLY": 2,
		"INVITE_PLUS":  3,
		"INVITE_ONLY":  4,
	}
)

Enum value maps for Permission.

View Source
var File_event_event_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Avatar

type Avatar struct {
	Private bool `protobuf:"varint,1,opt,name=private,proto3" json:"private,omitempty"`
	// contains filtered or unexported fields
}

func (*Avatar) Descriptor deprecated

func (*Avatar) Descriptor() ([]byte, []int)

Deprecated: Use Avatar.ProtoReflect.Descriptor instead.

func (*Avatar) GetPrivate

func (x *Avatar) GetPrivate() bool

func (*Avatar) ProtoMessage

func (*Avatar) ProtoMessage()

func (*Avatar) ProtoReflect

func (x *Avatar) ProtoReflect() protoreflect.Message

func (*Avatar) Reset

func (x *Avatar) Reset()

func (*Avatar) String

func (x *Avatar) String() string

type Event

type Event struct {
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

func (*Event) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

func (x *Event) ProtoReflect() protoreflect.Message

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_EnterInstance

type Event_EnterInstance struct {
	// contains filtered or unexported fields
}

func (*Event_EnterInstance) Descriptor deprecated

func (*Event_EnterInstance) Descriptor() ([]byte, []int)

Deprecated: Use Event_EnterInstance.ProtoReflect.Descriptor instead.

func (*Event_EnterInstance) ProtoMessage

func (*Event_EnterInstance) ProtoMessage()

func (*Event_EnterInstance) ProtoReflect

func (x *Event_EnterInstance) ProtoReflect() protoreflect.Message

func (*Event_EnterInstance) Reset

func (x *Event_EnterInstance) Reset()

func (*Event_EnterInstance) String

func (x *Event_EnterInstance) String() string

type Event_LeaveInstance

type Event_LeaveInstance struct {
	// contains filtered or unexported fields
}

func (*Event_LeaveInstance) Descriptor deprecated

func (*Event_LeaveInstance) Descriptor() ([]byte, []int)

Deprecated: Use Event_LeaveInstance.ProtoReflect.Descriptor instead.

func (*Event_LeaveInstance) ProtoMessage

func (*Event_LeaveInstance) ProtoMessage()

func (*Event_LeaveInstance) ProtoReflect

func (x *Event_LeaveInstance) ProtoReflect() protoreflect.Message

func (*Event_LeaveInstance) Reset

func (x *Event_LeaveInstance) Reset()

func (*Event_LeaveInstance) String

func (x *Event_LeaveInstance) String() string

type Event_PlayerJoin

type Event_PlayerJoin struct {
	// contains filtered or unexported fields
}

func (*Event_PlayerJoin) Descriptor deprecated

func (*Event_PlayerJoin) Descriptor() ([]byte, []int)

Deprecated: Use Event_PlayerJoin.ProtoReflect.Descriptor instead.

func (*Event_PlayerJoin) ProtoMessage

func (*Event_PlayerJoin) ProtoMessage()

func (*Event_PlayerJoin) ProtoReflect

func (x *Event_PlayerJoin) ProtoReflect() protoreflect.Message

func (*Event_PlayerJoin) Reset

func (x *Event_PlayerJoin) Reset()

func (*Event_PlayerJoin) String

func (x *Event_PlayerJoin) String() string

type Event_PlayerLeft

type Event_PlayerLeft struct {
	// contains filtered or unexported fields
}

func (*Event_PlayerLeft) Descriptor deprecated

func (*Event_PlayerLeft) Descriptor() ([]byte, []int)

Deprecated: Use Event_PlayerLeft.ProtoReflect.Descriptor instead.

func (*Event_PlayerLeft) ProtoMessage

func (*Event_PlayerLeft) ProtoMessage()

func (*Event_PlayerLeft) ProtoReflect

func (x *Event_PlayerLeft) ProtoReflect() protoreflect.Message

func (*Event_PlayerLeft) Reset

func (x *Event_PlayerLeft) Reset()

func (*Event_PlayerLeft) String

func (x *Event_PlayerLeft) String() string

type Instance

type Instance struct {
	Id         string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Owner      *User      `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	World      *World     `protobuf:"bytes,3,opt,name=world,proto3" json:"world,omitempty"`
	Permission Permission `protobuf:"varint,4,opt,name=permission,proto3,enum=event.Permission" json:"permission,omitempty"`
	Users      []*User    `protobuf:"bytes,5,rep,name=Users,proto3" json:"Users,omitempty"`
	// contains filtered or unexported fields
}

func (*Instance) Descriptor deprecated

func (*Instance) Descriptor() ([]byte, []int)

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetId

func (x *Instance) GetId() string

func (*Instance) GetOwner

func (x *Instance) GetOwner() *User

func (*Instance) GetPermission

func (x *Instance) GetPermission() Permission

func (*Instance) GetUsers

func (x *Instance) GetUsers() []*User

func (*Instance) GetWorld

func (x *Instance) GetWorld() *World

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

func (x *Instance) ProtoReflect() protoreflect.Message

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type Observe

type Observe struct {
}

type Observer

type Observer interface {
	// contains filtered or unexported methods
}

type Permission

type Permission int32
const (
	Permission_PUBLIC       Permission = 0
	Permission_FRIENDS_PLUS Permission = 1
	Permission_FRIENDS_ONLY Permission = 2
	Permission_INVITE_PLUS  Permission = 3
	Permission_INVITE_ONLY  Permission = 4
)

func (Permission) Descriptor

func (Permission) Descriptor() protoreflect.EnumDescriptor

func (Permission) Enum

func (x Permission) Enum() *Permission

func (Permission) EnumDescriptor deprecated

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

Deprecated: Use Permission.Descriptor instead.

func (Permission) Number

func (x Permission) Number() protoreflect.EnumNumber

func (Permission) String

func (x Permission) String() string

func (Permission) Type

type User

type User struct {
	Id          string  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	DisplayName string  `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	UserName    string  `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	Private     bool    `protobuf:"varint,5,opt,name=private,proto3" json:"private,omitempty"`
	Avatar      *Avatar `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetAvatar

func (x *User) GetAvatar() *Avatar

func (*User) GetDisplayName

func (x *User) GetDisplayName() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetPrivate

func (x *User) GetPrivate() bool

func (*User) GetUserName

func (x *User) GetUserName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type World

type World struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Owner   *User  `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	Private bool   `protobuf:"varint,5,opt,name=private,proto3" json:"private,omitempty"`
	// contains filtered or unexported fields
}

func (*World) Descriptor deprecated

func (*World) Descriptor() ([]byte, []int)

Deprecated: Use World.ProtoReflect.Descriptor instead.

func (*World) GetId

func (x *World) GetId() string

func (*World) GetOwner

func (x *World) GetOwner() *User

func (*World) GetPrivate

func (x *World) GetPrivate() bool

func (*World) ProtoMessage

func (*World) ProtoMessage()

func (*World) ProtoReflect

func (x *World) ProtoReflect() protoreflect.Message

func (*World) Reset

func (x *World) Reset()

func (*World) String

func (x *World) String() string

Jump to

Keyboard shortcuts

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