C# Class NetworkSkript, SelectivePerception

Inheritance: MonoBehaviour
Afficher le fichier Open project: hs-furtwangen/SelectivePerception Class Usage Examples

Méthodes publiques

Свойство Type Description
MainCam GameObject
hostList HostData[]
startGame bool

Méthodes publiques

Méthode 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

Méthode Description
ReceiveInfoFromServer ( string someInfo ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

JoinServer() public méthode

public JoinServer ( HostData hostData ) : void
hostData UnityEngine.HostData
Résultat void

OnConnectedToServer() public méthode

public OnConnectedToServer ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnMasterServerEvent() public méthode

public OnMasterServerEvent ( MasterServerEvent msEvent ) : void
msEvent MasterServerEvent
Résultat void

OnPlayerConnected() public méthode

public OnPlayerConnected ( NetworkPlayer player ) : void
player NetworkPlayer
Résultat void

OnServerInitialized() public méthode

public OnServerInitialized ( ) : void
Résultat void

RefreshHostList() public méthode

public RefreshHostList ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StartServer() public méthode

public StartServer ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

setLevel() public méthode

public setLevel ( string temp ) : void
temp string
Résultat void

setPlayer() public méthode

public setPlayer ( string temp ) : void
temp string
Résultat void

Property Details

MainCam public_oe property

public GameObject MainCam
Résultat GameObject

hostList public_oe property

public HostData[] hostList
Résultat HostData[]

startGame public_oe property

public bool startGame
Résultat bool