This repository has been archived on 2026-10-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Ananta-ps/pkg/protocol/models/combat_codec.go
T

28 lines
711 B
Go

package models
import (
"encoding/json"
"sync"
)
var _ = json.RawMessage{}
var _ = sync.Mutex{}
//
// Typed factories for combat RPCs. Weapon/style/skill values come from the extracted build-4229938
// client tables; private-server.json only supplies private-server balance and identity values.
//
type CombatCodec struct {
Settings CombatSettings `json:"settings"`
MaxHp float32 `json:"maxHp"`
UltimateResourceId uint32 `json:"ultimateResourceId"`
UltimateResourceMax float32 `json:"ultimateResourceMax"`
AllResourceMaximums map[uint32]float32 `json:"allResourceMaximums"`
}
const (
CombatCodec_WeaponOperatorFlagsDiscardable uint32 = 1 << 8
CombatCodec_DiscardWeaponReasonRemove byte = 5
)