Skip to content

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 ​

EngineBinding.constructor

Methods ​

property() ​

ts
property(id: number): boolean;

Get property evaluator value by id.

Parameters ​

ParameterTypeDescription
idnumberUnique 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 ​

ParameterTypeDescription
idnumberUnique identifier of the world property.
valuebooleanValue for provided id.

Returns ​

void

Properties ​

__name ​

ts
readonly __name: string;

LuaBind instance constructor name.

Inherited from ​

EngineBinding.__name


__name ​

ts
readonly static __name: string;

LuaBind class constructor name.

Inherited from ​

EngineBinding.__name