e673ac4642
Save and load shelves from server interior_ref_lists
...
During CreateInteriorRefList, save shelf positions in a separate vector and ignore their buttons. In Load, recreate the shelves and their buttons from the shelf vec.
Also start storing FormIDs in a header file so I don't have to keep passing Keywords into all the functions from Papyrus.
2020-11-21 01:36:14 -05:00
0f1b017158
Calculate price from value, use ints for ids
2020-11-18 23:26:45 -05:00
a0eea948fe
Add CreateTransaction function
...
Also made some changes to the MerchandiseList functions to support the new buy item flow.
2020-11-02 10:36:17 -05:00
5c03dace17
Finally got relative positioning of merch working
2020-10-25 20:25:58 -04:00
cf8e0d099d
Update interior_ref_list and merchandise_list by shop id
...
Also, rename placeholder to activator. Get merchandise by shop id. Start adjusting merch positions based on shelf angle.
2020-10-25 03:19:36 -04:00
6512534219
Rename external get_interior_ref_list_by_shop_id call
2020-10-24 03:03:43 -04:00
7602efbc77
Add LoadInteriorRefListByShopId function
2020-10-20 01:20:13 -04:00
e4611ea20d
Add ListShops function
2020-10-19 01:11:57 -04:00
055905bffc
Refactor API calls to use FFIResult
...
Also create a `successReg` and `failReg` for every async function. Report error string to `failReg`.
2020-10-18 20:53:41 -04:00
c42b29af5d
Add update shop & owner, get shop, better error handling
2020-10-18 02:34:34 -04:00
083c6a7f6e
Update BRClient.Init to receive bool result
2020-10-17 19:22:57 -04:00
00e99bba2e
Clean up dead commented code
2020-10-17 17:32:38 -04:00
404f2d9ae5
Fix crash in LoadMerch by clearing/placing refs in main thread
2020-10-16 20:19:48 -04:00
b3dd9e240d
Make LoadInteriorRefList async without crash using SKSE Task interface
2020-10-16 17:43:02 -04:00
5afc919f03
Make functions with external calls async
...
Except for LoadInteriorRefList which seems to be causing a crash if I make it async.
2020-10-15 23:41:39 -04:00
7fb30a892d
Use RegistrationMap to make LoadMerch async
2020-10-13 22:33:34 -04:00
2dc15a1884
Update related projects in README
2020-10-12 21:40:05 -04:00
7fa7d15e20
Add related projects to README
2020-10-12 21:16:59 -04:00
36abd362cd
Initial commit. Integrates with client, saves refs and merch.
2020-10-12 19:50:20 -04:00