C# Class Cakewalk.Server.ServerEntity

Represents a player connected to the server.
Inheritance: NetEntity
Afficher le fichier Open project: Cakez0r/Cakewalk Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
ServerEntity ( Socket socket, int worldID, World world, SocketAsyncPool asyncPool ) : System

Méthodes protégées

Méthode Description
HandlePacket ( IPacketBase packet ) : void

Incoming packets are pushed here for handling.

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

HandlePacket() protected méthode

Incoming packets are pushed here for handling.
protected HandlePacket ( IPacketBase packet ) : void
packet IPacketBase
Résultat void

ServerEntity() public méthode

public ServerEntity ( Socket socket, int worldID, World world, SocketAsyncPool asyncPool ) : System
socket System.Net.Sockets.Socket
worldID int
world World
asyncPool SocketAsyncPool
Résultat System