Ignore list item object - 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
- Create new ignore list item object - new IgnoreListItem('graphic', [color='0xFFFF'], [serial=''], [comment=''])
Create a new object for the search with the specified parameters
Result: A new object of type IgnoreListItemObject.
String ignoreItem.Graphic();
Result: Image ID to ignore when searching.
String ignoreItem.Color();
Result: Color to ignore when searching.
String ignoreItem.Serial();
Result: The serial of the item to ignore when searching.
String ignoreItem.Comment();
Result: Comment on the object.
- void ignoreItem.SetGraphic('value');
Change the image ID to ignore when searching for value.
If '0xFFFF' or 'any' is specified, this field is ignored.
- void ignoreItem.SetColor('value');
Change the color to ignore when searching for value.
If '0xFFFF' or 'any' is specified, this field is ignored.
- void ignoreItem.SetSerial('value');
Change the item serial to ignore when searching for value.
If an empty field or '0' is specified, this field is ignored.
void ignoreItem.SetComment('value');
Change item comment to value.