68 lines
1.4 KiB
Go
68 lines
1.4 KiB
Go
![]() |
package old
|
||
|
|
||
|
import json "github.com/json-iterator/go"
|
||
|
|
||
|
type MsgServerOnlineAck struct {
|
||
|
Online uint32 `json:"online"`
|
||
|
//Charges uint32 `json:"charges"`
|
||
|
}
|
||
|
|
||
|
type MsgGateChargeCallbackReq struct {
|
||
|
OrderId string `json:"orderId"`
|
||
|
Sign string `json:"sign"`
|
||
|
Status int32 `json:"status"`
|
||
|
ExtOrderNo string `bson:"extOrderNo"`
|
||
|
}
|
||
|
|
||
|
type MsgGateChargeCallbackAck struct {
|
||
|
}
|
||
|
|
||
|
type BackMail struct {
|
||
|
Id uint64 `json:"id"`
|
||
|
Title string `json:"title"`
|
||
|
Content string `json:"content"`
|
||
|
ItemId []uint32 `json:"itemId"`
|
||
|
ItemNum []uint32 `json:"itemNum"`
|
||
|
CreateTime int64 `json:"createTime"`
|
||
|
Expiration int64 `json:"expiration"`
|
||
|
}
|
||
|
|
||
|
type MsgRegionMailListReq struct {
|
||
|
}
|
||
|
|
||
|
type MsgRegionMailListAck struct {
|
||
|
List []*BackMail `json:"list"`
|
||
|
}
|
||
|
|
||
|
type MsgRegionMailSendReq struct {
|
||
|
*BackMail
|
||
|
}
|
||
|
|
||
|
type MsgRegionMailSendAck struct {
|
||
|
}
|
||
|
|
||
|
type MsgRegionMailDeleteReq struct {
|
||
|
Ids []uint64 `json:"ids"`
|
||
|
}
|
||
|
|
||
|
type MsgRegionMailDeleteAck struct {
|
||
|
}
|
||
|
|
||
|
type MsgPlayerQueryReq struct {
|
||
|
PlayerId uint64 `json:"playerId"`
|
||
|
Projects []string `json:"projects,omitempty"`
|
||
|
}
|
||
|
|
||
|
type MsgPlayerQueryAck struct {
|
||
|
Player json.RawMessage `json:"player,omitempty"`
|
||
|
}
|
||
|
|
||
|
type MsgPlayerOperateReq struct {
|
||
|
PlayerId uint64 `json:"playerId"` //player id
|
||
|
OperateType uint32 `json:"operateType"` //1.ban,2.unban,3.kick
|
||
|
OperateArg int64 `json:"operation"` //banning time
|
||
|
}
|
||
|
|
||
|
type MsgPlayerOperateAck struct {
|
||
|
}
|