v1

package
v0.0.0-...-382259f Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const Default_ChannelState_ChannelType string = "default"
View Source
const Default_ChannelState_SubscribeToPresence bool = true
View Source
const Default_ListChannelsOptions_MaxResults uint32 = 16
View Source
const Default_ListChannelsOptions_StartIndex uint32 = 0
View Source
const Default_MemberState_Privileges uint64 = 0

Variables

View Source
var ChannelState_PrivacyLevel_name = map[int32]string{
	1: "PRIVACY_LEVEL_OPEN",
	2: "PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND",
	3: "PRIVACY_LEVEL_OPEN_INVITATION",
	4: "PRIVACY_LEVEL_CLOSED",
}
View Source
var ChannelState_PrivacyLevel_value = map[string]int32{
	"PRIVACY_LEVEL_OPEN":                       1,
	"PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND": 2,
	"PRIVACY_LEVEL_OPEN_INVITATION":            3,
	"PRIVACY_LEVEL_CLOSED":                     4,
}

Functions

This section is empty.

Types

type ChannelDescription

type ChannelDescription struct {
	ChannelId            *protocol.EntityId `protobuf:"bytes,1,req,name=channel_id,json=channelId" json:"channel_id,omitempty"`
	CurrentMembers       *uint32            `protobuf:"varint,2,opt,name=current_members,json=currentMembers" json:"current_members,omitempty"`
	State                *ChannelState      `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ChannelDescription) Descriptor

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

func (*ChannelDescription) GetChannelId

func (m *ChannelDescription) GetChannelId() *protocol.EntityId

func (*ChannelDescription) GetCurrentMembers

func (m *ChannelDescription) GetCurrentMembers() uint32

func (*ChannelDescription) GetState

func (m *ChannelDescription) GetState() *ChannelState

func (*ChannelDescription) ProtoMessage

func (*ChannelDescription) ProtoMessage()

func (*ChannelDescription) Reset

func (m *ChannelDescription) Reset()

func (*ChannelDescription) String

func (m *ChannelDescription) String() string

func (*ChannelDescription) XXX_DiscardUnknown

func (m *ChannelDescription) XXX_DiscardUnknown()

func (*ChannelDescription) XXX_Marshal

func (m *ChannelDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelDescription) XXX_Merge

func (m *ChannelDescription) XXX_Merge(src proto.Message)

func (*ChannelDescription) XXX_Size

func (m *ChannelDescription) XXX_Size() int

func (*ChannelDescription) XXX_Unmarshal

func (m *ChannelDescription) XXX_Unmarshal(b []byte) error

type ChannelId

type ChannelId struct {
	Type                 *uint32             `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Host                 *protocol.ProcessId `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
	Id                   *uint32             `protobuf:"fixed32,3,opt,name=id" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ChannelId) Descriptor

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

func (*ChannelId) GetHost

func (m *ChannelId) GetHost() *protocol.ProcessId

func (*ChannelId) GetId

func (m *ChannelId) GetId() uint32

func (*ChannelId) GetType

func (m *ChannelId) GetType() uint32

func (*ChannelId) ProtoMessage

func (*ChannelId) ProtoMessage()

func (*ChannelId) Reset

func (m *ChannelId) Reset()

func (*ChannelId) String

func (m *ChannelId) String() string

func (*ChannelId) XXX_DiscardUnknown

func (m *ChannelId) XXX_DiscardUnknown()

func (*ChannelId) XXX_Marshal

func (m *ChannelId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelId) XXX_Merge

func (m *ChannelId) XXX_Merge(src proto.Message)

func (*ChannelId) XXX_Size

func (m *ChannelId) XXX_Size() int

func (*ChannelId) XXX_Unmarshal

func (m *ChannelId) XXX_Unmarshal(b []byte) error

type ChannelInfo

type ChannelInfo struct {
	Description          *ChannelDescription `protobuf:"bytes,1,req,name=description" json:"description,omitempty"`
	Member               []*Member           `protobuf:"bytes,2,rep,name=member" json:"member,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ChannelInfo) Descriptor

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

func (*ChannelInfo) GetDescription

func (m *ChannelInfo) GetDescription() *ChannelDescription

func (*ChannelInfo) GetMember

func (m *ChannelInfo) GetMember() []*Member

func (*ChannelInfo) ProtoMessage

func (*ChannelInfo) ProtoMessage()

func (*ChannelInfo) Reset

func (m *ChannelInfo) Reset()

func (*ChannelInfo) String

func (m *ChannelInfo) String() string

func (*ChannelInfo) XXX_DiscardUnknown

func (m *ChannelInfo) XXX_DiscardUnknown()

func (*ChannelInfo) XXX_Marshal

func (m *ChannelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelInfo) XXX_Merge

func (m *ChannelInfo) XXX_Merge(src proto.Message)

func (*ChannelInfo) XXX_Size

func (m *ChannelInfo) XXX_Size() int

func (*ChannelInfo) XXX_Unmarshal

func (m *ChannelInfo) XXX_Unmarshal(b []byte) error

type ChannelState

type ChannelState struct {
	MaxMembers                   *uint32                    `protobuf:"varint,1,opt,name=max_members,json=maxMembers" json:"max_members,omitempty"`
	MinMembers                   *uint32                    `protobuf:"varint,2,opt,name=min_members,json=minMembers" json:"min_members,omitempty"`
	Attribute                    []*protocol.Attribute      `protobuf:"bytes,3,rep,name=attribute" json:"attribute,omitempty"`
	Invitation                   []*protocol.Invitation     `protobuf:"bytes,4,rep,name=invitation" json:"invitation,omitempty"`
	Reason                       *uint32                    `protobuf:"varint,6,opt,name=reason" json:"reason,omitempty"`
	PrivacyLevel                 *ChannelState_PrivacyLevel `` /* 152-byte string literal not displayed */
	Name                         *string                    `protobuf:"bytes,8,opt,name=name" json:"name,omitempty"`
	ChannelType                  *string                    `protobuf:"bytes,10,opt,name=channel_type,json=channelType,def=default" json:"channel_type,omitempty"`
	Program                      *uint32                    `protobuf:"fixed32,11,opt,name=program" json:"program,omitempty"`
	SubscribeToPresence          *bool                      `protobuf:"varint,13,opt,name=subscribe_to_presence,json=subscribeToPresence,def=1" json:"subscribe_to_presence,omitempty"`
	XXX_NoUnkeyedLiteral         struct{}                   `json:"-"`
	proto.XXX_InternalExtensions `json:"-"`
	XXX_unrecognized             []byte `json:"-"`
	XXX_sizecache                int32  `json:"-"`
}

func (*ChannelState) Descriptor

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

func (*ChannelState) ExtensionRangeArray

func (*ChannelState) ExtensionRangeArray() []proto.ExtensionRange

func (*ChannelState) GetAttribute

func (m *ChannelState) GetAttribute() []*protocol.Attribute

func (*ChannelState) GetChannelType

func (m *ChannelState) GetChannelType() string

func (*ChannelState) GetInvitation

func (m *ChannelState) GetInvitation() []*protocol.Invitation

func (*ChannelState) GetMaxMembers

func (m *ChannelState) GetMaxMembers() uint32

func (*ChannelState) GetMinMembers

func (m *ChannelState) GetMinMembers() uint32

func (*ChannelState) GetName

func (m *ChannelState) GetName() string

func (*ChannelState) GetPrivacyLevel

func (m *ChannelState) GetPrivacyLevel() ChannelState_PrivacyLevel

func (*ChannelState) GetProgram

func (m *ChannelState) GetProgram() uint32

func (*ChannelState) GetReason

func (m *ChannelState) GetReason() uint32

func (*ChannelState) GetSubscribeToPresence

func (m *ChannelState) GetSubscribeToPresence() bool

func (*ChannelState) ProtoMessage

func (*ChannelState) ProtoMessage()

func (*ChannelState) Reset

func (m *ChannelState) Reset()

func (*ChannelState) String

func (m *ChannelState) String() string

func (*ChannelState) XXX_DiscardUnknown

func (m *ChannelState) XXX_DiscardUnknown()

func (*ChannelState) XXX_Marshal

func (m *ChannelState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChannelState) XXX_Merge

func (m *ChannelState) XXX_Merge(src proto.Message)

func (*ChannelState) XXX_Size

func (m *ChannelState) XXX_Size() int

func (*ChannelState) XXX_Unmarshal

func (m *ChannelState) XXX_Unmarshal(b []byte) error

type ChannelState_PrivacyLevel

type ChannelState_PrivacyLevel int32
const (
	ChannelState_PRIVACY_LEVEL_OPEN                       ChannelState_PrivacyLevel = 1
	ChannelState_PRIVACY_LEVEL_OPEN_INVITATION_AND_FRIEND ChannelState_PrivacyLevel = 2
	ChannelState_PRIVACY_LEVEL_OPEN_INVITATION            ChannelState_PrivacyLevel = 3
	ChannelState_PRIVACY_LEVEL_CLOSED                     ChannelState_PrivacyLevel = 4
)
const Default_ChannelState_PrivacyLevel ChannelState_PrivacyLevel = ChannelState_PRIVACY_LEVEL_OPEN

func (ChannelState_PrivacyLevel) Enum

func (ChannelState_PrivacyLevel) EnumDescriptor

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

func (ChannelState_PrivacyLevel) String

func (x ChannelState_PrivacyLevel) String() string

func (*ChannelState_PrivacyLevel) UnmarshalJSON

func (x *ChannelState_PrivacyLevel) UnmarshalJSON(data []byte) error

type ListChannelsOptions

type ListChannelsOptions struct {
	StartIndex           *uint32                   `protobuf:"varint,1,opt,name=start_index,json=startIndex,def=0" json:"start_index,omitempty"`
	MaxResults           *uint32                   `protobuf:"varint,2,opt,name=max_results,json=maxResults,def=16" json:"max_results,omitempty"`
	Name                 *string                   `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	Program              *uint32                   `protobuf:"fixed32,4,opt,name=program" json:"program,omitempty"`
	Locale               *uint32                   `protobuf:"fixed32,5,opt,name=locale" json:"locale,omitempty"`
	CapacityFull         *uint32                   `protobuf:"varint,6,opt,name=capacity_full,json=capacityFull" json:"capacity_full,omitempty"`
	AttributeFilter      *protocol.AttributeFilter `protobuf:"bytes,7,req,name=attribute_filter,json=attributeFilter" json:"attribute_filter,omitempty"`
	ChannelType          *string                   `protobuf:"bytes,8,opt,name=channel_type,json=channelType" json:"channel_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*ListChannelsOptions) Descriptor

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

func (*ListChannelsOptions) GetAttributeFilter

func (m *ListChannelsOptions) GetAttributeFilter() *protocol.AttributeFilter

func (*ListChannelsOptions) GetCapacityFull

func (m *ListChannelsOptions) GetCapacityFull() uint32

func (*ListChannelsOptions) GetChannelType

func (m *ListChannelsOptions) GetChannelType() string

func (*ListChannelsOptions) GetLocale

func (m *ListChannelsOptions) GetLocale() uint32

func (*ListChannelsOptions) GetMaxResults

func (m *ListChannelsOptions) GetMaxResults() uint32

func (*ListChannelsOptions) GetName

func (m *ListChannelsOptions) GetName() string

func (*ListChannelsOptions) GetProgram

func (m *ListChannelsOptions) GetProgram() uint32

func (*ListChannelsOptions) GetStartIndex

func (m *ListChannelsOptions) GetStartIndex() uint32

func (*ListChannelsOptions) ProtoMessage

func (*ListChannelsOptions) ProtoMessage()

func (*ListChannelsOptions) Reset

func (m *ListChannelsOptions) Reset()

func (*ListChannelsOptions) String

func (m *ListChannelsOptions) String() string

func (*ListChannelsOptions) XXX_DiscardUnknown

func (m *ListChannelsOptions) XXX_DiscardUnknown()

func (*ListChannelsOptions) XXX_Marshal

func (m *ListChannelsOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListChannelsOptions) XXX_Merge

func (m *ListChannelsOptions) XXX_Merge(src proto.Message)

func (*ListChannelsOptions) XXX_Size

func (m *ListChannelsOptions) XXX_Size() int

func (*ListChannelsOptions) XXX_Unmarshal

func (m *ListChannelsOptions) XXX_Unmarshal(b []byte) error

type Member

type Member struct {
	Identity             *protocol.Identity `protobuf:"bytes,1,req,name=identity" json:"identity,omitempty"`
	State                *MemberState       `protobuf:"bytes,2,req,name=state" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*Member) Descriptor

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

func (*Member) GetIdentity

func (m *Member) GetIdentity() *protocol.Identity

func (*Member) GetState

func (m *Member) GetState() *MemberState

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) Reset

func (m *Member) Reset()

func (*Member) String

func (m *Member) String() string

func (*Member) XXX_DiscardUnknown

func (m *Member) XXX_DiscardUnknown()

func (*Member) XXX_Marshal

func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Member) XXX_Merge

func (m *Member) XXX_Merge(src proto.Message)

func (*Member) XXX_Size

func (m *Member) XXX_Size() int

func (*Member) XXX_Unmarshal

func (m *Member) XXX_Unmarshal(b []byte) error

type MemberAccountInfo

type MemberAccountInfo struct {
	BattleTag            *string  `protobuf:"bytes,3,opt,name=battle_tag,json=battleTag" json:"battle_tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MemberAccountInfo) Descriptor

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

func (*MemberAccountInfo) GetBattleTag

func (m *MemberAccountInfo) GetBattleTag() string

func (*MemberAccountInfo) ProtoMessage

func (*MemberAccountInfo) ProtoMessage()

func (*MemberAccountInfo) Reset

func (m *MemberAccountInfo) Reset()

func (*MemberAccountInfo) String

func (m *MemberAccountInfo) String() string

func (*MemberAccountInfo) XXX_DiscardUnknown

func (m *MemberAccountInfo) XXX_DiscardUnknown()

func (*MemberAccountInfo) XXX_Marshal

func (m *MemberAccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemberAccountInfo) XXX_Merge

func (m *MemberAccountInfo) XXX_Merge(src proto.Message)

func (*MemberAccountInfo) XXX_Size

func (m *MemberAccountInfo) XXX_Size() int

func (*MemberAccountInfo) XXX_Unmarshal

func (m *MemberAccountInfo) XXX_Unmarshal(b []byte) error

type MemberState

type MemberState struct {
	Attribute            []*protocol.Attribute `protobuf:"bytes,1,rep,name=attribute" json:"attribute,omitempty"`
	Role                 []uint32              `protobuf:"varint,2,rep,packed,name=role" json:"role,omitempty"`
	Privileges           *uint64               `protobuf:"varint,3,opt,name=privileges,def=0" json:"privileges,omitempty"`
	Info                 *MemberAccountInfo    `protobuf:"bytes,4,opt,name=info" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*MemberState) Descriptor

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

func (*MemberState) GetAttribute

func (m *MemberState) GetAttribute() []*protocol.Attribute

func (*MemberState) GetInfo

func (m *MemberState) GetInfo() *MemberAccountInfo

func (*MemberState) GetPrivileges

func (m *MemberState) GetPrivileges() uint64

func (*MemberState) GetRole

func (m *MemberState) GetRole() []uint32

func (*MemberState) ProtoMessage

func (*MemberState) ProtoMessage()

func (*MemberState) Reset

func (m *MemberState) Reset()

func (*MemberState) String

func (m *MemberState) String() string

func (*MemberState) XXX_DiscardUnknown

func (m *MemberState) XXX_DiscardUnknown()

func (*MemberState) XXX_Marshal

func (m *MemberState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemberState) XXX_Merge

func (m *MemberState) XXX_Merge(src proto.Message)

func (*MemberState) XXX_Size

func (m *MemberState) XXX_Size() int

func (*MemberState) XXX_Unmarshal

func (m *MemberState) XXX_Unmarshal(b []byte) error

type Message

type Message struct {
	Attribute                    []*protocol.Attribute `protobuf:"bytes,1,rep,name=attribute" json:"attribute,omitempty"`
	XXX_NoUnkeyedLiteral         struct{}              `json:"-"`
	proto.XXX_InternalExtensions `json:"-"`
	XXX_unrecognized             []byte `json:"-"`
	XXX_sizecache                int32  `json:"-"`
}

func (*Message) Descriptor

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

func (*Message) ExtensionRangeArray

func (*Message) ExtensionRangeArray() []proto.ExtensionRange

func (*Message) GetAttribute

func (m *Message) GetAttribute() []*protocol.Attribute

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Message) XXX_Merge

func (m *Message) XXX_Merge(src proto.Message)

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

func (m *Message) XXX_Unmarshal(b []byte) error

type SubscriberId

type SubscriberId struct {
	Account              *v1.AccountId         `protobuf:"bytes,1,opt,name=account" json:"account,omitempty"` // Deprecated: Do not use.
	GameAccount          *v1.GameAccountHandle `protobuf:"bytes,2,opt,name=game_account,json=gameAccount" json:"game_account,omitempty"`
	Process              *protocol.ProcessId   `protobuf:"bytes,3,opt,name=process" json:"process,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*SubscriberId) Descriptor

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

func (*SubscriberId) GetAccount deprecated

func (m *SubscriberId) GetAccount() *v1.AccountId

Deprecated: Do not use.

func (*SubscriberId) GetGameAccount

func (m *SubscriberId) GetGameAccount() *v1.GameAccountHandle

func (*SubscriberId) GetProcess

func (m *SubscriberId) GetProcess() *protocol.ProcessId

func (*SubscriberId) ProtoMessage

func (*SubscriberId) ProtoMessage()

func (*SubscriberId) Reset

func (m *SubscriberId) Reset()

func (*SubscriberId) String

func (m *SubscriberId) String() string

func (*SubscriberId) XXX_DiscardUnknown

func (m *SubscriberId) XXX_DiscardUnknown()

func (*SubscriberId) XXX_Marshal

func (m *SubscriberId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscriberId) XXX_Merge

func (m *SubscriberId) XXX_Merge(src proto.Message)

func (*SubscriberId) XXX_Size

func (m *SubscriberId) XXX_Size() int

func (*SubscriberId) XXX_Unmarshal

func (m *SubscriberId) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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