81 lines
1.6 KiB
Go
81 lines
1.6 KiB
Go
package old
|
|
|
|
type MsgRolePropertyAck struct {
|
|
//unchangeable
|
|
UserId uint64 `json:"PlayerId"`
|
|
Platform uint32 `json:"Platform"`
|
|
Channel uint32 `json:"Channel"`
|
|
ServerId uint32 `json:"ServerId"`
|
|
Username string `json:"Username"`
|
|
|
|
//changeable
|
|
Language uint32 `json:"Language"`
|
|
Name string `json:"Name"`
|
|
Avatar string `json:"Avatar"`
|
|
|
|
//notify change
|
|
Level uint32 `json:"Level"`
|
|
LoginDays uint32 `json:"LoginDays"`
|
|
PowerNextTime int64 `json:"PowerNextTime"`
|
|
RadarEndTime int64 `json:"RadarEndTime"`
|
|
}
|
|
|
|
type RolePropertyPair struct {
|
|
Type uint32 `json:"Type"`
|
|
Value uint64 `json:"Value"`
|
|
}
|
|
|
|
type MsgRolePropertiesChangeAck struct {
|
|
Properties []*RolePropertyPair `json:"Properties"`
|
|
}
|
|
|
|
type MsgRoleChangeLanguageReq struct {
|
|
Language uint32 `json:"Language"`
|
|
}
|
|
|
|
type MsgRoleChangeLanguageAck struct {
|
|
Language uint32 `json:"Language"`
|
|
}
|
|
|
|
type MsgRoleChangeNameReq struct {
|
|
Name string `json:"Name"`
|
|
}
|
|
|
|
type MsgRoleChangeNameAck struct {
|
|
Name string `json:"Name"`
|
|
}
|
|
|
|
type MsgRoleChangeAvatarReq struct {
|
|
Avatar string `json:"Avatar"`
|
|
}
|
|
|
|
type MsgRoleChangeAvatarAck struct {
|
|
Avatar string `json:"Avatar"`
|
|
}
|
|
|
|
type RoleTalent struct {
|
|
Id uint32 `json:"Id"`
|
|
LevelId uint32 `json:"LevelId"`
|
|
}
|
|
|
|
type MsgRoleTalentListAck struct {
|
|
List []*RoleTalent `json:"List,omitempty"`
|
|
}
|
|
|
|
type MsgRoleTalentUpgradeReq struct {
|
|
Id uint32 `json:"Id"`
|
|
}
|
|
|
|
type MsgRoleTalentUpgradeAck struct {
|
|
*RoleTalent
|
|
}
|
|
|
|
type RoleMoney struct {
|
|
Type uint32 `json:"Type"`
|
|
Value uint32 `json:"Value"`
|
|
}
|
|
|
|
type MsgRoleMoneyListAck struct {
|
|
List []*RoleMoney `json:"List,omitempty"`
|
|
}
|