Skip to content

Commit

Permalink
Switched Gametime Mechanism and fixed a few bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Oki authored and Joshua Oki committed Feb 29, 2020
1 parent c1483e5 commit 5813eba
Show file tree
Hide file tree
Showing 26 changed files with 741 additions and 272 deletions.
2 changes: 0 additions & 2 deletions .idea/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/galaxy-integration-wii.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

Binary file modified __pycache__/backend.cpython-37.pyc
Binary file not shown.
Binary file modified __pycache__/plugin.cpython-37.pyc
Binary file not shown.
Binary file modified __pycache__/user_config.cpython-37.pyc
Binary file not shown.
Binary file modified __pycache__/version.cpython-37.pyc
Binary file not shown.
Binary file modified fuzzywuzzy/__pycache__/StringMatcher.cpython-37.pyc
Binary file not shown.
Binary file modified fuzzywuzzy/__pycache__/fuzz.cpython-37.pyc
Binary file not shown.
Binary file modified fuzzywuzzy/__pycache__/process.cpython-37.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion galaxy/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__path__: str = __import__('pkgutil').extend_path(__path__, __name__)
__path__: str = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore
21 changes: 21 additions & 0 deletions galaxy/api/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class Platform(Enum):
Playfire = "playfire"
Oculus = "oculus"
Test = "test"
Rockstar = "rockstar"


class Feature(Enum):
Expand All @@ -110,6 +111,9 @@ class Feature(Enum):
ImportFriends = "ImportFriends"
ShutdownPlatformClient = "ShutdownPlatformClient"
LaunchPlatformClient = "LaunchPlatformClient"
ImportGameLibrarySettings = "ImportGameLibrarySettings"
ImportOSCompatibility = "ImportOSCompatibility"
ImportUserPresence = "ImportUserPresence"


class LicenseType(Enum):
Expand All @@ -128,3 +132,20 @@ class LocalGameState(Flag):
None_ = 0
Installed = 1
Running = 2


class OSCompatibility(Flag):
"""Possible game OS compatibility.
Use "bitwise or" to express multiple OSs compatibility, e.g. ``os=OSCompatibility.Windows|OSCompatibility.MacOS``
"""
Windows = 0b001
MacOS = 0b010
Linux = 0b100


class PresenceState(Enum):
""""Possible states of a user."""
Unknown = "unknown"
Online = "online"
Offline = "offline"
Away = "away"
Loading

0 comments on commit 5813eba

Please sign in to comment.