Documentation ¶
Index ¶
- Variables
- type AttackType
- func (p *AttackType) GetAccuracy() float64
- func (p *AttackType) GetAttackDelayDealt() float64
- func (p *AttackType) GetDamage() float64
- func (p *AttackType) GetDelay() float64
- func (p *AttackType) GetID() int64
- func (p *AttackType) GetMoveDelayDealt() float64
- func (p *AttackType) GetName() string
- func (p *AttackType) GetRange() float64
- func (p *AttackType) String() string
- type BotType
- func (p *BotType) GetAccuracyFactor() float64
- func (p *BotType) GetAttackDelayFactor() float64
- func (p *BotType) GetAttackTypeIDs() []int64
- func (p *BotType) GetCanBeSpawned() bool
- func (p *BotType) GetCanHeal() bool
- func (p *BotType) GetCanSpawn() bool
- func (p *BotType) GetDamageFactor() float64
- func (p *BotType) GetID() int64
- func (p *BotType) GetMaxHealth() float64
- func (p *BotType) GetMoveDelayFactor() float64
- func (p *BotType) GetMoveTypeIDs() []int64
- func (p *BotType) GetName() string
- func (p *BotType) GetRangeFactor() float64
- func (p *BotType) GetSpawnDelay() float64
- func (p *BotType) GetSpawnDelayFactor() float64
- func (p *BotType) String() string
- type ItemType
- func (p *ItemType) GetAccuracyFactor() float64
- func (p *ItemType) GetAttackDelayFactor() float64
- func (p *ItemType) GetDamageFactor() float64
- func (p *ItemType) GetID() int64
- func (p *ItemType) GetMoveDelayFactor() float64
- func (p *ItemType) GetName() string
- func (p *ItemType) GetRangeFactor() float64
- func (p *ItemType) GetSpawnDelayFactor() float64
- func (p *ItemType) String() string
- type MoveType
- type TerrainType
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type AttackType ¶
type AttackType struct { ID int64 `thrift:"ID,1,required" datastore:"-"` Name string `thrift:"name,2,required" datastore:",noindex" json: "name"` Damage float64 `thrift:"damage,3,required" datastore:",noindex" json: "damage"` Delay float64 `thrift:"delay,4,required" datastore:",noindex" json: "delay"` Range float64 `thrift:"range,5,required" datastore:",noindex" json: "range"` Accuracy float64 `thrift:"accuracy,6,required" datastore:",noindex" json: "accuracy"` AttackDelayDealt float64 `thrift:"attackDelayDealt,7,required" datastore:",noindex" json: "attackDelayDealt"` MoveDelayDealt float64 `thrift:"moveDelayDealt,8,required" datastore:",noindex" json: "moveDelayDealt"` }
Attributes:
- ID
- Name
- Damage
- Delay
- Range
- Accuracy
- AttackDelayDealt
- MoveDelayDealt
func NewAttackType ¶
func NewAttackType() *AttackType
func (*AttackType) GetAccuracy ¶
func (p *AttackType) GetAccuracy() float64
func (*AttackType) GetAttackDelayDealt ¶
func (p *AttackType) GetAttackDelayDealt() float64
func (*AttackType) GetDamage ¶
func (p *AttackType) GetDamage() float64
func (*AttackType) GetDelay ¶
func (p *AttackType) GetDelay() float64
func (*AttackType) GetID ¶
func (p *AttackType) GetID() int64
func (*AttackType) GetMoveDelayDealt ¶
func (p *AttackType) GetMoveDelayDealt() float64
func (*AttackType) GetName ¶
func (p *AttackType) GetName() string
func (*AttackType) GetRange ¶
func (p *AttackType) GetRange() float64
func (*AttackType) String ¶
func (p *AttackType) String() string
type BotType ¶
type BotType struct { ID int64 `thrift:"ID,1,required" datastore:"-"` Name string `thrift:"name,2,required" datastore:",noindex" json:"name"` AttackTypeIDs []int64 `thrift:"attackTypeIDs,3,required" datastore:",noindex" json:"attackTypeIDs"` MoveTypeIDs []int64 `thrift:"moveTypeIDs,4,required" datastore:",noindex" json:"moveTypeIDs"` CanSpawn bool `thrift:"canSpawn,5,required" datastore:",noindex" json:"canSpawn"` CanBeSpawned bool `thrift:"canBeSpawned,6,required" datastore:",noindex" json:"canBeSpawned"` SpawnDelay float64 `thrift:"spawnDelay,7,required" datastore:",noindex" json:"spawnDelay"` MaxHealth float64 `thrift:"maxHealth,8,required" datastore:",noindex" json:"maxHealth"` CanHeal bool `thrift:"canHeal,9,required" datastore:",noindex" json:"canHeal"` MoveDelayFactor float64 `thrift:"moveDelayFactor,10,required" datastore:",noindex" json:"moveDelayFactor"` DamageFactor float64 `thrift:"damageFactor,11,required" datastore:",noindex" json:"damageFactor"` AttackDelayFactor float64 `thrift:"attackDelayFactor,12,required" datastore:",noindex" json:"attackDelayFactor"` RangeFactor float64 `thrift:"rangeFactor,13,required" datastore:",noindex" json:"rangeFactor"` AccuracyFactor float64 `thrift:"accuracyFactor,14,required" datastore:",noindex" json:"accuracyFactor"` SpawnDelayFactor float64 `thrift:"spawnDelayFactor,15,required" datastore:",noindex" json:"spawnDelayFactor"` }
Attributes:
- ID
- Name
- AttackTypeIDs
- MoveTypeIDs
- CanSpawn
- CanBeSpawned
- SpawnDelay
- MaxHealth
- CanHeal
- MoveDelayFactor
- DamageFactor
- AttackDelayFactor
- RangeFactor
- AccuracyFactor
- SpawnDelayFactor
func NewBotType ¶
func NewBotType() *BotType
func (*BotType) GetAccuracyFactor ¶
func (*BotType) GetAttackDelayFactor ¶
func (*BotType) GetAttackTypeIDs ¶
func (*BotType) GetCanBeSpawned ¶
func (*BotType) GetCanHeal ¶
func (*BotType) GetCanSpawn ¶
func (*BotType) GetDamageFactor ¶
func (*BotType) GetMaxHealth ¶
func (*BotType) GetMoveDelayFactor ¶
func (*BotType) GetMoveTypeIDs ¶
func (*BotType) GetRangeFactor ¶
func (*BotType) GetSpawnDelay ¶
func (*BotType) GetSpawnDelayFactor ¶
type ItemType ¶
type ItemType struct { ID int64 `thrift:"ID,1,required" datastore:"-"` Name string `thrift:"name,2,required" datastore:",noindex" json:"name"` MoveDelayFactor float64 `thrift:"moveDelayFactor,3,required" datastore:",noindex" json:"moveDelayFactor"` DamageFactor float64 `thrift:"damageFactor,4,required" datastore:",noindex" json:"damageFactor"` AttackDelayFactor float64 `thrift:"attackDelayFactor,5,required" datastore:",noindex" json:"attackDelayFactor"` RangeFactor float64 `thrift:"rangeFactor,6,required" datastore:",noindex" json:"rangeFactor"` AccuracyFactor float64 `thrift:"accuracyFactor,7,required" datastore:",noindex" json:"accuracyFactor"` SpawnDelayFactor float64 `thrift:"spawnDelayFactor,8,required" datastore:",noindex" json:"spawnDelayFactor"` }
Attributes:
- ID
- Name
- MoveDelayFactor
- DamageFactor
- AttackDelayFactor
- RangeFactor
- AccuracyFactor
- SpawnDelayFactor
func NewItemType ¶
func NewItemType() *ItemType
func (*ItemType) GetAccuracyFactor ¶
func (*ItemType) GetAttackDelayFactor ¶
func (*ItemType) GetDamageFactor ¶
func (*ItemType) GetMoveDelayFactor ¶
func (*ItemType) GetRangeFactor ¶
func (*ItemType) GetSpawnDelayFactor ¶
type MoveType ¶
type MoveType struct { ID int64 `thrift:"ID,1,required" datastore:"-"` Name string `thrift:"name,2,required" datastore:",noindex" json:"name"` Delay float64 `thrift:"delay,3,required" datastore:",noindex" json:"delay"` TakesDelayFromTerrain bool `thrift:"takesDelayFromTerrain,4,required" datastore:",noindex" json:"takesDelayFromTerrain"` }
Attributes:
- ID
- Name
- Delay
- TakesDelayFromTerrain
func NewMoveType ¶
func NewMoveType() *MoveType
func (*MoveType) GetTakesDelayFromTerrain ¶
type TerrainType ¶
type TerrainType struct { ID int64 `thrift:"ID,1,required" datastore:"-"` Name string `thrift:"name,2,required" datastore:",noindex" json:"name"` CanBeOccupied bool `thrift:"canBeOccupied,3,required" datastore:",noindex" json:"canBeOccupied"` MoveDelayFactor float64 `thrift:"moveDelayFactor,4,required" datastore:",noindex" json:"moveDelayFactor"` DamagePenalty float64 `thrift:"damagePenalty,5,required" datastore:",noindex" json:"damagePenalty"` }
Attributes:
- ID
- Name
- CanBeOccupied
- MoveDelayFactor
- DamagePenalty
func NewTerrainType ¶
func NewTerrainType() *TerrainType
func (*TerrainType) GetCanBeOccupied ¶
func (p *TerrainType) GetCanBeOccupied() bool
func (*TerrainType) GetDamagePenalty ¶
func (p *TerrainType) GetDamagePenalty() float64
func (*TerrainType) GetID ¶
func (p *TerrainType) GetID() int64
func (*TerrainType) GetMoveDelayFactor ¶
func (p *TerrainType) GetMoveDelayFactor() float64
func (*TerrainType) GetName ¶
func (p *TerrainType) GetName() string
func (*TerrainType) String ¶
func (p *TerrainType) String() string
Click to show internal directories.
Click to hide internal directories.