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
Fields
2 private and internal fields
| Member | What it is |
|---|
private SkillOrbHolder holder | The SkillOrbHolder this handle drives. |
private Vector3 orbOffset | Local position of the orb inside the holder. |
Properties
| Member | What 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
| Member | What 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: