2022-08-19 18:09:05 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
type Character struct {
|
2022-08-20 16:32:50 +02:00
|
|
|
Misc Misc `json:"misc"`
|
|
|
|
Stats []Stat `json:"stats"`
|
|
|
|
Skills []Skill `json:"skills"`
|
2022-08-19 18:09:05 +02:00
|
|
|
}
|
2022-08-20 16:32:50 +02:00
|
|
|
|
2022-08-19 18:09:05 +02:00
|
|
|
type Misc struct {
|
2022-08-28 16:03:07 +02:00
|
|
|
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"`
|
2022-08-19 18:09:05 +02:00
|
|
|
}
|
2022-08-20 16:32:50 +02:00
|
|
|
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"`
|
2022-08-19 18:09:05 +02:00
|
|
|
}
|