NodeWorld

FluxScriptState

La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.

csharp
public readonly struct FluxScriptState

Namespace NodeWorld.SDK.Client.Flux.

The synced state of one FL# script (slot: its index among the FL# scripts of the object), from the owner.

Fields

ObjectId

csharp
public readonly string ObjectId

The network id of the object.

Slot

csharp
public readonly byte Slot

The index of the script among the FL# scripts of the object.

OwnerId

csharp
public readonly uint OwnerId

The player who sent it.

Data

csharp
public readonly byte[] Data

What the script wrote in OnSerialize.

Constructors

FluxScriptState

csharp
public FluxScriptState(string objectId, byte slot, uint ownerId, byte[] data)

A synced state of a script.