mirror of
https://gitlab.com/EternalWanderer/sheet-parser.git
synced 2024-11-29 05:23:49 +01:00
30 lines
800 B
Go
30 lines
800 B
Go
package Parser
|
|
|
|
type Character struct {
|
|
Misc Misc `json:"misc"`
|
|
Stats []Stat `json:"stats"`
|
|
Skills []Skill `json:"skills"`
|
|
}
|
|
|
|
type Misc struct {
|
|
Level int `json:"level"`
|
|
Name string `json:"name"`
|
|
Race string `json:"race"`
|
|
Class string `json:"class"`
|
|
Background string `json:"background"`
|
|
ReliableTalent bool `json:"reliableTalent"`
|
|
JackOfAllTrades bool `json:"jackOfAllTrades"`
|
|
IsKurthog bool `json:"isKurthog"`
|
|
}
|
|
type Skill struct {
|
|
SkillName string `json:"skillName"`
|
|
Proficient bool `json:"proficient"`
|
|
Expertise bool `json:"expertise"`
|
|
BaseStat string `json:"baseStat"`
|
|
}
|
|
type Stat struct {
|
|
StatName string `json:"statName"`
|
|
Score int `json:"score"`
|
|
Proficient bool `json:"proficient"`
|
|
}
|