Documentation
¶
Index ¶
- Variables
- type Attack
- type Attributes
- type Card
- type Consumable
- type EquipBonus
- type Item
- type Material
- type Member
- type ProvidesHealing
- type RawMaster
- func (rw *RawMaster) GenerateEnemy(name string) components.GameComponentList
- func (rw *RawMaster) GenerateFighter(name string) components.GameComponentList
- func (rw *RawMaster) GenerateItem(name string, locationType gc.ItemLocationType) components.GameComponentList
- func (rw *RawMaster) GenerateMaterial(name string, amount int, locationType gc.ItemLocationType) components.GameComponentList
- func (rw *RawMaster) GenerateMember(name string, inParty bool) components.GameComponentList
- func (rw *RawMaster) GenerateRecipe(name string) components.GameComponentList
- type Raws
- type Recipe
- type RecipeInput
- type ValueType
- type Wearable
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidEnumType = errors.New("enumに無効な値が指定された")
Functions ¶
This section is empty.
Types ¶
type Attributes ¶ added in v1.19.0
type Consumable ¶
type EquipBonus ¶ added in v1.20.0
type Item ¶
type Item struct {
Name string
Description string
InflictsDamage int
Consumable *Consumable `toml:"consumable"`
ProvidesHealing *ProvidesHealing `toml:"provides_healing"`
Wearable *Wearable `toml:"wearable"`
EquipBonus *EquipBonus `toml:"equip_bonus"`
Card *Card `toml:"card"`
Attack *Attack `toml:"attack"`
}
type Member ¶
type Member struct {
Name string
Attributes Attributes `toml:"attributes"`
}
type ProvidesHealing ¶ added in v1.20.1
type RawMaster ¶
type RawMaster struct {
Raws Raws
ItemIndex map[string]int
MaterialIndex map[string]int
RecipeIndex map[string]int
MemberIndex map[string]int
}
func LoadFromFile ¶
func (*RawMaster) GenerateEnemy ¶ added in v1.52.0
func (rw *RawMaster) GenerateEnemy(name string) components.GameComponentList
func (*RawMaster) GenerateFighter ¶ added in v1.52.0
func (rw *RawMaster) GenerateFighter(name string) components.GameComponentList
func (*RawMaster) GenerateItem ¶
func (rw *RawMaster) GenerateItem(name string, locationType gc.ItemLocationType) components.GameComponentList
func (*RawMaster) GenerateMaterial ¶
func (rw *RawMaster) GenerateMaterial(name string, amount int, locationType gc.ItemLocationType) components.GameComponentList
func (*RawMaster) GenerateMember ¶
func (rw *RawMaster) GenerateMember(name string, inParty bool) components.GameComponentList
func (*RawMaster) GenerateRecipe ¶
func (rw *RawMaster) GenerateRecipe(name string) components.GameComponentList
Click to show internal directories.
Click to hide internal directories.