protocol

package
v0.0.0-...-7bf2daa Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Category_name = map[int32]string{
	0: "UNKNOWN",
	1: "POSITION",
	2: "PROFILE",
	3: "CHAT",
	4: "SCENE_MESSAGE",
}
View Source
var Category_value = map[string]int32{
	"UNKNOWN":       0,
	"POSITION":      1,
	"PROFILE":       2,
	"CHAT":          3,
	"SCENE_MESSAGE": 4,
}

Functions

This section is empty.

Types

type AuthData

type AuthData struct {
	Signature            string   `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	Identity             string   `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	Timestamp            string   `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	AccessToken          string   `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AuthData) Descriptor

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

func (*AuthData) GetAccessToken

func (m *AuthData) GetAccessToken() string

func (*AuthData) GetIdentity

func (m *AuthData) GetIdentity() string

func (*AuthData) GetSignature

func (m *AuthData) GetSignature() string

func (*AuthData) GetTimestamp

func (m *AuthData) GetTimestamp() string

func (*AuthData) ProtoMessage

func (*AuthData) ProtoMessage()

func (*AuthData) Reset

func (m *AuthData) Reset()

func (*AuthData) String

func (m *AuthData) String() string

func (*AuthData) XXX_DiscardUnknown

func (m *AuthData) XXX_DiscardUnknown()

func (*AuthData) XXX_Marshal

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

func (*AuthData) XXX_Merge

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

func (*AuthData) XXX_Size

func (m *AuthData) XXX_Size() int

func (*AuthData) XXX_Unmarshal

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

type Category

type Category int32
const (
	Category_UNKNOWN       Category = 0
	Category_POSITION      Category = 1
	Category_PROFILE       Category = 2
	Category_CHAT          Category = 3
	Category_SCENE_MESSAGE Category = 4
)

func (Category) EnumDescriptor

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

func (Category) String

func (x Category) String() string

type ChatData

type ChatData struct {
	Category             Category `protobuf:"varint,1,opt,name=category,proto3,enum=protocol.Category" json:"category,omitempty"`
	Time                 float64  `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
	MessageId            string   `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Text                 string   `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChatData) Descriptor

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

func (*ChatData) GetCategory

func (m *ChatData) GetCategory() Category

func (*ChatData) GetMessageId

func (m *ChatData) GetMessageId() string

func (*ChatData) GetText

func (m *ChatData) GetText() string

func (*ChatData) GetTime

func (m *ChatData) GetTime() float64

func (*ChatData) ProtoMessage

func (*ChatData) ProtoMessage()

func (*ChatData) Reset

func (m *ChatData) Reset()

func (*ChatData) String

func (m *ChatData) String() string

func (*ChatData) XXX_DiscardUnknown

func (m *ChatData) XXX_DiscardUnknown()

func (*ChatData) XXX_Marshal

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

func (*ChatData) XXX_Merge

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

func (*ChatData) XXX_Size

func (m *ChatData) XXX_Size() int

func (*ChatData) XXX_Unmarshal

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

type DataHeader

type DataHeader struct {
	Category             Category `protobuf:"varint,1,opt,name=category,proto3,enum=protocol.Category" json:"category,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DataHeader) Descriptor

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

func (*DataHeader) GetCategory

func (m *DataHeader) GetCategory() Category

func (*DataHeader) ProtoMessage

func (*DataHeader) ProtoMessage()

func (*DataHeader) Reset

func (m *DataHeader) Reset()

func (*DataHeader) String

func (m *DataHeader) String() string

func (*DataHeader) XXX_DiscardUnknown

func (m *DataHeader) XXX_DiscardUnknown()

func (*DataHeader) XXX_Marshal

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

func (*DataHeader) XXX_Merge

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

func (*DataHeader) XXX_Size

func (m *DataHeader) XXX_Size() int

func (*DataHeader) XXX_Unmarshal

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

type PositionData

type PositionData struct {
	Category             Category `protobuf:"varint,1,opt,name=category,proto3,enum=protocol.Category" json:"category,omitempty"`
	Time                 float64  `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
	PositionX            float32  `protobuf:"fixed32,3,opt,name=position_x,json=positionX,proto3" json:"position_x,omitempty"`
	PositionY            float32  `protobuf:"fixed32,4,opt,name=position_y,json=positionY,proto3" json:"position_y,omitempty"`
	PositionZ            float32  `protobuf:"fixed32,5,opt,name=position_z,json=positionZ,proto3" json:"position_z,omitempty"`
	RotationX            float32  `protobuf:"fixed32,6,opt,name=rotation_x,json=rotationX,proto3" json:"rotation_x,omitempty"`
	RotationY            float32  `protobuf:"fixed32,7,opt,name=rotation_y,json=rotationY,proto3" json:"rotation_y,omitempty"`
	RotationZ            float32  `protobuf:"fixed32,8,opt,name=rotation_z,json=rotationZ,proto3" json:"rotation_z,omitempty"`
	RotationW            float32  `protobuf:"fixed32,9,opt,name=rotation_w,json=rotationW,proto3" json:"rotation_w,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PositionData) Descriptor

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

func (*PositionData) GetCategory

func (m *PositionData) GetCategory() Category

func (*PositionData) GetPositionX

func (m *PositionData) GetPositionX() float32

func (*PositionData) GetPositionY

func (m *PositionData) GetPositionY() float32

func (*PositionData) GetPositionZ

func (m *PositionData) GetPositionZ() float32

func (*PositionData) GetRotationW

func (m *PositionData) GetRotationW() float32

func (*PositionData) GetRotationX

func (m *PositionData) GetRotationX() float32

func (*PositionData) GetRotationY

func (m *PositionData) GetRotationY() float32

func (*PositionData) GetRotationZ

func (m *PositionData) GetRotationZ() float32

func (*PositionData) GetTime

func (m *PositionData) GetTime() float64

func (*PositionData) ProtoMessage

func (*PositionData) ProtoMessage()

func (*PositionData) Reset

func (m *PositionData) Reset()

func (*PositionData) String

func (m *PositionData) String() string

func (*PositionData) XXX_DiscardUnknown

func (m *PositionData) XXX_DiscardUnknown()

func (*PositionData) XXX_Marshal

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

func (*PositionData) XXX_Merge

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

func (*PositionData) XXX_Size

func (m *PositionData) XXX_Size() int

func (*PositionData) XXX_Unmarshal

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

type ProfileData

type ProfileData struct {
	Category             Category `protobuf:"varint,1,opt,name=category,proto3,enum=protocol.Category" json:"category,omitempty"`
	Time                 float64  `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
	ProfileVersion       string   `protobuf:"bytes,3,opt,name=profile_version,json=profileVersion,proto3" json:"profile_version,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProfileData) Descriptor

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

func (*ProfileData) GetCategory

func (m *ProfileData) GetCategory() Category

func (*ProfileData) GetProfileVersion

func (m *ProfileData) GetProfileVersion() string

func (*ProfileData) GetTime

func (m *ProfileData) GetTime() float64

func (*ProfileData) ProtoMessage

func (*ProfileData) ProtoMessage()

func (*ProfileData) Reset

func (m *ProfileData) Reset()

func (*ProfileData) String

func (m *ProfileData) String() string

func (*ProfileData) XXX_DiscardUnknown

func (m *ProfileData) XXX_DiscardUnknown()

func (*ProfileData) XXX_Marshal

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

func (*ProfileData) XXX_Merge

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

func (*ProfileData) XXX_Size

func (m *ProfileData) XXX_Size() int

func (*ProfileData) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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