Hierarchy

Properties

_eventListeners: {
    event: string;
    listener: Function;
}[] = []

Type declaration

  • event: string
  • listener: Function
runtimeProviders: RuntimeProviders

Methods

  • Returns void

  • Returns UniMover

  • Returns IVector3

  • Returns the current healthpoints of the mover.

    Returns number

  • Parameters

    • is2D: boolean = false

    Returns number

  • Parameters

    Returns number

  • Parameters

    • slot: PLAYER_EQUIP_SLOT

    Returns number

  • Returns number

  • Returns IPlayer

  • Returns number

  • Returns the current maximum healthpoints of the mover.

    Returns number

  • Parameters

    • questID: number

    Returns {
        questID: number;
        requirement1: number;
        requirement2: number;
        requirement3: number;
    }

    • questID: number
    • requirement1: number
    • requirement2: number
    • requirement3: number
  • Returns the rank of the mover. NOTE: Fallback to "normal" for any non masquerpets.

    Returns MonsterRank

  • Returns the remaining time in milliseconds that this buff will be active for, returns 0 for non active buffs.

    Parameters

    • buffSkillName: string

      Name of the buff you want the remaining active time for.

    Returns number

  • Returns the remaining time in milliseconds that the skill has cooldown for, returns 0 for no cooldown.

    Parameters

    • skillName: string

      Name of the skill you want the remaining cooldown time for.

    Returns number

  • Returns UniMover

  • Returns number

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Returns true if this UniMover represents a player.

    Returns boolean

  • Returns boolean

  • Returns boolean

  • Retruns true if the UniMover represents an NPC.

    Returns boolean

  • Returns boolean

  • Returns boolean

  • Parameters

    • questID: number

    Returns boolean

  • Parameters

    • questID: number

    Returns boolean

  • Returns true if the UniMover is currently sitting on ground.

    Returns boolean

  • Type Parameters

    • J extends OptionalMergeKeys<{
          EXP-changed: ((newValue) => void);
          FP-changed: ((newValue) => void);
          HP-changed: ((newValue) => void);
          MP-changed: ((newValue) => void);
          actionState-changed: ((newValue) => void);
          animationState-changed: ((newValue) => void);
          attacking-changed: ((newValue) => void);
          baseStats-changed: ((newValue) => void);
          bonusStats-changed: undefined;
          buffs-changed: ((newValue) => void);
          centroid-changed: ((newValue) => void);
          collisionData-changed: ((newValue) => void);
          distanceToCamera-changed: ((newValue) => void);
          entityBase-changed: ((newValue) => void);
          equips-changed: ((newValue) => void);
          expLockMobCount-changed: ((newValue) => void);
          flySpeed-changed: ((newValue) => void);
          flyingState-changed: ((newValue) => void);
          following-changed: ((newValue) => void);
          gamePropID-changed: ((newValue) => void);
          inventory-changed: ((newValue) => void);
          isAutoRunning-changed: ((newValue) => void);
          isCSPetSpawned-changed: ((newValue) => void);
          isDead-changed: ((newValue) => void);
          isExpLockEnabled-changed: ((newValue) => void);
          isInSameParty-changed: ((newValue) => void);
          isRedMob-changed: ((newValue) => void);
          isRotatingCCW-changed: ((newValue) => void);
          isRotatingCW-changed: ((newValue) => void);
          isTeleportingOrMounting-changed: ((newValue) => void);
          jobID-changed: ((newValue) => void);
          jobName-changed: ((newValue) => void);
          lastUsedPotionTimestamps-changed: ((newValue) => void);
          lockedInventorySlots-changed: ((newValue) => void);
          maxFP-changed: ((newValue) => void);
          maxHP-changed: ((newValue) => void);
          maxInventorySlots-changed: ((newValue) => void);
          maxMP-changed: ((newValue) => void);
          movingTowards-changed: ((newValue) => void);
          name-changed: ((newValue) => void);
          objectType-changed: ((newValue) => void);
          penya-changed: ((newValue) => void);
          premiumItems-changed: ((newValue) => void);
          premiumItems2-changed: ((newValue) => void);
          quests-changed: ((newValue) => void);
          remainingStatPoints-changed: ((newValue) => void);
          rotation-changed: ((newValue) => void);
          screenPos-changed: ((newValue) => void);
          skillCooldowns-changed: ((newValue) => void);
          targetID-changed: ((newValue) => void);
          targeting-changed: ((newValue) => void);
          worldBbox-changed: ((newValue) => void);
          worldName-changed: ((newValue) => void);
          worldPos-changed: ((newValue) => void);
      }, StaticChangeEventType>

    Parameters

    • event: J
    • listener: {
          EXP-changed: ((newValue) => void);
          FP-changed: ((newValue) => void);
          HP-changed: ((newValue) => void);
          MP-changed: ((newValue) => void);
          actionState-changed: ((newValue) => void);
          animationState-changed: ((newValue) => void);
          attacking-changed: ((newValue) => void);
          baseStats-changed: ((newValue) => void);
          bonusStats-changed: undefined;
          buffs-changed: ((newValue) => void);
          centroid-changed: ((newValue) => void);
          collisionData-changed: ((newValue) => void);
          despawned: (() => void);
          distanceToCamera-changed: ((newValue) => void);
          entityBase-changed: ((newValue) => void);
          equips-changed: ((newValue) => void);
          expLockMobCount-changed: ((newValue) => void);
          flySpeed-changed: ((newValue) => void);
          flyingState-changed: ((newValue) => void);
          following-changed: ((newValue) => void);
          gamePropID-changed: ((newValue) => void);
          inventory-changed: ((newValue) => void);
          isAutoRunning-changed: ((newValue) => void);
          isCSPetSpawned-changed: ((newValue) => void);
          isDead-changed: ((newValue) => void);
          isExpLockEnabled-changed: ((newValue) => void);
          isInSameParty-changed: ((newValue) => void);
          isRedMob-changed: ((newValue) => void);
          isRotatingCCW-changed: ((newValue) => void);
          isRotatingCW-changed: ((newValue) => void);
          isTeleportingOrMounting-changed: ((newValue) => void);
          jobID-changed: ((newValue) => void);
          jobName-changed: ((newValue) => void);
          lastUsedPotionTimestamps-changed: ((newValue) => void);
          lockedInventorySlots-changed: ((newValue) => void);
          maxFP-changed: ((newValue) => void);
          maxHP-changed: ((newValue) => void);
          maxInventorySlots-changed: ((newValue) => void);
          maxMP-changed: ((newValue) => void);
          movingTowards-changed: ((newValue) => void);
          name-changed: ((newValue) => void);
          objectType-changed: ((newValue) => void);
          penya-changed: ((newValue) => void);
          premiumItems-changed: ((newValue) => void);
          premiumItems2-changed: ((newValue) => void);
          quests-changed: ((newValue) => void);
          remainingStatPoints-changed: ((newValue) => void);
          rotation-changed: ((newValue) => void);
          screenPos-changed: ((newValue) => void);
          skillCooldowns-changed: ((newValue) => void);
          targetID-changed: ((newValue) => void);
          targeting-changed: ((newValue) => void);
          worldBbox-changed: ((newValue) => void);
          worldName-changed: ((newValue) => void);
          worldPos-changed: ((newValue) => void);
      }[J]

    Returns void

  • Parameters

    Returns void

  • Parameters

    • event: string
    • Rest ...args: any[]

    Returns void

  • Parameters

    Returns void

  • Accesss internal properties of the underlying IFlyffEntity object.

    Type Parameters

    Parameters

    • propertyName: string & {} | J

    Returns IPlayer[J]

    The value of the property on the internal IFlyffEntity object. Returns undefined if the property does not exist.

Generated using TypeDoc