C# Class CEngineSharp_Client.World.Content_Managers.PlayerManager

Afficher le fichier Open project: JohnLamontagne/CEngineSharp Class Usage Examples

Méthodes publiques

Méthode Description
AddPlayer ( long id, Player player ) : void
ClearPlayers ( ) : void
GetPlayer ( long id ) : Player
GetPlayers ( ) : CEngineSharp_Client.World.Entity.Player[]
PlayerManager ( ) : System
RemovePlayer ( long id ) : void

Private Methods

Méthode Description
HandleInventoryUpdate ( PacketReceivedEventArgs args ) : void
HandleLogin ( PacketReceivedEventArgs args ) : void
HandleLogout ( PacketReceivedEventArgs args ) : void
HandlePlayerData ( PacketReceivedEventArgs args ) : void
HandlePlayerMovement ( PacketReceivedEventArgs args ) : void
HandleRegistration ( PacketReceivedEventArgs args ) : void
HandleUpdateStats ( PacketReceivedEventArgs args ) : void

Method Details

AddPlayer() public méthode

public AddPlayer ( long id, Player player ) : void
id long
player CEngineSharp_Client.World.Entity.Player
Résultat void

ClearPlayers() public méthode

public ClearPlayers ( ) : void
Résultat void

GetPlayer() public méthode

public GetPlayer ( long id ) : Player
id long
Résultat CEngineSharp_Client.World.Entity.Player

GetPlayers() public méthode

public GetPlayers ( ) : CEngineSharp_Client.World.Entity.Player[]
Résultat CEngineSharp_Client.World.Entity.Player[]

PlayerManager() public méthode

public PlayerManager ( ) : System
Résultat System

RemovePlayer() public méthode

public RemovePlayer ( long id ) : void
id long
Résultat void