types

package
v0.0.0-...-5be9b26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2022 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL