XG Proyect

Attack_lang
in package
implements Lang

Attack_lang Class

Interfaces, Classes and Traits

Lang

Table of Contents

$lang  : mixed
$objects  : mixed
__construct()  : void
Constructor
getAttackerHasWon()  : string
getAttackerHasWon
getAttackersAttackingDescr()  : string
getAttackersAttackingDescr
getAttackersDefendingDescr()  : string
getAttackersDefendingDescr
getAttackersLostUnits()  : string
getAttackersLostUnits
getDefendersAttackingDescr()  : string
getDefendersAttackingDescr
getDefendersDefendingDescr()  : string
getDefendersDefendingDescr
getDefendersHasWon()  : string
getDefendersHasWon
getDefendersLostUnits()  : string
getDefendersLostUnits
getDraw()  : string
getDraw
getFloatingDebris()  : string
getFloatingDebris
getMoonProb()  : string
getMoonProb
getNewMoon()  : string
getNewMoon
getShipName()  : string
getShipName
getStoleDescr()  : string
getStoleDescr
getTechs()  : string
getTechs

Properties

Methods

__construct()

Constructor

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

Language

$objects : mixed
Return values
void

getAttackerHasWon()

getAttackerHasWon

public getAttackerHasWon() : string
Return values
string

getAttackersAttackingDescr()

getAttackersAttackingDescr

public getAttackersAttackingDescr(int $amount, int $damage) : string
Parameters
$amount : int

Amount

$damage : int

Damage

Return values
string

getAttackersDefendingDescr()

getAttackersDefendingDescr

public getAttackersDefendingDescr(int $damage) : string
Parameters
$damage : int

Damage

Return values
string

getAttackersLostUnits()

getAttackersLostUnits

public getAttackersLostUnits(int $units) : string
Parameters
$units : int

Units

Return values
string

getDefendersAttackingDescr()

getDefendersAttackingDescr

public getDefendersAttackingDescr(int $amount, int $damage) : string
Parameters
$amount : int

Amount

$damage : int

Damage

Return values
string

getDefendersDefendingDescr()

getDefendersDefendingDescr

public getDefendersDefendingDescr(int $damage) : string
Parameters
$damage : int

Damage

Return values
string

getDefendersHasWon()

getDefendersHasWon

public getDefendersHasWon() : string
Return values
string

getDefendersLostUnits()

getDefendersLostUnits

public getDefendersLostUnits(int $units) : string
Parameters
$units : int

Units

Return values
string

getDraw()

getDraw

public getDraw() : string
Return values
string

getFloatingDebris()

getFloatingDebris

public getFloatingDebris(int $metal, int $crystal) : string
Parameters
$metal : int

Metal

$crystal : int

Crystal

Return values
string

getMoonProb()

getMoonProb

public getMoonProb(int $prob) : string
Parameters
$prob : int

Probability

Return values
string

getNewMoon()

getNewMoon

public getNewMoon(int $name, int $galaxy, int $system, int $planet) : string
Parameters
$name : int
$galaxy : int
$system : int
$planet : int
Return values
string

getShipName()

getShipName

public getShipName(int $id) : string
Parameters
$id : int

ID

Return values
string

getStoleDescr()

getStoleDescr

public getStoleDescr(int $metal, int $crystal, int $deuterium) : string
Parameters
$metal : int

Metal

$crystal : int

Crystal

$deuterium : int

Deuterium

Return values
string

getTechs()

getTechs

public getTechs(type $weaponsTech, type $shieldsTech, type $armourTech) : string
Parameters
$weaponsTech : type
$shieldsTech : type
$armourTech : type
Return values
string

Search results