Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
WorldController Interface Reference
Inheritance diagram for WorldController:
[legend]

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 ()
 

Member Function Documentation

◆ FindController()

static proto WorldController WorldController.FindController ( World  world,
TypeName  type,
RplIdentity  serverSideOwner 
)
static

◆ FindMyController()

static proto WorldController WorldController.FindMyController ( World  world,
TypeName  type 
)
static

◆ FindSystem()

proto external BaseSystem WorldController.FindSystem ( )

◆ GetServerSideOwner()

proto external RplIdentity WorldController.GetServerSideOwner ( )

◆ GetServerSideOwners()

static proto void WorldController.GetServerSideOwners ( World  world,
notnull array< int outOwners 
)
static

◆ GetWorld()

proto external World WorldController.GetWorld ( )

◆ InitInfo()

static void WorldController.InitInfo ( WorldControllerInfo  outInfo)
static

◆ IsMyOwn()

proto external bool WorldController.IsMyOwn ( )

◆ OnAuthorityClosing()

void WorldController.OnAuthorityClosing ( )
protected

◆ OnAuthorityReady()

void WorldController.OnAuthorityReady ( )
protected

◆ Role()

proto external RplRole WorldController.Role ( )

◆ Rpc()

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.

Parameters
methodMember function to be invoked as an RPC.

The documentation for this interface was generated from the following file: