Enfusion Script API
Loading...
Searching...
No Matches
PlayerNameInputController Interface Reference

[World controller example] More...

Inheritance diagram for PlayerNameInputController:
WorldController ScriptAndConfig Managed

Public Member Functions

void RequestNameChange (string newPlayerName)
 
- Public Member Functions inherited from WorldController
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 (TypeName interfaceType)
 
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 override void InitInfo (WorldControllerInfo outInfo)
 
- Static Public Member Functions inherited from WorldController
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)
 

Public Attributes

string m_PlayerName
 

Protected Member Functions

override void OnAuthorityReady ()
 
- Protected Member Functions inherited from WorldController
void OnAuthorityClosing ()
 

Detailed Description

[World controller example]

[World controller example - modding]

Member Function Documentation

◆ InitInfo()

static override void PlayerNameInputController.InitInfo ( WorldControllerInfo outInfo)
static

Implements WorldController.

◆ OnAuthorityReady()

override void PlayerNameInputController.OnAuthorityReady ( )
protected

Implements WorldController.

◆ RequestNameChange()

void PlayerNameInputController.RequestNameChange ( string newPlayerName)

Member Data Documentation

◆ m_PlayerName

string PlayerNameInputController.m_PlayerName

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