C# Class FBClient.Network.NetworkManager

Afficher le fichier Open project: Noxalus/Final-Bomber Class Usage Examples

Méthodes publiques

Свойство Type Description
IsConnected bool
IsReady bool
PublicIp string

Méthodes publiques

Méthode Description
Dispose ( ) : void
GameServer_PlacingBomb ( int clientId, Point position ) : void
Initiliaze ( ) : void
NetworkManager ( ) : System
Update ( ) : void

Méthodes protégées

Méthode Description
OnAddClient ( object sender, EventArgs e ) : void
OnAddPlayer ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
GameServer_BombExploded ( Point position ) : void
GameServer_MovePlayer ( object sender, MovePlayerArgs arg ) : void
GameServer_NewClient ( int clientId, string username, bool isReady ) : void
GameServer_PlayerKilled ( int victimId, int killerId ) : void
GameServer_PlayerSuicide ( int suicidalId ) : void
GameServer_PowerUpDrop ( PowerUpType type, Point position ) : void
GameServer_PowerUpPickUp ( int playerId, Point position, PowerUpType type ) : void
GameServer_UpdatePing ( float ping ) : void
GetMyIpAddress ( ) : string
GetPublicIP ( ) : string

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GameServer_PlacingBomb() public méthode

public GameServer_PlacingBomb ( int clientId, Point position ) : void
clientId int
position Point
Résultat void

Initiliaze() public méthode

public Initiliaze ( ) : void
Résultat void

NetworkManager() public méthode

public NetworkManager ( ) : System
Résultat System

OnAddClient() protected méthode

protected OnAddClient ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

OnAddPlayer() protected méthode

protected OnAddPlayer ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

IsConnected public_oe property

public bool IsConnected
Résultat bool

IsReady public_oe property

public bool IsReady
Résultat bool

PublicIp public_oe property

public string PublicIp
Résultat string