pushing current
This commit is contained in:
@@ -9,6 +9,7 @@ type Protocol struct {
|
||||
type Intent struct {
|
||||
Op string `json:"op"`
|
||||
Seq int64 `json:"seq"`
|
||||
Slot string `json:"slot"`
|
||||
Target string `json:"target"`
|
||||
X float64 `json:"x"`
|
||||
Z float64 `json:"z"`
|
||||
@@ -55,19 +56,61 @@ type Vec3 struct {
|
||||
}
|
||||
|
||||
type Character struct {
|
||||
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"`
|
||||
ACK int64 `json:"ack"`
|
||||
AllocatedStats map[string]int64 `json:"allocatedStats"`
|
||||
CarryWeight float64 `json:"carryWeight"`
|
||||
Entity Entity `json:"entity"`
|
||||
Equipment map[string]string `json:"equipment"`
|
||||
Experience int64 `json:"experience"`
|
||||
ExperienceToNextLevel int64 `json:"experienceToNextLevel"`
|
||||
HasKeystone bool `json:"hasKeystone"`
|
||||
HealthChoices int64 `json:"healthChoices"`
|
||||
Inventory map[string]int64 `json:"inventory"`
|
||||
Items []ItemInstance `json:"items"`
|
||||
Kills int64 `json:"kills"`
|
||||
Level int64 `json:"level"`
|
||||
Mana float64 `json:"mana"`
|
||||
ManaChoices int64 `json:"manaChoices"`
|
||||
PendingVitalChoices int64 `json:"pendingVitalChoices"`
|
||||
PlayedSeconds float64 `json:"playedSeconds"`
|
||||
RemainingSeconds float64 `json:"remainingSeconds"`
|
||||
Skills map[string]int64 `json:"skills"`
|
||||
Stamina float64 `json:"stamina"`
|
||||
StatPoints int64 `json:"statPoints"`
|
||||
Stats map[string]StatValue `json:"stats"`
|
||||
Titles []TitleAward `json:"titles"`
|
||||
}
|
||||
|
||||
type ItemInstance struct {
|
||||
DefinitionID string `json:"definitionId"`
|
||||
Description string `json:"description"`
|
||||
Equippable bool `json:"equippable"`
|
||||
ID string `json:"id"`
|
||||
Modifiers []StatModifier `json:"modifiers"`
|
||||
Name string `json:"name"`
|
||||
RequirementMessage string `json:"requirementMessage"`
|
||||
Requirements ItemRequirements `json:"requirements"`
|
||||
Slot string `json:"slot"`
|
||||
Weight float64 `json:"weight"`
|
||||
}
|
||||
|
||||
type StatModifier struct {
|
||||
Flat float64 `json:"flat"`
|
||||
Percent float64 `json:"percent"`
|
||||
Stat string `json:"stat"`
|
||||
}
|
||||
|
||||
type ItemRequirements struct {
|
||||
Level int64 `json:"level"`
|
||||
Stats map[string]float64 `json:"stats"`
|
||||
Titles []string `json:"titles"`
|
||||
}
|
||||
|
||||
type StatValue struct {
|
||||
Base float64 `json:"base"`
|
||||
Final float64 `json:"final"`
|
||||
Flat float64 `json:"flat"`
|
||||
Percent float64 `json:"percent"`
|
||||
}
|
||||
|
||||
type TitleAward struct {
|
||||
@@ -81,8 +124,9 @@ type TitleAward struct {
|
||||
}
|
||||
|
||||
type TitleEffects struct {
|
||||
Damage float64 `json:"damage"`
|
||||
MoveSpeed float64 `json:"moveSpeed"`
|
||||
Damage float64 `json:"damage"`
|
||||
Modifiers []StatModifier `json:"modifiers"`
|
||||
MoveSpeed float64 `json:"moveSpeed"`
|
||||
}
|
||||
|
||||
type WorldInfo struct {
|
||||
|
||||
Reference in New Issue
Block a user