Skip to main content

BoughtSkillVisualizer.OrbHolderHandle

A private class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

One skill orb holder on the skill display, with the bought-skill orb placed in it (if any).

Constructors​

MemberWhat it is
OrbHolderHandle(SkillOrbHolder holder, Vector3 orbOffset)Creates a BoughtSkillVisualizer.OrbHolderHandle from holder and orbOffset.

Fields​

2 private and internal fields
MemberWhat it is
private SkillOrbHolder holderThe SkillOrbHolder this handle drives.
private Vector3 orbOffsetLocal position of the orb inside the holder.

Properties​

MemberWhat it is
BoughtSkillOrbReplacer Orb { get; private set; }The orb in this holder, or null.
uint SlotHash { get; private set; }Hash of the orb's skill slot, or 0 when empty.

Methods​

MemberWhat it is
void AssignOrb(BoughtSkillOrbReplacer orb)Parents the orb to the holder at orbOffset and opens the holder, or closes it if the orb is locked by dependencies.
void ClearOrb(bool isOpen, bool isInstant = false)Opens or closes the holder, then removes the orb. The server destroys the orb entity.
void DestroyHolder()Destroys the holder's game object.
void UpdateLocked(bool isOpen)Closes the holder if its orb is locked by dependencies, otherwise opens or closes it as asked.

Used in​

Members of other types that take, return or hold a OrbHolderHandle: