diff --git a/astron/dclass/toon.dc b/astron/dclass/toon.dc index 90de408a..e716f7ac 100644 --- a/astron/dclass/toon.dc +++ b/astron/dclass/toon.dc @@ -209,6 +209,7 @@ 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 @@ -284,6 +285,7 @@ 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 @@ -2514,6 +2516,14 @@ 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; @@ -3291,6 +3301,10 @@ 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 dbe7b7a2..f722360e 100644 --- a/otp/distributed/DCClassImports.py +++ b/otp/distributed/DCClassImports.py @@ -2,7 +2,7 @@ from pandac.PandaModules import * -hashVal = 1275950154 +hashVal = 1907389465 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,6 +19,7 @@ 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 @@ -26,6 +27,7 @@ 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 new file mode 100644 index 00000000..2043edf1 --- /dev/null +++ b/toontown/uberdog/DistributedCpuInfoMgr.py @@ -0,0 +1,4 @@ +from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal + +class DistributedCpuInfoMgr(DistributedObjectGlobal): + pass diff --git a/toontown/uberdog/DistributedCpuInfoMgrAI.py b/toontown/uberdog/DistributedCpuInfoMgrAI.py new file mode 100644 index 00000000..cc3ff688 --- /dev/null +++ b/toontown/uberdog/DistributedCpuInfoMgrAI.py @@ -0,0 +1,9 @@ +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 new file mode 100644 index 00000000..88f8add1 --- /dev/null +++ b/toontown/uberdog/DistributedCpuInfoMgrUD.py @@ -0,0 +1,9 @@ +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 new file mode 100644 index 00000000..b21a6f0a --- /dev/null +++ b/toontown/uberdog/DistributedDataStoreManager.py @@ -0,0 +1,7 @@ +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 new file mode 100644 index 00000000..55e6017c --- /dev/null +++ b/toontown/uberdog/DistributedDataStoreManagerAI.py @@ -0,0 +1,21 @@ +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 new file mode 100644 index 00000000..7faa37cd --- /dev/null +++ b/toontown/uberdog/DistributedDataStoreManagerUD.py @@ -0,0 +1,21 @@ +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 +