Home » Updates » [BlushyFaceBot] Viewer inventory now contains both achievements and items
Updates

[BlushyFaceBot] Viewer inventory now contains both achievements and items

[BlushyFaceBot] Viewer inventory now contains both achievements and itemsNot much of an update but cleaned up some old code how I handled loading / saving the inventory. From now on, grabbing the user inventory contains both the achievements and items by default loaded from a database which is MySql until I’ve written a generic database handler to can grab data from any supported database (LiteDB and SqLite3).

Updated tester to get inventory items:

To get a user inventory you can call –> Database.MsSql.GetInventory(user);
or only items -> Database.MsSql.GetInventory(user,true,false); / Database.MsSql.GetInventoryItems(user);
or only achievements -> Database.MsSql.GetInventory(user,false,true); / Database.MsSql.GetInventoryAchievements(user);
or nothing (really?) -> Database.MsSql.GetInventory(user,false,false);

About the author

BlushyFace

Herrow, I'm BlushyFace and you are you. I also stream @ Twitch channel community.

Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments