dm

package
v0.0.0-...-e4442d3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DanmakuElem

type DanmakuElem struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Progress             int32    `protobuf:"varint,2,opt,name=progress,proto3" json:"progress,omitempty"`
	Mode                 int32    `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"`
	Fontsize             int32    `protobuf:"varint,4,opt,name=fontsize,proto3" json:"fontsize,omitempty"`
	Color                uint32   `protobuf:"varint,5,opt,name=color,proto3" json:"color,omitempty"`
	MidHash              string   `protobuf:"bytes,6,opt,name=midHash,proto3" json:"midHash,omitempty"`
	Content              string   `protobuf:"bytes,7,opt,name=content,proto3" json:"content,omitempty"`
	Ctime                int64    `protobuf:"varint,8,opt,name=ctime,proto3" json:"ctime,omitempty"`
	Weight               int32    `protobuf:"varint,9,opt,name=weight,proto3" json:"weight,omitempty"`
	Action               string   `protobuf:"bytes,10,opt,name=action,proto3" json:"action,omitempty"`
	Pool                 int32    `protobuf:"varint,11,opt,name=pool,proto3" json:"pool,omitempty"`
	IdStr                string   `protobuf:"bytes,12,opt,name=idStr,proto3" json:"idStr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DanmakuElem) Descriptor

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

func (*DanmakuElem) GetAction

func (m *DanmakuElem) GetAction() string

func (*DanmakuElem) GetColor

func (m *DanmakuElem) GetColor() uint32

func (*DanmakuElem) GetContent

func (m *DanmakuElem) GetContent() string

func (*DanmakuElem) GetCtime

func (m *DanmakuElem) GetCtime() int64

func (*DanmakuElem) GetFontsize

func (m *DanmakuElem) GetFontsize() int32

func (*DanmakuElem) GetId

func (m *DanmakuElem) GetId() int64

func (*DanmakuElem) GetIdStr

func (m *DanmakuElem) GetIdStr() string

func (*DanmakuElem) GetMidHash

func (m *DanmakuElem) GetMidHash() string

func (*DanmakuElem) GetMode

func (m *DanmakuElem) GetMode() int32

func (*DanmakuElem) GetPool

func (m *DanmakuElem) GetPool() int32

func (*DanmakuElem) GetProgress

func (m *DanmakuElem) GetProgress() int32

func (*DanmakuElem) GetWeight

func (m *DanmakuElem) GetWeight() int32

func (*DanmakuElem) ProtoMessage

func (*DanmakuElem) ProtoMessage()

func (*DanmakuElem) Reset

func (m *DanmakuElem) Reset()

func (*DanmakuElem) String

func (m *DanmakuElem) String() string

func (*DanmakuElem) XXX_DiscardUnknown

func (m *DanmakuElem) XXX_DiscardUnknown()

func (*DanmakuElem) XXX_Marshal

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

func (*DanmakuElem) XXX_Merge

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

func (*DanmakuElem) XXX_Size

func (m *DanmakuElem) XXX_Size() int

func (*DanmakuElem) XXX_Unmarshal

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

type Dm

type Dm struct {
	Req *resty.Client
}

func (Dm) SegSo

func (d Dm) SegSo(cid string) ([]*DanmakuElem, error)

type DmSegMobileReply

type DmSegMobileReply struct {
	Elems                []*DanmakuElem `protobuf:"bytes,1,rep,name=elems,proto3" json:"elems,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*DmSegMobileReply) Descriptor

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

func (*DmSegMobileReply) GetElems

func (m *DmSegMobileReply) GetElems() []*DanmakuElem

func (*DmSegMobileReply) ProtoMessage

func (*DmSegMobileReply) ProtoMessage()

func (*DmSegMobileReply) Reset

func (m *DmSegMobileReply) Reset()

func (*DmSegMobileReply) String

func (m *DmSegMobileReply) String() string

func (*DmSegMobileReply) XXX_DiscardUnknown

func (m *DmSegMobileReply) XXX_DiscardUnknown()

func (*DmSegMobileReply) XXX_Marshal

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

func (*DmSegMobileReply) XXX_Merge

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

func (*DmSegMobileReply) XXX_Size

func (m *DmSegMobileReply) XXX_Size() int

func (*DmSegMobileReply) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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