mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2025-08-17 16:25:36 +00:00
Move to ConfigProvider
This commit is contained in:
parent
6cb97679cb
commit
57c918b305
9
src/modules/ConfigProvider/config_provider_builtins.pyi
Normal file
9
src/modules/ConfigProvider/config_provider_builtins.pyi
Normal file
@ -0,0 +1,9 @@
|
||||
class Config:
|
||||
Auth: dict
|
||||
Game: dict
|
||||
Server: dict
|
||||
|
||||
def __repr__(self):
|
||||
return "%s(Auth=%r, Game=%r, Server=%r)" % (self.__class__.__name__, self.Auth, self.Game, self.Server)
|
||||
|
||||
class config (Config): ...
|
@ -1,11 +0,0 @@
|
||||
class Config:
|
||||
@staticmethod
|
||||
def __init__(self, auth=None, game=None, server=None):
|
||||
self.Auth = auth
|
||||
self.Game = game
|
||||
self.Server = server
|
||||
|
||||
def __repr__(self):
|
||||
return "%s(Auth=%r, Game=%r, Server=%r)" % (self.__class__.__name__, self.Auth, self.Game, self.Server)
|
||||
|
||||
class config (Config): ...
|
Loading…
x
Reference in New Issue
Block a user