프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Categories | SortedSet |
||
GameList | GameList | ||
Hidden | bool | ||
Id | int | ||
LastPlayed | DateTime | ||
Name | string | ||
Source | GameListingSource |
메소드 | 설명 | |
---|---|---|
AddCategory ( |
Adds a single category to this game. Does nothing if the category is already attached.
|
|
AddCategory ( ICollection |
Adds a list of categories to this game. Skips categories that are already attached.
|
|
ApplySource ( GameListingSource src ) : void | ||
ClearCategories ( bool alsoClearFavorite = false ) : void |
Removes all categories from this game. If true, removes the favorite category as well.
|
|
ContainsCategory ( Category c ) : bool |
Check whether the game includes the given category
|
|
GameInfo ( int id, string name, GameList list, string executable = null ) : System |
Construct a new GameInfo with no categories set.
|
|
GetCatString ( string ifEmpty = "", bool includeFavorite = false ) : string |
Gets a string listing the game's assigned categories.
|
|
HasCategories ( bool includeFavorite = false ) : bool |
Check to see if the game has any categories at all (except the Favorite category)
|
|
HasCategoriesExcept ( ICollection |
Check to see if the game has any categories set that do not exist in the given list
|
|
IncludeGame ( Filter f ) : bool | ||
IsFavorite ( ) : bool | ||
RemoveCategory ( Category remCat ) : void |
Removes a single category from this game. Does nothing if the category is not attached to this game.
|
|
RemoveCategory ( ICollection |
Removes a list of categories from this game. Skips categories that are not attached to this game.
|
|
SetCategories ( ICollection |
Sets the categories for this game to exactly match the given list. Missing categories will be added and extra ones will be removed.
|
|
SetFavorite ( bool fav ) : void | ||
SetHidden ( bool hide ) : void |
Add or remove the hidden attribute for this game.
|
public AddCategory ( |
||
newCat | Category to add | |
리턴 | void |
public AddCategory ( ICollection |
||
newCats | ICollection |
A list of categories to add |
리턴 | void |
public ApplySource ( GameListingSource src ) : void | ||
src | GameListingSource | |
리턴 | void |
public ClearCategories ( bool alsoClearFavorite = false ) : void | ||
alsoClearFavorite | bool | |
리턴 | void |
public ContainsCategory ( Category c ) : bool | ||
c | Category | Category to look for |
리턴 | bool |
public GameInfo ( int id, string name, GameList list, string executable = null ) : System | ||
id | int | ID of the new game. Positive means it's the game's Steam ID, negative means it's a non-steam game. |
name | string | Game title |
list | GameList | |
executable | string | |
리턴 | System |
public GetCatString ( string ifEmpty = "", bool includeFavorite = false ) : string | ||
ifEmpty | string | Value to return if there are no categories |
includeFavorite | bool | If true, include the favorite category. |
리턴 | string |
public HasCategories ( bool includeFavorite = false ) : bool | ||
includeFavorite | bool | If true, will only return true if the game is not in the favorite category. If false, the favorite category is ignored. |
리턴 | bool |
public HasCategoriesExcept ( ICollection |
||
except | ICollection |
List of games to exclude from the check |
리턴 | bool |
public RemoveCategory ( Category remCat ) : void | ||
remCat | Category | Category to remove |
리턴 | void |
public RemoveCategory ( ICollection |
||
remCats | ICollection |
Categories to remove |
리턴 | void |
public SetCategories ( ICollection |
||
cats | ICollection |
Set of categories to apply to this game |
preserveFavorite | bool | |
리턴 | void |
public SetHidden ( bool hide ) : void | ||
hide | bool | Whether the game should be hidden |
리턴 | void |