wxproto

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_bytesextra_proto protoreflect.FileDescriptor
View Source
var File_packedinfo_proto protoreflect.FileDescriptor
View Source
var File_roomdata_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BytesExtra

type BytesExtra struct {
	Header *BytesExtraHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Items  []*BytesExtraItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesExtra) Descriptor deprecated

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

Deprecated: Use BytesExtra.ProtoReflect.Descriptor instead.

func (*BytesExtra) GetHeader

func (x *BytesExtra) GetHeader() *BytesExtraHeader

func (*BytesExtra) GetItems

func (x *BytesExtra) GetItems() []*BytesExtraItem

func (*BytesExtra) ProtoMessage

func (*BytesExtra) ProtoMessage()

func (*BytesExtra) ProtoReflect

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

func (*BytesExtra) Reset

func (x *BytesExtra) Reset()

func (*BytesExtra) String

func (x *BytesExtra) String() string

type BytesExtraHeader

type BytesExtraHeader struct {
	Field1 int32 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"`
	Field2 int32 `protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesExtraHeader) Descriptor deprecated

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

Deprecated: Use BytesExtraHeader.ProtoReflect.Descriptor instead.

func (*BytesExtraHeader) GetField1

func (x *BytesExtraHeader) GetField1() int32

func (*BytesExtraHeader) GetField2

func (x *BytesExtraHeader) GetField2() int32

func (*BytesExtraHeader) ProtoMessage

func (*BytesExtraHeader) ProtoMessage()

func (*BytesExtraHeader) ProtoReflect

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

func (*BytesExtraHeader) Reset

func (x *BytesExtraHeader) Reset()

func (*BytesExtraHeader) String

func (x *BytesExtraHeader) String() string

type BytesExtraItem

type BytesExtraItem struct {
	Type  int32  `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesExtraItem) Descriptor deprecated

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

Deprecated: Use BytesExtraItem.ProtoReflect.Descriptor instead.

func (*BytesExtraItem) GetType

func (x *BytesExtraItem) GetType() int32

func (*BytesExtraItem) GetValue

func (x *BytesExtraItem) GetValue() string

func (*BytesExtraItem) ProtoMessage

func (*BytesExtraItem) ProtoMessage()

func (*BytesExtraItem) ProtoReflect

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

func (*BytesExtraItem) Reset

func (x *BytesExtraItem) Reset()

func (*BytesExtraItem) String

func (x *BytesExtraItem) String() string

type ImageHash added in v0.0.5

type ImageHash struct {
	Md5 string `protobuf:"bytes,4,opt,name=md5,proto3" json:"md5,omitempty"` // 32 字符的 MD5 哈希
	// contains filtered or unexported fields
}

func (*ImageHash) Descriptor deprecated added in v0.0.5

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

Deprecated: Use ImageHash.ProtoReflect.Descriptor instead.

func (*ImageHash) GetMd5 added in v0.0.5

func (x *ImageHash) GetMd5() string

func (*ImageHash) ProtoMessage added in v0.0.5

func (*ImageHash) ProtoMessage()

func (*ImageHash) ProtoReflect added in v0.0.5

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

func (*ImageHash) Reset added in v0.0.5

func (x *ImageHash) Reset()

func (*ImageHash) String added in v0.0.5

func (x *ImageHash) String() string

type PackedInfo added in v0.0.5

type PackedInfo struct {
	Type    uint32     `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`       // 始终为 106 (0x6a)
	Version uint32     `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // 始终为 14 (0xe)
	Image   *ImageHash `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`      // 图片哈希
	Video   *VideoHash `protobuf:"bytes,4,opt,name=video,proto3" json:"video,omitempty"`      // 视频哈希
	// contains filtered or unexported fields
}

func (*PackedInfo) Descriptor deprecated added in v0.0.5

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

Deprecated: Use PackedInfo.ProtoReflect.Descriptor instead.

func (*PackedInfo) GetImage added in v0.0.5

func (x *PackedInfo) GetImage() *ImageHash

func (*PackedInfo) GetType added in v0.0.5

func (x *PackedInfo) GetType() uint32

func (*PackedInfo) GetVersion added in v0.0.5

func (x *PackedInfo) GetVersion() uint32

func (*PackedInfo) GetVideo added in v0.0.5

func (x *PackedInfo) GetVideo() *VideoHash

func (*PackedInfo) ProtoMessage added in v0.0.5

func (*PackedInfo) ProtoMessage()

func (*PackedInfo) ProtoReflect added in v0.0.5

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

func (*PackedInfo) Reset added in v0.0.5

func (x *PackedInfo) Reset()

func (*PackedInfo) String added in v0.0.5

func (x *PackedInfo) String() string

type RoomData

type RoomData struct {
	Users   []*RoomDataUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	RoomCap *int32          `protobuf:"varint,5,opt,name=roomCap,proto3,oneof" json:"roomCap,omitempty"` // 只在第一份数据中出现,值为500
	// contains filtered or unexported fields
}

func (*RoomData) Descriptor deprecated

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

Deprecated: Use RoomData.ProtoReflect.Descriptor instead.

func (*RoomData) GetRoomCap

func (x *RoomData) GetRoomCap() int32

func (*RoomData) GetUsers

func (x *RoomData) GetUsers() []*RoomDataUser

func (*RoomData) ProtoMessage

func (*RoomData) ProtoMessage()

func (*RoomData) ProtoReflect

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

func (*RoomData) Reset

func (x *RoomData) Reset()

func (*RoomData) String

func (x *RoomData) String() string

type RoomDataUser

type RoomDataUser struct {
	UserName    string  `protobuf:"bytes,1,opt,name=userName,proto3" json:"userName,omitempty"`             // 用户ID或名称
	DisplayName *string `protobuf:"bytes,2,opt,name=displayName,proto3,oneof" json:"displayName,omitempty"` // 显示名称,可能是UTF-8编码的中文,部分记录可能为空
	Status      int32   `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`                // 状态码,值范围0-9
	Inviter     *string `protobuf:"bytes,4,opt,name=inviter,proto3,oneof" json:"inviter,omitempty"`         // 邀请人
	// contains filtered or unexported fields
}

func (*RoomDataUser) Descriptor deprecated

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

Deprecated: Use RoomDataUser.ProtoReflect.Descriptor instead.

func (*RoomDataUser) GetDisplayName

func (x *RoomDataUser) GetDisplayName() string

func (*RoomDataUser) GetInviter

func (x *RoomDataUser) GetInviter() string

func (*RoomDataUser) GetStatus

func (x *RoomDataUser) GetStatus() int32

func (*RoomDataUser) GetUserName

func (x *RoomDataUser) GetUserName() string

func (*RoomDataUser) ProtoMessage

func (*RoomDataUser) ProtoMessage()

func (*RoomDataUser) ProtoReflect

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

func (*RoomDataUser) Reset

func (x *RoomDataUser) Reset()

func (*RoomDataUser) String

func (x *RoomDataUser) String() string

type VideoHash added in v0.0.5

type VideoHash struct {
	Md5 string `protobuf:"bytes,8,opt,name=md5,proto3" json:"md5,omitempty"` // 32 字符的 MD5 哈希
	// contains filtered or unexported fields
}

func (*VideoHash) Descriptor deprecated added in v0.0.5

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

Deprecated: Use VideoHash.ProtoReflect.Descriptor instead.

func (*VideoHash) GetMd5 added in v0.0.5

func (x *VideoHash) GetMd5() string

func (*VideoHash) ProtoMessage added in v0.0.5

func (*VideoHash) ProtoMessage()

func (*VideoHash) ProtoReflect added in v0.0.5

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

func (*VideoHash) Reset added in v0.0.5

func (x *VideoHash) Reset()

func (*VideoHash) String added in v0.0.5

func (x *VideoHash) String() string

Jump to

Keyboard shortcuts

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