mirror of
https://github.com/solero/houdini.git
synced 2024-11-25 23:17:24 +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 Language
|
||||
from houdini import ConflictResolution, Language, ClientType
|
||||
|
||||
database = {
|
||||
'Address': 'localhost',
|
||||
@ -19,6 +18,13 @@ commands = {
|
||||
'ConflictMode': ConflictResolution.Silent
|
||||
}
|
||||
|
||||
client_identifier = {
|
||||
'LegacyVersionChk': 'legacy',
|
||||
'VanillaVersionChk': 'vanilla',
|
||||
'DefaultVersionChk': 152,
|
||||
'DefaultClientVersion': ClientType.Vanilla
|
||||
}
|
||||
|
||||
servers = {
|
||||
'Login': {
|
||||
'Address': '0.0.0.0',
|
||||
|
@ -24,6 +24,11 @@ class Language(enum.IntEnum):
|
||||
Ru = 64
|
||||
|
||||
|
||||
class ClientType(enum.Enum):
|
||||
Legacy = 'legacy'
|
||||
Vanilla = 'vanilla'
|
||||
|
||||
|
||||
class _AbstractManager(dict):
|
||||
def __init__(self, server):
|
||||
self.server = server
|
||||
|
Loading…
Reference in New Issue
Block a user