package proto type EventLogger struct { AppId uint32 `json:"appId"` LogType uint32 `json:"logType"` LogTime int64 `json:"logTime"` } type MsgEventServerOperateReq struct { *EventLogger `json:",inline"` Operate uint32 `json:"operate"` Version string `json:"version"` ProgramHash string `json:"programHash"` DataHash string `json:"dataHash"` ConfigHash string `json:"configHash"` } type MsgEventServerOnlineReq struct { *EventLogger `json:",inline"` ServerId uint32 `json:"serverId"` Create uint32 `json:"create"` Online uint32 `json:"online"` MaxOnline uint32 `json:"maxOnline"` MaxOnlineTime int64 `json:"maxOnlineTime"` } type EventPlayer struct { Platform uint32 `json:"platform"` Channel uint32 `json:"channel"` ServerId uint32 `json:"serverId"` UserId uint64 `json:"userId"` RoleId uint64 `json:"roleId"` Device string `json:"machine"` Version string `json:"version"` } type MsgEventPlayerCommonReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` Numbers []int32 `json:"numbers"` Strings []string `json:"strings"` } type MsgEventPlayerCreateReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` Name string `json:"name"` Gender uint32 `json:"gender"` } type MsgEventPlayerLoginReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` OptionType uint32 `json:"optionType"` LoginIp string `json:"loginIp"` } type MsgEventPlayerRechargeReq struct { *EventLogger *EventPlayer RechargeId uint32 `json:"chargeId"` Type uint32 `json:"type"` SubType uint32 `json:"subType"` Count uint32 `json:"count"` Money uint32 `json:"money"` Status uint32 `json:"status"` } type MsgEventPlayerLevelReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` PreLevel uint32 `json:"preLevel"` CurLevel uint32 `json:"curLevel"` } type MsgEventPlayerItemObtainReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` ItemId uint32 `json:"itemId"` ItemNum uint32 `json:"itemNum"` } type MsgEventPlayerItemConsumeReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` ItemId uint32 `json:"itemId"` ItemNum uint32 `json:"itemNum"` } type MsgEventPlayerMoneyObtainReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` MoneyType uint32 `json:"MoneyType"` Amount uint32 `json:"Amount"` CurAmount uint32 `json:"CurAmount"` } type MsgEventPlayerMoneyConsumeReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` MoneyType uint32 `json:"MoneyType"` Amount uint32 `json:"Amount"` CurAmount uint32 `json:"CurAmount"` } type MsgEventPlayerMailReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` MailId uint64 `json:"mailId"` MailType uint32 `json:"mailType"` SentUserId uint64 `json:"sentUserId"` SentServerId uint32 `json:"sentServerId"` SentRoleId uint64 `json:"sentRoleId"` Title string `json:"title"` Content string `json:"content"` CreateTime int64 `json:"createTime"` Expiration int64 `json:"expiration"` Args []string `json:"args"` ItemIds []uint32 `json:"itemId"` ItemNums []uint32 `json:"itemNum"` } type MsgEventPlayerTaskReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` TaskId uint32 `json:"taskId"` Args1 []int `json:"args1"` Args2 []int `json:"args2"` Args3 []int `json:"args3"` } type MsgEventPlayerStoreReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` StoreType uint32 `json:"storeType"` ItemId uint32 `json:"itemId"` ItemNum uint32 `json:"itemNum"` MoneyType int32 `json:"moneyType"` MoneyNum uint32 `json:"moneyNum"` } type MsgEventPlayerActivityReq struct { *EventLogger `json:",inline"` *EventPlayer `json:",inline"` Type uint32 `json:"type"` Status uint32 `json:"status"` }