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

  • Returns number

  • Returns number

  • Returns the current maximum healthpoints of the mover.

    Returns 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 UniMover

  • Returns number

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Returns true if this UniMover represents a player.

    Returns boolean

  • Returns boolean

  • Retruns true if the UniMover represents an NPC.

    Returns boolean

  • Returns boolean

  • Returns boolean

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

    Returns boolean

  • Type Parameters

    • J extends OptionalMergeKeys<{
          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);
          buffs-changed: ((newValue) => void);
          centroid-changed: ((newValue) => void);
          collisionData-changed: ((newValue) => void);
          distanceToCamera-changed: ((newValue) => void);
          entityBase-changed: ((newValue) => void);
          flyingState-changed: ((newValue) => void);
          following-changed: ((newValue) => void);
          gamePropID-changed: ((newValue) => void);
          isDead-changed: ((newValue) => void);
          isInSameParty-changed: ((newValue) => void);
          isRedMob-changed: ((newValue) => void);
          jobID-changed: ((newValue) => void);
          jobName-changed: ((newValue) => void);
          maxFP-changed: ((newValue) => void);
          maxHP-changed: ((newValue) => void);
          maxMP-changed: ((newValue) => void);
          movingTowards-changed: ((newValue) => void);
          name-changed: ((newValue) => void);
          objectType-changed: ((newValue) => void);
          premiumItems-changed: ((newValue) => void);
          premiumItems2-changed: ((newValue) => void);
          rotation-changed: ((newValue) => void);
          screenPos-changed: ((newValue) => void);
          targetID-changed: ((newValue) => void);
          targeting-changed: ((newValue) => void);
          worldBbox-changed: ((newValue) => void);
          worldPos-changed: ((newValue) => void);
      }, StaticChangeEventType>

    Parameters

    • event: J
    • listener: {
          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);
          buffs-changed: ((newValue) => void);
          centroid-changed: ((newValue) => void);
          collisionData-changed: ((newValue) => void);
          despawned: (() => void);
          distanceToCamera-changed: ((newValue) => void);
          entityBase-changed: ((newValue) => void);
          flyingState-changed: ((newValue) => void);
          following-changed: ((newValue) => void);
          gamePropID-changed: ((newValue) => void);
          isDead-changed: ((newValue) => void);
          isInSameParty-changed: ((newValue) => void);
          isRedMob-changed: ((newValue) => void);
          jobID-changed: ((newValue) => void);
          jobName-changed: ((newValue) => void);
          maxFP-changed: ((newValue) => void);
          maxHP-changed: ((newValue) => void);
          maxMP-changed: ((newValue) => void);
          movingTowards-changed: ((newValue) => void);
          name-changed: ((newValue) => void);
          objectType-changed: ((newValue) => void);
          premiumItems-changed: ((newValue) => void);
          premiumItems2-changed: ((newValue) => void);
          rotation-changed: ((newValue) => void);
          screenPos-changed: ((newValue) => void);
          targetID-changed: ((newValue) => void);
          targeting-changed: ((newValue) => void);
          worldBbox-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 IFlyffHuman[J]

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

Generated using TypeDoc