This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
73 lines (66 loc) · 1.81 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
"""
IronicMTA
~~~~~~~~~~
An MTA:SA Server Written in python.
:license: MIT, see LICENSE for more details.
"""
__title__ = "IronicMTA"
__author__ = "IronicMTA Developers & Hyper"
__license__ = "MIT"
__copyright__ = "Copyright 2022-2023 Hyper & 2021-present IronicMTA Developers"
__version__ = "0.1 Alpha"
from .interiors import InteriorIDs
from .object_manager import *
from .player_manager import Player
from .logger import Logger
from .server import Server
from .common import (
HttpDownloadTypes,
PacketTypes,
AseVersion,
BuildType,
QueryTypes,
PlayerDisconnectedTypes,
LOCAL_SERVER_LIST_ASE_PORT,
MASTER_SERVER_LIST_URL,
PORT_TESTER_URL,
)
from .vectors import Vector2, Vector3
from .errors import (
MaxMapNameLength,
MaxGameTypeLength,
MySQLUnkownError,
MySQLConnectionDetected,
SQLQueryUnkownConditionType,
MySQLNoConnection,
SQLite3NullPath,
SQLite3ConnectionDetected,
SQLite3NoConnection,
SQLite3UnkownError,
SettingsLoadingError,
SettingsFileError,
InvalidPortNumber,
ServerNotRunning,
ServerNetworkingError,
ServerPasswordError,
NetworkWrapperInitError,
NetworkWrapperError,
ResourceFileError,
BitStreamError,
EventHandlerError,
)
from .brodcast import BrodcastManager, PortChecker
from .httpserver import HTTPServer
from .resources import Resource, ResourceFile, ResourceInfo, ResourceLoader
from .event import ServerEventHandler
from .core import NetworkWrapper, BitStream, PacketID, PacketPriority, PacketReliability
from .network.packets import (
Packet_PlayerJoinModName,
Packet_PlayerJoinData,
Packet_PlayerConnectComplete,
Packet_PlayerDisconnected,
Packet_AntiCheatTransgression,
)
from .settings import SettingsManager
from .limits import *
from .client_manager import Client