C# Class multi.ClientServer

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: sea1and/SurvivalGame Class Usage Examples

Public Properties

Property Type Description
multiplayerHandler MultiplayerHandler

Public Methods

Method 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 method

public CloseDown ( ) : void
return void

Destroy() public method

public Destroy ( ) : void
return void

FoundNameToNick() public method

public FoundNameToNick ( string foundName ) : string
foundName string
return string

GetConnectedPlayerName() public method

public GetConnectedPlayerName ( ) : string
return string

GetID() public method

public GetID ( ) : uint
return uint

GetJoinedSession() public method

public GetJoinedSession ( ) : string
return string

GetPlayerNick() public method

public GetPlayerNick ( ) : string
return string

GetPlayerNr() public method

public GetPlayerNr ( ) : int
return int

GetPlayersNicks() public method

public GetPlayersNicks ( ) : ArrayList
return System.Collections.ArrayList

GetSessions() public method

public GetSessions ( ) : ArrayList
return System.Collections.ArrayList

HasJoinedSession() public method

public HasJoinedSession ( ) : bool
return bool

Init() public method

public Init ( string nick ) : void
nick string
return void

IsDuringGame() public method

public IsDuringGame ( ) : bool
return bool

JoinSession() public method

public JoinSession ( string session ) : void
session string
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

SendEnemyAgroData() public method

public SendEnemyAgroData ( string sender, string myName, string playerName ) : void
sender string
myName string
playerName string
return void

SendEnemyHPData() public method

public SendEnemyHPData ( string sender, string myname, double health ) : void
sender string
myname string
health double
return void

SendEnemyInitData() public method

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
return void

SendPlayerData() public method

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
return void

SetTestStart() public method

public SetTestStart ( ) : void
return void

Start() public method

public Start ( ) : void
return void

StartUp() public method

public StartUp ( ) : void
return void

isAllJoynStarted() public method

public isAllJoynStarted ( ) : bool
return bool

Property Details

multiplayerHandler public_oe property

public MultiplayerHandler multiplayerHandler
return MultiplayerHandler