Legend of the Green Dragon

Creatures
in package
implements Translatable

Creatures.

Tags
ORM\Table

(name="creatures", indexes={ @ORM\Index(name="creaturecategory", columns={"creaturecategory"}) } )

ORM\Entity

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

Gedmo\TranslationEntity

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

Interfaces, Classes, Traits and Enums

Translatable

Table of Contents

$createdby  : string
$creatureaiscript  : string
$creatureattackbonus  : string
$creaturecategory  : string
$creaturedefensebonus  : string
$creaturedescription  : string
$creaturegoldbonus  : string
$creaturehealthbonus  : string
$creatureid  : int
$creatureimage  : string
$creaturelose  : string
$creaturename  : string
$creatureweapon  : string
$creaturewin  : string
$forest  : bool
$graveyard  : bool
$translations  : mixed
__construct()  : mixed
__toString()  : mixed
addTranslation()  : void
getCreatedby()  : string|null
Get the value of Createdby.
getCreatureaiscript()  : string|null
Get the value of Creatureaiscript.
getCreatureattackbonus()  : string
Get the value of Creatureattackbonus.
getCreaturecategory()  : string|null
Get the value of Creaturecategory.
getCreaturedefensebonus()  : string
Get the value of Creaturedefensebonus.
getCreaturedescription()  : string
Get the value of Creaturedescription.
getCreaturegoldbonus()  : string
Get the value of Creaturegoldbonus.
getCreaturehealthbonus()  : string
Get the value of Creaturehealthbonus.
getCreatureid()  : int|null
Get the value of Creatureid.
getCreatureimage()  : string
Get the value of Creatureimage.
getCreaturelose()  : string
Get the value of Creaturelose.
getCreaturename()  : string
Get the value of Creaturename.
getCreatureweapon()  : string
Get the value of Creatureweapon.
getCreaturewin()  : string|null
Get the value of Creaturewin.
getForest()  : bool
Get the value of Forest.
getGraveyard()  : bool
Get the value of Graveyard.
getId()  : int
Temporal alias.
getTranslations()  : mixed
setCreatedby()  : self
Set the value of Createdby.
setCreatureaiscript()  : self
Set the value of Creatureaiscript.
setCreatureattackbonus()  : self
Set the value of Creatureattackbonus.
setCreaturecategory()  : self
Set the value of Creaturecategory.
setCreaturedefensebonus()  : self
Set the value of Creaturedefensebonus.
setCreaturedescription()  : self
Set the value of Creaturedescription.
setCreaturegoldbonus()  : self
Set the value of Creaturegoldbonus.
setCreaturehealthbonus()  : self
Set the value of Creaturehealthbonus.
setCreatureid()  : self
Set the value of Creatureid.
setCreatureimage()  : self
Set the value of Creatureimage.
setCreaturelose()  : self
Set the value of Creaturelose.
setCreaturename()  : self
Set the value of Creaturename.
setCreatureweapon()  : self
Set the value of Creatureweapon.
setCreaturewin()  : self
Set the value of Creaturewin.
setForest()  : self
Set the value of Forest.
setGraveyard()  : self
Set the value of Graveyard.

Properties

$createdby

private string $createdby = ''
Tags
ORM\Column

(name="createdby", type="string", length=50, nullable=true)

Assert\Length

( min=0, max=50 )

$creatureaiscript

private string $creatureaiscript = ''
Tags
ORM\Column

(name="creatureaiscript", type="text", length=65535, nullable=true)

Assert\Length

( min=0, max=65535, allowEmptyString=true )

$creatureattackbonus

private string $creatureattackbonus = '1.00'
Tags
ORM\Column

(name="creatureattackbonus", type="decimal", precision=4, scale=2, nullable=false)

Assert\Range

( min=0, max=99.99 )

Assert\DivisibleBy

(0.01)

$creaturecategory

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

(name="creaturecategory", type="string", length=50, nullable=true)

Assert\Length

( min=0, max=50, allowEmptyString=true )

$creaturedefensebonus

private string $creaturedefensebonus = '1.00'
Tags
ORM\Column

(name="creaturedefensebonus", type="decimal", precision=4, scale=2, nullable=false)

Assert\Range

( min=0, max=99.99 )

Assert\DivisibleBy

(0.01)

$creaturedescription

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

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

Assert\Length

( min=0, max=65535, allowEmptyString=true )

$creaturegoldbonus

private string $creaturegoldbonus = '1.00'
Tags
ORM\Column

(name="creaturegoldbonus", type="decimal", precision=4, scale=2, nullable=false)

Assert\Range

( min=0, max=99.99 )

Assert\DivisibleBy

(0.01)

$creaturehealthbonus

private string $creaturehealthbonus = '1.00'
Tags
ORM\Column

(name="creaturehealthbonus", type="decimal", precision=4, scale=2, nullable=false)

Assert\Range

( min=0, max=99.99 )

Assert\DivisibleBy

(0.01)

$creatureid

private int $creatureid
Tags
ORM\Column

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

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$creatureimage

private string $creatureimage = ''
Tags
ORM\Column

(name="creatureimage", type="string", length=250, nullable=false)

Assert\Length

( min=0, max=250, allowEmptyString=true )

$creaturelose

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

(name="creaturelose", type="string", length=120, nullable=true)

Assert\Length

( min=0, max=120, allowEmptyString=true )

$creaturename

private string $creaturename
Tags
Gedmo\Translatable
ORM\Column

(name="creaturename", type="string", length=50, nullable=true)

Assert\Length

( min=1, max=50 )

$creatureweapon

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

(name="creatureweapon", type="string", length=50, nullable=true)

$creaturewin

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

(name="creaturewin", type="string", length=120, nullable=true)

Assert\Length

( min=0, max=120, allowEmptyString=true )

$forest

private bool $forest = 0
Tags
ORM\Column

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

$graveyard

private bool $graveyard = 0
Tags
ORM\Column

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

$translations

private mixed $translations
Tags
ORM\OneToMany

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

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

getCreatedby()

Get the value of Createdby.

public getCreatedby() : string|null
Return values
string|null

getCreatureaiscript()

Get the value of Creatureaiscript.

public getCreatureaiscript() : string|null
Return values
string|null

getCreatureattackbonus()

Get the value of Creatureattackbonus.

public getCreatureattackbonus() : string
Return values
string

getCreaturecategory()

Get the value of Creaturecategory.

public getCreaturecategory() : string|null
Return values
string|null

getCreaturedefensebonus()

Get the value of Creaturedefensebonus.

public getCreaturedefensebonus() : string
Return values
string

getCreaturedescription()

Get the value of Creaturedescription.

public getCreaturedescription() : string
Return values
string

getCreaturegoldbonus()

Get the value of Creaturegoldbonus.

public getCreaturegoldbonus() : string
Return values
string

getCreaturehealthbonus()

Get the value of Creaturehealthbonus.

public getCreaturehealthbonus() : string
Return values
string

getCreatureid()

Get the value of Creatureid.

public getCreatureid() : int|null
Return values
int|null

getCreatureimage()

Get the value of Creatureimage.

public getCreatureimage() : string
Return values
string

getCreaturelose()

Get the value of Creaturelose.

public getCreaturelose() : string
Return values
string

getCreaturename()

Get the value of Creaturename.

public getCreaturename() : string
Return values
string

getCreatureweapon()

Get the value of Creatureweapon.

public getCreatureweapon() : string
Return values
string

getCreaturewin()

Get the value of Creaturewin.

public getCreaturewin() : string|null
Return values
string|null

getForest()

Get the value of Forest.

public getForest() : bool
Return values
bool

getGraveyard()

Get the value of Graveyard.

public getGraveyard() : bool
Return values
bool

getId()

Temporal alias.

public getId() : int

In future updates all table IDs will have the field name as id.

Return values
int

getTranslations()

public getTranslations() : mixed
Return values
mixed

setCreatedby()

Set the value of Createdby.

public setCreatedby(string $createdby) : self
Parameters
$createdby : string
Return values
self

setCreatureaiscript()

Set the value of Creatureaiscript.

public setCreatureaiscript(string $creatureaiscript) : self
Parameters
$creatureaiscript : string
Return values
self

setCreatureattackbonus()

Set the value of Creatureattackbonus.

public setCreatureattackbonus(string $creatureattackbonus) : self
Parameters
$creatureattackbonus : string
Return values
self

setCreaturecategory()

Set the value of Creaturecategory.

public setCreaturecategory(string $creaturecategory) : self
Parameters
$creaturecategory : string
Return values
self

setCreaturedefensebonus()

Set the value of Creaturedefensebonus.

public setCreaturedefensebonus(string $creaturedefensebonus) : self
Parameters
$creaturedefensebonus : string
Return values
self

setCreaturedescription()

Set the value of Creaturedescription.

public setCreaturedescription(string $creaturedescription) : self
Parameters
$creaturedescription : string
Return values
self

setCreaturegoldbonus()

Set the value of Creaturegoldbonus.

public setCreaturegoldbonus(string $creaturegoldbonus) : self
Parameters
$creaturegoldbonus : string
Return values
self

setCreaturehealthbonus()

Set the value of Creaturehealthbonus.

public setCreaturehealthbonus(string $creaturehealthbonus) : self
Parameters
$creaturehealthbonus : string
Return values
self

setCreatureid()

Set the value of Creatureid.

public setCreatureid(int $creatureid) : self
Parameters
$creatureid : int
Return values
self

setCreatureimage()

Set the value of Creatureimage.

public setCreatureimage(string $creatureimage) : self
Parameters
$creatureimage : string
Return values
self

setCreaturelose()

Set the value of Creaturelose.

public setCreaturelose(string $creaturelose) : self
Parameters
$creaturelose : string
Return values
self

setCreaturename()

Set the value of Creaturename.

public setCreaturename(string $creaturename) : self
Parameters
$creaturename : string
Return values
self

setCreatureweapon()

Set the value of Creatureweapon.

public setCreatureweapon(string $creatureweapon) : self
Parameters
$creatureweapon : string
Return values
self

setCreaturewin()

Set the value of Creaturewin.

public setCreaturewin(string $creaturewin) : self
Parameters
$creaturewin : string
Return values
self

setForest()

Set the value of Forest.

public setForest(bool $forest) : self
Parameters
$forest : bool
Return values
self

setGraveyard()

Set the value of Graveyard.

public setGraveyard(bool $graveyard) : self
Parameters
$graveyard : bool
Return values
self

Search results