Class: property_storage
Storage of object evaluators cached state for handling of in-game logic. Container for actions.
Source
C++ class property_storage
Custom Constructor
property_storage
Extends
Constructors
Constructor
ts
new property_storage(): property_storage;Returns
property_storage
Inherited from
Methods
property()
ts
property(id: number): boolean;Get property evaluator value by id.
Parameters
| Parameter | Type | Description |
|---|---|---|
id | number | Unique identifier of the world property. |
Returns
boolean
Current value for provided id.
Throws
If property is not declared in storage.
set_property()
ts
set_property(id: number, value: boolean): void;Set property value in the storage.
Parameters
| Parameter | Type | Description |
|---|---|---|
id | number | Unique identifier of the world property. |
value | boolean | Value for provided id. |
Returns
void
Properties
__name
ts
readonly __name: string;LuaBind instance constructor name.
Inherited from
__name
ts
readonly static __name: string;LuaBind class constructor name.