C# Class Drought.Network.NetworkManager

Afficher le fichier Open project: kiniry-teaching/UCD Class Usage Examples

Méthodes publiques

Méthode Description
anyoneElseHere ( ) : bool
connectToGame ( RemoteGame game ) : void
disconnect ( ) : void
getInstance ( ) : NetworkManager
getLocalGames ( ) : List
hasMoreData ( ) : bool
host ( Level levelToHost ) : void
recieveOri ( ) : Matrix
recievePos ( ) : Vector3
recieveUID ( ) : int
sendPos ( MovableEntity entity ) : void
update ( ) : void

Private Methods

Méthode Description
GameEnded ( object sender, GameEndedEventArgs args ) : void
GameStarted ( object sender, GameStartedEventArgs args ) : void
GamerJoined ( object sender, Microsoft.Xna.Framework.Net.GamerJoinedEventArgs args ) : void
GamerLeft ( object sender, Microsoft.Xna.Framework.Net.GamerLeftEventArgs args ) : void
NetworkManager ( ) : System
NetworkSessionEnded ( object sender, Microsoft.Xna.Framework.Net.NetworkSessionEndedEventArgs args ) : void

Method Details

anyoneElseHere() public méthode

public anyoneElseHere ( ) : bool
Résultat bool

connectToGame() public méthode

public connectToGame ( RemoteGame game ) : void
game RemoteGame
Résultat void

disconnect() public méthode

public disconnect ( ) : void
Résultat void

getInstance() public static méthode

public static getInstance ( ) : NetworkManager
Résultat NetworkManager

getLocalGames() public méthode

public getLocalGames ( ) : List
Résultat List

hasMoreData() public méthode

public hasMoreData ( ) : bool
Résultat bool

host() public méthode

public host ( Level levelToHost ) : void
levelToHost Level
Résultat void

recieveOri() public méthode

public recieveOri ( ) : Matrix
Résultat Matrix

recievePos() public méthode

public recievePos ( ) : Vector3
Résultat Vector3

recieveUID() public méthode

public recieveUID ( ) : int
Résultat int

sendPos() public méthode

public sendPos ( MovableEntity entity ) : void
entity Drought.Entity.MovableEntity
Résultat void

update() public méthode

public update ( ) : void
Résultat void