C# 클래스 Aura.Channel.Database.Account

파일 보기 프로젝트 열기: aura-project/aura

공개 메소드들

메소드 설명
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