mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
wantOtpServer
This commit is contained in:
parent
b07b7fb4eb
commit
19e6c415b5
@ -1,5 +1,7 @@
|
||||
"""MsgTypes module: contains distributed object message types"""
|
||||
|
||||
OTP_SERVER_ROOT_DO_ID = 4007
|
||||
|
||||
# 2 new params: passwd, char bool 0/1 1 = new account
|
||||
# 2 new return values: 129 = not found, 12 = bad passwd,
|
||||
CLIENT_LOGIN = 1
|
||||
|
@ -265,6 +265,7 @@ class ShowBase(DirectObject.DirectObject):
|
||||
__builtins__["cpMgr"] = ConfigPageManager.getGlobalPtr()
|
||||
__builtins__["cvMgr"] = ConfigVariableManager.getGlobalPtr()
|
||||
__builtins__["__dev__"] = base.config.GetBool('want-dev', 0)
|
||||
__builtins__["wantOtpServer"] = base.config.GetBool('want-otp-server', 0)
|
||||
if __debug__:
|
||||
__builtins__["deltaProfiler"] = DeltaProfiler.DeltaProfiler("ShowBase")
|
||||
__builtins__["onScreenDebug"] = OnScreenDebug.OnScreenDebug()
|
||||
|
Loading…
x
Reference in New Issue
Block a user