protos

package
v0.0.0-...-26835a4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthExample = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowExample   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type AuthArg

type AuthArg struct {
	AccessToken string `protobuf:"bytes,1,opt,name=accessToken,proto3" json:"accessToken,omitempty"`
}

func (*AuthArg) Descriptor

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

func (*AuthArg) GetAccessToken

func (m *AuthArg) GetAccessToken() string

func (*AuthArg) Marshal

func (m *AuthArg) Marshal() (dAtA []byte, err error)

func (*AuthArg) MarshalTo

func (m *AuthArg) MarshalTo(dAtA []byte) (int, error)

func (*AuthArg) ProtoMessage

func (*AuthArg) ProtoMessage()

func (*AuthArg) Reset

func (m *AuthArg) Reset()

func (*AuthArg) Size

func (m *AuthArg) Size() (n int)

func (*AuthArg) String

func (m *AuthArg) String() string

func (*AuthArg) Unmarshal

func (m *AuthArg) Unmarshal(dAtA []byte) error

func (*AuthArg) XXX_DiscardUnknown

func (m *AuthArg) XXX_DiscardUnknown()

func (*AuthArg) XXX_Marshal

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

func (*AuthArg) XXX_Merge

func (dst *AuthArg) XXX_Merge(src proto.Message)

func (*AuthArg) XXX_Size

func (m *AuthArg) XXX_Size() int

func (*AuthArg) XXX_Unmarshal

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

type AuthResponse

type AuthResponse struct {
	Code   string  `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
	Msg    string  `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
	Player *Player `protobuf:"bytes,3,opt,name=Player" json:"Player,omitempty"`
}

func (*AuthResponse) Descriptor

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

func (*AuthResponse) GetCode

func (m *AuthResponse) GetCode() string

func (*AuthResponse) GetMsg

func (m *AuthResponse) GetMsg() string

func (*AuthResponse) GetPlayer

func (m *AuthResponse) GetPlayer() *Player

func (*AuthResponse) Marshal

func (m *AuthResponse) Marshal() (dAtA []byte, err error)

func (*AuthResponse) MarshalTo

func (m *AuthResponse) MarshalTo(dAtA []byte) (int, error)

func (*AuthResponse) ProtoMessage

func (*AuthResponse) ProtoMessage()

func (*AuthResponse) Reset

func (m *AuthResponse) Reset()

func (*AuthResponse) Size

func (m *AuthResponse) Size() (n int)

func (*AuthResponse) String

func (m *AuthResponse) String() string

func (*AuthResponse) Unmarshal

func (m *AuthResponse) Unmarshal(dAtA []byte) error

func (*AuthResponse) XXX_DiscardUnknown

func (m *AuthResponse) XXX_DiscardUnknown()

func (*AuthResponse) XXX_Marshal

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

func (*AuthResponse) XXX_Merge

func (dst *AuthResponse) XXX_Merge(src proto.Message)

func (*AuthResponse) XXX_Size

func (m *AuthResponse) XXX_Size() int

func (*AuthResponse) XXX_Unmarshal

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

type FindMatchArg

type FindMatchArg struct {
	RoomType string `protobuf:"bytes,1,opt,name=RoomType,proto3" json:"RoomType,omitempty"`
}

func (*FindMatchArg) Descriptor

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

func (*FindMatchArg) GetRoomType

func (m *FindMatchArg) GetRoomType() string

func (*FindMatchArg) Marshal

func (m *FindMatchArg) Marshal() (dAtA []byte, err error)

func (*FindMatchArg) MarshalTo

func (m *FindMatchArg) MarshalTo(dAtA []byte) (int, error)

func (*FindMatchArg) ProtoMessage

func (*FindMatchArg) ProtoMessage()

func (*FindMatchArg) Reset

func (m *FindMatchArg) Reset()

func (*FindMatchArg) Size

func (m *FindMatchArg) Size() (n int)

func (*FindMatchArg) String

func (m *FindMatchArg) String() string

func (*FindMatchArg) Unmarshal

func (m *FindMatchArg) Unmarshal(dAtA []byte) error

func (*FindMatchArg) XXX_DiscardUnknown

func (m *FindMatchArg) XXX_DiscardUnknown()

func (*FindMatchArg) XXX_Marshal

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

func (*FindMatchArg) XXX_Merge

func (dst *FindMatchArg) XXX_Merge(src proto.Message)

func (*FindMatchArg) XXX_Size

func (m *FindMatchArg) XXX_Size() int

func (*FindMatchArg) XXX_Unmarshal

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

type FindMatchPush

type FindMatchPush struct {
	Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
	IP   string `protobuf:"bytes,2,opt,name=IP,proto3" json:"IP,omitempty"`
	Port int32  `protobuf:"varint,3,opt,name=Port,proto3" json:"Port,omitempty"`
}

func (*FindMatchPush) Descriptor

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

func (*FindMatchPush) GetCode

func (m *FindMatchPush) GetCode() string

func (*FindMatchPush) GetIP

func (m *FindMatchPush) GetIP() string

func (*FindMatchPush) GetPort

func (m *FindMatchPush) GetPort() int32

func (*FindMatchPush) Marshal

func (m *FindMatchPush) Marshal() (dAtA []byte, err error)

func (*FindMatchPush) MarshalTo

func (m *FindMatchPush) MarshalTo(dAtA []byte) (int, error)

func (*FindMatchPush) ProtoMessage

func (*FindMatchPush) ProtoMessage()

func (*FindMatchPush) Reset

func (m *FindMatchPush) Reset()

func (*FindMatchPush) Size

func (m *FindMatchPush) Size() (n int)

func (*FindMatchPush) String

func (m *FindMatchPush) String() string

func (*FindMatchPush) Unmarshal

func (m *FindMatchPush) Unmarshal(dAtA []byte) error

func (*FindMatchPush) XXX_DiscardUnknown

func (m *FindMatchPush) XXX_DiscardUnknown()

func (*FindMatchPush) XXX_Marshal

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

func (*FindMatchPush) XXX_Merge

func (dst *FindMatchPush) XXX_Merge(src proto.Message)

func (*FindMatchPush) XXX_Size

func (m *FindMatchPush) XXX_Size() int

func (*FindMatchPush) XXX_Unmarshal

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

type FindMatchResponse

type FindMatchResponse struct {
	Code string `protobuf:"bytes,1,opt,name=Code,proto3" json:"Code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=Msg,proto3" json:"Msg,omitempty"`
}

func (*FindMatchResponse) Descriptor

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

func (*FindMatchResponse) GetCode

func (m *FindMatchResponse) GetCode() string

func (*FindMatchResponse) GetMsg

func (m *FindMatchResponse) GetMsg() string

func (*FindMatchResponse) Marshal

func (m *FindMatchResponse) Marshal() (dAtA []byte, err error)

func (*FindMatchResponse) MarshalTo

func (m *FindMatchResponse) MarshalTo(dAtA []byte) (int, error)

func (*FindMatchResponse) ProtoMessage

func (*FindMatchResponse) ProtoMessage()

func (*FindMatchResponse) Reset

func (m *FindMatchResponse) Reset()

func (*FindMatchResponse) Size

func (m *FindMatchResponse) Size() (n int)

func (*FindMatchResponse) String

func (m *FindMatchResponse) String() string

func (*FindMatchResponse) Unmarshal

func (m *FindMatchResponse) Unmarshal(dAtA []byte) error

func (*FindMatchResponse) XXX_DiscardUnknown

func (m *FindMatchResponse) XXX_DiscardUnknown()

func (*FindMatchResponse) XXX_Marshal

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

func (*FindMatchResponse) XXX_Merge

func (dst *FindMatchResponse) XXX_Merge(src proto.Message)

func (*FindMatchResponse) XXX_Size

func (m *FindMatchResponse) XXX_Size() int

func (*FindMatchResponse) XXX_Unmarshal

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

type Player

type Player struct {
	PrivateID    string `protobuf:"bytes,1,opt,name=PrivateID,proto3" json:"PrivateID,omitempty"`
	AccessToken  string `protobuf:"bytes,2,opt,name=AccessToken,proto3" json:"AccessToken,omitempty"`
	Name         string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
	SoftCurrency int32  `protobuf:"varint,4,opt,name=SoftCurrency,proto3" json:"SoftCurrency,omitempty"`
	Trophies     int32  `protobuf:"varint,5,opt,name=Trophies,proto3" json:"Trophies,omitempty"`
}

Response represents a rpc message

func (*Player) Descriptor

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

func (*Player) GetAccessToken

func (m *Player) GetAccessToken() string

func (*Player) GetName

func (m *Player) GetName() string

func (*Player) GetPrivateID

func (m *Player) GetPrivateID() string

func (*Player) GetSoftCurrency

func (m *Player) GetSoftCurrency() int32

func (*Player) GetTrophies

func (m *Player) GetTrophies() int32

func (*Player) Marshal

func (m *Player) Marshal() (dAtA []byte, err error)

func (*Player) MarshalTo

func (m *Player) MarshalTo(dAtA []byte) (int, error)

func (*Player) ProtoMessage

func (*Player) ProtoMessage()

func (*Player) Reset

func (m *Player) Reset()

func (*Player) Size

func (m *Player) Size() (n int)

func (*Player) String

func (m *Player) String() string

func (*Player) Unmarshal

func (m *Player) Unmarshal(dAtA []byte) error

func (*Player) XXX_DiscardUnknown

func (m *Player) XXX_DiscardUnknown()

func (*Player) XXX_Marshal

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

func (*Player) XXX_Merge

func (dst *Player) XXX_Merge(src proto.Message)

func (*Player) XXX_Size

func (m *Player) XXX_Size() int

func (*Player) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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