Armor implements Translatable
Armor.
Tags
Interfaces, Classes and Traits
- Translatable
Table of Contents
- $armorid : int
- $armorname : string
- $defense : int
- $level : int
- $translations : mixed
- $value : int
- __construct() : mixed
- __toString() : mixed
- addTranslation() : void
- getArmorid() : int
- Get the value of Armorid.
- getArmorname() : string
- Get the value of Armorname.
- getDefense() : int
- Get the value of Defense.
- getLevel() : int
- Get the value of Level.
- getTranslations() : mixed
- getValue() : int
- Get the value of Value.
- setArmorid() : self
- Set the value of Armorid.
- setArmorname() : self
- Set the value of Armorname.
- setDefense() : self
- Set the value of Defense.
- setLevel() : self
- Set the value of Level.
- setValue() : self
- Set the value of Value.
Properties
$armorid
private
int
$armorid
Tags
$armorname
private
string
$armorname
Tags
$defense
private
int
$defense
= 1
Tags
$level
private
int
$level
= 0
Tags
$translations
private
mixed
$translations
Tags
$value
private
int
$value
= 0
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —addTranslation()
public
addTranslation(ArmorTranslation $t) : void
Parameters
- $t : ArmorTranslation
Return values
void —getArmorid()
Get the value of Armorid.
public
getArmorid() : int
Return values
int —getArmorname()
Get the value of Armorname.
public
getArmorname() : string
Return values
string —getDefense()
Get the value of Defense.
public
getDefense() : int
Return values
int —getLevel()
Get the value of Level.
public
getLevel() : int
Return values
int —getTranslations()
public
getTranslations() : mixed
Return values
mixed —getValue()
Get the value of Value.
public
getValue() : int
Return values
int —setArmorid()
Set the value of Armorid.
public
setArmorid(int $armorid) : self
Parameters
- $armorid : int
Return values
self —setArmorname()
Set the value of Armorname.
public
setArmorname(string $armorname) : self
Parameters
- $armorname : string
Return values
self —setDefense()
Set the value of Defense.
public
setDefense(int $defense) : self
Parameters
- $defense : int
Return values
self —setLevel()
Set the value of Level.
public
setLevel(int $level) : self
Parameters
- $level : int
Return values
self —setValue()
Set the value of Value.
public
setValue(int $value) : self
Parameters
- $value : int