Companions
in package
implements
Translatable
Companions.
Tags
Interfaces, Classes, Traits and Enums
- Translatable
Table of Contents
- $abilities : array<string|int, mixed>
- $allowinpvp : bool
- $allowinshades : bool
- $allowintrain : bool
- $attack : int
- $attackperlevel : int
- $cannotbehealed : bool
- $cannotdie : bool
- $category : string
- $companionactive : bool
- $companioncostdks : int
- $companioncostgems : int
- $companioncostgold : int
- $companionid : int
- $companionlocation : string
- $defense : int
- $defenseperlevel : int
- $description : string
- $dyingtext : string
- $jointext : string
- $maxhitpoints : int
- $maxhitpointsperlevel : int
- $name : string
- $translations : mixed
- __construct() : mixed
- __toString() : mixed
- addTranslation() : void
- getAbilities() : array<string|int, mixed>
- Get the value of Abilities.
- getAllowinpvp() : bool
- Get the value of Allowinpvp.
- getAllowinshades() : bool
- Get the value of Allowinshades.
- getAllowintrain() : bool
- Get the value of Allowintrain.
- getAttack() : int
- Get the value of Attack.
- getAttackperlevel() : int
- Get the value of Attackperlevel.
- getCannotbehealed() : bool
- Get the value of Cannotbehealed.
- getCannotdie() : bool
- Get the value of Cannotdie.
- getCategory() : string
- Get the value of Category.
- getCompanionactive() : bool
- Get the value of Companionactive.
- getCompanioncostdks() : int
- Get the value of Companioncostdks.
- getCompanioncostgems() : int
- Get the value of Companioncostgems.
- getCompanioncostgold() : int
- Get the value of Companioncostgold.
- getCompanionid() : int
- Get the value of Companionid.
- getCompanionlocation() : string
- Get the value of Companionlocation.
- getDefense() : int
- Get the value of Defense.
- getDefenseperlevel() : int
- Get the value of Defenseperlevel.
- getDescription() : string
- Get the value of Description.
- getDyingtext() : string
- Get the value of Dyingtext.
- getJointext() : string
- Get the value of Jointext.
- getMaxhitpoints() : int
- Get the value of Maxhitpoints.
- getMaxhitpointsperlevel() : int
- Get the value of Maxhitpointsperlevel.
- getName() : string
- Get the value of Name.
- getTranslations() : mixed
- setAbilities() : self
- Set the value of Abilities.
- setAllowinpvp() : self
- Set the value of Allowinpvp.
- setAllowinshades() : self
- Set the value of Allowinshades.
- setAllowintrain() : self
- Set the value of Allowintrain.
- setAttack() : self
- Set the value of Attack.
- setAttackperlevel() : self
- Set the value of Attackperlevel.
- setCannotbehealed() : self
- Set the value of Cannotbehealed.
- setCannotdie() : self
- Set the value of Cannotdie.
- setCategory() : self
- Set the value of Category.
- setCompanionactive() : self
- Set the value of Companionactive.
- setCompanioncostdks() : self
- Set the value of Companioncostdks.
- setCompanioncostgems() : self
- Set the value of Companioncostgems.
- setCompanioncostgold() : self
- Set the value of Companioncostgold.
- setCompanionid() : self
- Set the value of Companionid.
- setCompanionlocation() : self
- Set the value of Companionlocation.
- setDefense() : self
- Set the value of Defense.
- setDefenseperlevel() : self
- Set the value of Defenseperlevel.
- setDescription() : self
- Set the value of Description.
- setDyingtext() : self
- Set the value of Dyingtext.
- setJointext() : self
- Set the value of Jointext.
- setMaxhitpoints() : self
- Set the value of Maxhitpoints.
- setMaxhitpointsperlevel() : self
- Set the value of Maxhitpointsperlevel.
- setName() : self
- Set the value of Name.
Properties
$abilities
private
array<string|int, mixed>
$abilities
= []
Tags
$allowinpvp
private
bool
$allowinpvp
= 0
Tags
$allowinshades
private
bool
$allowinshades
= 0
Tags
$allowintrain
private
bool
$allowintrain
= 0
Tags
$attack
private
int
$attack
= 1
Tags
$attackperlevel
private
int
$attackperlevel
= 0
Tags
$cannotbehealed
private
bool
$cannotbehealed
= 1
Tags
$cannotdie
private
bool
$cannotdie
= 0
Tags
$category
private
string
$category
= ''
Tags
$companionactive
private
bool
$companionactive
= true
Tags
$companioncostdks
private
int
$companioncostdks
= 0
Tags
$companioncostgems
private
int
$companioncostgems
= 0
Tags
$companioncostgold
private
int
$companioncostgold
= 0
Tags
$companionid
private
int
$companionid
Tags
$companionlocation
private
string
$companionlocation
= 'all'
Tags
$defense
private
int
$defense
= 1
Tags
$defenseperlevel
private
int
$defenseperlevel
= 0
Tags
$description
private
string
$description
= ''
Tags
$dyingtext
private
string
$dyingtext
= ''
Tags
$jointext
private
string
$jointext
= ''
Tags
$maxhitpoints
private
int
$maxhitpoints
= 10
Tags
$maxhitpointsperlevel
private
int
$maxhitpointsperlevel
= 10
Tags
$name
private
string
$name
= ''
Tags
$translations
private
mixed
$translations
Tags
Methods
__construct()
public
__construct() : mixed
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —addTranslation()
public
addTranslation(CompanionsTranslation $t) : void
Parameters
Return values
void —getAbilities()
Get the value of Abilities.
public
getAbilities() : array<string|int, mixed>
Return values
array<string|int, mixed> —getAllowinpvp()
Get the value of Allowinpvp.
public
getAllowinpvp() : bool
Return values
bool —getAllowinshades()
Get the value of Allowinshades.
public
getAllowinshades() : bool
Return values
bool —getAllowintrain()
Get the value of Allowintrain.
public
getAllowintrain() : bool
Return values
bool —getAttack()
Get the value of Attack.
public
getAttack() : int
Return values
int —getAttackperlevel()
Get the value of Attackperlevel.
public
getAttackperlevel() : int
Return values
int —getCannotbehealed()
Get the value of Cannotbehealed.
public
getCannotbehealed() : bool
Return values
bool —getCannotdie()
Get the value of Cannotdie.
public
getCannotdie() : bool
Return values
bool —getCategory()
Get the value of Category.
public
getCategory() : string
Return values
string —getCompanionactive()
Get the value of Companionactive.
public
getCompanionactive() : bool
Return values
bool —getCompanioncostdks()
Get the value of Companioncostdks.
public
getCompanioncostdks() : int
Return values
int —getCompanioncostgems()
Get the value of Companioncostgems.
public
getCompanioncostgems() : int
Return values
int —getCompanioncostgold()
Get the value of Companioncostgold.
public
getCompanioncostgold() : int
Return values
int —getCompanionid()
Get the value of Companionid.
public
getCompanionid() : int
Return values
int —getCompanionlocation()
Get the value of Companionlocation.
public
getCompanionlocation() : string
Return values
string —getDefense()
Get the value of Defense.
public
getDefense() : int
Return values
int —getDefenseperlevel()
Get the value of Defenseperlevel.
public
getDefenseperlevel() : int
Return values
int —getDescription()
Get the value of Description.
public
getDescription() : string
Return values
string —getDyingtext()
Get the value of Dyingtext.
public
getDyingtext() : string
Return values
string —getJointext()
Get the value of Jointext.
public
getJointext() : string
Return values
string —getMaxhitpoints()
Get the value of Maxhitpoints.
public
getMaxhitpoints() : int
Return values
int —getMaxhitpointsperlevel()
Get the value of Maxhitpointsperlevel.
public
getMaxhitpointsperlevel() : int
Return values
int —getName()
Get the value of Name.
public
getName() : string
Return values
string —getTranslations()
public
getTranslations() : mixed
Return values
mixed —setAbilities()
Set the value of Abilities.
public
setAbilities(array<string|int, mixed> $abilities) : self
Parameters
- $abilities : array<string|int, mixed>
Return values
self —setAllowinpvp()
Set the value of Allowinpvp.
public
setAllowinpvp(bool $allowinpvp) : self
Parameters
- $allowinpvp : bool
Return values
self —setAllowinshades()
Set the value of Allowinshades.
public
setAllowinshades(bool $allowinshades) : self
Parameters
- $allowinshades : bool
Return values
self —setAllowintrain()
Set the value of Allowintrain.
public
setAllowintrain(bool $allowintrain) : self
Parameters
- $allowintrain : bool
Return values
self —setAttack()
Set the value of Attack.
public
setAttack(int $attack) : self
Parameters
- $attack : int
Return values
self —setAttackperlevel()
Set the value of Attackperlevel.
public
setAttackperlevel(int $attackperlevel) : self
Parameters
- $attackperlevel : int
Return values
self —setCannotbehealed()
Set the value of Cannotbehealed.
public
setCannotbehealed(bool $cannotbehealed) : self
Parameters
- $cannotbehealed : bool
Return values
self —setCannotdie()
Set the value of Cannotdie.
public
setCannotdie(bool $cannotdie) : self
Parameters
- $cannotdie : bool
Return values
self —setCategory()
Set the value of Category.
public
setCategory(string $category) : self
Parameters
- $category : string
Return values
self —setCompanionactive()
Set the value of Companionactive.
public
setCompanionactive(bool $companionactive) : self
Parameters
- $companionactive : bool
Return values
self —setCompanioncostdks()
Set the value of Companioncostdks.
public
setCompanioncostdks(int $companioncostdks) : self
Parameters
- $companioncostdks : int
Return values
self —setCompanioncostgems()
Set the value of Companioncostgems.
public
setCompanioncostgems(int $companioncostgems) : self
Parameters
- $companioncostgems : int
Return values
self —setCompanioncostgold()
Set the value of Companioncostgold.
public
setCompanioncostgold(int $companioncostgold) : self
Parameters
- $companioncostgold : int
Return values
self —setCompanionid()
Set the value of Companionid.
public
setCompanionid(int $companionid) : self
Parameters
- $companionid : int
Return values
self —setCompanionlocation()
Set the value of Companionlocation.
public
setCompanionlocation(string $companionlocation) : self
Parameters
- $companionlocation : string
Return values
self —setDefense()
Set the value of Defense.
public
setDefense(int $defense) : self
Parameters
- $defense : int
Return values
self —setDefenseperlevel()
Set the value of Defenseperlevel.
public
setDefenseperlevel(int $defenseperlevel) : self
Parameters
- $defenseperlevel : int
Return values
self —setDescription()
Set the value of Description.
public
setDescription(string $description) : self
Parameters
- $description : string
Return values
self —setDyingtext()
Set the value of Dyingtext.
public
setDyingtext(string $dyingtext) : self
Parameters
- $dyingtext : string
Return values
self —setJointext()
Set the value of Jointext.
public
setJointext(string $jointext) : self
Parameters
- $jointext : string
Return values
self —setMaxhitpoints()
Set the value of Maxhitpoints.
public
setMaxhitpoints(int $maxhitpoints) : self
Parameters
- $maxhitpoints : int
Return values
self —setMaxhitpointsperlevel()
Set the value of Maxhitpointsperlevel.
public
setMaxhitpointsperlevel(int $maxhitpointsperlevel) : self
Parameters
- $maxhitpointsperlevel : int
Return values
self —setName()
Set the value of Name.
public
setName(string $name) : self
Parameters
- $name : string