A new method onInitFailure() has been added to ISteamService interface.
isInitialConnectionAttempt variable holds a boolean value representing whether it is a first connection attempt.
This is later passed to onInitFailure() method invoked on interfaces.
Also implemented the method in MainViewModel.
A new method onInitFailure() has been added to ISteamService interface.
isInitialConnectionAttempt variable holds a boolean value representing whether it is a first connection attempt.
This is later passed to onInitFailure() method invoked on interfaces.
Also implemented the method in MainViewModel.
Chris Mustola (4d5425ee) at 18 Jan 18:20
DetailsView: add possibility to write changelog and choose publicity
... and 1 more commit
This message is a little bit confusing. What exactly are we extracting here? I think this should probably be changed to something more accurately describing of what is actually happening, or maybe just removed entirely.
What is the point of this?
Formatting: for (int i = 0; i < Items?.Count; i++) {
Slight formatting problem.
var id= text?.Text;
should be
var id = text?.Text;
This line should probably be removed. There isn't even any element variable that could be printed.
this piece of commented code should probably be removed or moved into a dedicated class made for testing purposes. There is probably a way to run automated tests in this language too.
This comment should probably be something like //TODO: fetch actual date instead. Then when searching for "TODO", it would be easy to find, like the other unfinished code.
As using string for referring content type was a bad idea, now we have Enum called "ItemType" and a class called "ContentType" instead of the string "Category".
ContentType is a class that provides several useful methods to work with workshop items.
GetWorkshopItem is now a single method of two different flavours. GetWorkshopItems(): Returns an alphabetically sorted list of all type of items combined. GetWorkshopItems(ContentType): Returns list of items of type specified as ContentType object in parameter.
Updated references of GetWorkshopItems and ContentType references effeciently in other places of the codebase.
Also fixed the issue which caused the program to crash when trying to update an existing item.
As using string for referring content type was a bad idea, now we have Enum called "ItemType" and a class called "ContentType" instead of the string "Category".
ContentType is a class that provides several useful methods to work with workshop items.
GetWorkshopItem is now a single method of two different flavours. GetWorkshopItems(): Returns an alphabetically sorted list of all type of items combined. GetWorkshopItems(ContentType): Returns list of items of type specified as ContentType object in parameter.
Updated references of GetWorkshopItems and ContentType references effeciently in other places of the codebase.
Also fixed the issue which caused the program to crash when trying to update an existing item.
Chris Mustola (458e0575) at 06 Jan 05:25
FileUtil: fix GetFileSize causing an exception
Added two new SetItemPublicity methods. One lets you change an item's publicity based on id, and the other one lets you pass in an Editor, makes the change and then returns you the changed Editor.
UpdateWorkshopItemList now fetches an item's dependencies too, which can then be accessed with Item.Children
Chris Mustola (a0d1d40e) at 03 Jan 21:01
SteamService: get an item's dependencies
... and 6 more commits
Chris Mustola (cf478230) at 02 Jan 19:43
README: fix download link