cleanup: Remove unnecessary __module__ = __name__ statements within class definitions.
This commit is contained in:
parent
129c91e77c
commit
c250233e91
1135 changed files with 0 additions and 1385 deletions
|
@ -17,7 +17,6 @@ import time
|
|||
import gc
|
||||
|
||||
class AIBase:
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('AIBase')
|
||||
|
||||
def __init__(self):
|
||||
|
|
|
@ -7,7 +7,6 @@ from otp.otpbase import OTPGlobals
|
|||
import random
|
||||
|
||||
class AIZoneData:
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('AIZoneData')
|
||||
|
||||
def __init__(self, air, parentId, zoneId):
|
||||
|
@ -28,7 +27,6 @@ class AIZoneData:
|
|||
|
||||
|
||||
class AIZoneDataObj:
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('AIZoneDataObj')
|
||||
DefaultCTravName = 'default'
|
||||
|
||||
|
@ -181,7 +179,6 @@ class AIZoneDataObj:
|
|||
|
||||
|
||||
class AIZoneDataStore:
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('AIZoneDataStore')
|
||||
|
||||
def __init__(self):
|
||||
|
|
|
@ -4,7 +4,6 @@ from pandac.PandaModules import HTTPClient, Ramfile
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
||||
class BanManagerAI:
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('BanManagerAI')
|
||||
BanUrl = simbase.config.GetString('ban-base-url', 'http://vapps.disl.starwave.com:8005/dis-hold/action/event')
|
||||
App = simbase.config.GetString('ban-app-name', 'TTWorldAI')
|
||||
|
|
|
@ -4,7 +4,6 @@ from direct.showbase import DirectObject
|
|||
import random
|
||||
|
||||
class Barrier(DirectObject.DirectObject):
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('Barrier')
|
||||
|
||||
def __init__(self, name, uniqueName, avIdList, timeout, clearedFunc = None, timeoutFunc = None, doneFunc = None):
|
||||
|
|
|
@ -2,7 +2,6 @@ from direct.showbase.DirectObject import DirectObject
|
|||
from direct.showbase import GarbageReport
|
||||
|
||||
class GarbageLeakServerEventAggregator(DirectObject):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, cr):
|
||||
self.cr = cr
|
||||
|
|
|
@ -15,7 +15,6 @@ from direct.distributed.ClockDelta import *
|
|||
from direct.showutil.TexViewer import TexViewer
|
||||
|
||||
class MagicWordManager(DistributedObject.DistributedObject):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('MagicWordManager')
|
||||
neverDisable = 1
|
||||
GameAvatarClass = None
|
||||
|
|
|
@ -14,7 +14,6 @@ import sys
|
|||
import re
|
||||
|
||||
class TimeManager(DistributedObject.DistributedObject):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('TimeManager')
|
||||
neverDisable = 1
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ def reconsiderAllUnderstandable():
|
|||
|
||||
|
||||
class Avatar(Actor, ShadowCaster):
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('Avatar')
|
||||
ActiveAvatars = []
|
||||
ManagesNametagAmbientLightChanged = False
|
||||
|
|
|
@ -6,7 +6,6 @@ from direct.distributed.PyDatagramIterator import PyDatagramIterator
|
|||
notify = directNotify.newCategory('AvatarDNA')
|
||||
|
||||
class AvatarDNA:
|
||||
__module__ = __name__
|
||||
|
||||
def __str__(self):
|
||||
return 'avatar parent class: type undefined'
|
||||
|
|
|
@ -2,7 +2,6 @@ from direct.directnotify.DirectNotifyGlobal import directNotify
|
|||
from otp.avatar import Avatar
|
||||
|
||||
class AvatarDetail:
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('AvatarDetail')
|
||||
|
||||
def __init__(self, doId, callWhenDone):
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
|
||||
class AvatarHandle:
|
||||
__module__ = __name__
|
||||
dclassName = 'AvatarHandle'
|
||||
|
||||
def getName(self):
|
||||
|
|
|
@ -5,7 +5,6 @@ import Avatar
|
|||
from direct.distributed import DistributedObject
|
||||
|
||||
class AvatarPanel(DirectObject.DirectObject):
|
||||
__module__ = __name__
|
||||
currentAvatarPanel = None
|
||||
|
||||
def __init__(self, avatar, FriendsListPanel = None):
|
||||
|
|
|
@ -16,7 +16,6 @@ from Avatar import Avatar
|
|||
import AvatarDNA
|
||||
|
||||
class DistributedAvatar(DistributedActor, Avatar):
|
||||
__module__ = __name__
|
||||
HpTextGenerator = TextNode('HpTextGenerator')
|
||||
HpTextEnabled = 1
|
||||
ManagesNametagAmbientLightChanged = True
|
||||
|
|
|
@ -6,7 +6,6 @@ from direct.distributed import DistributedNodeAI
|
|||
from direct.task import Task
|
||||
|
||||
class DistributedAvatarAI(DistributedNodeAI.DistributedNodeAI):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, air):
|
||||
DistributedNodeAI.DistributedNodeAI.__init__(self, air)
|
||||
|
|
|
@ -20,7 +20,6 @@ if base.config.GetBool('want-chatfilter-hacks', 0):
|
|||
badwordpy.init(os.environ.get('OTP') + '\\src\\switchboard\\', '')
|
||||
|
||||
class DistributedPlayer(DistributedAvatar.DistributedAvatar, PlayerBase.PlayerBase, TelemetryLimited):
|
||||
__module__ = __name__
|
||||
TeleportFailureTimeout = 60.0
|
||||
chatGarbler = ChatGarbler.ChatGarbler()
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ from otp.distributed.ClsendTracker import ClsendTracker
|
|||
from otp.otpbase import OTPGlobals
|
||||
|
||||
class DistributedPlayerAI(DistributedAvatarAI.DistributedAvatarAI, PlayerBase.PlayerBase, ClsendTracker):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, air):
|
||||
DistributedAvatarAI.DistributedAvatarAI.__init__(self, air)
|
||||
|
|
|
@ -2,7 +2,6 @@ from otp.otpbase import OTPLocalizer
|
|||
import types
|
||||
|
||||
class Emote:
|
||||
__module__ = __name__
|
||||
EmoteClear = -1
|
||||
EmoteEnableStateChanged = 'EmoteEnableStateChanged'
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
|
||||
class PlayerBase:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self):
|
||||
self.gmState = False
|
||||
|
|
|
@ -3,7 +3,6 @@ from direct.showbase.DirectObject import DirectObject
|
|||
from otp.otpbase import OTPGlobals
|
||||
|
||||
class PositionExaminer(DirectObject, NodePath):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self):
|
||||
try:
|
||||
|
|
|
@ -22,7 +22,6 @@ def setGlobalDropShadowGrayLevel(grayLevel):
|
|||
|
||||
|
||||
class ShadowCaster:
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('ShadowCaster')
|
||||
|
||||
def __init__(self, squareShadow = False):
|
||||
|
|
|
@ -3,7 +3,6 @@ import random
|
|||
from otp.otpbase import OTPLocalizer
|
||||
|
||||
class ChatGarbler:
|
||||
__module__ = __name__
|
||||
|
||||
def garble(self, avatar, message):
|
||||
newMessage = ''
|
||||
|
|
|
@ -6,7 +6,6 @@ from pandac.PandaModules import *
|
|||
from otp.otpbase import OTPLocalizer
|
||||
|
||||
class ChatInputNormal(DirectObject.DirectObject):
|
||||
__module__ = __name__
|
||||
ExecNamespace = None
|
||||
|
||||
def __init__(self, chatMgr):
|
||||
|
|
|
@ -6,7 +6,6 @@ from pandac.PandaModules import *
|
|||
from otp.otpbase import OTPLocalizer
|
||||
|
||||
class ChatInputTyped(DirectObject.DirectObject):
|
||||
__module__ = __name__
|
||||
ExecNamespace = None
|
||||
|
||||
def __init__(self, mainEntry = 0):
|
||||
|
|
|
@ -9,7 +9,6 @@ from direct.task import Task
|
|||
from otp.chat.ChatInputTyped import ChatInputTyped
|
||||
|
||||
class ChatInputWhiteListFrame(FSM.FSM, DirectFrame):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('ChatInputWhiteList')
|
||||
ExecNamespace = None
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@ def removeThoughtPrefix(message):
|
|||
|
||||
|
||||
class ChatManager(DirectObject.DirectObject):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('ChatManager')
|
||||
execChat = base.config.GetBool('exec-chat', 0)
|
||||
|
||||
|
|
|
@ -15,7 +15,6 @@ from libotp import CFSpeech, CFTimeout, CFThought
|
|||
ThoughtPrefix = '.'
|
||||
|
||||
class TalkAssistant(DirectObject.DirectObject):
|
||||
__module__ = __name__
|
||||
ExecNamespace = None
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('TalkAssistant')
|
||||
execChat = base.config.GetBool('exec-chat', 0)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from otp.avatar.AvatarHandle import AvatarHandle
|
||||
|
||||
class TalkHandle(AvatarHandle):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, doId, message):
|
||||
self.avatarId = doId
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
|
||||
class TalkMessage:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, messageId, timeStamp, body, senderAvatarId, senderAvatarName, senderAccountId, senderAccountName, receiverAvatarId, receiverAvatarName, receiverAccountId, receiverAccountName, talkType, extraInfo = None):
|
||||
self.timeStamp = timeStamp
|
||||
|
|
|
@ -4,7 +4,6 @@ import sys
|
|||
import os
|
||||
|
||||
class WhiteList:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, wordlist):
|
||||
self.words = []
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from direct.distributed import DistributedObject
|
||||
|
||||
class Account(DistributedObject.DistributedObject):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, cr):
|
||||
pass
|
||||
|
|
|
@ -7,7 +7,6 @@ ReportBadName = 'MODERATION_BAD_NAME'
|
|||
ReportHacking = 'MODERATION_HACKING'
|
||||
|
||||
class CentralLogger(DistributedObjectGlobal):
|
||||
__module__ = __name__
|
||||
PlayersReportedThisSession = {}
|
||||
|
||||
def hasReportedPlayer(self, targetDISLId, targetAvId):
|
||||
|
|
|
@ -3,7 +3,6 @@ from direct.distributed.PyDatagram import PyDatagram
|
|||
import random
|
||||
|
||||
class ClsendTracker:
|
||||
__module__ = __name__
|
||||
clsendNotify = directNotify.newCategory('clsend')
|
||||
NumTrackersLoggingOverflow = 0
|
||||
MaxTrackersLoggingOverflow = config.GetInt('max-clsend-loggers', 5)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
from direct.distributed.DistributedObject import DistributedObject
|
||||
|
||||
class DistributedDirectory(DistributedObject):
|
||||
__module__ = __name__
|
||||
|
|
|
@ -2,7 +2,6 @@ from direct.directnotify.DirectNotifyGlobal import directNotify
|
|||
from direct.distributed.DistributedObject import DistributedObject
|
||||
|
||||
class DistributedDistrict(DistributedObject):
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('DistributedDistrict')
|
||||
neverDisable = 1
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from direct.distributed import DistributedObject
|
||||
|
||||
class DistributedTestObject(DistributedObject.DistributedObject):
|
||||
__module__ = __name__
|
||||
|
||||
def setRequiredField(self, r):
|
||||
self.requiredField = r
|
||||
|
|
|
@ -2,7 +2,6 @@ from direct.directnotify.DirectNotifyGlobal import directNotify
|
|||
from direct.showbase import DirectObject, TaskThreaded
|
||||
|
||||
class GameServerTestSuite(DirectObject.DirectObject, TaskThreaded.TaskThreaded):
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('GarbageReport')
|
||||
|
||||
def __init__(self, cr):
|
||||
|
@ -10,7 +9,6 @@ class GameServerTestSuite(DirectObject.DirectObject, TaskThreaded.TaskThreaded):
|
|||
TaskThreaded.TaskThreaded.__init__(self, self.__class__.__name__)
|
||||
|
||||
class TimeoutTest(DirectObject.DirectObject):
|
||||
__module__ = __name__
|
||||
Timeout = 10
|
||||
|
||||
def _getTaskName(self, name):
|
||||
|
@ -31,7 +29,6 @@ class GameServerTestSuite(DirectObject.DirectObject, TaskThreaded.TaskThreaded):
|
|||
pdb.set_trace()
|
||||
|
||||
class MsgHandlerTest:
|
||||
__module__ = __name__
|
||||
|
||||
def installMsgHandler(self):
|
||||
self.oldHandler = self.parent.handler
|
||||
|
@ -45,7 +42,6 @@ class GameServerTestSuite(DirectObject.DirectObject, TaskThreaded.TaskThreaded):
|
|||
self.parent.cr.handler(msgType, di)
|
||||
|
||||
class TestGetAvatars(TaskThreaded.TaskThread, TimeoutTest, MsgHandlerTest):
|
||||
__module__ = __name__
|
||||
|
||||
def setUp(self):
|
||||
self.state = 'request'
|
||||
|
@ -68,7 +64,6 @@ class GameServerTestSuite(DirectObject.DirectObject, TaskThreaded.TaskThreaded):
|
|||
self.removeMsgHandler()
|
||||
|
||||
class TestInterestOpenAndClose(TaskThreaded.TaskThread, TimeoutTest):
|
||||
__module__ = __name__
|
||||
|
||||
def setUp(self):
|
||||
self.state = 'open'
|
||||
|
@ -118,7 +113,6 @@ class GameServerTestSuite(DirectObject.DirectObject, TaskThreaded.TaskThreaded):
|
|||
return
|
||||
|
||||
class TestNonRequiredNonSetFields(TaskThreaded.TaskThread, TimeoutTest):
|
||||
__module__ = __name__
|
||||
Timeout = 60
|
||||
|
||||
def setUp(self):
|
||||
|
|
|
@ -48,7 +48,6 @@ from otp.ai.GarbageLeakServerEventAggregator import GarbageLeakServerEventAggreg
|
|||
from PotentialAvatar import PotentialAvatar
|
||||
|
||||
class OTPClientRepository(ClientRepositoryBase):
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('OTPClientRepository')
|
||||
avatarLimit = 6
|
||||
WishNameResult = Enum(['Failure',
|
||||
|
|
|
@ -2,7 +2,6 @@ from direct.directnotify import DirectNotifyGlobal
|
|||
from direct.distributed import DistributedObject
|
||||
|
||||
class ObjectServer(DistributedObject.DistributedObject):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('ObjectServer')
|
||||
|
||||
def __init__(self, cr):
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
|
||||
class PotentialAvatar:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, id, names, dna, position, allowedName, creator = 1, shared = 1, online = 0, wishState = 'CLOSED', wishName = '', defaultShard = 0, lastLogout = 0):
|
||||
self.id = id
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
|
||||
class PotentialShard:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, id):
|
||||
self.id = id
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
|
||||
class TelemetryLimited:
|
||||
__module__ = __name__
|
||||
Sng = SerialNumGen()
|
||||
|
||||
def __init__(self):
|
||||
|
|
|
@ -3,7 +3,6 @@ from otp.avatar.DistributedPlayer import DistributedPlayer
|
|||
from direct.task.Task import Task
|
||||
|
||||
class TelemetryLimiter(DirectObject):
|
||||
__module__ = __name__
|
||||
TaskName = 'TelemetryLimiterEnforce'
|
||||
LeakDetectEventName = 'telemetryLimiter'
|
||||
|
||||
|
@ -45,14 +44,12 @@ class TelemetryLimiter(DirectObject):
|
|||
|
||||
|
||||
class TelemetryLimit:
|
||||
__module__ = __name__
|
||||
|
||||
def __call__(self, obj):
|
||||
pass
|
||||
|
||||
|
||||
class RotationLimitToH(TelemetryLimit):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, pConst = 0.0, rConst = 0.0):
|
||||
self._pConst = pConst
|
||||
|
@ -63,7 +60,6 @@ class RotationLimitToH(TelemetryLimit):
|
|||
|
||||
|
||||
class TLNull:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, *limits):
|
||||
pass
|
||||
|
@ -73,7 +69,6 @@ class TLNull:
|
|||
|
||||
|
||||
class TLGatherAllAvs(DirectObject):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, name, *limits):
|
||||
self._name = name
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from otp.avatar.AvatarHandle import AvatarHandle
|
||||
|
||||
class AvatarFriendInfo(AvatarHandle):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, avatarName = '', playerName = '', playerId = 0, onlineYesNo = 0, openChatEnabledYesNo = 0, openChatFriendshipYesNo = 0, wlChatEnabledYesNo = 0):
|
||||
self.avatarName = avatarName
|
||||
|
|
|
@ -5,7 +5,6 @@ from otp.otpbase import OTPGlobals
|
|||
from otp.otpbase import OTPLocalizer
|
||||
|
||||
class AvatarFriendsManager(DistributedObjectGlobal):
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('AvatarFriendsManager')
|
||||
|
||||
def __init__(self, cr):
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from otp.avatar.AvatarHandle import AvatarHandle
|
||||
|
||||
class FriendInfo(AvatarHandle):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, avatarName = '', playerName = '', onlineYesNo = 0, openChatEnabledYesNo = 0, openChatFriendshipYesNo = 0, wlChatEnabledYesNo = 0, location = '', sublocation = '', timestamp = 0, avatarId = 0, friendPrivs = 0, tokenPrivs = 0):
|
||||
self.avatarName = avatarName
|
||||
|
|
|
@ -4,7 +4,6 @@ from direct.directnotify import DirectNotifyGlobal
|
|||
from otp.otpbase import OTPGlobals
|
||||
|
||||
class FriendManager(DistributedObject.DistributedObject):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('FriendManager')
|
||||
neverDisable = 1
|
||||
|
||||
|
|
|
@ -81,7 +81,6 @@ def unloadFriendSecret():
|
|||
|
||||
|
||||
class FriendSecretNeedsParentLogin(StateData.StateData):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('FriendSecretNeedsParentLogin')
|
||||
|
||||
def __init__(self, secretType):
|
||||
|
@ -230,7 +229,6 @@ class FriendSecretNeedsParentLogin(StateData.StateData):
|
|||
|
||||
|
||||
class FriendSecret(DirectFrame, StateData.StateData):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('FriendSecret')
|
||||
|
||||
def __init__(self, secretType):
|
||||
|
@ -288,7 +286,6 @@ class FriendSecret(DirectFrame, StateData.StateData):
|
|||
'FR']:
|
||||
|
||||
class ShowHide:
|
||||
__module__ = __name__
|
||||
|
||||
def show(self):
|
||||
pass
|
||||
|
|
|
@ -12,7 +12,6 @@ GUILDRANK_MEMBER = 1
|
|||
import Queue
|
||||
|
||||
class GuildMemberInfo(AvatarHandle):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, name, isOnline, rank, bandId):
|
||||
self.name = name
|
||||
|
@ -45,7 +44,6 @@ class GuildMemberInfo(AvatarHandle):
|
|||
|
||||
|
||||
class GuildManager(DistributedObjectGlobal):
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('GuildManager')
|
||||
|
||||
def __init__(self, cr):
|
||||
|
|
|
@ -5,7 +5,6 @@ from otp.avatar.Avatar import teleportNotify
|
|||
from otp.friends import FriendResponseCodes
|
||||
|
||||
class PlayerFriendsManager(DistributedObjectGlobal):
|
||||
__module__ = __name__
|
||||
notify = directNotify.newCategory('PlayerFriendsManager')
|
||||
|
||||
def __init__(self, cr):
|
||||
|
|
|
@ -5,7 +5,6 @@ from pandac.PandaModules import *
|
|||
from direct.showbase.DirectObject import DirectObject
|
||||
|
||||
class DownloadWatcher(DirectObject):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, phaseNames):
|
||||
self.phaseNames = phaseNames
|
||||
|
|
|
@ -7,7 +7,6 @@ from direct.task.TaskManagerGlobal import *
|
|||
from direct.task.Task import Task
|
||||
|
||||
class DummyLauncherBase:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self):
|
||||
self.logPrefix = ''
|
||||
|
|
|
@ -11,7 +11,6 @@ from direct.task.MiniTask import MiniTask, MiniTaskManager
|
|||
from direct.directnotify.DirectNotifyGlobal import *
|
||||
|
||||
class LogAndOutput:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, orig, log):
|
||||
self.orig = orig
|
||||
|
@ -31,7 +30,6 @@ class LogAndOutput:
|
|||
|
||||
|
||||
class LauncherBase(DirectObject):
|
||||
__module__ = __name__
|
||||
GameName = 'game'
|
||||
ArgCount = 6
|
||||
LauncherPhases = [1,
|
||||
|
|
|
@ -5,7 +5,6 @@ INVALID_HANDLE_VALUE = -1
|
|||
cwk = ctypes.windll.kernel32
|
||||
|
||||
class PROCESSENTRY32(ctypes.Structure):
|
||||
__module__ = __name__
|
||||
_fields_ = [('dwSize', DWORD),
|
||||
('cntUsage', DWORD),
|
||||
('th32ProcessID', DWORD),
|
||||
|
@ -19,7 +18,6 @@ class PROCESSENTRY32(ctypes.Structure):
|
|||
|
||||
|
||||
class ProcessEntryPY:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, name, pid):
|
||||
self.name = name
|
||||
|
|
|
@ -3,7 +3,6 @@ import BasicEntities
|
|||
import random
|
||||
|
||||
class AmbientSound(BasicEntities.NodePathEntity):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, level, entId):
|
||||
BasicEntities.NodePathEntity.__init__(self, level, entId)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
|
||||
class AttribDesc:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, name, default, datatype = 'string', params = {}):
|
||||
self.name = name
|
||||
|
|
|
@ -3,7 +3,6 @@ import DistributedEntity
|
|||
from pandac.PandaModules import NodePath
|
||||
|
||||
class NodePathEntityBase:
|
||||
__module__ = __name__
|
||||
|
||||
def initNodePathAttribs(self, doReparent = 1):
|
||||
self.callSetters('pos', 'x', 'y', 'z', 'hpr', 'h', 'p', 'r', 'scale', 'sx', 'sy', 'sz')
|
||||
|
@ -23,7 +22,6 @@ class NodePathEntityBase:
|
|||
|
||||
|
||||
class NodePathAttribs(NodePathEntityBase):
|
||||
__module__ = __name__
|
||||
|
||||
def initNodePathAttribs(self, doReparent = 1):
|
||||
NodePathEntityBase.initNodePathAttribs(self, doReparent)
|
||||
|
@ -36,7 +34,6 @@ class NodePathAttribs(NodePathEntityBase):
|
|||
|
||||
|
||||
class NodePathAndAttribs(NodePathEntityBase, NodePath):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self):
|
||||
node = hidden.attachNewNode('EntityNodePath')
|
||||
|
@ -54,7 +51,6 @@ class NodePathAndAttribs(NodePathEntityBase, NodePath):
|
|||
|
||||
|
||||
class NodePathAttribsProxy(NodePathEntityBase):
|
||||
__module__ = __name__
|
||||
|
||||
def initNodePathAttribs(self, doReparent = 1):
|
||||
NodePathEntityBase.initNodePathAttribs(self, doReparent)
|
||||
|
@ -103,7 +99,6 @@ class NodePathAttribsProxy(NodePathEntityBase):
|
|||
|
||||
|
||||
class NodePathEntity(Entity.Entity, NodePath, NodePathAttribs):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, level, entId):
|
||||
node = hidden.attachNewNode('NodePathEntity')
|
||||
|
@ -118,7 +113,6 @@ class NodePathEntity(Entity.Entity, NodePath, NodePathAttribs):
|
|||
|
||||
|
||||
class DistributedNodePathEntity(DistributedEntity.DistributedEntity, NodePath, NodePathAttribs):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, cr):
|
||||
DistributedEntity.DistributedEntity.__init__(self, cr)
|
||||
|
|
|
@ -4,7 +4,6 @@ from direct.directnotify import DirectNotifyGlobal
|
|||
import BasicEntities
|
||||
|
||||
class CollisionSolidEntity(BasicEntities.NodePathEntity):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('CollisionSolidEntity')
|
||||
|
||||
def __init__(self, level, entId):
|
||||
|
|
|
@ -34,7 +34,6 @@ def doorUnlock(self, track, subjectNodePath, duration):
|
|||
|
||||
|
||||
class CutScene(BasicEntities.NodePathEntity, DirectObject.DirectObject):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('CutScene')
|
||||
effects = {'nothing': nothing,
|
||||
'irisInOut': irisInOut,
|
||||
|
|
|
@ -3,7 +3,6 @@ import Entity
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
||||
class DistributedEntity(DistributedObject.DistributedObject, Entity.Entity):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedEntity')
|
||||
|
||||
def __init__(self, cr):
|
||||
|
|
|
@ -3,7 +3,6 @@ import Entity
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
||||
class DistributedEntityAI(DistributedObjectAI.DistributedObjectAI, Entity.Entity):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedEntityAI')
|
||||
|
||||
def __init__(self, level, entId):
|
||||
|
|
|
@ -5,7 +5,6 @@ from direct.fsm import ClassicFSM
|
|||
import DistributedEntity
|
||||
|
||||
class DistributedInteractiveEntity(DistributedEntity.DistributedEntity):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedInteractiveEntity')
|
||||
|
||||
def __init__(self, cr):
|
||||
|
|
|
@ -16,7 +16,6 @@ import LevelUtil
|
|||
import random
|
||||
|
||||
class DistributedLevel(DistributedObject.DistributedObject, Level.Level):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedLevel')
|
||||
WantVisibility = config.GetBool('level-visibility', 1)
|
||||
ColorZonesAllDOs = 0
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import EditMgrBase
|
||||
|
||||
class EditMgr(EditMgrBase.EditMgrBase):
|
||||
__module__ = __name__
|
||||
|
|
|
@ -2,7 +2,6 @@ import Entity
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
||||
class EditMgrBase(Entity.Entity):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('EditMgr')
|
||||
|
||||
def __init__(self, level, entId):
|
||||
|
|
|
@ -4,7 +4,6 @@ import string
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
||||
class Entity(DirectObject):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('Entity')
|
||||
|
||||
def __init__(self, level = None, entId = None):
|
||||
|
|
|
@ -24,7 +24,6 @@ def nonlocal(*args):
|
|||
|
||||
|
||||
class EntityCreator(EntityCreatorBase.EntityCreatorBase):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, level):
|
||||
EntityCreatorBase.EntityCreatorBase.__init__(self, level)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
||||
class EntityCreatorBase:
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('EntityCreator')
|
||||
|
||||
def __init__(self, level):
|
||||
|
|
|
@ -3,7 +3,6 @@ from direct.showbase.PythonUtil import getSetterName
|
|||
from otp.level.Entity import Entity
|
||||
|
||||
class EntityStateVarSet(Entity):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, entType):
|
||||
self._entType = entType
|
||||
|
|
|
@ -3,7 +3,6 @@ import AttribDesc
|
|||
from direct.showbase.PythonUtil import mostDerivedLast
|
||||
|
||||
class EntityTypeDesc:
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('EntityTypeDesc')
|
||||
output = None
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ import os
|
|||
import string
|
||||
|
||||
class EntityTypeRegistry:
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('EntityTypeRegistry')
|
||||
|
||||
def __init__(self, entityTypeModule):
|
||||
|
|
|
@ -2,7 +2,6 @@ from EntityTypeDesc import EntityTypeDesc
|
|||
from toontown.coghq.SpecImports import *
|
||||
|
||||
class Entity(EntityTypeDesc):
|
||||
__module__ = __name__
|
||||
abstract = 1
|
||||
type = 'entity'
|
||||
attribs = (('type', None, 'const'),
|
||||
|
@ -12,14 +11,12 @@ class Entity(EntityTypeDesc):
|
|||
|
||||
|
||||
class LevelMgr(Entity):
|
||||
__module__ = __name__
|
||||
type = 'levelMgr'
|
||||
permanent = 1
|
||||
attribs = (('name', 'LevelMgr', 'const'), ('parentEntId', 0, 'const'), ('modelFilename', '', 'const'))
|
||||
|
||||
|
||||
class EditMgr(Entity):
|
||||
__module__ = __name__
|
||||
type = 'editMgr'
|
||||
permanent = 1
|
||||
blockAttribs = ('comment',)
|
||||
|
@ -32,7 +29,6 @@ class EditMgr(Entity):
|
|||
|
||||
|
||||
class AttribModifier(Entity):
|
||||
__module__ = __name__
|
||||
type = 'attribModifier'
|
||||
attribs = (('recursive', 0, 'bool'),
|
||||
('typeName', '', 'string'),
|
||||
|
@ -41,13 +37,11 @@ class AttribModifier(Entity):
|
|||
|
||||
|
||||
class Locator(Entity):
|
||||
__module__ = __name__
|
||||
type = 'locator'
|
||||
attribs = (('searchPath', '', 'string'),)
|
||||
|
||||
|
||||
class Nodepath(Entity):
|
||||
__module__ = __name__
|
||||
type = 'nodepath'
|
||||
attribs = (('parentEntId',
|
||||
0,
|
||||
|
@ -59,7 +53,6 @@ class Nodepath(Entity):
|
|||
|
||||
|
||||
class Zone(Nodepath):
|
||||
__module__ = __name__
|
||||
type = 'zone'
|
||||
permanent = 1
|
||||
blockAttribs = ('pos', 'hpr')
|
||||
|
@ -67,7 +60,6 @@ class Zone(Nodepath):
|
|||
|
||||
|
||||
class EntrancePoint(Nodepath):
|
||||
__module__ = __name__
|
||||
type = 'entrancePoint'
|
||||
attribs = (('entranceId', -1, 'int'), ('radius',
|
||||
15,
|
||||
|
@ -79,7 +71,6 @@ class EntrancePoint(Nodepath):
|
|||
|
||||
|
||||
class LogicGate(Entity):
|
||||
__module__ = __name__
|
||||
type = 'logicGate'
|
||||
output = 'bool'
|
||||
attribs = (('input1Event',
|
||||
|
@ -104,7 +95,6 @@ class LogicGate(Entity):
|
|||
|
||||
|
||||
class CutScene(Entity):
|
||||
__module__ = __name__
|
||||
type = 'cutScene'
|
||||
output = 'bool'
|
||||
attribs = (('pos', Point3(0, 0, 0), 'pos'),
|
||||
|
@ -125,7 +115,6 @@ class CutScene(Entity):
|
|||
|
||||
|
||||
class CollisionSolid(Nodepath):
|
||||
__module__ = __name__
|
||||
type = 'collisionSolid'
|
||||
attribs = (('solidType',
|
||||
'sphere',
|
||||
|
@ -137,7 +126,6 @@ class CollisionSolid(Nodepath):
|
|||
|
||||
|
||||
class Model(Nodepath):
|
||||
__module__ = __name__
|
||||
type = 'model'
|
||||
attribs = (('loadType',
|
||||
'loadModelCopy',
|
||||
|
@ -159,13 +147,11 @@ class Model(Nodepath):
|
|||
|
||||
|
||||
class Path(Nodepath):
|
||||
__module__ = __name__
|
||||
type = 'path'
|
||||
attribs = (('pathIndex', 0, 'int'), ('pathScale', 1.0, 'float'))
|
||||
|
||||
|
||||
class VisibilityExtender(Entity):
|
||||
__module__ = __name__
|
||||
type = 'visibilityExtender'
|
||||
attribs = (('event',
|
||||
None,
|
||||
|
@ -174,7 +160,6 @@ class VisibilityExtender(Entity):
|
|||
|
||||
|
||||
class AmbientSound(Nodepath):
|
||||
__module__ = __name__
|
||||
type = 'ambientSound'
|
||||
attribs = (('soundPath', '', 'bamfilename'), ('volume',
|
||||
1,
|
||||
|
@ -184,10 +169,8 @@ class AmbientSound(Nodepath):
|
|||
|
||||
|
||||
class PropSpinner(Entity):
|
||||
__module__ = __name__
|
||||
type = 'propSpinner'
|
||||
|
||||
|
||||
class EntityGroup(Entity):
|
||||
__module__ = __name__
|
||||
type = 'entityGroup'
|
||||
|
|
|
@ -3,7 +3,6 @@ from direct.directnotify import DirectNotifyGlobal
|
|||
import BasicEntities
|
||||
|
||||
class EntrancePoint(BasicEntities.NodePathEntity):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, level, entId):
|
||||
BasicEntities.NodePathEntity.__init__(self, level, entId)
|
||||
|
|
|
@ -5,7 +5,6 @@ from direct.showbase.PythonUtil import lineInfo, uniqueElements
|
|||
import types
|
||||
|
||||
class Level:
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('Level')
|
||||
|
||||
def __init__(self):
|
||||
|
|
|
@ -2,7 +2,6 @@ from direct.showbase.PythonUtil import Functor
|
|||
import LevelMgrBase
|
||||
|
||||
class LevelMgr(LevelMgrBase.LevelMgrBase):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, level, entId):
|
||||
LevelMgrBase.LevelMgrBase.__init__(self, level, entId)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import Entity
|
||||
|
||||
class LevelMgrBase(Entity.Entity):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, level, entId):
|
||||
Entity.Entity.__init__(self, level, entId)
|
||||
|
|
|
@ -8,7 +8,6 @@ if __dev__:
|
|||
import os
|
||||
|
||||
class LevelSpec:
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('LevelSpec')
|
||||
SystemEntIds = (LevelConstants.UberZoneEntId, LevelConstants.LevelMgrEntId, LevelConstants.EditMgrEntId)
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ from pandac.PandaModules import NodePath
|
|||
from direct.directnotify import DirectNotifyGlobal
|
||||
|
||||
class LocatorEntity(Entity.Entity, NodePath):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('LocatorEntity')
|
||||
|
||||
def __init__(self, level, entId):
|
||||
|
|
|
@ -31,7 +31,6 @@ def xnorTest(self, a, b):
|
|||
|
||||
|
||||
class LogicGate(Entity.Entity, DirectObject.DirectObject):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('LogicGate')
|
||||
logicTests = {'and': andTest,
|
||||
'or': orTest,
|
||||
|
|
|
@ -3,7 +3,6 @@ from direct.directnotify import DirectNotifyGlobal
|
|||
import BasicEntities
|
||||
|
||||
class ModelEntity(BasicEntities.NodePathEntity):
|
||||
__module__ = __name__
|
||||
LoadFuncs = {'loadModelCopy': loader.loadModelCopy,
|
||||
'loadModel': loader.loadModel,
|
||||
'loadModelOnce': loader.loadModelOnce}
|
||||
|
|
|
@ -5,7 +5,6 @@ import BasicEntities
|
|||
from toontown.suit import GoonPathData
|
||||
|
||||
class PathEntity(BasicEntities.NodePathEntity):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('PathEntity')
|
||||
|
||||
def __init__(self, level, entId):
|
||||
|
|
|
@ -4,7 +4,6 @@ from Entity import Entity
|
|||
from pandac.PandaModules import Vec3
|
||||
|
||||
class PropSpinner(Entity):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, level, entId):
|
||||
Entity.__init__(self, level, entId)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import Entity
|
||||
|
||||
class VisibilityBlocker:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self):
|
||||
self.__nextSetZoneDoneEvent = None
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import Entity
|
||||
|
||||
class VisibilityExtender(Entity.Entity):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, level, entId):
|
||||
Entity.Entity.__init__(self, level, entId)
|
||||
|
|
|
@ -2,7 +2,6 @@ import ZoneEntityBase
|
|||
import BasicEntities
|
||||
|
||||
class ZoneEntity(ZoneEntityBase.ZoneEntityBase, BasicEntities.NodePathAttribs):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, level, entId):
|
||||
ZoneEntityBase.ZoneEntityBase.__init__(self, level, entId)
|
||||
|
|
|
@ -2,7 +2,6 @@ import Entity
|
|||
import LevelConstants
|
||||
|
||||
class ZoneEntityBase(Entity.Entity):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, level, entId):
|
||||
Entity.Entity.__init__(self, level, entId)
|
||||
|
|
|
@ -5,7 +5,6 @@ import TTAccount
|
|||
import HTTPUtil
|
||||
|
||||
class AccountServerConstants(RemoteValueSet):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('AccountServerConstants')
|
||||
|
||||
def __init__(self, cr):
|
||||
|
|
|
@ -13,7 +13,6 @@ from otp.otpbase import OTPGlobals
|
|||
from direct.distributed.MsgTypes import *
|
||||
|
||||
class CreateAccountScreen(StateData.StateData, GuiScreen.GuiScreen):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('CreateAccountScreen')
|
||||
ActiveEntryColor = Vec4(1, 1, 1, 1)
|
||||
InactiveEntryColor = Vec4(0.8, 0.8, 0.8, 1)
|
||||
|
|
|
@ -7,7 +7,6 @@ from otp.otpbase import OTPLocalizer
|
|||
from direct.task.Task import Task
|
||||
|
||||
class GuiScreen:
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('GuiScreen')
|
||||
DGG.ENTERPRESS_ADVANCE = 0
|
||||
DGG.ENTERPRESS_ADVANCE_IFNOTEMPTY = 1
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
from pandac.PandaModules import *
|
||||
|
||||
class HTTPUtilException(Exception):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, what):
|
||||
Exception.__init__(self, what)
|
||||
|
||||
|
||||
class ConnectionError(HTTPUtilException):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, what, statusCode):
|
||||
HTTPUtilException.__init__(self, what)
|
||||
|
@ -16,7 +14,6 @@ class ConnectionError(HTTPUtilException):
|
|||
|
||||
|
||||
class UnexpectedResponse(HTTPUtilException):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, what):
|
||||
HTTPUtilException.__init__(self, what)
|
||||
|
|
|
@ -6,7 +6,6 @@ from pandac.PandaModules import *
|
|||
import os
|
||||
|
||||
class LeaveToPayDialog:
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, paidUser, destructorHook = None, doneFunc = None):
|
||||
self.destructorHook = destructorHook
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
|
||||
class LoginBase:
|
||||
__module__ = __name__
|
||||
freeTimeExpires = -1
|
||||
|
||||
def __init__(self, cr):
|
||||
|
|
|
@ -5,7 +5,6 @@ import LoginBase
|
|||
from direct.distributed.PyDatagram import PyDatagram
|
||||
|
||||
class LoginDISLTokenAccount(LoginBase.LoginBase):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, cr):
|
||||
LoginBase.LoginBase.__init__(self, cr)
|
||||
|
|
|
@ -5,7 +5,6 @@ import LoginBase
|
|||
from direct.distributed.PyDatagram import PyDatagram
|
||||
|
||||
class LoginGSAccount(LoginBase.LoginBase):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, cr):
|
||||
LoginBase.LoginBase.__init__(self, cr)
|
||||
|
|
|
@ -5,7 +5,6 @@ import LoginBase
|
|||
from direct.distributed.PyDatagram import PyDatagram
|
||||
|
||||
class LoginGoAccount(LoginBase.LoginBase):
|
||||
__module__ = __name__
|
||||
|
||||
def __init__(self, cr):
|
||||
LoginBase.LoginBase.__init__(self, cr)
|
||||
|
|
|
@ -17,7 +17,6 @@ import TTAccount
|
|||
import GuiScreen
|
||||
|
||||
class LoginScreen(StateData.StateData, GuiScreen.GuiScreen):
|
||||
__module__ = __name__
|
||||
AutoLoginName = base.config.GetString('%s-auto-login%s' % (game.name, os.getenv('otp_client', '')), '')
|
||||
AutoLoginPassword = base.config.GetString('%s-auto-password%s' % (game.name, os.getenv('otp_client', '')), '')
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('LoginScreen')
|
||||
|
|
|
@ -7,7 +7,6 @@ from TTAccount import TTAccountException
|
|||
from direct.distributed.PyDatagram import PyDatagram
|
||||
|
||||
class LoginTTAccount(LoginBase.LoginBase, TTAccount.TTAccount):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('LoginTTAcct')
|
||||
|
||||
def __init__(self, cr):
|
||||
|
|
|
@ -6,7 +6,6 @@ from direct.distributed.PyDatagram import PyDatagram
|
|||
from TTAccount import TTAccountException
|
||||
|
||||
class LoginTTSpecificDevAccount(LoginTTAccount.LoginTTAccount):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('LoginTTSpecificDevAccount')
|
||||
|
||||
def __init__(self, cr):
|
||||
|
|
|
@ -3,7 +3,6 @@ from direct.directnotify import DirectNotifyGlobal
|
|||
import LoginTTAccount
|
||||
|
||||
class LoginWebPlayTokenAccount(LoginTTAccount.LoginTTAccount):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('LoginWebPlayTokenAccount')
|
||||
|
||||
def supportsRelogin(self):
|
||||
|
|
|
@ -3,7 +3,6 @@ from direct.gui.DirectGui import *
|
|||
from otp.otpbase import OTPLocalizer
|
||||
|
||||
class MultiPageTextFrame(DirectFrame):
|
||||
__module__ = __name__
|
||||
defWidth = 1.8
|
||||
defHeight = 0.9
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ from otp.otpbase import OTPLocalizer
|
|||
from otp.otpgui import OTPDialog
|
||||
|
||||
class PrivacyPolicyTextPanel(getGlobalDialogClass()):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('PrivacyPolicyTextPanel')
|
||||
|
||||
def __init__(self, doneEvent, hidePageNum = 0, pageChangeCallback = None, textList = []):
|
||||
|
@ -22,7 +21,6 @@ class PrivacyPolicyTextPanel(getGlobalDialogClass()):
|
|||
|
||||
|
||||
class PrivacyPolicyPanel(getGlobalDialogClass()):
|
||||
__module__ = __name__
|
||||
notify = DirectNotifyGlobal.directNotify.newCategory('PrivacyPolicyPanel')
|
||||
|
||||
def __init__(self, doneEvent, hidePageNum = 0, pageChangeCallback = None, textList = 1):
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue