Table of Contents

Class UITKAbilities

Namespace
FishMMO.Client
Assembly
FishMMO.Client.dll

UI Toolkit abilities panel. Renders the character's abilities, known abilities, and known ability events as tabbed icon slots. Hovering shows the entry tooltip; left-clicking a known ability picks it up onto the shared drag object so it can be assigned to a hotkey.

public class UITKAbilities : UITKCharacterControl
Inheritance
Object
Component
Behaviour
MonoBehaviour
UITKAbilities
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.useGUILayout
MonoBehaviour.didStart
MonoBehaviour.didAwake
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.GetComponentIndex()
Component.CompareTag(TagHandle)
Component.transform
Component.transformHandle
Component.gameObject
Component.tag
Object.GetEntityId()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.FindObjectsByType<T>()
Object.FindObjectsByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags

Methods

AddAbility(Ability)

Adds an ability slot for a usable ability.

public void AddAbility(Ability ability)

Parameters

ability Ability

The ability to add.

AddKnownAbility(BaseAbilityTemplate)

Adds a slot for a known ability template.

public void AddKnownAbility(BaseAbilityTemplate template)

Parameters

template BaseAbilityTemplate

The ability template to add.

AddKnownAbilityEvent(AbilityEvent)

Adds a slot for a known ability event.

public void AddKnownAbilityEvent(AbilityEvent abilityEvent)

Parameters

abilityEvent AbilityEvent

The ability event to add.

ClearAllSlots()

Clears all ability, known ability, and known ability event slots.

public void ClearAllSlots()

OnDestroying()

Unsubscribes from events and clears all slots when the control is destroyed.

public override void OnDestroying()

OnPostSetCharacter()

Subscribes to ability controller events after the character is set.

public override void OnPostSetCharacter()

OnPreSetCharacter()

Drops the outgoing character's subscriptions before a new character is applied.

public override void OnPreSetCharacter()

Remarks

UITKCharacterControl.OnAfterStarting calls Pre then Post on every tree rebuild so the two cancel out. With Pre un-overridden the cancelling half did nothing and each rebuild stacked another copy of all four handlers.

OnPreUnsetCharacter()

Unsubscribes from ability controller events and clears slots before the character is unset.

public override void OnPreUnsetCharacter()

OnQuitToLogin()

Clears all slots when quitting to login.

public override void OnQuitToLogin()

OnStarting()

Queries tab buttons and containers, wires up tab switching, and subscribes to lifecycle events.

public override void OnStarting()

RemoveAbility(long)

Removes the slot for an ability the character no longer knows.

public void RemoveAbility(long referenceID)

Parameters

referenceID long

The removed ability's reference ID.

SwitchTab(AbilityTabType)

Switches the visible ability tab.

public void SwitchTab(AbilityTabType tab)

Parameters

tab AbilityTabType

The tab to display.