Add character levels and permanent player titles

This commit is contained in:
dingo
2026-09-07 07:58:34 -04:00
parent 5a48a3c739
commit bc0ffbbbe5
30 changed files with 1594 additions and 62 deletions
+28 -8
View File
@@ -55,14 +55,34 @@ type Vec3 struct {
}
type Character struct {
ACK int64 `json:"ack"`
Entity Entity `json:"entity"`
HasKeystone bool `json:"hasKeystone"`
Inventory map[string]int64 `json:"inventory"`
Kills int64 `json:"kills"`
PlayedSeconds float64 `json:"playedSeconds"`
RemainingSeconds float64 `json:"remainingSeconds"`
Skills map[string]int64 `json:"skills"`
ACK int64 `json:"ack"`
Entity Entity `json:"entity"`
Experience int64 `json:"experience"`
ExperienceToNextLevel int64 `json:"experienceToNextLevel"`
HasKeystone bool `json:"hasKeystone"`
Inventory map[string]int64 `json:"inventory"`
Kills int64 `json:"kills"`
Level int64 `json:"level"`
PlayedSeconds float64 `json:"playedSeconds"`
RemainingSeconds float64 `json:"remainingSeconds"`
Skills map[string]int64 `json:"skills"`
StatPoints int64 `json:"statPoints"`
Titles []TitleAward `json:"titles"`
}
type TitleAward struct {
Description string `json:"description"`
EarnedAt string `json:"earnedAt"`
Effects TitleEffects `json:"effects"`
ID string `json:"id"`
Name string `json:"name"`
Scope string `json:"scope"`
WorldID string `json:"worldId"`
}
type TitleEffects struct {
Damage float64 `json:"damage"`
MoveSpeed float64 `json:"moveSpeed"`
}
type WorldInfo struct {