mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-29 22:13:22 -07:00
Core: move MultiServer.py and CommonClient.py to orjson
This commit is contained in:
5
Utils.py
5
Utils.py
@@ -46,6 +46,11 @@ class Version(typing.NamedTuple):
|
||||
def as_simple_string(self) -> str:
|
||||
return ".".join(str(item) for item in self)
|
||||
|
||||
@classmethod
|
||||
def from_network_dict(cls, source: dict):
|
||||
source.pop("class", None)
|
||||
return cls(**source)
|
||||
|
||||
|
||||
__version__ = "0.6.3"
|
||||
version_tuple = tuplize_version(__version__)
|
||||
|
||||
Reference in New Issue
Block a user