C# Class Aura.Channel.Database.Account

Afficher le fichier Open project: aura-project/aura

Méthodes publiques

Méthode Description
Account ( ) : System

Creates new account instance.

GetCharacterOrPet ( long entityId ) : Aura.Channel.World.Entities.PlayerCreature

Returns character or pet with the given entity id, or null, if entity wasn't found.

GetCharacterOrPetSafe ( long entityId ) : Aura.Channel.World.Entities.PlayerCreature

Returns character or pet with the given entity id, or throws, if entity wasn't found.

GetPet ( long entityId ) : Aura.Channel.World.Entities.Pet

Returns pet with the given entity id, or null, if entity wasn't found.

GetPetSafe ( long entityId ) : Aura.Channel.World.Entities.Pet

Returns pet with the given entity id, or throws, if entity wasn't found.

Method Details

Account() public méthode

Creates new account instance.
public Account ( ) : System
Résultat System

GetCharacterOrPet() public méthode

Returns character or pet with the given entity id, or null, if entity wasn't found.
public GetCharacterOrPet ( long entityId ) : Aura.Channel.World.Entities.PlayerCreature
entityId long
Résultat Aura.Channel.World.Entities.PlayerCreature

GetCharacterOrPetSafe() public méthode

Returns character or pet with the given entity id, or throws, if entity wasn't found.
When entity doesn't exist on account.
public GetCharacterOrPetSafe ( long entityId ) : Aura.Channel.World.Entities.PlayerCreature
entityId long
Résultat Aura.Channel.World.Entities.PlayerCreature

GetPet() public méthode

Returns pet with the given entity id, or null, if entity wasn't found.
public GetPet ( long entityId ) : Aura.Channel.World.Entities.Pet
entityId long
Résultat Aura.Channel.World.Entities.Pet

GetPetSafe() public méthode

Returns pet with the given entity id, or throws, if entity wasn't found.
When entity doesn't exist on account.
public GetPetSafe ( long entityId ) : Aura.Channel.World.Entities.Pet
entityId long
Résultat Aura.Channel.World.Entities.Pet