AngeliA
Search Results for

    Show / Hide Table of Contents

    Class BuffItem

    Item that gives the holder a buff

    Implements
    IMapItem

    Properties

    AllowDuplicateUpdate

    True if same type of item can update multiple times during same frame for same holder

    Declaration
    public override bool AllowDuplicateUpdate { get; }
    Overrides
    Item.AllowDuplicateUpdate

    BuffID

    Type of the buff

    Declaration
    public int BuffID { get; init; }

    MaxStackCount

    Count limitation for multiple items inside one inventory slot

    Declaration
    public override int MaxStackCount { get; }
    Overrides
    Item.MaxStackCount

    Methods

    OnItemUpdate_FromInventory(Character, int, int)

    This function is called every frame when this item is in an holder's inventory

    Declaration
    public override void OnItemUpdate_FromInventory(Character holder, int inventoryID, int itemIndex)
    Parameters
    Type Name Description
    Character holder

    The holder of the inventory

    int inventoryID

    ID of the inventory

    Overrides
    Item.OnItemUpdate_FromInventory(Character, int, int)
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค