2020-10-13 01:26:16 +00:00
|
|
|
scriptname BRMerchandiseList
|
|
|
|
|
|
|
|
; TODO: a save function that saves the merch to the server, load should load from server
|
2020-10-25 07:21:08 +00:00
|
|
|
bool function Toggle(string apiUrl, string apiKey, int shop_id, ObjectReference merchantShelf, Form activatorStatic, Keyword shelfKeyword, Keyword chestKeyword, Keyword itemKeyword, Keyword activatorKeyword, Keyword toggleKeyword, Keyword nextKeyword, Keyword prevKeyword) global native
|
|
|
|
bool function NextPage(string apiUrl, string apiKey, int shop_id, ObjectReference merchantShelf, Form activatorStatic, Keyword shelfKeyword, Keyword chestKeyword, Keyword itemKeyword, Keyword activatorKeyword, Keyword toggleKeyword, Keyword nextKeyword, Keyword prevKeyword) global native
|
|
|
|
bool function PrevPage(string apiUrl, string apiKey, int shop_id, ObjectReference merchantShelf, Form activatorStatic, Keyword shelfKeyword, Keyword chestKeyword, Keyword itemKeyword, Keyword activatorKeyword, Keyword toggleKeyword, Keyword nextKeyword, Keyword prevKeyword) global native
|
2020-11-02 06:39:45 +00:00
|
|
|
bool function Load(string apiUrl, string apiKey, int shop_id, ObjectReference merchantShelf, Form activatorStatic, Keyword shelfKeyword, Keyword chestKeyword, Keyword itemKeyword, Keyword activatorKeyword, Keyword toggleKeyword, Keyword nextKeyword, Keyword prevKeyword) global native
|
|
|
|
bool function Refresh(string apiUrl, string apiKey, int shop_id, ObjectReference merchantShelf, Form activatorStatic, Keyword shelfKeyword, Keyword chestKeyword, Keyword itemKeyword, Keyword activatorKeyword, Keyword toggleKeyword, Keyword nextKeyword, Keyword prevKeyword) global native
|
2020-10-13 01:26:16 +00:00
|
|
|
|
2020-10-25 07:21:08 +00:00
|
|
|
bool function Replace3D(ObjectReference merchantShelf, Form activatorStatic, Keyword shelfKeyword, Keyword itemKeyword) global native
|
2020-10-13 01:26:16 +00:00
|
|
|
|
2020-11-02 06:39:45 +00:00
|
|
|
bool function Create(string apiUrl, string apiKey, int shopId, ObjectReference merchantChest) global native
|
2020-10-13 01:26:16 +00:00
|
|
|
|
2020-11-02 06:39:45 +00:00
|
|
|
int function GetQuantity(ObjectReference activator) global native
|
|
|
|
int function GetPrice(ObjectReference activator) global native
|