C# Class OpenNos.GameObject.BroadcastableBase

Afficher le fichier Open project: OpenNos/OpenNos

Méthodes publiques

Méthode Description
Broadcast ( BroadcastPacket packet ) : void
Broadcast ( ClientSession client, PacketDefinition packet, ReceiverType receiver = ReceiverType.All, string characterName = "", long characterId = -1 ) : void
Broadcast ( ClientSession client, string packets, ReceiverType receiver = ReceiverType.All, string characterName = "", long characterId = -1 ) : void
Broadcast ( IEnumerable packets ) : void
Broadcast ( PacketDefinition packet ) : void
Broadcast ( PacketDefinition packet, int xRangeCoordinate, int yRangeCoordinate ) : void
Broadcast ( string packet ) : void
Broadcast ( string packet, int xRangeCoordinate, int yRangeCoordinate ) : void
BroadcastableBase ( ) : System
Dispose ( ) : void
GetSessionByCharacterId ( long characterId ) : ClientSession
RegisterSession ( ClientSession session ) : void
SpreadBroadcastpacket ( BroadcastPacket sentPacket ) : void
SpreadBroadcasts ( IEnumerable sentpackets ) : void
UnregisterSession ( long characterId ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Broadcast() public méthode

public Broadcast ( BroadcastPacket packet ) : void
packet BroadcastPacket
Résultat void

Broadcast() public méthode

public Broadcast ( ClientSession client, PacketDefinition packet, ReceiverType receiver = ReceiverType.All, string characterName = "", long characterId = -1 ) : void
client ClientSession
packet PacketDefinition
receiver ReceiverType
characterName string
characterId long
Résultat void

Broadcast() public méthode

public Broadcast ( ClientSession client, string packets, ReceiverType receiver = ReceiverType.All, string characterName = "", long characterId = -1 ) : void
client ClientSession
packets string
receiver ReceiverType
characterName string
characterId long
Résultat void

Broadcast() public méthode

public Broadcast ( IEnumerable packets ) : void
packets IEnumerable
Résultat void

Broadcast() public méthode

public Broadcast ( PacketDefinition packet ) : void
packet PacketDefinition
Résultat void

Broadcast() public méthode

public Broadcast ( PacketDefinition packet, int xRangeCoordinate, int yRangeCoordinate ) : void
packet PacketDefinition
xRangeCoordinate int
yRangeCoordinate int
Résultat void

Broadcast() public méthode

public Broadcast ( string packet ) : void
packet string
Résultat void

Broadcast() public méthode

public Broadcast ( string packet, int xRangeCoordinate, int yRangeCoordinate ) : void
packet string
xRangeCoordinate int
yRangeCoordinate int
Résultat void

BroadcastableBase() public méthode

public BroadcastableBase ( ) : System
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetSessionByCharacterId() public méthode

public GetSessionByCharacterId ( long characterId ) : ClientSession
characterId long
Résultat ClientSession

RegisterSession() public méthode

public RegisterSession ( ClientSession session ) : void
session ClientSession
Résultat void

SpreadBroadcastpacket() public méthode

public SpreadBroadcastpacket ( BroadcastPacket sentPacket ) : void
sentPacket BroadcastPacket
Résultat void

SpreadBroadcasts() public méthode

public SpreadBroadcasts ( IEnumerable sentpackets ) : void
sentpackets IEnumerable
Résultat void

UnregisterSession() public méthode

public UnregisterSession ( long characterId ) : void
characterId long
Résultat void