C# Class NetworkSkript, SelectivePerception

Inheritance: MonoBehaviour
显示文件 Open project: hs-furtwangen/SelectivePerception Class Usage Examples

Public Properties

Property Type Description
MainCam GameObject
hostList HostData[]
startGame bool

Public Methods

Method Description
Awake ( ) : void
JoinServer ( HostData hostData ) : void
OnConnectedToServer ( ) : void
OnDestroy ( ) : void
OnMasterServerEvent ( MasterServerEvent msEvent ) : void
OnPlayerConnected ( NetworkPlayer player ) : void
OnServerInitialized ( ) : void
RefreshHostList ( ) : void
Start ( ) : void
StartServer ( ) : void
Update ( ) : void
setLevel ( string temp ) : void
setPlayer ( string temp ) : void

Private Methods

Method Description
ReceiveInfoFromServer ( string someInfo ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

JoinServer() public method

public JoinServer ( HostData hostData ) : void
hostData UnityEngine.HostData
return void

OnConnectedToServer() public method

public OnConnectedToServer ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnMasterServerEvent() public method

public OnMasterServerEvent ( MasterServerEvent msEvent ) : void
msEvent MasterServerEvent
return void

OnPlayerConnected() public method

public OnPlayerConnected ( NetworkPlayer player ) : void
player NetworkPlayer
return void

OnServerInitialized() public method

public OnServerInitialized ( ) : void
return void

RefreshHostList() public method

public RefreshHostList ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartServer() public method

public StartServer ( ) : void
return void

Update() public method

public Update ( ) : void
return void

setLevel() public method

public setLevel ( string temp ) : void
temp string
return void

setPlayer() public method

public setPlayer ( string temp ) : void
temp string
return void

Property Details

MainCam public_oe property

public GameObject MainCam
return GameObject

hostList public_oe property

public HostData[] hostList
return HostData[]

startGame public_oe property

public bool startGame
return bool