proto

package
v0.0.0-...-b988991 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtoActiveInstControlS

type ProtoActiveInstControlS struct {
	ZoneID          int                         `json:"ZoneID"`            // 该活动归属的zone
	ActiveType      financesvr_proto.ActiveType `json:"ActiveType"`        // 和financesvr中的ActiveType对应
	ActiveID        int                         `json:"ActiveID"`          // 活动类型下的具体活动ID
	StartTimeName   string                      `json:"StartTime"`         // 活动ID的开始时间 2006-01-02 15:04:05
	DurationMinutes int                         `json:"DurationMinutes"`   // 持续的分钟
	ChannelName     string                      `xorm:"int 'ChannelName'"` // NOAREA CN US
	TimeZone        string                      `json:"TimeZone"`          // 时区,默认是Local,使用服务器时区,服务器用的是UTC
	GroupID         int                         `json:"GroupID"`           // 归属的group,group有自己的属性
}

type ProtoAddActiveInstCtrlsReq

type ProtoAddActiveInstCtrlsReq struct {
	Uin             uint64                    `json:"Uin"`
	ActiveInstCtrls []ProtoActiveInstControlS `json:"ActiveInstCtrls"`
}

导入活动实例的开启配置

type ProtoCleanAllActiveInstCtrlsReq

type ProtoCleanAllActiveInstCtrlsReq struct {
	Uin uint64 `json:"Uin"`
}

控制名利,清除所有运行+待运行的活动控制

type ProtoLoadWatingActiveInstCtrlsReq

type ProtoLoadWatingActiveInstCtrlsReq struct {
	Uin uint64 `json:"Uin"`
}

控制命令,从数据库中加载Waiting状态的活动控制

type ProtoQueryRunningActiveTypesReq

type ProtoQueryRunningActiveTypesReq struct {
	Uin    uint64 `json:"Uin"`
	ZoneID int32  `json:"ZoneID"`
}

查询现在开放的活动类型

type ProtoQueryRunningActiveTypesRes

type ProtoQueryRunningActiveTypesRes struct {
	Uin                uint64                        `json:"Uin"`
	ZoneID             int32                         `json:"ZoneID"`
	RunningActiveTypes []financesvr_proto.ActiveType `json:"RATS" mapstructure:"RATS"` // 该用户能开到的开放中的活动类型
}

Jump to

Keyboard shortcuts

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