Enfusion Script API
|
Public Member Functions | |
proto external World | GetWorld () |
proto external bool | IsMyOwn () |
proto external RplRole | Role () |
proto void | Rpc (func method, void p0=NULL, void p1=NULL, void p2=NULL, void p3=NULL, void p4=NULL, void p5=NULL, void p6=NULL, void p7=NULL) |
Attempts to run a remote procedure call (RPC) of this instance with parameters specified in method RplRpc attribute. | |
proto external BaseSystem | FindSystem () |
proto external RplIdentity | GetServerSideOwner () |
Public Member Functions inherited from Managed | |
proto external ref Managed | Clone () |
Return shallow copy of object, or null if it is not allowed (not public constructor) | |
Static Public Member Functions | |
static void | InitInfo (WorldControllerInfo outInfo) |
static proto WorldController | FindMyController (World world, TypeName type) |
static proto WorldController | FindController (World world, TypeName type, RplIdentity serverSideOwner) |
static proto void | GetServerSideOwners (World world, notnull array< int > outOwners) |
Protected Member Functions | |
void | OnAuthorityReady () |
void | OnAuthorityClosing () |
|
static |
|
static |
proto external BaseSystem WorldController.FindSystem | ( | ) |
proto external RplIdentity WorldController.GetServerSideOwner | ( | ) |
|
static |
proto external World WorldController.GetWorld | ( | ) |
|
static |
proto external bool WorldController.IsMyOwn | ( | ) |
|
protected |
|
protected |
proto external RplRole WorldController.Role | ( | ) |
proto void WorldController.Rpc | ( | func | method, |
void | p0 = NULL , |
||
void | p1 = NULL , |
||
void | p2 = NULL , |
||
void | p3 = NULL , |
||
void | p4 = NULL , |
||
void | p5 = NULL , |
||
void | p6 = NULL , |
||
void | p7 = NULL |
||
) |
Attempts to run a remote procedure call (RPC) of this instance with parameters specified in method RplRpc attribute.
method | Member function to be invoked as an RPC. |