C# Class multi.ClientServer

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: sea1and/SurvivalGame Class Usage Examples

Méthodes publiques

Свойство Type Description
multiplayerHandler MultiplayerHandler

Méthodes publiques

Méthode Description
CloseDown ( ) : void
Destroy ( ) : void
FoundNameToNick ( string foundName ) : string
GetConnectedPlayerName ( ) : string
GetID ( ) : uint
GetJoinedSession ( ) : string
GetPlayerNick ( ) : string
GetPlayerNr ( ) : int
GetPlayersNicks ( ) : ArrayList
GetSessions ( ) : ArrayList
HasJoinedSession ( ) : bool
Init ( string nick ) : void
IsDuringGame ( ) : bool
JoinSession ( string session ) : void
LateUpdate ( ) : void
SendEnemyAgroData ( string sender, string myName, string playerName ) : void
SendEnemyHPData ( string sender, string myname, double health ) : void
SendEnemyInitData ( string sender, string name, double enemyPosX, double enemyPosY, double enemyPosZ, double turning ) : void
SendPlayerData ( string name, double enemyPosX, double enemyPosY, double enemyPosZ, double turning, bool shooting, bool walking ) : void
SetTestStart ( ) : void
Start ( ) : void
StartUp ( ) : void
isAllJoynStarted ( ) : bool

Method Details

CloseDown() public méthode

public CloseDown ( ) : void
Résultat void

Destroy() public méthode

public Destroy ( ) : void
Résultat void

FoundNameToNick() public méthode

public FoundNameToNick ( string foundName ) : string
foundName string
Résultat string

GetConnectedPlayerName() public méthode

public GetConnectedPlayerName ( ) : string
Résultat string

GetID() public méthode

public GetID ( ) : uint
Résultat uint

GetJoinedSession() public méthode

public GetJoinedSession ( ) : string
Résultat string

GetPlayerNick() public méthode

public GetPlayerNick ( ) : string
Résultat string

GetPlayerNr() public méthode

public GetPlayerNr ( ) : int
Résultat int

GetPlayersNicks() public méthode

public GetPlayersNicks ( ) : ArrayList
Résultat System.Collections.ArrayList

GetSessions() public méthode

public GetSessions ( ) : ArrayList
Résultat System.Collections.ArrayList

HasJoinedSession() public méthode

public HasJoinedSession ( ) : bool
Résultat bool

Init() public méthode

public Init ( string nick ) : void
nick string
Résultat void

IsDuringGame() public méthode

public IsDuringGame ( ) : bool
Résultat bool

JoinSession() public méthode

public JoinSession ( string session ) : void
session string
Résultat void

LateUpdate() public méthode

public LateUpdate ( ) : void
Résultat void

SendEnemyAgroData() public méthode

public SendEnemyAgroData ( string sender, string myName, string playerName ) : void
sender string
myName string
playerName string
Résultat void

SendEnemyHPData() public méthode

public SendEnemyHPData ( string sender, string myname, double health ) : void
sender string
myname string
health double
Résultat void

SendEnemyInitData() public méthode

public SendEnemyInitData ( string sender, string name, double enemyPosX, double enemyPosY, double enemyPosZ, double turning ) : void
sender string
name string
enemyPosX double
enemyPosY double
enemyPosZ double
turning double
Résultat void

SendPlayerData() public méthode

public SendPlayerData ( string name, double enemyPosX, double enemyPosY, double enemyPosZ, double turning, bool shooting, bool walking ) : void
name string
enemyPosX double
enemyPosY double
enemyPosZ double
turning double
shooting bool
walking bool
Résultat void

SetTestStart() public méthode

public SetTestStart ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

StartUp() public méthode

public StartUp ( ) : void
Résultat void

isAllJoynStarted() public méthode

public isAllJoynStarted ( ) : bool
Résultat bool

Property Details

multiplayerHandler public_oe property

public MultiplayerHandler multiplayerHandler
Résultat MultiplayerHandler