NodeWorld

NetworkEventTarget

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

csharp
public enum NetworkEventTarget

Namespace NodeWorld.Flux.

Who receives a network event of a script (FluxScript.SendNetworkEvent).

Values

All

csharp
All = 0

Every player of the room; the sender runs it at once, the others when it arrives.

Others

csharp
Others = 1

Every player but the sender.

Owner

csharp
Owner = 2

The owner of the object (at once if it is the sender).

Master

csharp
Master = 4

The master of the room (at once if it is the sender).

Server

csharp
Server = 3000

The same script of the same object on the server (a script that runs there: not [ClientOnly]); senderId is the player who sent it. Sent from the server, it stays there. The way for a player's script to ask the world's server scripts for what only they may do (portals). The object needs a network id.