C# Class Aura.Channel.Network.ChannelClient

Inheritance: Aura.Shared.Network.DefaultClient
Show file Open project: aura-project/aura Class Usage Examples

Public Methods

Method Description
ChannelClient ( ) : System.Linq
CleanUp ( ) : void

Saves characters, despawns and disposes them, etc.

GetControlledCreatureSafe ( ) : Creature

Returns controlled creature or throws security exception if it's null.

GetCreature ( long id ) : Creature

Returns creature by entity id or null.

GetCreatureSafe ( long id ) : Creature

Returns creature or throws security exception if creature couldn't be found in client.

GetSummonedPetSafe ( long id ) : Creature

Calls GetCreatureSafe(long) and then checks the pet's master for null.

Method Details

ChannelClient() public method

public ChannelClient ( ) : System.Linq
return System.Linq

CleanUp() public method

Saves characters, despawns and disposes them, etc.
public CleanUp ( ) : void
return void

GetControlledCreatureSafe() public method

Returns controlled creature or throws security exception if it's null.
public GetControlledCreatureSafe ( ) : Creature
return Aura.Channel.World.Entities.Creature

GetCreature() public method

Returns creature by entity id or null.
public GetCreature ( long id ) : Creature
id long
return Aura.Channel.World.Entities.Creature

GetCreatureSafe() public method

Returns creature or throws security exception if creature couldn't be found in client.
public GetCreatureSafe ( long id ) : Creature
id long
return Aura.Channel.World.Entities.Creature

GetSummonedPetSafe() public method

Calls GetCreatureSafe(long) and then checks the pet's master for null.
public GetSummonedPetSafe ( long id ) : Creature
id long
return Aura.Channel.World.Entities.Creature