bonus

package
v0.0.0-...-e765db0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_internal_pkg_entity_bonus_income_proto protoreflect.FileDescriptor
View Source
var File_internal_pkg_entity_bonus_packet_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Income

type Income struct {
	Id     string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Amount int64         `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Packet *Packet       `protobuf:"bytes,3,opt,name=packet,proto3" json:"packet,omitempty"`
	User   *user.Profile `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*Income) Descriptor deprecated

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

Deprecated: Use Income.ProtoReflect.Descriptor instead.

func (*Income) GetAmount

func (x *Income) GetAmount() int64

func (*Income) GetId

func (x *Income) GetId() string

func (*Income) GetPacket

func (x *Income) GetPacket() *Packet

func (*Income) GetUser

func (x *Income) GetUser() *user.Profile

func (*Income) ProtoMessage

func (*Income) ProtoMessage()

func (*Income) ProtoReflect

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

func (*Income) Reset

func (x *Income) Reset()

func (*Income) String

func (x *Income) String() string

type Packet

type Packet struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Amount int64  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*Packet) Descriptor deprecated

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

Deprecated: Use Packet.ProtoReflect.Descriptor instead.

func (*Packet) GetAmount

func (x *Packet) GetAmount() int64

func (*Packet) GetId

func (x *Packet) GetId() string

func (*Packet) ProtoMessage

func (*Packet) ProtoMessage()

func (*Packet) ProtoReflect

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

func (*Packet) Reset

func (x *Packet) Reset()

func (*Packet) String

func (x *Packet) String() string

Jump to

Keyboard shortcuts

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