Skip to main content

RoguePropertyCache

Utility class that helps cache rogue properties per an instance

Functions

Store

RoguePropertyCache:Store(
adorneeInstance,
roguePropertyTableRoguePropertyTable
) → ()

Caches the implementation for a given instance

Find

RoguePropertyCache:Find(adorneeInstance) → RoguePropertyTable

Retrieves the cached item

Show raw api
{
    "functions": [
        {
            "name": "Store",
            "desc": "Caches the implementation for a given instance",
            "params": [
                {
                    "name": "adornee",
                    "desc": "",
                    "lua_type": "Instance"
                },
                {
                    "name": "roguePropertyTable",
                    "desc": "",
                    "lua_type": "RoguePropertyTable"
                }
            ],
            "returns": [],
            "function_type": "method",
            "source": {
                "line": 27,
                "path": "src/rogue-properties/src/Shared/Cache/RoguePropertyCache.lua"
            }
        },
        {
            "name": "Find",
            "desc": "Retrieves the cached item",
            "params": [
                {
                    "name": "adornee",
                    "desc": "",
                    "lua_type": "Instance"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "RoguePropertyTable"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 39,
                "path": "src/rogue-properties/src/Shared/Cache/RoguePropertyCache.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "RoguePropertyCache",
    "desc": "Utility class that helps cache rogue properties per an instance",
    "source": {
        "line": 6,
        "path": "src/rogue-properties/src/Shared/Cache/RoguePropertyCache.lua"
    }
}