30 lines
644 B
Go
30 lines
644 B
Go
![]() |
package old
|
||
|
|
||
|
type AchievementRewardStatus struct {
|
||
|
Id uint32 `json:"Id"`
|
||
|
Status uint32 `json:"Status"`
|
||
|
}
|
||
|
|
||
|
type Achievement struct {
|
||
|
Type uint32 `json:"Type"`
|
||
|
Extra uint32 `json:"Extra"`
|
||
|
Process uint32 `json:"Process"`
|
||
|
StatusList []*AchievementRewardStatus `json:"StatusList"`
|
||
|
}
|
||
|
|
||
|
type MsgAchievementListAck struct {
|
||
|
List []*Achievement `json:"List,omitempty"`
|
||
|
}
|
||
|
|
||
|
type MsgAchievementChangeListAck struct {
|
||
|
MsgAchievementListAck
|
||
|
}
|
||
|
|
||
|
type MsgAchievementGetRewardReq struct {
|
||
|
Id uint32 `json:"Id"`
|
||
|
}
|
||
|
|
||
|
type MsgAchievementGetRewardAck struct {
|
||
|
*MsgRewardListAck
|
||
|
}
|