From b43d8247b79776c8c40d3d9636a66be2e693bdd2 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 22 Jul 2024 18:24:10 +0000 Subject: [PATCH] ci: update documentation --- README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aca81b6..d559d16 100644 --- a/README.md +++ b/README.md @@ -233,6 +233,12 @@ Returns the aura by `spellID` on the [`unit`](https://warcraft.wiki.gg/wiki/Unit *** +### namespace:CreateColor(r, g, b[, a]) + +Wrapper for CreateColor that can handle >1-255 range as well. + +*** + ### namespace:CreateFrame(_..._) A wrapper for [`CreateFrame`](https://warcraft.wiki.gg/wiki/API_CreateFrame), mixed in with `namespace.eventMixin`. @@ -319,14 +325,15 @@ Similar to `namespace:Dump(object)`; a wrapper for the graphical version. ### namespace:Defer(_callback_[, _..._]) Defers a function `callback` (with optional arguments) until after combat ends. -Immediately triggers if player is not in combat. +Callback can be the global name of a function. +Triggers immediately if player is not in combat. *** -### namespace:Defer(_object_, _method_[, _..._]) +### namespace:DeferMethod(_object_, _method_[, _..._]) -Defers a method `method` on `object` (with optional arguments) until after combat ends. -Immediately triggers if player is not in combat. +Defers a `method` on `object` (with optional arguments) until after combat ends. +Triggers immediately if player is not in combat. ***