\Fusion

Fusion.

Represents an object from the table 'fusion'.

Summary

Methods
Properties
Constants
__construct()
$db
$product
$product_awaken
$product_unawaken
$fusion
$ingredient
$ingredient_unawaken
$stars
$cost
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$db

$db : resource

Type

resource — Database connection.

$product

$product : \K_Unit

Type

\K_Unit — K_Unit to fuse.

$product_awaken

$product_awaken : \K_Unit

Type

\K_Unit — K_Unit to fuse (awakened).

$product_unawaken

$product_unawaken : \K_Unit

Type

\K_Unit — K_Unit to fuse (unawakened).

$fusion

$fusion : \Monster_Fusion

Type

\Monster_Fusion — Fusions required to create ingredients.

$ingredient

$ingredient : array<mixed,\K_Unit>

Type

array<mixed,\K_Unit> — List of unfuseable K_Unit material.

$ingredient_unawaken

$ingredient_unawaken : array<mixed,\K_Unit>

Type

array<mixed,\K_Unit> — List of unfuseable K_Unit material. (unawakened).

$stars

$stars : integer

Type

integer — Stars of the monster to fuse.

$cost

$cost : integer

Type

integer — Fusion cost.

Methods

__construct()

__construct(resource  $db, integer  $id, integer  $uid = null) 

Constructor.

Searches the database and retrieves the information about the fusion, populating it and it's items.

Parameters

resource $db

Connection to the database.

integer $id

Product monster id.

integer $uid

User id.