uspgamedev / luasteam

Bindings to connect lua with Steam API
https://luasteam.readthedocs.io/en/stable/
MIT License
116 stars 19 forks source link

Add current language from ISteamApps #18

Closed GeorgeA93 closed 3 years ago

GeorgeA93 commented 3 years ago

Adds the GetCurrentGameLanguage from the ISteamApps interface. This will return a string of the users current language as per the steam docs. Super useful for localisation purposes!

I have tested this locally on linux64 using the example code in the docs.

GeorgeA93 commented 3 years ago

@yancouto when you have some time i'd love a review

GeorgeA93 commented 3 years ago

@yancouto Done

yancouto commented 3 years ago

The latest changes broke the build. Take a look at Travis here. Can you fix it?

No hurry, just need to fix this before we do another release.

GeorgeA93 commented 3 years ago

@yancouto sure, think I missed an import...!