AngeliA
Search Results for

    Show / Hide Table of Contents

    Class CharacterBuff

    Behavior class that handles buff logic for characters

    Properties

    BuffCount

    Total count for all buff the character is having

    Declaration
    public int BuffCount { get; }

    Methods

    ClearAllBuffs()

    Remove all buff from character

    Declaration
    public void ClearAllBuffs()

    ClearBuff(int)

    Remove the given buff from character

    Declaration
    public void ClearBuff(int id)

    ForAllBuffs()

    Iterate thought all buffs this character currently have

    Declaration
    public IEnumerable<Buff> ForAllBuffs()

    GetBuffData(int)

    Get the user data of the given buff from the character

    Declaration
    public object GetBuffData(int id)

    GetBuffDescription(int)

    Get description of the given buff from the language system

    Declaration
    public static string GetBuffDescription(int id)

    GetBuffDisplayName(int)

    Get display name of the given buff from the language system

    Declaration
    public static string GetBuffDisplayName(int id)

    GetBuffEndFrame(int)

    Get which frame does the given buff ends

    Declaration
    public int GetBuffEndFrame(int id)

    GiveBuff(int, int)

    Give the character given buff for specified frames long

    Declaration
    public void GiveBuff(int id, int duration = -1)

    HasBuff(int)

    True if the character is having the given buff

    Declaration
    public bool HasBuff(int id)

    IsBuffPrevented(int)

    True if the given buff is being prevented

    Declaration
    public bool IsBuffPrevented(int id)

    PreventBuff(int, int)

    Do not allow the character have given buff for specified frames

    Declaration
    public void PreventBuff(int id, int duration = 1)

    SetBuffData(int, object)

    Set user data of the given buff to the character

    Declaration
    public void SetBuffData(int id, object data)
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค