Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bag ¶
type Card ¶
type Card struct { GUID string `json:"GUID"` Name string `json:"Name"` Nickname string `json:"Nickname"` Description string `json:"Description"` CardID int `json:"CardID"` LuaScript string `json:"LuaScript"` Transform *Transform `json:"Transform,omitempty"` CustomDeck map[int]DeckDescription `json:"CustomDeck,omitempty"` }
type DeckDescription ¶
type DeckObject ¶
type DeckObject struct { Name string `json:"Name"` Transform Transform `json:"Transform"` Nickname string `json:"Nickname"` Description string `json:"Description"` DeckIDs []int `json:"DeckIDs"` CustomDeck map[int]DeckDescription `json:"CustomDeck"` ContainedObjects []Card `json:"ContainedObjects"` }
func NewDeck ¶ added in v0.2.2
func NewDeck(nickname string) DeckObject
func (*DeckObject) AddCard ¶ added in v0.2.2
func (d *DeckObject) AddCard(card Card)
type RootObjects ¶
type RootObjects struct {
ObjectStates []Bag `json:"ObjectStates"`
}
Click to show internal directories.
Click to hide internal directories.