types

package
v0.0.0-...-2a3c7fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2016 License: GPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

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 (p *BotType) GetAccuracyFactor() float64

func (*BotType) GetAttackDelayFactor

func (p *BotType) GetAttackDelayFactor() float64

func (*BotType) GetAttackTypeIDs

func (p *BotType) GetAttackTypeIDs() []int64

func (*BotType) GetCanBeSpawned

func (p *BotType) GetCanBeSpawned() bool

func (*BotType) GetCanHeal

func (p *BotType) GetCanHeal() bool

func (*BotType) GetCanSpawn

func (p *BotType) GetCanSpawn() bool

func (*BotType) GetDamageFactor

func (p *BotType) GetDamageFactor() float64

func (*BotType) GetID

func (p *BotType) GetID() int64

func (*BotType) GetMaxHealth

func (p *BotType) GetMaxHealth() float64

func (*BotType) GetMoveDelayFactor

func (p *BotType) GetMoveDelayFactor() float64

func (*BotType) GetMoveTypeIDs

func (p *BotType) GetMoveTypeIDs() []int64

func (*BotType) GetName

func (p *BotType) GetName() string

func (*BotType) GetRangeFactor

func (p *BotType) GetRangeFactor() float64

func (*BotType) GetSpawnDelay

func (p *BotType) GetSpawnDelay() float64

func (*BotType) GetSpawnDelayFactor

func (p *BotType) GetSpawnDelayFactor() float64

func (*BotType) String

func (p *BotType) String() string

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 (p *ItemType) GetAccuracyFactor() float64

func (*ItemType) GetAttackDelayFactor

func (p *ItemType) GetAttackDelayFactor() float64

func (*ItemType) GetDamageFactor

func (p *ItemType) GetDamageFactor() float64

func (*ItemType) GetID

func (p *ItemType) GetID() int64

func (*ItemType) GetMoveDelayFactor

func (p *ItemType) GetMoveDelayFactor() float64

func (*ItemType) GetName

func (p *ItemType) GetName() string

func (*ItemType) GetRangeFactor

func (p *ItemType) GetRangeFactor() float64

func (*ItemType) GetSpawnDelayFactor

func (p *ItemType) GetSpawnDelayFactor() float64

func (*ItemType) String

func (p *ItemType) String() string

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) GetDelay

func (p *MoveType) GetDelay() float64

func (*MoveType) GetID

func (p *MoveType) GetID() int64

func (*MoveType) GetName

func (p *MoveType) GetName() string

func (*MoveType) GetTakesDelayFromTerrain

func (p *MoveType) GetTakesDelayFromTerrain() bool

func (*MoveType) String

func (p *MoveType) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL