C# Class OpenNos.GameObject.BroadcastableBase

Exibir arquivo Open project: OpenNos/OpenNos

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

Broadcast() public method

public Broadcast ( BroadcastPacket packet ) : void
packet BroadcastPacket
return void

Broadcast() public method

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
return void

Broadcast() public method

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
return void

Broadcast() public method

public Broadcast ( IEnumerable packets ) : void
packets IEnumerable
return void

Broadcast() public method

public Broadcast ( PacketDefinition packet ) : void
packet PacketDefinition
return void

Broadcast() public method

public Broadcast ( PacketDefinition packet, int xRangeCoordinate, int yRangeCoordinate ) : void
packet PacketDefinition
xRangeCoordinate int
yRangeCoordinate int
return void

Broadcast() public method

public Broadcast ( string packet ) : void
packet string
return void

Broadcast() public method

public Broadcast ( string packet, int xRangeCoordinate, int yRangeCoordinate ) : void
packet string
xRangeCoordinate int
yRangeCoordinate int
return void

BroadcastableBase() public method

public BroadcastableBase ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetSessionByCharacterId() public method

public GetSessionByCharacterId ( long characterId ) : ClientSession
characterId long
return ClientSession

RegisterSession() public method

public RegisterSession ( ClientSession session ) : void
session ClientSession
return void

SpreadBroadcastpacket() public method

public SpreadBroadcastpacket ( BroadcastPacket sentPacket ) : void
sentPacket BroadcastPacket
return void

SpreadBroadcasts() public method

public SpreadBroadcasts ( IEnumerable sentpackets ) : void
sentpackets IEnumerable
return void

UnregisterSession() public method

public UnregisterSession ( long characterId ) : void
characterId long
return void