You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
407 B
18 lines
407 B
3 years ago
|
package message
|
||
|
|
||
|
type Duel struct {
|
||
|
Winner DuelUser `json:"winner"`
|
||
|
Loser DuelUser `json:"loser"`
|
||
|
IsChallenge bool `json:"isChallenge"`
|
||
|
IsGuildDuel bool `json:"isGuildDuel"`
|
||
|
}
|
||
|
|
||
|
type DuelUser struct {
|
||
|
ID string `json:"id"`
|
||
|
Name string `json:"name"`
|
||
|
Tag string `json:"tag,omitempty"`
|
||
|
Castle string `json:"castle"`
|
||
|
Level int `json:"level"`
|
||
|
Health int `json:"hp"`
|
||
|
}
|