mirror of
https://github.com/solero/houdini.git
synced 2024-11-14 14:48:21 +00:00
Add configuration for future multi-client support
This commit is contained in:
parent
cd34c3dbb7
commit
8b0ff4e944
@ -1,5 +1,4 @@
|
|||||||
from houdini import ConflictResolution
|
from houdini import ConflictResolution, Language, ClientType
|
||||||
from houdini import Language
|
|
||||||
|
|
||||||
database = {
|
database = {
|
||||||
'Address': 'localhost',
|
'Address': 'localhost',
|
||||||
@ -19,6 +18,13 @@ commands = {
|
|||||||
'ConflictMode': ConflictResolution.Silent
|
'ConflictMode': ConflictResolution.Silent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
client_identifier = {
|
||||||
|
'LegacyVersionChk': 'legacy',
|
||||||
|
'VanillaVersionChk': 'vanilla',
|
||||||
|
'DefaultVersionChk': 152,
|
||||||
|
'DefaultClientVersion': ClientType.Vanilla
|
||||||
|
}
|
||||||
|
|
||||||
servers = {
|
servers = {
|
||||||
'Login': {
|
'Login': {
|
||||||
'Address': '0.0.0.0',
|
'Address': '0.0.0.0',
|
||||||
|
@ -24,6 +24,11 @@ class Language(enum.IntEnum):
|
|||||||
Ru = 64
|
Ru = 64
|
||||||
|
|
||||||
|
|
||||||
|
class ClientType(enum.Enum):
|
||||||
|
Legacy = 'legacy'
|
||||||
|
Vanilla = 'vanilla'
|
||||||
|
|
||||||
|
|
||||||
class _AbstractManager(dict):
|
class _AbstractManager(dict):
|
||||||
def __init__(self, server):
|
def __init__(self, server):
|
||||||
self.server = server
|
self.server = server
|
||||||
|
Loading…
Reference in New Issue
Block a user