From 1ba18164bb82d9f1b8cefda63bd7f73f18dbfe69 Mon Sep 17 00:00:00 2001 From: DenialMC Date: Sat, 25 Apr 2015 10:27:40 +0300 Subject: [PATCH] Remove OSInfo and CPUSpeed --- astron/dclass/united.dc | 12 ------------ otp/distributed/DCClassImports.py | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/astron/dclass/united.dc b/astron/dclass/united.dc index 86818c4d..3bd8182c 100644 --- a/astron/dclass/united.dc +++ b/astron/dclass/united.dc @@ -50,18 +50,6 @@ dclass DistributedObject { broadcastMessage() broadcast; }; -struct OSInfo { - string name; - int16 platform; - int16 major; - int16 minor; -}; - -struct CPUSpeed { - int32/1000 maxSpeed; - int32/1000 currentSpeed; -}; - dclass TimeManager : DistributedObject { requestServerTime(uint8 context) airecv clsend; serverTime(uint8 context, int32 timestap, uint32 timeOfDay); diff --git a/otp/distributed/DCClassImports.py b/otp/distributed/DCClassImports.py index 7080e8b7..31a9a2a7 100644 --- a/otp/distributed/DCClassImports.py +++ b/otp/distributed/DCClassImports.py @@ -2,7 +2,7 @@ from pandac.PandaModules import * -hashVal = 204403139 +hashVal = 3917046557L 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