XG Proyect

PlanetEntity extends Entity
in package

PlanetEntity Class

Tags
category

Entity

author

XG Proyect Team

license

http://www.xgproyect.org XG Proyect

link
http://www.xgproyect.org
version
3.1.0

Table of Contents

$data  : array<string|int, mixed>
__construct()  : void
Constructor
getPlanetAmountOfCrystal()  : float
Return the planet current amount of crystal
getPlanetAmountOfDeuterium()  : float
Return the planet current amount of deuterium
getPlanetAmountOfMetal()  : float
Return the planet current amount of metal
getPlanetAmountOfOcuppiedFields()  : int
Return the planet busy fields
getPlanetBuildingTime()  : int
Return the planet building queue time
getPlanetCurrentBuildingQueue()  : string
Return the planet current building queue
getPlanetCurrentHangarId()  : string
Return the planet current hangar ID
getPlanetCurrentTechnologyId()  : int
Return the planet current technology ID
getPlanetDebrisCrystal()  : int
Return the planet amount of crystal debris
getPlanetDebrisMetal()  : int
Return the planet amount of metal debris
getPlanetDestroyed()  : int
Return the planet status
getPlanetDiameter()  : int
Return the planet diameter
getPlanetGalaxy()  : int
Return the planet galaxy
getPlanetHangarQueue()  : int
Return the planet hangar queue
getPlanetId()  : int
Return the planet id
getPlanetImage()  : string
Return the planet image
getPlanetInvisibleStartTime()  : int
Return the planet invisible start time
getPlanetLastUpdate()  : int
Return the planet latest activity
getPlanetLatestJumpTime()  : int
Return the planet latest jump time
getPlanetMaxAmountOfFields()  : int
Return the planet maximum amount of fields
getPlanetMaxEnergy()  : int
Return the planet max energy
getPlanetName()  : string
Return the planet name
getPlanetPosition()  : int
Return the planet position
getPlanetProductionPercentageCrystal()  : int
Return the planet production percentage for crystal mine
getPlanetProductionPercentageDeuterium()  : int
Return the planet production percentage for deuterium sintetizer
getPlanetProductionPercentageFusion()  : int
Return the planet production percentage for the fusion reactor
getPlanetProductionPercentageMetal()  : int
Return the planet production percentage for the metal mine
getPlanetProductionPercentageSolarPlant()  : int
Return the planet production percentage for the solar plant
getPlanetProductionPercentageSolarSatellite()  : int
Return the planet production percentage for the solar satellite
getPlanetProductionPerHourCrystal()  : int
Return the planet current crystal production per hour
getPlanetProductionPerHourDeuterium()  : int
Return the planet current deuterium production per hour
getPlanetProductionPerHourMetal()  : int
Return the planet current metal production per hour
getPlanetSystem()  : int
Return the planet system
getPlanetTechnologyQueue()  : int
Return the planet technology queue
getPlanetTempMax()  : int
Return the planet maximum temperature
getPlanetTempMin()  : int
Return the planet minimum temperature
getPlanetType()  : int
Return the planet type
getPlanetUsedEnergy()  : int
Return the planet energy used
getPlanetUserId()  : int
Return the planet user id
setData()  : void
Set the current data

Properties

$data

protected array<string|int, mixed> $data = []

Methods

__construct()

Constructor

public __construct(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>

Data

Return values
void

getPlanetAmountOfCrystal()

Return the planet current amount of crystal

public getPlanetAmountOfCrystal() : float
Return values
float

getPlanetAmountOfDeuterium()

Return the planet current amount of deuterium

public getPlanetAmountOfDeuterium() : float
Return values
float

getPlanetAmountOfMetal()

Return the planet current amount of metal

public getPlanetAmountOfMetal() : float
Return values
float

getPlanetAmountOfOcuppiedFields()

Return the planet busy fields

public getPlanetAmountOfOcuppiedFields() : int
Return values
int

getPlanetBuildingTime()

Return the planet building queue time

public getPlanetBuildingTime() : int
Return values
int

getPlanetCurrentBuildingQueue()

Return the planet current building queue

public getPlanetCurrentBuildingQueue() : string
Return values
string

getPlanetCurrentHangarId()

Return the planet current hangar ID

public getPlanetCurrentHangarId() : string
Return values
string

getPlanetCurrentTechnologyId()

Return the planet current technology ID

public getPlanetCurrentTechnologyId() : int
Return values
int

getPlanetDebrisCrystal()

Return the planet amount of crystal debris

public getPlanetDebrisCrystal() : int
Return values
int

getPlanetDebrisMetal()

Return the planet amount of metal debris

public getPlanetDebrisMetal() : int
Return values
int

getPlanetDestroyed()

Return the planet status

public getPlanetDestroyed() : int
Return values
int

getPlanetDiameter()

Return the planet diameter

public getPlanetDiameter() : int
Return values
int

getPlanetGalaxy()

Return the planet galaxy

public getPlanetGalaxy() : int
Return values
int

getPlanetHangarQueue()

Return the planet hangar queue

public getPlanetHangarQueue() : int
Return values
int

getPlanetId()

Return the planet id

public getPlanetId() : int
Return values
int

getPlanetImage()

Return the planet image

public getPlanetImage() : string
Return values
string

getPlanetInvisibleStartTime()

Return the planet invisible start time

public getPlanetInvisibleStartTime() : int
Return values
int

getPlanetLastUpdate()

Return the planet latest activity

public getPlanetLastUpdate() : int
Return values
int

getPlanetLatestJumpTime()

Return the planet latest jump time

public getPlanetLatestJumpTime() : int
Return values
int

getPlanetMaxAmountOfFields()

Return the planet maximum amount of fields

public getPlanetMaxAmountOfFields() : int
Return values
int

getPlanetMaxEnergy()

Return the planet max energy

public getPlanetMaxEnergy() : int
Return values
int

getPlanetName()

Return the planet name

public getPlanetName() : string
Return values
string

getPlanetPosition()

Return the planet position

public getPlanetPosition() : int
Return values
int

getPlanetProductionPercentageCrystal()

Return the planet production percentage for crystal mine

public getPlanetProductionPercentageCrystal() : int
Return values
int

getPlanetProductionPercentageDeuterium()

Return the planet production percentage for deuterium sintetizer

public getPlanetProductionPercentageDeuterium() : int
Return values
int

getPlanetProductionPercentageFusion()

Return the planet production percentage for the fusion reactor

public getPlanetProductionPercentageFusion() : int
Return values
int

getPlanetProductionPercentageMetal()

Return the planet production percentage for the metal mine

public getPlanetProductionPercentageMetal() : int
Return values
int

getPlanetProductionPercentageSolarPlant()

Return the planet production percentage for the solar plant

public getPlanetProductionPercentageSolarPlant() : int
Return values
int

getPlanetProductionPercentageSolarSatellite()

Return the planet production percentage for the solar satellite

public getPlanetProductionPercentageSolarSatellite() : int
Return values
int

getPlanetProductionPerHourCrystal()

Return the planet current crystal production per hour

public getPlanetProductionPerHourCrystal() : int
Return values
int

getPlanetProductionPerHourDeuterium()

Return the planet current deuterium production per hour

public getPlanetProductionPerHourDeuterium() : int
Return values
int

getPlanetProductionPerHourMetal()

Return the planet current metal production per hour

public getPlanetProductionPerHourMetal() : int
Return values
int

getPlanetSystem()

Return the planet system

public getPlanetSystem() : int
Return values
int

getPlanetTechnologyQueue()

Return the planet technology queue

public getPlanetTechnologyQueue() : int
Return values
int

getPlanetTempMax()

Return the planet maximum temperature

public getPlanetTempMax() : int
Return values
int

getPlanetTempMin()

Return the planet minimum temperature

public getPlanetTempMin() : int
Return values
int

getPlanetType()

Return the planet type

public getPlanetType() : int
Return values
int

getPlanetUsedEnergy()

Return the planet energy used

public getPlanetUsedEnergy() : int
Return values
int

getPlanetUserId()

Return the planet user id

public getPlanetUserId() : int
Return values
int

setData()

Set the current data

private setData(array<string|int, mixed> $data) : void
Parameters
$data : array<string|int, mixed>

data

Tags
throws
Exception
Return values
void

Search results