RareGame: Add is_ubisoft
property
This commit is contained in:
parent
ec5bf7227b
commit
b7d499f3e1
1 changed files with 6 additions and 0 deletions
|
@ -420,6 +420,12 @@ class RareGame(RareGameSlim):
|
|||
self.game.metadata.get("customAttributes", {}).get("ThirdPartyManagedApp", {}).get("value") == "Origin"
|
||||
)
|
||||
|
||||
@property
|
||||
def is_ubisoft(self) -> bool:
|
||||
return (
|
||||
self.game.metadata.get("customAttributes", {}).get("partnerLinkType", {}).get("value") == "ubisoft"
|
||||
)
|
||||
|
||||
@property
|
||||
def folder_name(self) -> str:
|
||||
return self.game.metadata.get("customAttributes", {}).get("FolderName", {}).get("value")
|
||||
|
|
Loading…
Reference in a new issue