Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BattleReceipt ¶
type BattleReceipt struct { // Battle lib.Outpoint `json:"battle"` Fighter lib.Outpoint `json:"fighter"` Xp int32 `json:"xp"` Lock []byte `json:"lock"` Win bool `json:"win"` PvP bool `json:"pvp"` }
func (BattleReceipt) MarshalEasyJSON ¶
func (v BattleReceipt) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (BattleReceipt) MarshalJSON ¶
func (v BattleReceipt) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*BattleReceipt) UnmarshalEasyJSON ¶
func (v *BattleReceipt) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*BattleReceipt) UnmarshalJSON ¶
func (v *BattleReceipt) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.