C# Класс Aura.Channel.Database.Account

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Account() публичный Метод

Creates new account instance.
public Account ( ) : System
Результат System

GetCharacterOrPet() публичный Метод

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
Результат Aura.Channel.World.Entities.PlayerCreature

GetCharacterOrPetSafe() публичный Метод

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
Результат Aura.Channel.World.Entities.PlayerCreature

GetPet() публичный Метод

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
Результат Aura.Channel.World.Entities.Pet

GetPetSafe() публичный Метод

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
Результат Aura.Channel.World.Entities.Pet