Phpcraft
|
Public Member Functions | |
__construct (string $name, int $id, int $since_protocol_version=0) | |
getId (int $protocol_version) | |
Public Attributes | |
$id | |
Public Attributes inherited from Phpcraft\Identifier | |
$name | |
$since_protocol_version | |
Static Protected Member Functions | |
static | populateAllCache () |
Static Protected Attributes | |
static | $all_cache |
Static Protected Attributes inherited from Phpcraft\Identifier | |
static | $all_cache |
Additional Inherited Members | |
Static Public Member Functions inherited from Phpcraft\Identifier | |
static | get (string $name) |
static | getById (int $id, int $protocol_version) |
static | all () |
Protected Member Functions inherited from Phpcraft\Identifier | |
__construct (string $name, int $since_protocol_version) | |
Phpcraft\EffectType::__construct | ( | string | $name, |
int | $id, | ||
int | $since_protocol_version = 0 |
||
) |
Phpcraft\EffectType::getId | ( | int | $protocol_version | ) |
Returns the ID of this Identifier for the given protocol version or null if not applicable.
int | $protocol_version |
Reimplemented from Phpcraft\Identifier.
|
staticprotected |
Reimplemented from Phpcraft\Identifier.
|
staticprotected |
int Phpcraft\EffectType::$id |
The effect's ID.