SchemaAccessor_t

This type represents a special structure that references a certain field in the entity object.

circle-info

You can check the returned type by using type() function.

triangle-exclamation

offset

Field

Type: number


Get

Method

Returns the value.

Arguments

None.

Returns

Type

Description

<type>

Value.

Example


GetAs

Method

Returns the value casted as another game class. Automatically dereferences pointers.

Arguments

Name

Type

Description

module

string

The name of the module

class

string

The name of the class

Returns

Type

Description

<type>

Casted value.

Example


Set

Method

Sets the value.

Arguments

Name

Type

Description

value

<type>

Value.

Returns

Nothing.

Example

Last updated