Documentation ¶
Index ¶
- Variables
- type ActionData_AddBuildingPrototype
- func (row *ActionData_AddBuildingPrototype) GetBuildingTime() uint8
- func (row *ActionData_AddBuildingPrototype) GetComputeCapacity() uint8
- func (row *ActionData_AddBuildingPrototype) GetHeight() uint8
- func (row *ActionData_AddBuildingPrototype) GetIsArmory() bool
- func (row *ActionData_AddBuildingPrototype) GetIsEnvironment() bool
- func (row *ActionData_AddBuildingPrototype) GetMaxIntegrity() uint8
- func (row *ActionData_AddBuildingPrototype) GetMineTime() uint8
- func (row *ActionData_AddBuildingPrototype) GetResourceCapacity() uint16
- func (row *ActionData_AddBuildingPrototype) GetResourceCost() uint16
- func (row *ActionData_AddBuildingPrototype) GetResourceMine() uint8
- func (row *ActionData_AddBuildingPrototype) GetWidth() uint8
- type ActionData_AddPlayer
- func (row *ActionData_AddPlayer) GetSpawnAreaHeight() uint8
- func (row *ActionData_AddPlayer) GetSpawnAreaWidth() uint8
- func (row *ActionData_AddPlayer) GetSpawnAreaX() uint16
- func (row *ActionData_AddPlayer) GetSpawnAreaY() uint16
- func (row *ActionData_AddPlayer) GetUnpurgeableUnitCount() uint8
- func (row *ActionData_AddPlayer) GetWorkerPortX() uint16
- func (row *ActionData_AddPlayer) GetWorkerPortY() uint16
- type ActionData_AddUnitPrototype
- func (row *ActionData_AddUnitPrototype) GetAirStrength() uint8
- func (row *ActionData_AddUnitPrototype) GetAttackCooldown() uint8
- func (row *ActionData_AddUnitPrototype) GetAttackRange() uint8
- func (row *ActionData_AddUnitPrototype) GetComputeCost() uint8
- func (row *ActionData_AddUnitPrototype) GetHoverStrength() uint8
- func (row *ActionData_AddUnitPrototype) GetIsAssault() bool
- func (row *ActionData_AddUnitPrototype) GetIsConfrontational() bool
- func (row *ActionData_AddUnitPrototype) GetIsPurgeable() bool
- func (row *ActionData_AddUnitPrototype) GetIsWorker() bool
- func (row *ActionData_AddUnitPrototype) GetLandStrength() uint8
- func (row *ActionData_AddUnitPrototype) GetLayer() uint8
- func (row *ActionData_AddUnitPrototype) GetMaxIntegrity() uint8
- func (row *ActionData_AddUnitPrototype) GetResourceCost() uint16
- func (row *ActionData_AddUnitPrototype) GetSpawnTime() uint8
- type ActionData_AssignUnit
- type ActionData_CreateUnit
- type ActionData_Initialize
- type ActionData_PlaceBuilding
- type ActionData_Start
- type IActions
- type RowData_Board
- func (row *RowData_Board) GetAirPlayerId() uint8
- func (row *RowData_Board) GetAirUnitId() uint8
- func (row *RowData_Board) GetHoverPlayerId() uint8
- func (row *RowData_Board) GetHoverUnitId() uint8
- func (row *RowData_Board) GetLandObjectId() uint8
- func (row *RowData_Board) GetLandObjectType() uint8
- func (row *RowData_Board) GetLandPlayerId() uint8
- type RowData_BuildingPrototypes
- func (row *RowData_BuildingPrototypes) GetBuildingTime() uint8
- func (row *RowData_BuildingPrototypes) GetComputeCapacity() uint8
- func (row *RowData_BuildingPrototypes) GetHeight() uint8
- func (row *RowData_BuildingPrototypes) GetIsArmory() bool
- func (row *RowData_BuildingPrototypes) GetIsEnvironment() bool
- func (row *RowData_BuildingPrototypes) GetMaxIntegrity() uint8
- func (row *RowData_BuildingPrototypes) GetMineTime() uint8
- func (row *RowData_BuildingPrototypes) GetResourceCapacity() uint16
- func (row *RowData_BuildingPrototypes) GetResourceCost() uint16
- func (row *RowData_BuildingPrototypes) GetResourceMine() uint8
- func (row *RowData_BuildingPrototypes) GetWidth() uint8
- type RowData_Buildings
- type RowData_Meta
- func (row *RowData_Meta) GetBoardHeight() uint16
- func (row *RowData_Meta) GetBoardWidth() uint16
- func (row *RowData_Meta) GetBuildingPrototypeCount() uint8
- func (row *RowData_Meta) GetCreationBlockNumber() uint32
- func (row *RowData_Meta) GetHasStarted() bool
- func (row *RowData_Meta) GetIsInitialized() bool
- func (row *RowData_Meta) GetPlayerCount() uint8
- func (row *RowData_Meta) GetUnitPrototypeCount() uint8
- type RowData_Players
- func (row *RowData_Players) GetBuildingBuildQueuePointer() uint8
- func (row *RowData_Players) GetBuildingCount() uint8
- func (row *RowData_Players) GetBuildingPayQueuePointer() uint8
- func (row *RowData_Players) GetComputeDemand() uint8
- func (row *RowData_Players) GetComputeSupply() uint8
- func (row *RowData_Players) GetCurArmories() uint8
- func (row *RowData_Players) GetCurResource() uint16
- func (row *RowData_Players) GetMaxResource() uint16
- func (row *RowData_Players) GetSpawnAreaHeight() uint8
- func (row *RowData_Players) GetSpawnAreaWidth() uint8
- func (row *RowData_Players) GetSpawnAreaX() uint16
- func (row *RowData_Players) GetSpawnAreaY() uint16
- func (row *RowData_Players) GetUnitCount() uint8
- func (row *RowData_Players) GetUnitPayQueuePointer() uint8
- func (row *RowData_Players) GetUnpurgeableUnitCount() uint8
- func (row *RowData_Players) GetWorkerPortX() uint16
- func (row *RowData_Players) GetWorkerPortY() uint16
- type RowData_UnitPrototypes
- func (row *RowData_UnitPrototypes) GetAirStrength() uint8
- func (row *RowData_UnitPrototypes) GetAttackCooldown() uint8
- func (row *RowData_UnitPrototypes) GetAttackRange() uint8
- func (row *RowData_UnitPrototypes) GetComputeCost() uint8
- func (row *RowData_UnitPrototypes) GetHoverStrength() uint8
- func (row *RowData_UnitPrototypes) GetIsAssault() bool
- func (row *RowData_UnitPrototypes) GetIsConfrontational() bool
- func (row *RowData_UnitPrototypes) GetIsPurgeable() bool
- func (row *RowData_UnitPrototypes) GetIsWorker() bool
- func (row *RowData_UnitPrototypes) GetLandStrength() uint8
- func (row *RowData_UnitPrototypes) GetLayer() uint8
- func (row *RowData_UnitPrototypes) GetMaxIntegrity() uint8
- func (row *RowData_UnitPrototypes) GetResourceCost() uint16
- func (row *RowData_UnitPrototypes) GetSpawnTime() uint8
- type RowData_Units
- func (row *RowData_Units) GetCommand() uint64
- func (row *RowData_Units) GetCommandExtra() uint64
- func (row *RowData_Units) GetCommandMeta() uint8
- func (row *RowData_Units) GetIntegrity() uint8
- func (row *RowData_Units) GetIsPreTicked() bool
- func (row *RowData_Units) GetLoad() uint8
- func (row *RowData_Units) GetState() uint8
- func (row *RowData_Units) GetTimestamp() uint32
- func (row *RowData_Units) GetUnitType() uint8
- func (row *RowData_Units) GetX() uint16
- func (row *RowData_Units) GetY() uint16
Constants ¶
This section is empty.
Variables ¶
View Source
var ActionSchemas arch.ActionSchemas
View Source
var ActionSchemasJson = `` /* 2099-byte string literal not displayed */
View Source
var ActionsABIJson = contract.ContractABI
View Source
var TableSchemas arch.TableSchemas
View Source
var TableSchemasJson = `` /* 3558-byte string literal not displayed */
View Source
var TablesABIJson = contract.ContractABI
Functions ¶
This section is empty.
Types ¶
type ActionData_AddBuildingPrototype ¶
type ActionData_AddBuildingPrototype struct { Width uint8 `json:"width"` Height uint8 `json:"height"` ResourceCost uint16 `json:"resourceCost"` ResourceCapacity uint16 `json:"resourceCapacity"` ComputeCapacity uint8 `json:"computeCapacity"` ResourceMine uint8 `json:"resourceMine"` MineTime uint8 `json:"mineTime"` MaxIntegrity uint8 `json:"maxIntegrity"` BuildingTime uint8 `json:"buildingTime"` IsArmory bool `json:"isArmory"` IsEnvironment bool `json:"isEnvironment"` }
func (*ActionData_AddBuildingPrototype) GetBuildingTime ¶
func (row *ActionData_AddBuildingPrototype) GetBuildingTime() uint8
func (*ActionData_AddBuildingPrototype) GetComputeCapacity ¶
func (row *ActionData_AddBuildingPrototype) GetComputeCapacity() uint8
func (*ActionData_AddBuildingPrototype) GetHeight ¶
func (row *ActionData_AddBuildingPrototype) GetHeight() uint8
func (*ActionData_AddBuildingPrototype) GetIsArmory ¶
func (row *ActionData_AddBuildingPrototype) GetIsArmory() bool
func (*ActionData_AddBuildingPrototype) GetIsEnvironment ¶
func (row *ActionData_AddBuildingPrototype) GetIsEnvironment() bool
func (*ActionData_AddBuildingPrototype) GetMaxIntegrity ¶
func (row *ActionData_AddBuildingPrototype) GetMaxIntegrity() uint8
func (*ActionData_AddBuildingPrototype) GetMineTime ¶
func (row *ActionData_AddBuildingPrototype) GetMineTime() uint8
func (*ActionData_AddBuildingPrototype) GetResourceCapacity ¶
func (row *ActionData_AddBuildingPrototype) GetResourceCapacity() uint16
func (*ActionData_AddBuildingPrototype) GetResourceCost ¶
func (row *ActionData_AddBuildingPrototype) GetResourceCost() uint16
func (*ActionData_AddBuildingPrototype) GetResourceMine ¶
func (row *ActionData_AddBuildingPrototype) GetResourceMine() uint8
func (*ActionData_AddBuildingPrototype) GetWidth ¶
func (row *ActionData_AddBuildingPrototype) GetWidth() uint8
type ActionData_AddPlayer ¶
type ActionData_AddPlayer struct { SpawnAreaX uint16 `json:"spawnAreaX"` SpawnAreaY uint16 `json:"spawnAreaY"` SpawnAreaWidth uint8 `json:"spawnAreaWidth"` SpawnAreaHeight uint8 `json:"spawnAreaHeight"` WorkerPortX uint16 `json:"workerPortX"` WorkerPortY uint16 `json:"workerPortY"` UnpurgeableUnitCount uint8 `json:"unpurgeableUnitCount"` }
func (*ActionData_AddPlayer) GetSpawnAreaHeight ¶
func (row *ActionData_AddPlayer) GetSpawnAreaHeight() uint8
func (*ActionData_AddPlayer) GetSpawnAreaWidth ¶
func (row *ActionData_AddPlayer) GetSpawnAreaWidth() uint8
func (*ActionData_AddPlayer) GetSpawnAreaX ¶
func (row *ActionData_AddPlayer) GetSpawnAreaX() uint16
func (*ActionData_AddPlayer) GetSpawnAreaY ¶
func (row *ActionData_AddPlayer) GetSpawnAreaY() uint16
func (*ActionData_AddPlayer) GetUnpurgeableUnitCount ¶
func (row *ActionData_AddPlayer) GetUnpurgeableUnitCount() uint8
func (*ActionData_AddPlayer) GetWorkerPortX ¶
func (row *ActionData_AddPlayer) GetWorkerPortX() uint16
func (*ActionData_AddPlayer) GetWorkerPortY ¶
func (row *ActionData_AddPlayer) GetWorkerPortY() uint16
type ActionData_AddUnitPrototype ¶
type ActionData_AddUnitPrototype struct { Layer uint8 `json:"layer"` ResourceCost uint16 `json:"resourceCost"` ComputeCost uint8 `json:"computeCost"` SpawnTime uint8 `json:"spawnTime"` MaxIntegrity uint8 `json:"maxIntegrity"` LandStrength uint8 `json:"landStrength"` HoverStrength uint8 `json:"hoverStrength"` AirStrength uint8 `json:"airStrength"` AttackRange uint8 `json:"attackRange"` AttackCooldown uint8 `json:"attackCooldown"` IsAssault bool `json:"isAssault"` IsConfrontational bool `json:"isConfrontational"` IsWorker bool `json:"isWorker"` IsPurgeable bool `json:"isPurgeable"` }
func (*ActionData_AddUnitPrototype) GetAirStrength ¶
func (row *ActionData_AddUnitPrototype) GetAirStrength() uint8
func (*ActionData_AddUnitPrototype) GetAttackCooldown ¶
func (row *ActionData_AddUnitPrototype) GetAttackCooldown() uint8
func (*ActionData_AddUnitPrototype) GetAttackRange ¶
func (row *ActionData_AddUnitPrototype) GetAttackRange() uint8
func (*ActionData_AddUnitPrototype) GetComputeCost ¶
func (row *ActionData_AddUnitPrototype) GetComputeCost() uint8
func (*ActionData_AddUnitPrototype) GetHoverStrength ¶
func (row *ActionData_AddUnitPrototype) GetHoverStrength() uint8
func (*ActionData_AddUnitPrototype) GetIsAssault ¶
func (row *ActionData_AddUnitPrototype) GetIsAssault() bool
func (*ActionData_AddUnitPrototype) GetIsConfrontational ¶
func (row *ActionData_AddUnitPrototype) GetIsConfrontational() bool
func (*ActionData_AddUnitPrototype) GetIsPurgeable ¶
func (row *ActionData_AddUnitPrototype) GetIsPurgeable() bool
func (*ActionData_AddUnitPrototype) GetIsWorker ¶
func (row *ActionData_AddUnitPrototype) GetIsWorker() bool
func (*ActionData_AddUnitPrototype) GetLandStrength ¶
func (row *ActionData_AddUnitPrototype) GetLandStrength() uint8
func (*ActionData_AddUnitPrototype) GetLayer ¶
func (row *ActionData_AddUnitPrototype) GetLayer() uint8
func (*ActionData_AddUnitPrototype) GetMaxIntegrity ¶
func (row *ActionData_AddUnitPrototype) GetMaxIntegrity() uint8
func (*ActionData_AddUnitPrototype) GetResourceCost ¶
func (row *ActionData_AddUnitPrototype) GetResourceCost() uint16
func (*ActionData_AddUnitPrototype) GetSpawnTime ¶
func (row *ActionData_AddUnitPrototype) GetSpawnTime() uint8
type ActionData_AssignUnit ¶
type ActionData_AssignUnit struct { PlayerId uint8 `json:"playerId"` UnitId uint8 `json:"unitId"` Command uint64 `json:"command"` CommandExtra uint64 `json:"commandExtra"` CommandMeta uint8 `json:"commandMeta"` }
func (*ActionData_AssignUnit) GetCommand ¶
func (row *ActionData_AssignUnit) GetCommand() uint64
func (*ActionData_AssignUnit) GetCommandExtra ¶
func (row *ActionData_AssignUnit) GetCommandExtra() uint64
func (*ActionData_AssignUnit) GetCommandMeta ¶
func (row *ActionData_AssignUnit) GetCommandMeta() uint8
func (*ActionData_AssignUnit) GetPlayerId ¶
func (row *ActionData_AssignUnit) GetPlayerId() uint8
func (*ActionData_AssignUnit) GetUnitId ¶
func (row *ActionData_AssignUnit) GetUnitId() uint8
type ActionData_CreateUnit ¶
type ActionData_CreateUnit struct { PlayerId uint8 `json:"playerId"` UnitType uint8 `json:"unitType"` X uint16 `json:"x"` Y uint16 `json:"y"` }
func (*ActionData_CreateUnit) GetPlayerId ¶
func (row *ActionData_CreateUnit) GetPlayerId() uint8
func (*ActionData_CreateUnit) GetUnitType ¶
func (row *ActionData_CreateUnit) GetUnitType() uint8
func (*ActionData_CreateUnit) GetX ¶
func (row *ActionData_CreateUnit) GetX() uint16
func (*ActionData_CreateUnit) GetY ¶
func (row *ActionData_CreateUnit) GetY() uint16
type ActionData_Initialize ¶
func (*ActionData_Initialize) GetHeight ¶
func (row *ActionData_Initialize) GetHeight() uint16
func (*ActionData_Initialize) GetWidth ¶
func (row *ActionData_Initialize) GetWidth() uint16
type ActionData_PlaceBuilding ¶
type ActionData_PlaceBuilding struct { PlayerId uint8 `json:"playerId"` BuildingType uint8 `json:"buildingType"` X uint16 `json:"x"` Y uint16 `json:"y"` }
func (*ActionData_PlaceBuilding) GetBuildingType ¶
func (row *ActionData_PlaceBuilding) GetBuildingType() uint8
func (*ActionData_PlaceBuilding) GetPlayerId ¶
func (row *ActionData_PlaceBuilding) GetPlayerId() uint8
func (*ActionData_PlaceBuilding) GetX ¶
func (row *ActionData_PlaceBuilding) GetX() uint16
func (*ActionData_PlaceBuilding) GetY ¶
func (row *ActionData_PlaceBuilding) GetY() uint16
type ActionData_Start ¶
type ActionData_Start struct { }
type IActions ¶
type IActions interface { Initialize(action *ActionData_Initialize) error Start(action *ActionData_Start) error CreateUnit(action *ActionData_CreateUnit) error AssignUnit(action *ActionData_AssignUnit) error PlaceBuilding(action *ActionData_PlaceBuilding) error AddPlayer(action *ActionData_AddPlayer) error AddUnitPrototype(action *ActionData_AddUnitPrototype) error AddBuildingPrototype(action *ActionData_AddBuildingPrototype) error Tick() Purge() }
type RowData_Board ¶
type RowData_Board struct { LandObjectType uint8 `json:"landObjectType"` LandPlayerId uint8 `json:"landPlayerId"` LandObjectId uint8 `json:"landObjectId"` HoverPlayerId uint8 `json:"hoverPlayerId"` HoverUnitId uint8 `json:"hoverUnitId"` AirPlayerId uint8 `json:"airPlayerId"` AirUnitId uint8 `json:"airUnitId"` }
func (*RowData_Board) GetAirPlayerId ¶
func (row *RowData_Board) GetAirPlayerId() uint8
func (*RowData_Board) GetAirUnitId ¶
func (row *RowData_Board) GetAirUnitId() uint8
func (*RowData_Board) GetHoverPlayerId ¶
func (row *RowData_Board) GetHoverPlayerId() uint8
func (*RowData_Board) GetHoverUnitId ¶
func (row *RowData_Board) GetHoverUnitId() uint8
func (*RowData_Board) GetLandObjectId ¶
func (row *RowData_Board) GetLandObjectId() uint8
func (*RowData_Board) GetLandObjectType ¶
func (row *RowData_Board) GetLandObjectType() uint8
func (*RowData_Board) GetLandPlayerId ¶
func (row *RowData_Board) GetLandPlayerId() uint8
type RowData_BuildingPrototypes ¶
type RowData_BuildingPrototypes struct { Width uint8 `json:"width"` Height uint8 `json:"height"` ResourceCost uint16 `json:"resourceCost"` ResourceCapacity uint16 `json:"resourceCapacity"` ComputeCapacity uint8 `json:"computeCapacity"` ResourceMine uint8 `json:"resourceMine"` MineTime uint8 `json:"mineTime"` MaxIntegrity uint8 `json:"maxIntegrity"` BuildingTime uint8 `json:"buildingTime"` IsArmory bool `json:"isArmory"` IsEnvironment bool `json:"isEnvironment"` }
func (*RowData_BuildingPrototypes) GetBuildingTime ¶
func (row *RowData_BuildingPrototypes) GetBuildingTime() uint8
func (*RowData_BuildingPrototypes) GetComputeCapacity ¶
func (row *RowData_BuildingPrototypes) GetComputeCapacity() uint8
func (*RowData_BuildingPrototypes) GetHeight ¶
func (row *RowData_BuildingPrototypes) GetHeight() uint8
func (*RowData_BuildingPrototypes) GetIsArmory ¶
func (row *RowData_BuildingPrototypes) GetIsArmory() bool
func (*RowData_BuildingPrototypes) GetIsEnvironment ¶
func (row *RowData_BuildingPrototypes) GetIsEnvironment() bool
func (*RowData_BuildingPrototypes) GetMaxIntegrity ¶
func (row *RowData_BuildingPrototypes) GetMaxIntegrity() uint8
func (*RowData_BuildingPrototypes) GetMineTime ¶
func (row *RowData_BuildingPrototypes) GetMineTime() uint8
func (*RowData_BuildingPrototypes) GetResourceCapacity ¶
func (row *RowData_BuildingPrototypes) GetResourceCapacity() uint16
func (*RowData_BuildingPrototypes) GetResourceCost ¶
func (row *RowData_BuildingPrototypes) GetResourceCost() uint16
func (*RowData_BuildingPrototypes) GetResourceMine ¶
func (row *RowData_BuildingPrototypes) GetResourceMine() uint8
func (*RowData_BuildingPrototypes) GetWidth ¶
func (row *RowData_BuildingPrototypes) GetWidth() uint8
type RowData_Buildings ¶
type RowData_Buildings struct { X uint16 `json:"x"` Y uint16 `json:"y"` BuildingType uint8 `json:"buildingType"` State uint8 `json:"state"` Integrity uint8 `json:"integrity"` Timestamp uint32 `json:"timestamp"` }
func (*RowData_Buildings) GetBuildingType ¶
func (row *RowData_Buildings) GetBuildingType() uint8
func (*RowData_Buildings) GetIntegrity ¶
func (row *RowData_Buildings) GetIntegrity() uint8
func (*RowData_Buildings) GetState ¶
func (row *RowData_Buildings) GetState() uint8
func (*RowData_Buildings) GetTimestamp ¶
func (row *RowData_Buildings) GetTimestamp() uint32
func (*RowData_Buildings) GetX ¶
func (row *RowData_Buildings) GetX() uint16
func (*RowData_Buildings) GetY ¶
func (row *RowData_Buildings) GetY() uint16
type RowData_Meta ¶
type RowData_Meta struct { BoardWidth uint16 `json:"boardWidth"` BoardHeight uint16 `json:"boardHeight"` PlayerCount uint8 `json:"playerCount"` UnitPrototypeCount uint8 `json:"unitPrototypeCount"` BuildingPrototypeCount uint8 `json:"buildingPrototypeCount"` IsInitialized bool `json:"isInitialized"` HasStarted bool `json:"hasStarted"` CreationBlockNumber uint32 `json:"creationBlockNumber"` }
func (*RowData_Meta) GetBoardHeight ¶
func (row *RowData_Meta) GetBoardHeight() uint16
func (*RowData_Meta) GetBoardWidth ¶
func (row *RowData_Meta) GetBoardWidth() uint16
func (*RowData_Meta) GetBuildingPrototypeCount ¶
func (row *RowData_Meta) GetBuildingPrototypeCount() uint8
func (*RowData_Meta) GetCreationBlockNumber ¶
func (row *RowData_Meta) GetCreationBlockNumber() uint32
func (*RowData_Meta) GetHasStarted ¶
func (row *RowData_Meta) GetHasStarted() bool
func (*RowData_Meta) GetIsInitialized ¶
func (row *RowData_Meta) GetIsInitialized() bool
func (*RowData_Meta) GetPlayerCount ¶
func (row *RowData_Meta) GetPlayerCount() uint8
func (*RowData_Meta) GetUnitPrototypeCount ¶
func (row *RowData_Meta) GetUnitPrototypeCount() uint8
type RowData_Players ¶
type RowData_Players struct { SpawnAreaX uint16 `json:"spawnAreaX"` SpawnAreaY uint16 `json:"spawnAreaY"` SpawnAreaWidth uint8 `json:"spawnAreaWidth"` SpawnAreaHeight uint8 `json:"spawnAreaHeight"` WorkerPortX uint16 `json:"workerPortX"` WorkerPortY uint16 `json:"workerPortY"` CurResource uint16 `json:"curResource"` MaxResource uint16 `json:"maxResource"` CurArmories uint8 `json:"curArmories"` ComputeSupply uint8 `json:"computeSupply"` ComputeDemand uint8 `json:"computeDemand"` UnitCount uint8 `json:"unitCount"` BuildingCount uint8 `json:"buildingCount"` BuildingPayQueuePointer uint8 `json:"buildingPayQueuePointer"` BuildingBuildQueuePointer uint8 `json:"buildingBuildQueuePointer"` UnitPayQueuePointer uint8 `json:"unitPayQueuePointer"` UnpurgeableUnitCount uint8 `json:"unpurgeableUnitCount"` }
func (*RowData_Players) GetBuildingBuildQueuePointer ¶
func (row *RowData_Players) GetBuildingBuildQueuePointer() uint8
func (*RowData_Players) GetBuildingCount ¶
func (row *RowData_Players) GetBuildingCount() uint8
func (*RowData_Players) GetBuildingPayQueuePointer ¶
func (row *RowData_Players) GetBuildingPayQueuePointer() uint8
func (*RowData_Players) GetComputeDemand ¶
func (row *RowData_Players) GetComputeDemand() uint8
func (*RowData_Players) GetComputeSupply ¶
func (row *RowData_Players) GetComputeSupply() uint8
func (*RowData_Players) GetCurArmories ¶
func (row *RowData_Players) GetCurArmories() uint8
func (*RowData_Players) GetCurResource ¶
func (row *RowData_Players) GetCurResource() uint16
func (*RowData_Players) GetMaxResource ¶
func (row *RowData_Players) GetMaxResource() uint16
func (*RowData_Players) GetSpawnAreaHeight ¶
func (row *RowData_Players) GetSpawnAreaHeight() uint8
func (*RowData_Players) GetSpawnAreaWidth ¶
func (row *RowData_Players) GetSpawnAreaWidth() uint8
func (*RowData_Players) GetSpawnAreaX ¶
func (row *RowData_Players) GetSpawnAreaX() uint16
func (*RowData_Players) GetSpawnAreaY ¶
func (row *RowData_Players) GetSpawnAreaY() uint16
func (*RowData_Players) GetUnitCount ¶
func (row *RowData_Players) GetUnitCount() uint8
func (*RowData_Players) GetUnitPayQueuePointer ¶
func (row *RowData_Players) GetUnitPayQueuePointer() uint8
func (*RowData_Players) GetUnpurgeableUnitCount ¶
func (row *RowData_Players) GetUnpurgeableUnitCount() uint8
func (*RowData_Players) GetWorkerPortX ¶
func (row *RowData_Players) GetWorkerPortX() uint16
func (*RowData_Players) GetWorkerPortY ¶
func (row *RowData_Players) GetWorkerPortY() uint16
type RowData_UnitPrototypes ¶
type RowData_UnitPrototypes struct { Layer uint8 `json:"layer"` ResourceCost uint16 `json:"resourceCost"` ComputeCost uint8 `json:"computeCost"` SpawnTime uint8 `json:"spawnTime"` MaxIntegrity uint8 `json:"maxIntegrity"` LandStrength uint8 `json:"landStrength"` HoverStrength uint8 `json:"hoverStrength"` AirStrength uint8 `json:"airStrength"` AttackRange uint8 `json:"attackRange"` AttackCooldown uint8 `json:"attackCooldown"` IsAssault bool `json:"isAssault"` IsConfrontational bool `json:"isConfrontational"` IsWorker bool `json:"isWorker"` IsPurgeable bool `json:"isPurgeable"` }
func (*RowData_UnitPrototypes) GetAirStrength ¶
func (row *RowData_UnitPrototypes) GetAirStrength() uint8
func (*RowData_UnitPrototypes) GetAttackCooldown ¶
func (row *RowData_UnitPrototypes) GetAttackCooldown() uint8
func (*RowData_UnitPrototypes) GetAttackRange ¶
func (row *RowData_UnitPrototypes) GetAttackRange() uint8
func (*RowData_UnitPrototypes) GetComputeCost ¶
func (row *RowData_UnitPrototypes) GetComputeCost() uint8
func (*RowData_UnitPrototypes) GetHoverStrength ¶
func (row *RowData_UnitPrototypes) GetHoverStrength() uint8
func (*RowData_UnitPrototypes) GetIsAssault ¶
func (row *RowData_UnitPrototypes) GetIsAssault() bool
func (*RowData_UnitPrototypes) GetIsConfrontational ¶
func (row *RowData_UnitPrototypes) GetIsConfrontational() bool
func (*RowData_UnitPrototypes) GetIsPurgeable ¶
func (row *RowData_UnitPrototypes) GetIsPurgeable() bool
func (*RowData_UnitPrototypes) GetIsWorker ¶
func (row *RowData_UnitPrototypes) GetIsWorker() bool
func (*RowData_UnitPrototypes) GetLandStrength ¶
func (row *RowData_UnitPrototypes) GetLandStrength() uint8
func (*RowData_UnitPrototypes) GetLayer ¶
func (row *RowData_UnitPrototypes) GetLayer() uint8
func (*RowData_UnitPrototypes) GetMaxIntegrity ¶
func (row *RowData_UnitPrototypes) GetMaxIntegrity() uint8
func (*RowData_UnitPrototypes) GetResourceCost ¶
func (row *RowData_UnitPrototypes) GetResourceCost() uint16
func (*RowData_UnitPrototypes) GetSpawnTime ¶
func (row *RowData_UnitPrototypes) GetSpawnTime() uint8
type RowData_Units ¶
type RowData_Units struct { X uint16 `json:"x"` Y uint16 `json:"y"` UnitType uint8 `json:"unitType"` State uint8 `json:"state"` Load uint8 `json:"load"` Integrity uint8 `json:"integrity"` Timestamp uint32 `json:"timestamp"` Command uint64 `json:"command"` CommandExtra uint64 `json:"commandExtra"` CommandMeta uint8 `json:"commandMeta"` IsPreTicked bool `json:"isPreTicked"` }
func (*RowData_Units) GetCommand ¶
func (row *RowData_Units) GetCommand() uint64
func (*RowData_Units) GetCommandExtra ¶
func (row *RowData_Units) GetCommandExtra() uint64
func (*RowData_Units) GetCommandMeta ¶
func (row *RowData_Units) GetCommandMeta() uint8
func (*RowData_Units) GetIntegrity ¶
func (row *RowData_Units) GetIntegrity() uint8
func (*RowData_Units) GetIsPreTicked ¶
func (row *RowData_Units) GetIsPreTicked() bool
func (*RowData_Units) GetLoad ¶
func (row *RowData_Units) GetLoad() uint8
func (*RowData_Units) GetState ¶
func (row *RowData_Units) GetState() uint8
func (*RowData_Units) GetTimestamp ¶
func (row *RowData_Units) GetTimestamp() uint32
func (*RowData_Units) GetUnitType ¶
func (row *RowData_Units) GetUnitType() uint8
func (*RowData_Units) GetX ¶
func (row *RowData_Units) GetX() uint16
func (*RowData_Units) GetY ¶
func (row *RowData_Units) GetY() uint16
Click to show internal directories.
Click to hide internal directories.