Gump hook object class Orion Assistant - Hotride/OrionUO GitHub Wiki
Command format:
ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);
-
ReturnType - the return value of the function (void - the function returns nothing);
-
NameSpace - the scope of the function;
-
name - the name of the function;
-
requiredParameters - required parameters;
-
optionalParameters - optional parameters, the default value is indicated after the = sign
int hook.Index();
Returns button index to select by this hook.
void hook.AddEntry(index, 'text');
Adds a TextEntry hook by index and inputs text string.
index - index of text entry.
text - text entry input string.
void hook.AddCheck(index, state);
Adds a hook for radio/checkbox and sets the state.
index - button index.
state - input state ( true/false).