Legend of the Green Dragon

Companions
in package
implements Translatable

Companions.

Tags
ORM\Table

(name="companions")

ORM\Entity

(repositoryClass="Lotgd\Core\Repository\CompanionsRepository")

Gedmo\TranslationEntity

(class="Lotgd\Core\Entity\CompanionsTranslation")

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
ORM\Column

(name="abilities", type="array")

$allowinpvp

private bool $allowinpvp = 0
Tags
ORM\Column

(name="allowinpvp", type="boolean", nullable=false, options={"default": 0})

$allowinshades

private bool $allowinshades = 0
Tags
ORM\Column

(name="allowinshades", type="boolean", nullable=false, options={"default": 0})

$allowintrain

private bool $allowintrain = 0
Tags
ORM\Column

(name="allowintrain", type="boolean", nullable=false, options={"default": 0})

$attack

private int $attack = 1
Tags
ORM\Column

(name="attack", type="smallint", nullable=false, options={"default": 1, "unsigned": true})

Assert\Range

( min=1, max=65535 )

Assert\DivisibleBy

(1)

$attackperlevel

private int $attackperlevel = 0
Tags
ORM\Column

(name="attackperlevel", type="smallint", nullable=false, options={"default": 0, "unsigned": true})

Assert\Range

( min=0, max=65535 )

Assert\DivisibleBy

(1)

$cannotbehealed

private bool $cannotbehealed = 1
Tags
ORM\Column

(name="cannotbehealed", type="boolean", nullable=false, options={"default": 1})

$cannotdie

private bool $cannotdie = 0
Tags
ORM\Column

(name="cannotdie", type="boolean", nullable=false, options={"default": 0})

$category

private string $category = ''
Tags
Gedmo\Translatable
ORM\Column

(name="category", type="string", length=50, nullable=false)

$companionactive

private bool $companionactive = true
Tags
ORM\Column

(name="companionactive", type="boolean", nullable=false, options={"default": 1})

$companioncostdks

private int $companioncostdks = 0
Tags
ORM\Column

(name="companioncostdks", type="integer", nullable=false, options={"unsigned": true}, options={"default": 0})

Assert\Range

( min=0, max=42949672295 )

Assert\DivisibleBy

(1)

$companioncostgems

private int $companioncostgems = 0
Tags
ORM\Column

(name="companioncostgems", type="integer", nullable=false, options={"default": 0, "unsigned": true})

Assert\Range

( min=0, max=42949672295 )

Assert\DivisibleBy

(1)

$companioncostgold

private int $companioncostgold = 0
Tags
ORM\Column

(name="companioncostgold", type="integer", nullable=false, options={"default": 0, "unsigned": true})

Assert\Range

( min=0, max=42949672295 )

Assert\DivisibleBy

(1)

$companionid

private int $companionid
Tags
ORM\Column

(name="companionid", type="integer", nullable=false)

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$companionlocation

private string $companionlocation = 'all'
Tags
ORM\Column

(name="companionlocation", type="string", length=25, nullable=false)

$defense

private int $defense = 1
Tags
ORM\Column

(name="defense", type="smallint", nullable=false, options={"default": 1, "unsigned": true})

Assert\Range

( min=1, max=65535 )

Assert\DivisibleBy

(1)

$defenseperlevel

private int $defenseperlevel = 0
Tags
ORM\Column

(name="defenseperlevel", type="smallint", nullable=false, options={"default": 0, "unsigned": true})

Assert\Range

( min=0, max=65535 )

Assert\DivisibleBy

(1)

$description

private string $description = ''
Tags
Gedmo\Translatable
ORM\Column

(name="description", type="text", length=65535, nullable=false)

$dyingtext

private string $dyingtext = ''
Tags
Gedmo\Translatable
ORM\Column

(name="dyingtext", type="string", length=255, nullable=false)

$jointext

private string $jointext = ''
Tags
Gedmo\Translatable
ORM\Column

(name="jointext", type="text", length=65535, nullable=false)

$maxhitpoints

private int $maxhitpoints = 10
Tags
ORM\Column

(name="maxhitpoints", type="smallint", nullable=false, options={"default": 10, "unsigned": true})

Assert\Range

( min=0, max=65535 )

Assert\DivisibleBy

(1)

$maxhitpointsperlevel

private int $maxhitpointsperlevel = 10
Tags
ORM\Column

(name="maxhitpointsperlevel", type="smallint", nullable=false, options={"default": 10, "unsigned": true})

Assert\Range

( min=0, max=65535 )

Assert\DivisibleBy

(1)

$name

private string $name = ''
Tags
Gedmo\Translatable
ORM\Column

(name="name", type="string", length=50, nullable=false)

$translations

private mixed $translations
Tags
ORM\OneToMany

(targetEntity="CompanionsTranslation", mappedBy="object", cascade={"all"})

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

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
Return values
self

Search results