Shop List object class - 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
String shopList.Name();
Result: The name of the shop list.
- ShopListItemObjectList shopList.Items();
Result: A list of store items, objects of type ShopListItemObject.
void shopList.SetName('value');
Change the name of the store list to value.
- void shopList.SetItems(shopListItemObjectList);
Change the list of store items to shopListItemObjectList.