Skip to content

Class: cse_alife_graph_point

Server object binding for cse_alife_graph_point.

Source

C++ class cse_alife_graph_point : cse_abstract

Custom Constructor

cse_alife_graph_point

Extends

Constructors

Constructor

ts
new cse_alife_graph_point(section: string): cse_alife_graph_point;

Create a server object for an object section.

Parameters

ParameterTypeDescription
sectionstringSpawn section name.

Returns

cse_alife_graph_point

Inherited from

cse_abstract.constructor

Methods

clsid()

ts
clsid(): TXR_class_id;

Returns

TXR_class_id

Engine class id.

Inherited from

cse_abstract.clsid


FillProps()

ts
FillProps(pref: string, items: prop_item_vec): void;

Fill editor property rows for this object.

Parameters

ParameterTypeDescription
prefstringProperty prefix.
itemsprop_item_vecProperty collection to populate.

Returns

void

Inherited from

cse_abstract.FillProps


init()

ts
init(): void;

Initialize graph point server state.

Returns

void


name()

ts
name<T>(): T;

Type Parameters

Type ParameterDefault type
T extends stringstring

Returns

T

Runtime object name.

Inherited from

cse_abstract.name


section_name()

ts
section_name<T>(): T;

Type Parameters

Type ParameterDefault type
T extends stringstring

Returns

T

Spawn section name.

Inherited from

cse_abstract.section_name


spawn_ini()

ts
spawn_ini(): Nullable<ini_file>;

Returns

Nullable<ini_file>

Spawn ini attached to this object, if any.

Inherited from

cse_abstract.spawn_ini


STATE_Read()

ts
STATE_Read(packet: net_packet, size: number): void;

Read a state packet into this object.

Parameters

ParameterTypeDescription
packetnet_packetSource network packet.
sizenumberSerialized state size.

Returns

void

Remarks

Use only with packets written for the same server object class and state format.

Inherited from

cse_abstract.STATE_Read


STATE_Write()

ts
STATE_Write(packet: net_packet): void;

Write a state packet from this object.

Parameters

ParameterTypeDescription
packetnet_packetTarget network packet.

Returns

void

Inherited from

cse_abstract.STATE_Write


UPDATE_Read()

ts
UPDATE_Read(packet: net_packet): void;

Read an update packet into this object.

Parameters

ParameterTypeDescription
packetnet_packetSource network packet.

Returns

void

Remarks

Use only with packets written for the same server object class and update format.

Inherited from

cse_abstract.UPDATE_Read


UPDATE_Write()

ts
UPDATE_Write(packet: net_packet): void;

Write an update packet from this object.

Parameters

ParameterTypeDescription
packetnet_packetTarget network packet.

Returns

void

Inherited from

cse_abstract.UPDATE_Write

Properties

__name

ts
readonly __name: string;

LuaBind instance constructor name.

Inherited from

cse_abstract.__name


angle

ts
angle: vector;

Server-side orientation angles.

Inherited from

cse_abstract.angle


id

ts
readonly id: number;

Server object id.

Inherited from

cse_abstract.id


parent_id

ts
readonly parent_id: number;

Parent server object id, or 65535 when there is no parent.

Inherited from

cse_abstract.parent_id


position

ts
position: vector;

Server-side world position.

Inherited from

cse_abstract.position


script_version

ts
readonly script_version: number;

Script data version stored with this object.

Inherited from

cse_abstract.script_version


__name

ts
readonly static __name: string;

LuaBind class constructor name.

Inherited from

cse_abstract.__name