2025-06-04 18:17:39 +08:00
|
|
|
package proto
|
|
|
|
|
2025-07-16 10:05:22 +08:00
|
|
|
import json "github.com/json-iterator/go"
|
|
|
|
|
2025-06-16 18:49:53 +08:00
|
|
|
type MsgServerInfoAck struct {
|
|
|
|
Id uint32 `json:"Id"`
|
|
|
|
Platform uint32 `json:"Platform"`
|
|
|
|
Channel uint32 `json:"Channel"`
|
|
|
|
Area string `json:"Area"`
|
|
|
|
Name string `json:"Name"`
|
|
|
|
Online uint32 `json:"Online"`
|
2025-06-04 18:17:39 +08:00
|
|
|
//Charges uint32 `json:"charges"`
|
|
|
|
}
|
2025-07-16 10:05:22 +08:00
|
|
|
|
|
|
|
type MsgPlayerQueryReq struct {
|
|
|
|
RoleId uint64 `json:"RoleId"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type MsgPlayerQueryAck struct {
|
|
|
|
Player json.RawMessage `json:"player,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type MsgPlayerOperateReq struct {
|
|
|
|
RoleId uint64 `json:"RoleId"`
|
|
|
|
OperateType uint32 `json:"OperateType"`
|
|
|
|
OperateArg int64 `json:"OperateArg"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type MsgBackgroundMailSendReq struct {
|
|
|
|
Title string `json:"Title"`
|
|
|
|
Content string `json:"Content"`
|
|
|
|
CreateTime int64 `json:"CreateTime"`
|
|
|
|
Expiration int64 `json:"Expiration"`
|
|
|
|
Args []string `json:"Args"`
|
|
|
|
ItemId []uint32 `json:"ItemId"`
|
|
|
|
ItemNum []uint32 `json:"ItemNum"`
|
|
|
|
}
|