Skip to content

ObjectManager » Models » IGameObject

Namespace: Mayo.Manager.Objects
Namespace: Mayo.Manager.Objects.Interface
Dependencies: IGameObjectIBase


UInt128 CreatorGUID

Returns the GUID of the creator.
Returns 0 if created by the server.

Constants.GameObjectSubType SubType
bool IsCollectable
bool IsHerb
bool IsCollectableHerb

Returns true if it can be collected.
The skill is taken into account.

bool IsCollectableOre

Returns true if it can be collected.
The skill is taken into account.

bool IsOre
bool IsChest

All chests.

bool IsCommonChest

Applies to all chests that can contain wearable items.

bool IsContainer

Lootable objects which are not profession related.

bool IsFishingPool
bool IsFishingNode

Bobber.
No further information available.

bool IsTransport

Ships, airships, vehicles, elevators.

bool IsZeppelinOrShip
bool IsElevator
bool IsTram
Vector3 Position
Vector2 PositionV2
Vector2 PositionW2S
string Name
int DisplayID
bool HasBite

Returns true if a fish has taken the bait.
Requirement: The GameObject must be a lure.

bool IsUnused

Returns true if the object has not yet been used.

bool IsUsed

Returns true if the object has been used.

bool IsDoorOpen
bool IsLocked
bool IsDamaged
bool IsDestroyed
bool IsLootableCommonChest

Returns true if the object is not locked or lockpicking is possible with sufficient skill.

double Distance3D

Returns the distance in yards, taking into account the height between the character and this unit.
Always preferred.

double Distance2D

Returns the direct distance between this object and the character.
Distance3D should be the preferred choice.

bool IsInFront
double HeightDifference

+ = Above
- = Below

double AbsHeightDifference
int RequiredFishingSkill

Returns the required fishing skill if this object is a fishing pool.

int RequiredHerbalismSkill

Returns the required herbalism skill if this object is a herb.

int RequiredMiningSkill

Returns the required mining skill if this object is a ore.

bool IsInteractedByAnotherPlayer

Returns true if another player is interacting with this object.

double ApproachTimeInSec

Returns the approximate number of seconds it takes for your character to reach this object.