From 85207c4f8bc2bcb52789f48e27028478401d97b4 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 20 Apr 2015 17:39:17 +0300 Subject: [PATCH] Removed CpuInfoMgr and DataStoreManager unused stubs --- astron/dclass/toon.dc | 14 ------------- otp/distributed/DCClassImports.py | 4 +--- toontown/uberdog/DistributedCpuInfoMgr.py | 4 ---- toontown/uberdog/DistributedCpuInfoMgrAI.py | 9 -------- toontown/uberdog/DistributedCpuInfoMgrUD.py | 9 -------- .../uberdog/DistributedDataStoreManager.py | 7 ------- .../uberdog/DistributedDataStoreManagerAI.py | 21 ------------------- .../uberdog/DistributedDataStoreManagerUD.py | 21 ------------------- 8 files changed, 1 insertion(+), 88 deletions(-) delete mode 100644 toontown/uberdog/DistributedCpuInfoMgr.py delete mode 100644 toontown/uberdog/DistributedCpuInfoMgrAI.py delete mode 100644 toontown/uberdog/DistributedCpuInfoMgrUD.py delete mode 100644 toontown/uberdog/DistributedDataStoreManager.py delete mode 100644 toontown/uberdog/DistributedDataStoreManagerAI.py delete mode 100644 toontown/uberdog/DistributedDataStoreManagerUD.py diff --git a/astron/dclass/toon.dc b/astron/dclass/toon.dc index e716f7ac..90de408a 100644 --- a/astron/dclass/toon.dc +++ b/astron/dclass/toon.dc @@ -209,7 +209,6 @@ from toontown.racing import DistributedProjectile/AI from toontown.racing.DistributedStartingBlock/AI import DistributedViewingBlock/AI from toontown.uberdog.ClientServicesManager/UD import ClientServicesManager/UD from toontown.uberdog.DistributedDeliveryManager/AI/UD import DistributedDeliveryManager/AI/UD -from toontown.uberdog.DistributedDataStoreManager/AI/UD import DistributedDataStoreManager/AI/UD from toontown.suit import DistributedLawbotBoss/AI from toontown.coghq import DistributedLawbotBossGavel/AI from toontown.suit import DistributedLawbotBossSuit/AI @@ -285,7 +284,6 @@ from toontown.safezone import DistributedFindFour/AI from toontown.uberdog.DistributedMailManager/AI/UD import DistributedMailManager/AI/UD from toontown.uberdog.DistributedPartyManager/AI/UD import DistributedPartyManager/AI/UD from toontown.rpc.AwardManager/UD import AwardManager/UD -from toontown.uberdog.DistributedCpuInfoMgr/AI/UD import DistributedCpuInfoMgr/AI/UD from toontown.uberdog.DistributedInGameNewsMgr/AI/UD import DistributedInGameNewsMgr/AI/UD from toontown.coderedemption.TTCodeRedemptionMgr/AI import TTCodeRedemptionMgr/AI from toontown.distributed.NonRepeatableRandomSourceAI import NonRepeatableRandomSourceAI @@ -2516,14 +2514,6 @@ dclass DistributedWinterCarolingTarget : DistributedObject { requestScavengerHunt() airecv clsend; }; -dclass DistributedDataStoreManager : DistributedObject { - startStore(uint8); - stopStore(uint8); - queryStore(uint8, string); - receiveResults(uint8, string); - deleteBackupStores(); -}; - dclass DistributedVehicle : DistributedSmoothNode { setOwner(uint32) required broadcast ram; setState(char, uint32) broadcast ram; @@ -3301,10 +3291,6 @@ dclass AwardManager : DistributedObjectGlobal { giveAwardToToon(uint32, DoId, string, DoId, uint32, uint32); }; -dclass DistributedCpuInfoMgr : DistributedObjectGlobal { - setCpuInfoToUd(uint32, uint32, string, string); -}; - dclass NonRepeatableRandomSourceClient { getRandomSamplesReply(uint32, uint32 []) airecv; }; diff --git a/otp/distributed/DCClassImports.py b/otp/distributed/DCClassImports.py index f722360e..dbe7b7a2 100644 --- a/otp/distributed/DCClassImports.py +++ b/otp/distributed/DCClassImports.py @@ -2,7 +2,7 @@ from pandac.PandaModules import * -hashVal = 1907389465 +hashVal = 1275950154 from toontown.coghq import DistributedCashbotBossSafe, DistributedCashbotBossCrane, DistributedBattleFactory, DistributedCashbotBossTreasure, DistributedCogHQDoor, DistributedSellbotHQDoor, DistributedFactoryElevatorExt, DistributedMintElevatorExt, DistributedLawOfficeElevatorExt, DistributedLawOfficeElevatorInt, LobbyManager, DistributedMegaCorp, DistributedFactory, DistributedLawOffice, DistributedLawOfficeFloor, DistributedLift, DistributedDoorEntity, DistributedSwitch, DistributedButton, DistributedTrigger, DistributedCrushableEntity, DistributedCrusherEntity, DistributedStomper, DistributedStomperPair, DistributedLaserField, DistributedGolfGreenGame, DistributedSecurityCamera, DistributedMover, DistributedElevatorMarker, DistributedBarrelBase, DistributedGagBarrel, DistributedBeanBarrel, DistributedHealBarrel, DistributedGrid, ActiveCell, DirectionalCell, CrusherCell, DistributedCrate, DistributedSinkingPlatform, BattleBlocker, DistributedMint, DistributedMintRoom, DistributedMintBattle, DistributedStage, DistributedStageRoom, DistributedStageBattle, DistributedLawbotBossGavel, DistributedLawbotCannon, DistributedLawbotChair, DistributedCogKart, DistributedCountryClub, DistributedCountryClubRoom, DistributedMoleField, DistributedCountryClubBattle, DistributedMaze, DistributedFoodBelt, DistributedBanquetTable, DistributedGolfSpot @@ -19,7 +19,6 @@ from toontown.ai.DistributedTrashcanZeroMgr import DistributedTrashcanZeroMgr from toontown.uberdog.DistributedMailManager import DistributedMailManager from otp.chat import ChatAgent from toontown.classicchars import DistributedCCharBase, DistributedMickey, DistributedVampireMickey, DistributedMinnie, DistributedWitchMinnie, DistributedGoofy, DistributedSuperGoofy, DistributedDaisy, DistributedSockHopDaisy, DistributedChip, DistributedPoliceChip, DistributedDale, DistributedJailbirdDale, DistributedGoofySpeedway, DistributedDonald, DistributedFrankenDonald, DistributedDonaldDock, DistributedPluto, DistributedWesternPluto -from toontown.uberdog.DistributedCpuInfoMgr import DistributedCpuInfoMgr from toontown.parties.GlobalPartyManager import GlobalPartyManager from toontown.racing.DistributedStartingBlock import DistributedViewingBlock from toontown.ai.DistributedPhaseEventMgr import DistributedPhaseEventMgr @@ -27,7 +26,6 @@ from toontown.pets.PetDCImports import * from toontown.suit import DistributedSuitPlanner, DistributedSuitBase, DistributedSuit, DistributedTutorialSuit, DistributedFactorySuit, DistributedMintSuit, DistributedStageSuit, DistributedSellbotBoss, DistributedCashbotBoss, DistributedCashbotBossGoon, DistributedGoon, DistributedGridGoon, DistributedLawbotBoss, DistributedLawbotBossSuit, DistributedBossbotBoss from toontown.distributed import ToontownDistrict, ToontownDistrictStats, DistributedTimer from toontown.effects import DistributedFireworkShow -from toontown.uberdog.DistributedDataStoreManager import DistributedDataStoreManager from toontown.safezone import DistributedTrolley, DistributedPartyGate, DistributedBoat, DistributedButterfly, DistributedMMPiano, DistributedDGFlower, DistributedFishingSpot, SafeZoneManager, DistributedTreasure, DistributedGolfKart, DistributedPicnicBasket, DistributedGameTable, DistributedChineseCheckers, DistributedCheckers, DistributedFindFour from toontown.fishing import DistributedFishingPond, DistributedFishingTarget, DistributedPondBingoManager from toontown.minigame import DistributedMinigame, DistributedMinigameTemplate, DistributedRaceGame, DistributedCannonGame, DistributedPhotoGame, DistributedPatternGame, DistributedRingGame, DistributedTagGame, DistributedMazeGame, DistributedTugOfWarGame, DistributedCatchGame, DistributedDivingGame, DistributedTargetGame, DistributedTravelGame, DistributedPairingGame, DistributedVineGame, DistributedIceGame, DistributedCogThiefGame, DistributedTwoDGame diff --git a/toontown/uberdog/DistributedCpuInfoMgr.py b/toontown/uberdog/DistributedCpuInfoMgr.py deleted file mode 100644 index 2043edf1..00000000 --- a/toontown/uberdog/DistributedCpuInfoMgr.py +++ /dev/null @@ -1,4 +0,0 @@ -from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal - -class DistributedCpuInfoMgr(DistributedObjectGlobal): - pass diff --git a/toontown/uberdog/DistributedCpuInfoMgrAI.py b/toontown/uberdog/DistributedCpuInfoMgrAI.py deleted file mode 100644 index cc3ff688..00000000 --- a/toontown/uberdog/DistributedCpuInfoMgrAI.py +++ /dev/null @@ -1,9 +0,0 @@ -from direct.directnotify import DirectNotifyGlobal -from direct.distributed.DistributedObjectGlobalAI import DistributedObjectGlobalAI - -class DistributedCpuInfoMgrAI(DistributedObjectGlobalAI): - notify = DirectNotifyGlobal.directNotify.newCategory("DistributedCpuInfoMgrAI") - - def setCpuInfoToUd(self, todo0, todo1, todo2, todo3): - pass - diff --git a/toontown/uberdog/DistributedCpuInfoMgrUD.py b/toontown/uberdog/DistributedCpuInfoMgrUD.py deleted file mode 100644 index 88f8add1..00000000 --- a/toontown/uberdog/DistributedCpuInfoMgrUD.py +++ /dev/null @@ -1,9 +0,0 @@ -from direct.directnotify import DirectNotifyGlobal -from direct.distributed.DistributedObjectGlobalUD import DistributedObjectGlobalUD - -class DistributedCpuInfoMgrUD(DistributedObjectGlobalUD): - notify = DirectNotifyGlobal.directNotify.newCategory("DistributedCpuInfoMgrUD") - - def setCpuInfoToUd(self, todo0, todo1, todo2, todo3): - pass - diff --git a/toontown/uberdog/DistributedDataStoreManager.py b/toontown/uberdog/DistributedDataStoreManager.py deleted file mode 100644 index b21a6f0a..00000000 --- a/toontown/uberdog/DistributedDataStoreManager.py +++ /dev/null @@ -1,7 +0,0 @@ -from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal -from toontown.uberdog import DataStoreGlobals - -class DistributedDataStoreManager(DistributedObjectGlobal): - - def __init__(self): - pass diff --git a/toontown/uberdog/DistributedDataStoreManagerAI.py b/toontown/uberdog/DistributedDataStoreManagerAI.py deleted file mode 100644 index 55e6017c..00000000 --- a/toontown/uberdog/DistributedDataStoreManagerAI.py +++ /dev/null @@ -1,21 +0,0 @@ -from direct.directnotify import DirectNotifyGlobal -from direct.distributed.DistributedObjectAI import DistributedObjectAI - -class DistributedDataStoreManagerAI(DistributedObjectAI): - notify = DirectNotifyGlobal.directNotify.newCategory("DistributedDataStoreManagerAI") - - def startStore(self, todo0): - pass - - def stopStore(self, todo0): - pass - - def queryStore(self, todo0, todo1): - pass - - def receiveResults(self, todo0, todo1): - pass - - def deleteBackupStores(self): - pass - diff --git a/toontown/uberdog/DistributedDataStoreManagerUD.py b/toontown/uberdog/DistributedDataStoreManagerUD.py deleted file mode 100644 index 7faa37cd..00000000 --- a/toontown/uberdog/DistributedDataStoreManagerUD.py +++ /dev/null @@ -1,21 +0,0 @@ -from direct.directnotify import DirectNotifyGlobal -from direct.distributed.DistributedObjectUD import DistributedObjectUD - -class DistributedDataStoreManagerUD(DistributedObjectUD): - notify = DirectNotifyGlobal.directNotify.newCategory("DistributedDataStoreManagerUD") - - def startStore(self, todo0): - pass - - def stopStore(self, todo0): - pass - - def queryStore(self, todo0, todo1): - pass - - def receiveResults(self, todo0, todo1): - pass - - def deleteBackupStores(self): - pass -