diff --git a/Python/Ahnonay.py b/Python/Ahnonay.py index 1a2935f9..4e51839e 100644 --- a/Python/Ahnonay.py +++ b/Python/Ahnonay.py @@ -46,9 +46,7 @@ Date: June 2003 """ -from Plasma import * -from PlasmaTypes import * -from PlasmaNetConstants import * +from plasma import * from xPsnlVaultSDL import * spherePages = ["Ahnonay_District_ahnySphere01", diff --git a/Python/AhnonayCathedral.py b/Python/AhnonayCathedral.py index fd9b2922..9424f91f 100644 --- a/Python/AhnonayCathedral.py +++ b/Python/AhnonayCathedral.py @@ -46,8 +46,7 @@ Date: June 2003 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class AhnonayCathedral(ptResponder): diff --git a/Python/AhnyVogondolaRide.py b/Python/AhnyVogondolaRide.py index 29ada20d..ffc2a67e 100644 --- a/Python/AhnyVogondolaRide.py +++ b/Python/AhnyVogondolaRide.py @@ -46,8 +46,7 @@ Date: June 2003 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * click = ptAttribActivator(1,"chair clickable") climb = ptAttribBehavior(2,"climb behavior") diff --git a/Python/BahroCave.py b/Python/BahroCave.py index 315569c6..b3c27f14 100644 --- a/Python/BahroCave.py +++ b/Python/BahroCave.py @@ -46,8 +46,7 @@ Date: June 2003 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class BahroCave(ptResponder): diff --git a/Python/BaronCityOffice.py b/Python/BaronCityOffice.py index 7279f27a..226943d1 100644 --- a/Python/BaronCityOffice.py +++ b/Python/BaronCityOffice.py @@ -47,8 +47,7 @@ Event Manager hooks for BaronCityOffice """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class BaronCityOffice(ptResponder): diff --git a/Python/Cleft.py b/Python/Cleft.py index 60a3f2fe..8be67a84 100644 --- a/Python/Cleft.py +++ b/Python/Cleft.py @@ -47,10 +47,7 @@ Event Manager hooks for Cleft """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * -from PlasmaKITypes import * +from plasma import * #rgnSnsrFissureDrop = ptAttribActivator(1, "rgn snsr: fissure drop spawn") diff --git a/Python/Dereno.py b/Python/Dereno.py index 418b0094..35da2180 100644 --- a/Python/Dereno.py +++ b/Python/Dereno.py @@ -47,8 +47,7 @@ AgeSDL hooks for Dereno """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Dereno(ptResponder): diff --git a/Python/Descent.py b/Python/Descent.py index d0e49891..1cf3f4fa 100644 --- a/Python/Descent.py +++ b/Python/Descent.py @@ -47,9 +47,7 @@ Event Manager hooks for Descent """ -from Plasma import * -from PlasmaTypes import * -from PlasmaVaultConstants import * +from plasma import * class Descent(ptResponder): diff --git a/Python/EderDelin.py b/Python/EderDelin.py index 9621d71d..14d5123f 100644 --- a/Python/EderDelin.py +++ b/Python/EderDelin.py @@ -47,8 +47,7 @@ AgeSDL hook for EderDelin """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class EderDelin(ptResponder): diff --git a/Python/EderTsogal.py b/Python/EderTsogal.py index 95f2eccb..76035ed6 100644 --- a/Python/EderTsogal.py +++ b/Python/EderTsogal.py @@ -47,8 +47,7 @@ AgeSDL hook for EderTsogal """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class EderTsogal(ptResponder): diff --git a/Python/Ercana.py b/Python/Ercana.py index 3e79e58e..b2d95d4c 100644 --- a/Python/Ercana.py +++ b/Python/Ercana.py @@ -47,8 +47,7 @@ AgeSDL hooks for Ercana """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Ercana(ptResponder): diff --git a/Python/ErcanaCitySilo.py b/Python/ErcanaCitySilo.py index 8b460603..494e1432 100644 --- a/Python/ErcanaCitySilo.py +++ b/Python/ErcanaCitySilo.py @@ -47,10 +47,7 @@ Event Manager hooks for ErcanaCitySilo """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * -from PlasmaKITypes import * +from plasma import * from xPsnlVaultSDL import * import string import time diff --git a/Python/Garden.py b/Python/Garden.py index 5fff4418..3907f426 100644 --- a/Python/Garden.py +++ b/Python/Garden.py @@ -47,8 +47,7 @@ event manager hooks for the Garden """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Garden(ptResponder): diff --git a/Python/GardenBugs.py b/Python/GardenBugs.py index 9065fdc2..b9b13d40 100644 --- a/Python/GardenBugs.py +++ b/Python/GardenBugs.py @@ -45,9 +45,7 @@ Age: Garden """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * +from plasma import * bugRgn = ptAttribActivator(1,"region bug transfer") bugEmitter = ptAttribSceneobject(2,"bug emitter obj") diff --git a/Python/Garrison.py b/Python/Garrison.py index c495e2ee..206e2c74 100644 --- a/Python/Garrison.py +++ b/Python/Garrison.py @@ -47,8 +47,7 @@ event manager hooks for the Garrison """ -from Plasma import * -from PlasmaTypes import * +from plasma import * IsPublic = 0 diff --git a/Python/Gira.py b/Python/Gira.py index f81542ac..e5ff24fd 100644 --- a/Python/Gira.py +++ b/Python/Gira.py @@ -46,8 +46,7 @@ Date: May 2003 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Gira(ptResponder): diff --git a/Python/GiraBugs.py b/Python/GiraBugs.py index 5c812dc3..e94ac019 100644 --- a/Python/GiraBugs.py +++ b/Python/GiraBugs.py @@ -45,9 +45,7 @@ Age: Gira """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * +from plasma import * water01 = ptAttribActivator(1,"water 01") water02 = ptAttribActivator(2,"water 02") diff --git a/Python/GiraCave1.py b/Python/GiraCave1.py index c797d7d2..f6c3fce4 100644 --- a/Python/GiraCave1.py +++ b/Python/GiraCave1.py @@ -47,9 +47,7 @@ event manager hooks for the Garden """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * +from plasma import * caveSolved = ptAttribActivator(2,"cave solved") diff --git a/Python/GiraDoor.py b/Python/GiraDoor.py index 1dd6fd76..750c1edd 100644 --- a/Python/GiraDoor.py +++ b/Python/GiraDoor.py @@ -47,9 +47,7 @@ event manager hooks for the Garden """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * +from plasma import * #globals diff --git a/Python/GiraSteam.py b/Python/GiraSteam.py index e9e10e8f..495dfa3d 100644 --- a/Python/GiraSteam.py +++ b/Python/GiraSteam.py @@ -47,9 +47,7 @@ event manager hooks for the Garden """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * +from plasma import * fumerol1Resp = ptAttribResponder(1, "fumerol 1 responder",['Opening','Closing','Rumble1','Rumble2','Rumble3','Rumble4','BlastOpen', 'MuffledBlastOnly']) fumerol2Resp = ptAttribResponder(2, "fumerol 2 responder",['Opening','Closing','Rumble1','Rumble2','Rumble3','Rumble4','BlastOpen', 'MuffledBlastOnly']) diff --git a/Python/GreatTreePub.py b/Python/GreatTreePub.py index 702232a5..1e823de7 100644 --- a/Python/GreatTreePub.py +++ b/Python/GreatTreePub.py @@ -47,8 +47,7 @@ AgeSDLHook for GreatTreePub """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class GreatTreePub(ptResponder): diff --git a/Python/GreatZero.py b/Python/GreatZero.py index 139a8f5c..ebeeda5c 100644 --- a/Python/GreatZero.py +++ b/Python/GreatZero.py @@ -47,8 +47,7 @@ Event Manager hooks for GreatZero """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class GreatZero(ptResponder): diff --git a/Python/Jalak.py b/Python/Jalak.py index 7ac67d79..573ace8a 100644 --- a/Python/Jalak.py +++ b/Python/Jalak.py @@ -47,8 +47,7 @@ AgeSDL hook for Jalak """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Jalak(ptResponder): diff --git a/Python/Kadish.py b/Python/Kadish.py index b690375e..ba826847 100644 --- a/Python/Kadish.py +++ b/Python/Kadish.py @@ -47,8 +47,7 @@ Event Manager hooks for Kadish Tolesa """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Kadish(ptResponder): diff --git a/Python/Kveer.py b/Python/Kveer.py index b599e0be..08671356 100644 --- a/Python/Kveer.py +++ b/Python/Kveer.py @@ -46,8 +46,7 @@ Date: September 2007 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Kveer(ptResponder): diff --git a/Python/LiveBahroCaves.py b/Python/LiveBahroCaves.py index 216b7423..e979c7df 100644 --- a/Python/LiveBahroCaves.py +++ b/Python/LiveBahroCaves.py @@ -46,8 +46,7 @@ Date: May 2007 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * ## constants BlueSpiral = ["EderDelin","EderTsogal"] diff --git a/Python/Minkata.py b/Python/Minkata.py index b8fe903b..8fc6878b 100644 --- a/Python/Minkata.py +++ b/Python/Minkata.py @@ -47,8 +47,7 @@ Author: Derek Odell """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max diff --git a/Python/Myst.py b/Python/Myst.py index aebd882b..993eb695 100644 --- a/Python/Myst.py +++ b/Python/Myst.py @@ -46,8 +46,7 @@ Date: March 2004 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Myst(ptResponder): diff --git a/Python/Negilahn.py b/Python/Negilahn.py index 5646937c..e407b427 100644 --- a/Python/Negilahn.py +++ b/Python/Negilahn.py @@ -47,8 +47,7 @@ AgeSDL hooks for Negilahn """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Negilahn(ptResponder): diff --git a/Python/Neighborhood.py b/Python/Neighborhood.py index 4710891c..6e4b2495 100644 --- a/Python/Neighborhood.py +++ b/Python/Neighborhood.py @@ -47,8 +47,7 @@ event manager hooks for the Neighborhood """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Neighborhood(ptResponder): diff --git a/Python/Neighborhood02.py b/Python/Neighborhood02.py index 8c5dbc42..b448bb17 100644 --- a/Python/Neighborhood02.py +++ b/Python/Neighborhood02.py @@ -47,9 +47,7 @@ event manager hooks for Neighborhood02, aka Kirel """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import time class Neighborhood02(ptResponder): diff --git a/Python/Nexus.py b/Python/Nexus.py index 5faee3f8..c1c9309e 100644 --- a/Python/Nexus.py +++ b/Python/Nexus.py @@ -47,8 +47,7 @@ vault manager hook for the nexus """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Nexus(ptResponder): diff --git a/Python/Payiferen.py b/Python/Payiferen.py index 1014c613..699f28c2 100644 --- a/Python/Payiferen.py +++ b/Python/Payiferen.py @@ -47,8 +47,7 @@ AgeSDL hooks for Payiferen """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Payiferen(ptResponder): diff --git a/Python/PelletBahroCave.py b/Python/PelletBahroCave.py index 497238a7..ff2dd2b5 100644 --- a/Python/PelletBahroCave.py +++ b/Python/PelletBahroCave.py @@ -46,10 +46,7 @@ Date: March 2004 """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * -from PlasmaKITypes import * +from plasma import * from xPsnlVaultSDL import * import string import time diff --git a/Python/Personal.py b/Python/Personal.py index eaa3f13b..9cda9a86 100644 --- a/Python/Personal.py +++ b/Python/Personal.py @@ -47,9 +47,7 @@ event manager hooks for the personal age """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import string diff --git a/Python/PhilRelto.py b/Python/PhilRelto.py index dcd5b165..8d3f9105 100644 --- a/Python/PhilRelto.py +++ b/Python/PhilRelto.py @@ -47,9 +47,7 @@ event manager hooks for phil's personal age """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * class PhilRelto(ptResponder): diff --git a/Python/SpyRoom.py b/Python/SpyRoom.py index 6b01ae52..5b1521fe 100644 --- a/Python/SpyRoom.py +++ b/Python/SpyRoom.py @@ -46,8 +46,7 @@ Date: January 2004 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import time class SpyRoom(ptResponder): diff --git a/Python/Teledahn.py b/Python/Teledahn.py index 1213b240..404d9e22 100644 --- a/Python/Teledahn.py +++ b/Python/Teledahn.py @@ -47,8 +47,7 @@ event manager hooks for the Teledahn """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Teledahn(ptResponder): diff --git a/Python/Tetsonot.py b/Python/Tetsonot.py index 8ff6e9c4..0ec43af7 100644 --- a/Python/Tetsonot.py +++ b/Python/Tetsonot.py @@ -47,8 +47,7 @@ AgeSDL hooks for Tetsonot """ -from Plasma import * -from PlasmaTypes import * +from plasma import * class Tetsonot(ptResponder): diff --git a/Python/ahnyIslandHut.py b/Python/ahnyIslandHut.py index c363d9d9..d595cd0d 100644 --- a/Python/ahnyIslandHut.py +++ b/Python/ahnyIslandHut.py @@ -46,8 +46,7 @@ Date: June 2003 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * from xPsnlVaultSDL import * import time diff --git a/Python/ahnyKadishDoor.py b/Python/ahnyKadishDoor.py index 3cbf6920..aa096b75 100644 --- a/Python/ahnyKadishDoor.py +++ b/Python/ahnyKadishDoor.py @@ -48,13 +48,11 @@ wiring for Kadish's engineer hut door """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import string import copy import time -import PlasmaControlKeys +from plasma import PlasmaControlKeys # --------- diff --git a/Python/ahnyKadishHut.py b/Python/ahnyKadishHut.py index 93b91af1..43f62855 100644 --- a/Python/ahnyKadishHut.py +++ b/Python/ahnyKadishHut.py @@ -48,8 +48,7 @@ wiring for items inside Kadish's hut """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string #import time diff --git a/Python/ahnyLinkBookGUIPopup.py b/Python/ahnyLinkBookGUIPopup.py index b381eecb..8476be10 100644 --- a/Python/ahnyLinkBookGUIPopup.py +++ b/Python/ahnyLinkBookGUIPopup.py @@ -58,9 +58,7 @@ First phase - keep hi level structure, only replace the bring up of books """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import string import xLinkingBookDefs from xPsnlVaultSDL import * diff --git a/Python/ahnyMaintRoom.py b/Python/ahnyMaintRoom.py index c5c761e0..cbe69852 100644 --- a/Python/ahnyMaintRoom.py +++ b/Python/ahnyMaintRoom.py @@ -46,8 +46,7 @@ Date: April 2004 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * from xPsnlVaultSDL import * import time diff --git a/Python/ahnyPressurePlates.py b/Python/ahnyPressurePlates.py index 809e12b4..634f9471 100644 --- a/Python/ahnyPressurePlates.py +++ b/Python/ahnyPressurePlates.py @@ -48,9 +48,7 @@ Ahnonay Quab control """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import xLinkingBookDefs import xRandom diff --git a/Python/ahnyQuabs.py b/Python/ahnyQuabs.py index bbcc8a52..b89328ff 100644 --- a/Python/ahnyQuabs.py +++ b/Python/ahnyQuabs.py @@ -41,8 +41,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import math import random diff --git a/Python/ahnySaveCloth.py b/Python/ahnySaveCloth.py index c1e7f323..240c9bfe 100644 --- a/Python/ahnySaveCloth.py +++ b/Python/ahnySaveCloth.py @@ -48,8 +48,7 @@ Sets a save point """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max Activator = ptAttribActivator(1,"Activator: Cloth Clickable") diff --git a/Python/ahnyTrees.py b/Python/ahnyTrees.py index c32921a4..280455da 100644 --- a/Python/ahnyTrees.py +++ b/Python/ahnyTrees.py @@ -48,8 +48,7 @@ Ahnonay Quab control """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max diff --git a/Python/ahnyVogondolaRideV2.py b/Python/ahnyVogondolaRideV2.py index 482cb4bb..2930cc54 100644 --- a/Python/ahnyVogondolaRideV2.py +++ b/Python/ahnyVogondolaRideV2.py @@ -47,8 +47,7 @@ Author: Adam Van Ornum (based on original work by Chris Purvis) """ -from Plasma import * -from PlasmaTypes import * +from plasma import * GroupSelector = ptAttribDropDownList(1, "Group Selector", ("Hub", "Eng Hut", "Vogondola", "Vogondola Throttle", "Vogondola Reverse", "Call buttons") ) diff --git a/Python/airstream.py b/Python/airstream.py index 295b72ab..22460aad 100644 --- a/Python/airstream.py +++ b/Python/airstream.py @@ -42,9 +42,8 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys activateAirstream = ptAttribActivator(1,"airstream activator") airstreamNode = ptAttribSceneobject(2,"airstream attach node") diff --git a/Python/bhroBahroBlueSpiral.py b/Python/bhroBahroBlueSpiral.py index b5993819..4d69baf3 100644 --- a/Python/bhroBahroBlueSpiral.py +++ b/Python/bhroBahroBlueSpiral.py @@ -48,9 +48,7 @@ Blue Spiral Bahro Cave """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * from xPsnlVaultSDL import * # define the attributes that will be entered in max diff --git a/Python/bhroBahroMink.py b/Python/bhroBahroMink.py index a71776d7..a676cad1 100644 --- a/Python/bhroBahroMink.py +++ b/Python/bhroBahroMink.py @@ -48,9 +48,7 @@ Minkata Bahro Cave """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * from xPsnlVaultSDL import * # define the attributes that will be entered in max diff --git a/Python/bhroBahroPOTS.py b/Python/bhroBahroPOTS.py index 5dce593c..4667aba1 100644 --- a/Python/bhroBahroPOTS.py +++ b/Python/bhroBahroPOTS.py @@ -48,9 +48,7 @@ POTS Bahro Cave """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * from xPsnlVaultSDL import * diff --git a/Python/bhroBahroPod.py b/Python/bhroBahroPod.py index 005883ef..dc0529ec 100644 --- a/Python/bhroBahroPod.py +++ b/Python/bhroBahroPod.py @@ -48,9 +48,7 @@ Pod Bahro Cave """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * from xPsnlVaultSDL import * # define the attributes that will be entered in max diff --git a/Python/bhroBahroYeeshaCave.py b/Python/bhroBahroYeeshaCave.py index c57bc077..5042bc3a 100644 --- a/Python/bhroBahroYeeshaCave.py +++ b/Python/bhroBahroYeeshaCave.py @@ -48,9 +48,7 @@ Controls the bahro cave side of the bahro pole stuff """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import xEnum import xRandom from xPsnlVaultSDL import * diff --git a/Python/bhroStarfieldOrCavern.py b/Python/bhroStarfieldOrCavern.py index 982797d3..2d8ded1d 100644 --- a/Python/bhroStarfieldOrCavern.py +++ b/Python/bhroStarfieldOrCavern.py @@ -48,8 +48,7 @@ Controls whether the starfield or the cavern shows up """ -from Plasma import * -from PlasmaTypes import * +from plasma import * from xPsnlVaultSDL import * boolCavernObj = ptAttribBoolean(1, "Cavern object", 0) diff --git a/Python/city.py b/Python/city.py index 982b4fe4..86af1fa8 100644 --- a/Python/city.py +++ b/Python/city.py @@ -47,8 +47,7 @@ event manager hooks for the City """ -from Plasma import * -from PlasmaTypes import * +from plasma import * IsPublic = 0 IsKadishGallery = 0 diff --git a/Python/clftEndingCredits.py b/Python/clftEndingCredits.py index c13a82cd..17fd5327 100644 --- a/Python/clftEndingCredits.py +++ b/Python/clftEndingCredits.py @@ -47,13 +47,10 @@ Do credits at endgame """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * -from PlasmaKITypes import * +from plasma import * import time import copy -import PlasmaControlKeys +from plasma import PlasmaControlKeys import xJournalBookDefs diff --git a/Python/clftGetPersonalBook.py b/Python/clftGetPersonalBook.py index 51330fd1..64dc0314 100644 --- a/Python/clftGetPersonalBook.py +++ b/Python/clftGetPersonalBook.py @@ -49,9 +49,7 @@ Sets Chronical Entry to ensure that players who have "solved" the cleft can't return. """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import xLinkingBookDefs import os diff --git a/Python/clftImager.py b/Python/clftImager.py index 92e34b2e..bf57efcf 100644 --- a/Python/clftImager.py +++ b/Python/clftImager.py @@ -47,14 +47,11 @@ event manager hooks for the clftImager """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * -from PlasmaKITypes import * +from plasma import * import random import time import copy -import PlasmaControlKeys +from plasma import PlasmaControlKeys import string from xPsnlVaultSDL import * diff --git a/Python/clftIntroMusic.py b/Python/clftIntroMusic.py index da3fe0ba..fe96394a 100644 --- a/Python/clftIntroMusic.py +++ b/Python/clftIntroMusic.py @@ -48,8 +48,7 @@ Controls the Intro Music """ -from Plasma import * -from PlasmaTypes import * +from plasma import * actStartMusic01 = ptAttribActivator(1,"Start Music Activator 01") diff --git a/Python/clftNpcZandi.py b/Python/clftNpcZandi.py index 25316a47..9dfb3b73 100644 --- a/Python/clftNpcZandi.py +++ b/Python/clftNpcZandi.py @@ -48,11 +48,10 @@ Controls Zandi for Phase0 dialog """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random import time -import PlasmaControlKeys +from plasma import PlasmaControlKeys import xEnum # define the attributes that will be entered in max diff --git a/Python/clftRS.py b/Python/clftRS.py index 58eaad8c..4d0ddbf8 100644 --- a/Python/clftRS.py +++ b/Python/clftRS.py @@ -45,10 +45,8 @@ Age: Cleft """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max Activate = ptAttribActivator(1, "Activate Telescope",netForce=1) diff --git a/Python/clftTreeLadder.py b/Python/clftTreeLadder.py index 6401d239..4af2d909 100644 --- a/Python/clftTreeLadder.py +++ b/Python/clftTreeLadder.py @@ -48,9 +48,8 @@ Manages ladder in the tree of the Cleft. """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max diff --git a/Python/clftWindmill.py b/Python/clftWindmill.py index 37b84857..11bc0ccc 100644 --- a/Python/clftWindmill.py +++ b/Python/clftWindmill.py @@ -47,8 +47,7 @@ event manager hooks for the clftWindmill """ -from Plasma import * -from PlasmaTypes import * +from plasma import * clickLever = ptAttribActivator(4,"lever clickable") diff --git a/Python/clftYeeshaPage08.py b/Python/clftYeeshaPage08.py index 204f5035..eb5573f7 100644 --- a/Python/clftYeeshaPage08.py +++ b/Python/clftYeeshaPage08.py @@ -49,11 +49,7 @@ !!! NOTE: This file only applies to the cleft but is only used in the global xYeeshaPagesGUI.max file. !!! """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -from PlasmaVaultConstants import * -from PlasmaNetConstants import * +from plasma import * # define the attributes that will be entered in max diff --git a/Python/clftYeeshaPageImager.py b/Python/clftYeeshaPageImager.py index b905c9c0..b17fbb2a 100644 --- a/Python/clftYeeshaPageImager.py +++ b/Python/clftYeeshaPageImager.py @@ -48,11 +48,10 @@ Controls Imager which currently displays Yeesha Page #8 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random import time -import PlasmaControlKeys +from plasma import PlasmaControlKeys # define the attributes that will be entered in max ActImager = ptAttribActivator(1,"Imager button") diff --git a/Python/dsntKILightMachine.py b/Python/dsntKILightMachine.py index 233296db..09896217 100644 --- a/Python/dsntKILightMachine.py +++ b/Python/dsntKILightMachine.py @@ -45,9 +45,7 @@ # Upgrades a player's KI to emit light for a duration # April 2007 -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import string diff --git a/Python/ercaBakePellets.py b/Python/ercaBakePellets.py index 077fa024..88e1ee00 100644 --- a/Python/ercaBakePellets.py +++ b/Python/ercaBakePellets.py @@ -48,10 +48,9 @@ toggles an age sdl bool only if another age sdl bool is true """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string -import PlasmaControlKeys +from plasma import PlasmaControlKeys import xEnum from math import * diff --git a/Python/ercaBakeryElev.py b/Python/ercaBakeryElev.py index 31d97be4..7dd08337 100644 --- a/Python/ercaBakeryElev.py +++ b/Python/ercaBakeryElev.py @@ -48,10 +48,9 @@ toggles an age sdl bool only if another age sdl bool is true """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string -#import PlasmaControlKeys +#from plasma import PlasmaControlKeys # --------- # max wiring diff --git a/Python/ercaCallCar.py b/Python/ercaCallCar.py index 6ed14643..401c1b46 100644 --- a/Python/ercaCallCar.py +++ b/Python/ercaCallCar.py @@ -48,8 +48,7 @@ toggles an age sdl bool only if another age sdl bool is true """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/ercaControlRoom.py b/Python/ercaControlRoom.py index 1fa00263..500f2143 100644 --- a/Python/ercaControlRoom.py +++ b/Python/ercaControlRoom.py @@ -49,8 +49,7 @@ wiring for the Ercana Control Room """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/ercaHrvstr.py b/Python/ercaHrvstr.py index 46c16b24..8a2f5328 100644 --- a/Python/ercaHrvstr.py +++ b/Python/ercaHrvstr.py @@ -48,8 +48,7 @@ all-powerful script for all things Harvester """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string import time diff --git a/Python/ercaLadderHatch.py b/Python/ercaLadderHatch.py index ff698da5..180bd5b2 100644 --- a/Python/ercaLadderHatch.py +++ b/Python/ercaLadderHatch.py @@ -48,10 +48,9 @@ toggles an age sdl bool only if another age sdl bool is true """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string -import PlasmaControlKeys +from plasma import PlasmaControlKeys # --------- # max wiring diff --git a/Python/ercaOvenScope.py b/Python/ercaOvenScope.py index d786a503..c6ef4aed 100644 --- a/Python/ercaOvenScope.py +++ b/Python/ercaOvenScope.py @@ -48,10 +48,8 @@ This is the handler for Ercana's bakery oven-scopes """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys import string import xEnum from math import * diff --git a/Python/ercaPelletRoom.py b/Python/ercaPelletRoom.py index b6c0b914..56513e19 100644 --- a/Python/ercaPelletRoom.py +++ b/Python/ercaPelletRoom.py @@ -49,16 +49,14 @@ wiring for the Ercana pellet room, including the pellet dispensing machine and linking-out with/without a pellet """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import string -import PlasmaControlKeys +from plasma import PlasmaControlKeys import xEnum from math import * from xPsnlVaultSDL import * import time -from PlasmaNetConstants import * +from plasma import * # --------- diff --git a/Python/ercaSDLIntShowHide.py b/Python/ercaSDLIntShowHide.py index 7b02828f..918f7e94 100644 --- a/Python/ercaSDLIntShowHide.py +++ b/Python/ercaSDLIntShowHide.py @@ -49,8 +49,7 @@ Enter in the states you wish the item to be *INvisible* in as a comma separated list """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string stringVarName = ptAttribString(1,"Age SDL Var Name") diff --git a/Python/giraAgeSDLBoolRespondLightpost.py b/Python/giraAgeSDLBoolRespondLightpost.py index d658e513..54a78b6b 100644 --- a/Python/giraAgeSDLBoolRespondLightpost.py +++ b/Python/giraAgeSDLBoolRespondLightpost.py @@ -49,8 +49,7 @@ one of two responders depending on new state """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/grsn1stFloorClimb.py b/Python/grsn1stFloorClimb.py index 679eea53..dd9cc350 100644 --- a/Python/grsn1stFloorClimb.py +++ b/Python/grsn1stFloorClimb.py @@ -41,8 +41,7 @@ *==LICENSE==* """ # Include Plasma code -from Plasma import * -from PlasmaTypes import * +from plasma import * # for save/load import cPickle diff --git a/Python/grsnDownElevator.py b/Python/grsnDownElevator.py index 8ab67fd2..2a121196 100644 --- a/Python/grsnDownElevator.py +++ b/Python/grsnDownElevator.py @@ -41,9 +41,7 @@ *==LICENSE==* """ # Include Plasma code -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * ############################################################## diff --git a/Python/grsnElevRespTrigger.py b/Python/grsnElevRespTrigger.py index fcc4b9db..0e858121 100644 --- a/Python/grsnElevRespTrigger.py +++ b/Python/grsnElevRespTrigger.py @@ -41,8 +41,7 @@ *==LICENSE==* """ # Include Plasma code -from Plasma import * -from PlasmaTypes import * +from plasma import * ############################################################## # define the attributes/parameters that we need from the 3dsMax scene diff --git a/Python/grsnEmgrPhase0.py b/Python/grsnEmgrPhase0.py index b194d6ef..b70f1d66 100644 --- a/Python/grsnEmgrPhase0.py +++ b/Python/grsnEmgrPhase0.py @@ -47,8 +47,7 @@ Event Manager interface for Garrison Phase 0 content """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string #globals diff --git a/Python/grsnGearRide.py b/Python/grsnGearRide.py index 975c835a..438c31f4 100644 --- a/Python/grsnGearRide.py +++ b/Python/grsnGearRide.py @@ -41,8 +41,7 @@ *==LICENSE==* """ # Include Plasma code -from Plasma import * -from PlasmaTypes import * +from plasma import * ############################################################## # define the attributes/parameters that we need from the 3dsMax scene diff --git a/Python/grsnGetKI.py b/Python/grsnGetKI.py index 40788f42..1b67aec4 100644 --- a/Python/grsnGetKI.py +++ b/Python/grsnGetKI.py @@ -46,9 +46,7 @@ version 1.1 """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * #============================================================= # define the attributes that will be entered in max diff --git a/Python/grsnMainWallPython.py b/Python/grsnMainWallPython.py index 946abe93..05e40871 100644 --- a/Python/grsnMainWallPython.py +++ b/Python/grsnMainWallPython.py @@ -41,8 +41,7 @@ *==LICENSE==* """ # Include Plasma code -from Plasma import * -from PlasmaTypes import * +from plasma import * # for save/load import cPickle diff --git a/Python/grsnNexusBookMachine.py b/Python/grsnNexusBookMachine.py index cc2755ee..2a155d78 100644 --- a/Python/grsnNexusBookMachine.py +++ b/Python/grsnNexusBookMachine.py @@ -42,10 +42,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * -from PlasmaKITypes import * +from plasma import * purpleResp = ptAttribResponder(1,"purple responder") yellowResp = ptAttribResponder(2,"yellow responder") diff --git a/Python/grsnPageMaster.py b/Python/grsnPageMaster.py index df388ae4..b1aea9ad 100644 --- a/Python/grsnPageMaster.py +++ b/Python/grsnPageMaster.py @@ -47,8 +47,7 @@ manages page loading for public vs. non-public Garrisons """ -from Plasma import * -from PlasmaTypes import * +from plasma import * IsPublic = 0 diff --git a/Python/grsnPowerOn.py b/Python/grsnPowerOn.py index 64730ac8..34124b3d 100644 --- a/Python/grsnPowerOn.py +++ b/Python/grsnPowerOn.py @@ -41,8 +41,7 @@ *==LICENSE==* """ # Include Plasma code -from Plasma import * -from PlasmaTypes import * +from plasma import * # for save/load import cPickle diff --git a/Python/grsnPrisonRandomSDLItems.py b/Python/grsnPrisonRandomSDLItems.py index 4dabe15e..b3e61c28 100644 --- a/Python/grsnPrisonRandomSDLItems.py +++ b/Python/grsnPrisonRandomSDLItems.py @@ -47,8 +47,7 @@ Randomizes contents of the Garrison Prison Cell """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random #globals diff --git a/Python/grsnTrnCtrBridgeSafety.py b/Python/grsnTrnCtrBridgeSafety.py index d23c0800..0742a2c9 100644 --- a/Python/grsnTrnCtrBridgeSafety.py +++ b/Python/grsnTrnCtrBridgeSafety.py @@ -47,8 +47,7 @@ event manager hooks for the GarrisonTrnCtrExtTrans """ -from Plasma import * -from PlasmaTypes import * +from plasma import * arrivePt = ptAttribSceneobject(1,"warp point") triggerRgn1 = ptAttribActivator(2,"upper box") diff --git a/Python/grsnTrnCtrDoorEnter.py b/Python/grsnTrnCtrDoorEnter.py index 58e98e5d..0818c249 100644 --- a/Python/grsnTrnCtrDoorEnter.py +++ b/Python/grsnTrnCtrDoorEnter.py @@ -41,9 +41,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * arrivePt = ptAttribSceneobject(1,"arrive point") triggerRgn1 = ptAttribActivator(2,"door 1 region sensor") diff --git a/Python/grsnTrnCtrDoorExit.py b/Python/grsnTrnCtrDoorExit.py index eaf6b055..9d776a8f 100644 --- a/Python/grsnTrnCtrDoorExit.py +++ b/Python/grsnTrnCtrDoorExit.py @@ -47,9 +47,7 @@ event manager hooks for the GarrisonTrnCtrExtTrans """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * arrivePt = ptAttribSceneobject(1,"arrive point") diff --git a/Python/grsnTrnCtrDoors.py b/Python/grsnTrnCtrDoors.py index ab89f6d6..e22ba247 100644 --- a/Python/grsnTrnCtrDoors.py +++ b/Python/grsnTrnCtrDoors.py @@ -48,8 +48,7 @@ Karl """ -from Plasma import * -from PlasmaTypes import * +from plasma import * triggerRgn = ptAttribActivator(1, "region sensor") diff --git a/Python/grsnWallImagerDisplayN.py b/Python/grsnWallImagerDisplayN.py index 077b6a60..21055dbb 100644 --- a/Python/grsnWallImagerDisplayN.py +++ b/Python/grsnWallImagerDisplayN.py @@ -41,8 +41,7 @@ *==LICENSE==* """ # Include Plasma code -from Plasma import * -from PlasmaTypes import * +from plasma import * # for save/load import cPickle diff --git a/Python/grsnWallImagerDisplayS.py b/Python/grsnWallImagerDisplayS.py index a87bd456..551f164a 100644 --- a/Python/grsnWallImagerDisplayS.py +++ b/Python/grsnWallImagerDisplayS.py @@ -41,8 +41,7 @@ *==LICENSE==* """ # Include Plasma code -from Plasma import * -from PlasmaTypes import * +from plasma import * # for save/load import cPickle diff --git a/Python/grsnWallPython.py b/Python/grsnWallPython.py index 93240b0e..fa0586ec 100644 --- a/Python/grsnWallPython.py +++ b/Python/grsnWallPython.py @@ -41,9 +41,7 @@ *==LICENSE==* """ # Include Plasma code -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * # for save/load import cPickle diff --git a/Python/grsnWellJump.py b/Python/grsnWellJump.py index f4880e33..0933b483 100644 --- a/Python/grsnWellJump.py +++ b/Python/grsnWellJump.py @@ -41,8 +41,7 @@ *==LICENSE==* """ # Include Plasma code -from Plasma import * -from PlasmaTypes import * +from plasma import * # for save/load import cPickle diff --git a/Python/grtzAccessDoors.py b/Python/grtzAccessDoors.py index c0304cdd..23ea6108 100644 --- a/Python/grtzAccessDoors.py +++ b/Python/grtzAccessDoors.py @@ -48,9 +48,7 @@ Karl """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * triggerRgn = ptAttribActivator(1, "region sensor") diff --git a/Python/grtzGZMaster.py b/Python/grtzGZMaster.py index b3014569..3caf664f 100644 --- a/Python/grtzGZMaster.py +++ b/Python/grtzGZMaster.py @@ -46,10 +46,8 @@ Date: December 2006 """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys import string import time diff --git a/Python/grtzKIMarkerMachine.py b/Python/grtzKIMarkerMachine.py index e3e52ee0..3eb203d2 100644 --- a/Python/grtzKIMarkerMachine.py +++ b/Python/grtzKIMarkerMachine.py @@ -50,9 +50,7 @@ MaxVersionNumber = 2 MinorVersionNumber = 4 -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import string import xLinkingBookDefs from xPsnlVaultSDL import * diff --git a/Python/grtzMarkerGames.py b/Python/grtzMarkerGames.py index 4cdb0888..db315329 100644 --- a/Python/grtzMarkerGames.py +++ b/Python/grtzMarkerGames.py @@ -41,7 +41,7 @@ *==LICENSE==* """ -from Plasma import * +from plasma import * MG01 = ( ("city", ptPoint3(0.113123, -156.593, 221.15), "3, 53, -80"), diff --git a/Python/grtzMarkerScopeGUI.py b/Python/grtzMarkerScopeGUI.py index 2edeccf1..03a5ff3e 100644 --- a/Python/grtzMarkerScopeGUI.py +++ b/Python/grtzMarkerScopeGUI.py @@ -41,14 +41,11 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaConstants import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import time import grtzMarkerGames -import PlasmaControlKeys +from plasma import PlasmaControlKeys # define the attributes that will be entered in max MarkerGameDlg = ptAttribGUIDialog(1, "The MarkerGame GUI") diff --git a/Python/grtzMarkerScopes.py b/Python/grtzMarkerScopes.py index f4a618d8..03979cbb 100644 --- a/Python/grtzMarkerScopes.py +++ b/Python/grtzMarkerScopes.py @@ -48,10 +48,8 @@ MaxVersionNumber = 1 MinorVersionNumber = 2 -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys aTrigger = ptAttribActivator(1,"Activate the scope", netForce=1) diff --git a/Python/islmEmgrPhase0.py b/Python/islmEmgrPhase0.py index 1c683788..9030e49d 100644 --- a/Python/islmEmgrPhase0.py +++ b/Python/islmEmgrPhase0.py @@ -47,8 +47,7 @@ Event Manager interface for the City Phase 0 content """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string #globals diff --git a/Python/islmGZBeamBrain.py b/Python/islmGZBeamBrain.py index 0ae752fd..f09318c1 100644 --- a/Python/islmGZBeamBrain.py +++ b/Python/islmGZBeamBrain.py @@ -46,9 +46,7 @@ Modified by: Chris Doyle, Jan '07 """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * Beamlight = ptAttribSceneobject (1,"GZBeam RT Light") respRotateBeam = ptAttribResponder (2,"resp: Rotate GZBeam") diff --git a/Python/islmMemorialImager.py b/Python/islmMemorialImager.py index 9ab82a62..643efe73 100644 --- a/Python/islmMemorialImager.py +++ b/Python/islmMemorialImager.py @@ -45,10 +45,7 @@ Date: April 16, 2007 """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -from PlasmaVaultConstants import * +from plasma import * import string #============================================================= diff --git a/Python/islmPassable.py b/Python/islmPassable.py index d77c7137..0a493e9b 100644 --- a/Python/islmPassable.py +++ b/Python/islmPassable.py @@ -44,9 +44,7 @@ Module: islmPassable """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * # --------- # max wiring diff --git a/Python/islmPodMap.py b/Python/islmPodMap.py index 73961493..7c299b55 100644 --- a/Python/islmPodMap.py +++ b/Python/islmPodMap.py @@ -47,10 +47,8 @@ Author: Derek Odell """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max Activate = ptAttribActivator(1, " clickable ") diff --git a/Python/islmRandomBahroScream.py b/Python/islmRandomBahroScream.py index e493e3ed..d40102f6 100644 --- a/Python/islmRandomBahroScream.py +++ b/Python/islmRandomBahroScream.py @@ -47,8 +47,7 @@ Randomly plays Bahro scream based on SDL value """ -from Plasma import * -from PlasmaTypes import * +from plasma import * from xEnum import Enum import xRandom diff --git a/Python/islmRegisterNexusLink.py b/Python/islmRegisterNexusLink.py index 3e0faed1..a314dd2c 100644 --- a/Python/islmRegisterNexusLink.py +++ b/Python/islmRegisterNexusLink.py @@ -48,10 +48,8 @@ Adds a backlink to player's KI folder for use in the Nexus machine """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max diff --git a/Python/jlakField.py b/Python/jlakField.py index 5af49d2d..72c9037c 100644 --- a/Python/jlakField.py +++ b/Python/jlakField.py @@ -47,8 +47,7 @@ wiring for Jalak playing field, the REAL version """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import xRandom import string diff --git a/Python/kdshGlowInTheDark.py b/Python/kdshGlowInTheDark.py index 696b94ff..04537720 100644 --- a/Python/kdshGlowInTheDark.py +++ b/Python/kdshGlowInTheDark.py @@ -47,9 +47,7 @@ Operates the Glow in the Dark puzzle. """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import xSndLogTracks # define the attributes that will be entered in 3dsMAX diff --git a/Python/kdshPillarRoom.py b/Python/kdshPillarRoom.py index d7583170..427f8de6 100644 --- a/Python/kdshPillarRoom.py +++ b/Python/kdshPillarRoom.py @@ -47,8 +47,7 @@ Operates the Pillar Room puzzle. """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string diff --git a/Python/kdshShadowPath.py b/Python/kdshShadowPath.py index 46e78f22..02a26843 100644 --- a/Python/kdshShadowPath.py +++ b/Python/kdshShadowPath.py @@ -47,8 +47,7 @@ Operates the Shadow Path puzzle. """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # define the attributes that will be entered in 3dsMAX diff --git a/Python/kdshTreeRings.py b/Python/kdshTreeRings.py index 2c45dc5a..a3da08b8 100644 --- a/Python/kdshTreeRings.py +++ b/Python/kdshTreeRings.py @@ -48,10 +48,8 @@ As players engage and use the GUI, this sets the proper SDL values in the Kadish.sdl file """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max Activate = ptAttribActivator(1, "Activate Telescope", netForce=1) diff --git a/Python/kdshTreeRingsSolution.py b/Python/kdshTreeRingsSolution.py index 709dbf9f..82db5110 100644 --- a/Python/kdshTreeRingsSolution.py +++ b/Python/kdshTreeRingsSolution.py @@ -49,10 +49,8 @@ Also checks for the solution. """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys import string # If there were another way to have done this, believe me, I would have. diff --git a/Python/kdshVault.py b/Python/kdshVault.py index 3cf173cd..b9b934c9 100644 --- a/Python/kdshVault.py +++ b/Python/kdshVault.py @@ -47,9 +47,8 @@ Operates the Vault puzzle. """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys import string # VCP = Vault Control Panel diff --git a/Python/kemoEmgrPhase0.py b/Python/kemoEmgrPhase0.py index 16868e3a..3931a01c 100644 --- a/Python/kemoEmgrPhase0.py +++ b/Python/kemoEmgrPhase0.py @@ -47,8 +47,7 @@ Event Manager interface for the Garden Phase 0 content """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string #globals diff --git a/Python/kemoJourneyClothGate.py b/Python/kemoJourneyClothGate.py index 6e72f69f..857ff6fd 100644 --- a/Python/kemoJourneyClothGate.py +++ b/Python/kemoJourneyClothGate.py @@ -51,11 +51,9 @@ Handles the link out to the Cleft at the back of the cave """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string -from PlasmaVaultConstants import * -from PlasmaNetConstants import * +from plasma import * # --------- # max wiring diff --git a/Python/kemoStormWaterModifier.py b/Python/kemoStormWaterModifier.py index f1aa5275..e19a41ca 100644 --- a/Python/kemoStormWaterModifier.py +++ b/Python/kemoStormWaterModifier.py @@ -46,8 +46,7 @@ Date: January 2004 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * theWater = ptAttribWaveSet(1, "Wave set") startRain = ptAttribActivator(2, "Start rain drops") diff --git a/Python/ki/__init__.py b/Python/ki/__init__.py index c104633b..801ba83e 100644 --- a/Python/ki/__init__.py +++ b/Python/ki/__init__.py @@ -45,12 +45,7 @@ MinorVersionNumber = 52 # Plasma engine. -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -from PlasmaConstants import * -from PlasmaVaultConstants import * -from PlasmaNetConstants import * +from plasma import * import time import string diff --git a/Python/ki/xKIChat.py b/Python/ki/xKIChat.py index 3eba14c5..d10e9467 100644 --- a/Python/ki/xKIChat.py +++ b/Python/ki/xKIChat.py @@ -45,12 +45,7 @@ import time # Plasma Engine. -from Plasma import * -from PlasmaConstants import * -from PlasmaKITypes import * -from PlasmaNetConstants import * -from PlasmaTypes import * -from PlasmaVaultConstants import * +from plasma import * import xCensor import xLocTools diff --git a/Python/ki/xKIConstants.py b/Python/ki/xKIConstants.py index 06838bd7..511f2382 100644 --- a/Python/ki/xKIConstants.py +++ b/Python/ki/xKIConstants.py @@ -42,8 +42,7 @@ *==LICENSE==* """ # Plasma Engine. -from Plasma import * -from PlasmaTypes import * +from plasma import * # Uru modules. import xEnum diff --git a/Python/ki/xKIExtChatCommands.py b/Python/ki/xKIExtChatCommands.py index ebc9fc40..bca8ff2f 100644 --- a/Python/ki/xKIExtChatCommands.py +++ b/Python/ki/xKIExtChatCommands.py @@ -42,7 +42,7 @@ *==LICENSE==* """ # Plasma Engine. -import Plasma +from plasma import * # Uru modules. import xInvite @@ -52,76 +52,76 @@ # The value is a string that is a console command or a python function that # will be executed. xChatExtendedChat = { - Plasma.PtGetLocalizedString("KI.Commands.Sit") : Plasma.PtAvatarSitOnGround, - Plasma.PtGetLocalizedString("KI.Commands.Afk") : Plasma.PtAvatarEnterAFK, - Plasma.PtGetLocalizedString("KI.Commands.Invite") : xInvite.CreateInvitation, - Plasma.PtGetLocalizedString("KI.Commands.Uninvite") : xInvite.DeleteInvitation, - Plasma.PtGetLocalizedString("KI.Commands.Accept") : xInvite.AcceptInvitation, - Plasma.PtGetLocalizedString("KI.Commands.ShowInvites") : xInvite.ShowInvitations, - Plasma.PtGetLocalizedString("KI.Commands.Me") : xInvite.MeChat + PtGetLocalizedString("KI.Commands.Sit") : PtAvatarSitOnGround, + PtGetLocalizedString("KI.Commands.Afk") : PtAvatarEnterAFK, + PtGetLocalizedString("KI.Commands.Invite") : xInvite.CreateInvitation, + PtGetLocalizedString("KI.Commands.Uninvite") : xInvite.DeleteInvitation, + PtGetLocalizedString("KI.Commands.Accept") : xInvite.AcceptInvitation, + PtGetLocalizedString("KI.Commands.ShowInvites") : xInvite.ShowInvitations, + PtGetLocalizedString("KI.Commands.Me") : xInvite.MeChat } # Enter new commands in the dictionary below. # The key is a lowercase version of what the user types after the '/'. # The value is a string that is the engine emote name. xChatEmoteXlate = { - Plasma.PtGetLocalizedString("KI.Commands.Wave"): ("Wave", "KI.EmoteStrings.Wave"), - Plasma.PtGetLocalizedString("KI.Commands.Sneeze"): ("Sneeze", "KI.EmoteStrings.Sneeze"), - Plasma.PtGetLocalizedString("KI.Commands.Clap"): ("Clap", "KI.EmoteStrings.Clap"), - Plasma.PtGetLocalizedString("KI.Commands.Laugh"): ("Laugh", "KI.EmoteStrings.Laugh"), - Plasma.PtGetLocalizedString("KI.Commands.LOL"): ("Laugh", "KI.EmoteStrings.LOL"), - Plasma.PtGetLocalizedString("KI.Commands.ROTFL"): ("Laugh", "KI.EmoteStrings.ROTFL"), - Plasma.PtGetLocalizedString("KI.Commands.Dance"): ("Dance", "KI.EmoteStrings.Dance"), - Plasma.PtGetLocalizedString("KI.Commands.Yes"): ("Agree", "KI.EmoteStrings.Yes"), - Plasma.PtGetLocalizedString("KI.Commands.No"): ("ShakeHead", "KI.EmoteStrings.No"), - Plasma.PtGetLocalizedString("KI.Commands.Yawn"): ("Yawn", "KI.EmoteStrings.Yawn"), - Plasma.PtGetLocalizedString("KI.Commands.Cheer"): ("Cheer", "KI.EmoteStrings.Cheer"), - Plasma.PtGetLocalizedString("KI.Commands.Thanks"): ("Thank", "KI.EmoteStrings.Thanks"), - Plasma.PtGetLocalizedString("KI.Commands.Thx"): ("Thank", "KI.EmoteStrings.Thx"), - Plasma.PtGetLocalizedString("KI.Commands.Cry"): ("Cry", "KI.EmoteStrings.Cry"), - Plasma.PtGetLocalizedString("KI.Commands.Cries"): ("Cry", "KI.EmoteStrings.Cries"), - Plasma.PtGetLocalizedString("KI.Commands.DontKnow"): ("Shrug", "KI.EmoteStrings.DontKnow"), - Plasma.PtGetLocalizedString("KI.Commands.Shrug"): ("Shrug", "KI.EmoteStrings.Shrug"), - Plasma.PtGetLocalizedString("KI.Commands.Dunno"): ("Shrug", "KI.EmoteStrings.Dunno"), - Plasma.PtGetLocalizedString("KI.Commands.Point"): ("Point", "KI.EmoteStrings.Point"), - Plasma.PtGetLocalizedString("KI.Commands.BeckonBig"): ("BeckonBig", "KI.EmoteStrings.BeckonBig"), - Plasma.PtGetLocalizedString("KI.Commands.BeckonSmall"): ("BeckonSmall", "KI.EmoteStrings.BeckonSmall"), - Plasma.PtGetLocalizedString("KI.Commands.BlowKiss"): ("BlowKiss", "KI.EmoteStrings.BlowKiss"), - Plasma.PtGetLocalizedString("KI.Commands.CallMe"): ("CallMe", "KI.EmoteStrings.CallMe"), - Plasma.PtGetLocalizedString("KI.Commands.Cower"): ("Cower", "KI.EmoteStrings.Cower"), - Plasma.PtGetLocalizedString("KI.Commands.Groan"): ("Groan", "KI.EmoteStrings.Groan"), - Plasma.PtGetLocalizedString("KI.Commands.LeanLeft"): ("LeanLeft", "KI.EmoteStrings.LeanLeft"), - Plasma.PtGetLocalizedString("KI.Commands.LeanRight"): ("LeanRight", "KI.EmoteStrings.LeanRight"), - Plasma.PtGetLocalizedString("KI.Commands.Okay"): ("Okay", "KI.EmoteStrings.Okay"), - Plasma.PtGetLocalizedString("KI.Commands.OverHere"): ("OverHere", "KI.EmoteStrings.OverHere"), - Plasma.PtGetLocalizedString("KI.Commands.Stop"): ("Stop", "KI.EmoteStrings.Stop"), - Plasma.PtGetLocalizedString("KI.Commands.TalkHand"): ("TalkHand", "KI.EmoteStrings.TalkHand"), - Plasma.PtGetLocalizedString("KI.Commands.TapFoot"): ("TapFoot", "KI.EmoteStrings.TapFoot"), - Plasma.PtGetLocalizedString("KI.Commands.ThumbsDown"): ("ThumbsDown", "KI.EmoteStrings.ThumbsDown"), - Plasma.PtGetLocalizedString("KI.Commands.ThumbsUp"): ("ThumbsUp", "KI.EmoteStrings.ThumbsUp"), - Plasma.PtGetLocalizedString("KI.Commands.Amazed"): ("Amazed", "KI.EmoteStrings.Amazed"), - Plasma.PtGetLocalizedString("KI.Commands.Bow"): ("Bow", "KI.EmoteStrings.Bow"), - Plasma.PtGetLocalizedString("KI.Commands.Crazy"): ("Crazy", "KI.EmoteStrings.Crazy"), - Plasma.PtGetLocalizedString("KI.Commands.Cringe"): ("Cringe", "KI.EmoteStrings.Cringe"), - Plasma.PtGetLocalizedString("KI.Commands.CrossArms"): ("CrossArms", "KI.EmoteStrings.CrossArms"), - Plasma.PtGetLocalizedString("KI.Commands.Doh"): ("Doh", "KI.EmoteStrings.Doh"), - Plasma.PtGetLocalizedString("KI.Commands.Flinch"): ("Flinch", "KI.EmoteStrings.Flinch"), - Plasma.PtGetLocalizedString("KI.Commands.Kneel"): ("Kneel", "KI.EmoteStrings.Kneel"), - Plasma.PtGetLocalizedString("KI.Commands.LookAround"): ("LookAround", "KI.EmoteStrings.LookAround"), - Plasma.PtGetLocalizedString("KI.Commands.Peer"): ("Peer", "KI.EmoteStrings.Peer"), - Plasma.PtGetLocalizedString("KI.Commands.Salute"): ("Salute", "KI.EmoteStrings.Salute"), - Plasma.PtGetLocalizedString("KI.Commands.ScratchHead"): ("ScratchHead", "KI.EmoteStrings.ScratchHead"), - Plasma.PtGetLocalizedString("KI.Commands.ShakeFist"): ("ShakeFist", "KI.EmoteStrings.ShakeFist"), - Plasma.PtGetLocalizedString("KI.Commands.Shoo"): ("Shoo", "KI.EmoteStrings.Shoo"), - Plasma.PtGetLocalizedString("KI.Commands.SlouchSad"): ("SlouchSad", "KI.EmoteStrings.SlouchSad"), - Plasma.PtGetLocalizedString("KI.Commands.WaveLow"): ("WaveLow", "KI.EmoteStrings.WaveLow"), - Plasma.PtGetLocalizedString("KI.Commands.WaveBye"): ("Wave", "KI.EmoteStrings.WaveBye"), - Plasma.PtGetLocalizedString("KI.Commands.ThumbsDown2"): ("ThumbsDown2", "KI.EmoteStrings.ThumbsDown2"), - Plasma.PtGetLocalizedString("KI.Commands.ThumbsUp2"): ("ThumbsUp2", "KI.EmoteStrings.ThumbsUp2"), - Plasma.PtGetLocalizedString("KI.Commands.Taunt"): ("Taunt", "KI.EmoteStrings.Taunt"), - Plasma.PtGetLocalizedString("KI.Commands.Cough"): ("Cough", "KI.EmoteStrings.Cough"), - Plasma.PtGetLocalizedString("KI.Commands.AskQuestion"): ("AskQuestion", "KI.EmoteStrings.AskQuestion"), - Plasma.PtGetLocalizedString("KI.Commands.Winded"): ("Winded", "KI.EmoteStrings.Winded") + PtGetLocalizedString("KI.Commands.Wave"): ("Wave", "KI.EmoteStrings.Wave"), + PtGetLocalizedString("KI.Commands.Sneeze"): ("Sneeze", "KI.EmoteStrings.Sneeze"), + PtGetLocalizedString("KI.Commands.Clap"): ("Clap", "KI.EmoteStrings.Clap"), + PtGetLocalizedString("KI.Commands.Laugh"): ("Laugh", "KI.EmoteStrings.Laugh"), + PtGetLocalizedString("KI.Commands.LOL"): ("Laugh", "KI.EmoteStrings.LOL"), + PtGetLocalizedString("KI.Commands.ROTFL"): ("Laugh", "KI.EmoteStrings.ROTFL"), + PtGetLocalizedString("KI.Commands.Dance"): ("Dance", "KI.EmoteStrings.Dance"), + PtGetLocalizedString("KI.Commands.Yes"): ("Agree", "KI.EmoteStrings.Yes"), + PtGetLocalizedString("KI.Commands.No"): ("ShakeHead", "KI.EmoteStrings.No"), + PtGetLocalizedString("KI.Commands.Yawn"): ("Yawn", "KI.EmoteStrings.Yawn"), + PtGetLocalizedString("KI.Commands.Cheer"): ("Cheer", "KI.EmoteStrings.Cheer"), + PtGetLocalizedString("KI.Commands.Thanks"): ("Thank", "KI.EmoteStrings.Thanks"), + PtGetLocalizedString("KI.Commands.Thx"): ("Thank", "KI.EmoteStrings.Thx"), + PtGetLocalizedString("KI.Commands.Cry"): ("Cry", "KI.EmoteStrings.Cry"), + PtGetLocalizedString("KI.Commands.Cries"): ("Cry", "KI.EmoteStrings.Cries"), + PtGetLocalizedString("KI.Commands.DontKnow"): ("Shrug", "KI.EmoteStrings.DontKnow"), + PtGetLocalizedString("KI.Commands.Shrug"): ("Shrug", "KI.EmoteStrings.Shrug"), + PtGetLocalizedString("KI.Commands.Dunno"): ("Shrug", "KI.EmoteStrings.Dunno"), + PtGetLocalizedString("KI.Commands.Point"): ("Point", "KI.EmoteStrings.Point"), + PtGetLocalizedString("KI.Commands.BeckonBig"): ("BeckonBig", "KI.EmoteStrings.BeckonBig"), + PtGetLocalizedString("KI.Commands.BeckonSmall"): ("BeckonSmall", "KI.EmoteStrings.BeckonSmall"), + PtGetLocalizedString("KI.Commands.BlowKiss"): ("BlowKiss", "KI.EmoteStrings.BlowKiss"), + PtGetLocalizedString("KI.Commands.CallMe"): ("CallMe", "KI.EmoteStrings.CallMe"), + PtGetLocalizedString("KI.Commands.Cower"): ("Cower", "KI.EmoteStrings.Cower"), + PtGetLocalizedString("KI.Commands.Groan"): ("Groan", "KI.EmoteStrings.Groan"), + PtGetLocalizedString("KI.Commands.LeanLeft"): ("LeanLeft", "KI.EmoteStrings.LeanLeft"), + PtGetLocalizedString("KI.Commands.LeanRight"): ("LeanRight", "KI.EmoteStrings.LeanRight"), + PtGetLocalizedString("KI.Commands.Okay"): ("Okay", "KI.EmoteStrings.Okay"), + PtGetLocalizedString("KI.Commands.OverHere"): ("OverHere", "KI.EmoteStrings.OverHere"), + PtGetLocalizedString("KI.Commands.Stop"): ("Stop", "KI.EmoteStrings.Stop"), + PtGetLocalizedString("KI.Commands.TalkHand"): ("TalkHand", "KI.EmoteStrings.TalkHand"), + PtGetLocalizedString("KI.Commands.TapFoot"): ("TapFoot", "KI.EmoteStrings.TapFoot"), + PtGetLocalizedString("KI.Commands.ThumbsDown"): ("ThumbsDown", "KI.EmoteStrings.ThumbsDown"), + PtGetLocalizedString("KI.Commands.ThumbsUp"): ("ThumbsUp", "KI.EmoteStrings.ThumbsUp"), + PtGetLocalizedString("KI.Commands.Amazed"): ("Amazed", "KI.EmoteStrings.Amazed"), + PtGetLocalizedString("KI.Commands.Bow"): ("Bow", "KI.EmoteStrings.Bow"), + PtGetLocalizedString("KI.Commands.Crazy"): ("Crazy", "KI.EmoteStrings.Crazy"), + PtGetLocalizedString("KI.Commands.Cringe"): ("Cringe", "KI.EmoteStrings.Cringe"), + PtGetLocalizedString("KI.Commands.CrossArms"): ("CrossArms", "KI.EmoteStrings.CrossArms"), + PtGetLocalizedString("KI.Commands.Doh"): ("Doh", "KI.EmoteStrings.Doh"), + PtGetLocalizedString("KI.Commands.Flinch"): ("Flinch", "KI.EmoteStrings.Flinch"), + PtGetLocalizedString("KI.Commands.Kneel"): ("Kneel", "KI.EmoteStrings.Kneel"), + PtGetLocalizedString("KI.Commands.LookAround"): ("LookAround", "KI.EmoteStrings.LookAround"), + PtGetLocalizedString("KI.Commands.Peer"): ("Peer", "KI.EmoteStrings.Peer"), + PtGetLocalizedString("KI.Commands.Salute"): ("Salute", "KI.EmoteStrings.Salute"), + PtGetLocalizedString("KI.Commands.ScratchHead"): ("ScratchHead", "KI.EmoteStrings.ScratchHead"), + PtGetLocalizedString("KI.Commands.ShakeFist"): ("ShakeFist", "KI.EmoteStrings.ShakeFist"), + PtGetLocalizedString("KI.Commands.Shoo"): ("Shoo", "KI.EmoteStrings.Shoo"), + PtGetLocalizedString("KI.Commands.SlouchSad"): ("SlouchSad", "KI.EmoteStrings.SlouchSad"), + PtGetLocalizedString("KI.Commands.WaveLow"): ("WaveLow", "KI.EmoteStrings.WaveLow"), + PtGetLocalizedString("KI.Commands.WaveBye"): ("Wave", "KI.EmoteStrings.WaveBye"), + PtGetLocalizedString("KI.Commands.ThumbsDown2"): ("ThumbsDown2", "KI.EmoteStrings.ThumbsDown2"), + PtGetLocalizedString("KI.Commands.ThumbsUp2"): ("ThumbsUp2", "KI.EmoteStrings.ThumbsUp2"), + PtGetLocalizedString("KI.Commands.Taunt"): ("Taunt", "KI.EmoteStrings.Taunt"), + PtGetLocalizedString("KI.Commands.Cough"): ("Cough", "KI.EmoteStrings.Cough"), + PtGetLocalizedString("KI.Commands.AskQuestion"): ("AskQuestion", "KI.EmoteStrings.AskQuestion"), + PtGetLocalizedString("KI.Commands.Winded"): ("Winded", "KI.EmoteStrings.Winded") } # Insert an emote animation from xChatEmoteXlate here to make it become a loop @@ -131,8 +131,8 @@ ## A list of the specially handled extended chat commands. xChatSpecialHandledCommands = [ - Plasma.PtGetLocalizedString("KI.Commands.ChatReply"), - Plasma.PtGetLocalizedString("KI.Commands.ChatPrivate"), - Plasma.PtGetLocalizedString("KI.Commands.ChatNeighbors"), - Plasma.PtGetLocalizedString("KI.Commands.ChatBuddies"), + PtGetLocalizedString("KI.Commands.ChatReply"), + PtGetLocalizedString("KI.Commands.ChatPrivate"), + PtGetLocalizedString("KI.Commands.ChatNeighbors"), + PtGetLocalizedString("KI.Commands.ChatBuddies"), ] diff --git a/Python/ki/xKIHelpers.py b/Python/ki/xKIHelpers.py index 1a348a1e..67e5b010 100644 --- a/Python/ki/xKIHelpers.py +++ b/Python/ki/xKIHelpers.py @@ -44,8 +44,7 @@ import re # Plasma engine. -from Plasma import * -from PlasmaVaultConstants import * +from plasma import * import xLocTools from xPsnlVaultSDL import * diff --git a/Python/ki/xMarkerBrainQuest.py b/Python/ki/xMarkerBrainQuest.py index 412ab453..735ce8e0 100644 --- a/Python/ki/xMarkerBrainQuest.py +++ b/Python/ki/xMarkerBrainQuest.py @@ -41,9 +41,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaKITypes import * -from PlasmaTypes import * +from plasma import * import grtzMarkerGames from xMarkerGameBrain import * diff --git a/Python/ki/xMarkerBrainUser.py b/Python/ki/xMarkerBrainUser.py index 71457415..8d2677d3 100644 --- a/Python/ki/xMarkerBrainUser.py +++ b/Python/ki/xMarkerBrainUser.py @@ -41,8 +41,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaTypes import * +from plasma import * def _str2color(col): r, g, b = col.strip().split(',', 3) diff --git a/Python/ki/xMarkerGameBrain.py b/Python/ki/xMarkerGameBrain.py index bc42d04c..0b76710b 100644 --- a/Python/ki/xMarkerGameBrain.py +++ b/Python/ki/xMarkerGameBrain.py @@ -43,7 +43,7 @@ import abc -from Plasma import * +from plasma import * class MarkerGameBrain(object): """ABC for marker games""" diff --git a/Python/ki/xMarkerMgr.py b/Python/ki/xMarkerMgr.py index f9b81f45..5c66eb18 100644 --- a/Python/ki/xMarkerMgr.py +++ b/Python/ki/xMarkerMgr.py @@ -41,10 +41,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaConstants import * -from PlasmaKITypes import * -from PlasmaTypes import * +from plasma import * from xMarkerBrainQuest import * from xMarkerGameBrain import * diff --git a/Python/krelPodium.py b/Python/krelPodium.py index 60b4a1e0..daad826d 100644 --- a/Python/krelPodium.py +++ b/Python/krelPodium.py @@ -46,8 +46,7 @@ Date: January 2004 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in 3dsMAX actSwitch01 = ptAttribActivator(1, "act: Podium Button") diff --git a/Python/minkCage.py b/Python/minkCage.py index 9c2d1abd..561f096c 100644 --- a/Python/minkCage.py +++ b/Python/minkCage.py @@ -47,8 +47,7 @@ Author: Derek Odell """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max regCageSymbol = ptAttribActivator(1, "reg: Cage Symbol") diff --git a/Python/minkDayClicks.py b/Python/minkDayClicks.py index 40732567..1afb8b36 100644 --- a/Python/minkDayClicks.py +++ b/Python/minkDayClicks.py @@ -47,8 +47,7 @@ Author: Derek Odell """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max clkCave01 = ptAttribActivator(1, "clk: Cave 01", netForce=1) diff --git a/Python/minkDayNight.py b/Python/minkDayNight.py index a91d5c95..e86c3094 100644 --- a/Python/minkDayNight.py +++ b/Python/minkDayNight.py @@ -47,9 +47,7 @@ Author: Derek Odell """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * # define the attributes that will be entered in max respLinkIn = ptAttribResponder(1, "resp: Link In Sound") diff --git a/Python/minkSymbols.py b/Python/minkSymbols.py index 0ecc65da..2ce99fbc 100644 --- a/Python/minkSymbols.py +++ b/Python/minkSymbols.py @@ -47,8 +47,7 @@ Author: Derek Odell """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max regCave01 = ptAttribActivator(1, "reg: Cave 01") diff --git a/Python/mymod.py b/Python/mymod.py index 85f682ea..fba19fda 100644 --- a/Python/mymod.py +++ b/Python/mymod.py @@ -48,8 +48,7 @@ To be used with Plasma20, Python File Component """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import cPickle #============================================================= diff --git a/Python/mystFireplace.py b/Python/mystFireplace.py index 09312585..35c911e6 100644 --- a/Python/mystFireplace.py +++ b/Python/mystFireplace.py @@ -47,9 +47,8 @@ Author: Adam Van Ornum """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys import xEnum actButton = ptAttribActivator(1, "Fireplace button") diff --git a/Python/nb01DRCImager.py b/Python/nb01DRCImager.py index 4e146270..9f51e2c4 100644 --- a/Python/nb01DRCImager.py +++ b/Python/nb01DRCImager.py @@ -46,8 +46,7 @@ Date: March 2003 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string #============================================================= diff --git a/Python/nb01Easel.py b/Python/nb01Easel.py index eadb50bd..4f6bd69d 100644 --- a/Python/nb01Easel.py +++ b/Python/nb01Easel.py @@ -47,9 +47,7 @@ puts the name of a neighborhood instance on a dynamic text map - adpated from xDynaTextBoy """ -from Plasma import * -from PlasmaTypes import * -from PlasmaVaultConstants import * +from plasma import * import xLocTools #============================================================= diff --git a/Python/nb01EmgrPhase0.py b/Python/nb01EmgrPhase0.py index 082170cb..3e2b3209 100644 --- a/Python/nb01EmgrPhase0.py +++ b/Python/nb01EmgrPhase0.py @@ -41,8 +41,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random # These are helper functions for the special state variables that need custom code. diff --git a/Python/nb01RPSGame.py b/Python/nb01RPSGame.py index f8be57cf..712f2271 100644 --- a/Python/nb01RPSGame.py +++ b/Python/nb01RPSGame.py @@ -41,10 +41,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaConstants import * -from PlasmaKITypes import * -from PlasmaTypes import * +from plasma import * # detectors detButtonRock = ptAttribActivatorList(1, "Rock ButtonClick det", netForce=True) diff --git a/Python/nb01RegisterNexusLink.py b/Python/nb01RegisterNexusLink.py index 60a548d9..59862f8a 100644 --- a/Python/nb01RegisterNexusLink.py +++ b/Python/nb01RegisterNexusLink.py @@ -47,11 +47,9 @@ Author: Bill Slease """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -#~ from PlasmaVaultConstants import * -#~ from PlasmaNetConstants import * +from plasma import * +#~ from plasma import * +#~ from plasma import * # define the attributes that will be entered in max diff --git a/Python/nb01UpdateHoodInfoImager.py b/Python/nb01UpdateHoodInfoImager.py index 26dbb2cb..b936fb94 100644 --- a/Python/nb01UpdateHoodInfoImager.py +++ b/Python/nb01UpdateHoodInfoImager.py @@ -47,8 +47,7 @@ Script to manage updating the player list on the hood info imager """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import time HoodInfoImagerScript = ptAttribActivator(1, "Hood Info imager script") diff --git a/Python/nglnFogTweener.py b/Python/nglnFogTweener.py index 163ea2f8..ef931ceb 100644 --- a/Python/nglnFogTweener.py +++ b/Python/nglnFogTweener.py @@ -48,8 +48,7 @@ Animates the Fog RGB and Density troughout the Negilahn Day cycle """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string stringVarName = ptAttribString(1,"Battery Updated SDL") diff --git a/Python/nglnTreeMonkey.py b/Python/nglnTreeMonkey.py index ea7911a5..b88bd93f 100644 --- a/Python/nglnTreeMonkey.py +++ b/Python/nglnTreeMonkey.py @@ -49,8 +49,7 @@ Controls the appearance and behavior of the Negilahn Tree Monkey """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random # define the attributes that will be entered in max diff --git a/Python/nglnUrwinBrain.py b/Python/nglnUrwinBrain.py index e0123609..433c149e 100644 --- a/Python/nglnUrwinBrain.py +++ b/Python/nglnUrwinBrain.py @@ -49,8 +49,7 @@ Controls the appearance and behavior of the Negilahn Urwin Bird """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random # define the attributes that will be entered in max diff --git a/Python/nxusBookMachine.py b/Python/nxusBookMachine.py index fe600608..0e57b7d2 100644 --- a/Python/nxusBookMachine.py +++ b/Python/nxusBookMachine.py @@ -48,16 +48,12 @@ Handler for the nexus book machine. """ -from Plasma import * -from PlasmaKITypes import * -from PlasmaNetConstants import * -from PlasmaTypes import * -from PlasmaVaultConstants import * +from plasma import * from xPsnlVaultSDL import * import xLocTools -import PlasmaControlKeys +from plasma import PlasmaControlKeys import datetime import random diff --git a/Python/payiBahroSymbol.py b/Python/payiBahroSymbol.py index e3328a46..0a610492 100644 --- a/Python/payiBahroSymbol.py +++ b/Python/payiBahroSymbol.py @@ -47,8 +47,7 @@ Author: Derek Odell """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max SymbolAppears = ptAttribInt(1, "Frame the Symbol Appears", 226, (0,5000)) diff --git a/Python/payiUrwinBrain.py b/Python/payiUrwinBrain.py index 37c92a28..0c9c6176 100644 --- a/Python/payiUrwinBrain.py +++ b/Python/payiUrwinBrain.py @@ -49,8 +49,7 @@ Controls the appearance and behavior of the Payiferen Urwin Bird """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random # define the attributes that will be entered in max diff --git a/Python/philBookshelf.py b/Python/philBookshelf.py index c1c3e72d..78879e08 100644 --- a/Python/philBookshelf.py +++ b/Python/philBookshelf.py @@ -48,10 +48,8 @@ This handles the bookshelf in phil's personal age...only the neighborhood book does anything """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys actBookshelf = ptAttribActivator(1, "Actvtr:Bookshelf") diff --git a/Python/plasma/PlasmaKITypes.py b/Python/plasma/PlasmaKITypes.py index 63bb324f..fe9fce70 100644 --- a/Python/plasma/PlasmaKITypes.py +++ b/Python/plasma/PlasmaKITypes.py @@ -160,7 +160,7 @@ def PtDetermineKILevel(): "Get the KILevel" # assume that they have none... - import Plasma + from plasma import Plasma import string vault = Plasma.ptVault() entry = vault.findChronicleEntry(kChronicleKILevel) @@ -175,7 +175,7 @@ def PtDetermineKILevel(): def PtDetermineCensorLevel(): "Get the KILevel" # assume that they have none... - import Plasma + from plasma import Plasma import string vault = Plasma.ptVault() entry = vault.findChronicleEntry(kChronicleCensorLevel) @@ -188,7 +188,7 @@ def PtDetermineCensorLevel(): def PtDetermineKIMarkerLevel(): "Get the KIMarkerLevel" # assume that they have none... - import Plasma + from plasma import Plasma import string vault = Plasma.ptVault() entry = vault.findChronicleEntry(kChronicleKIMarkerLevel) @@ -206,7 +206,7 @@ def PtAmPlayingCGZM(): return chron.getValue() == "cgz" def PtFindCreateMarkerChronicle(name, subchron=None, default=None): - import Plasma + from plasma import Plasma def _GetChron(needle, haystack): for i in haystack.getChildNodeRefList(): child = i.getChild().upcastToChronicleNode() @@ -250,7 +250,7 @@ def PtGetMarkerQuestCaptures(name): return {} def PtGetMarkerGameChronicle(): - import Plasma + from plasma import Plasma vault = Plasma.ptVault() chron = vault.findChronicleEntry("MarkerBrain") if chron is None: @@ -259,7 +259,7 @@ def PtGetMarkerGameChronicle(): return chron def PtGetTimePlayingCGZ(): - import Plasma + from plasma import Plasma return Plasma.PtGetServerTime() - PtGetCGZStartTime() def PtIsCGZMComplete(): @@ -294,7 +294,7 @@ def PtSetMarkerQuestCaptures(name, captures): def PtUpdateCGZStartTime(time=None): chron = PtFindCreateMarkerChronicle("CGZ-StartTime") if time is None: - import Plasma + from plasma import Plasma time = Plasma.PtGetServerTime() chron.setValue(str(time)) chron.save() diff --git a/Python/plasma/Plasma.py b/Python/plasma/PlasmaStubs.py similarity index 73% rename from Python/plasma/Plasma.py rename to Python/plasma/PlasmaStubs.py index f37a3f30..c01bce7e 100644 --- a/Python/plasma/Plasma.py +++ b/Python/plasma/PlasmaStubs.py @@ -42,5100 +42,5100 @@ *==LICENSE==* """ def PtAcceptInviteInGame(friendName,inviteKey): """Sends a VaultTask to the server to perform the invite""" - pass + raise NotImplementedError() def PtAmCCR(): """Returns true if local player is a CCR""" - pass + raise NotImplementedError() def PtAtTimeCallback(selfkey,time,id): """This will create a timer callback that will call OnTimer when complete - 'selfkey' is the ptKey of the PythonFile component - 'time' is how much time from now (in seconds) to call back - 'id' is an integer id that will be returned in the OnTimer call""" - pass + raise NotImplementedError() def PtAttachObject(child,parent): """Attach child to parent based on ptKey or ptSceneobject - childKey is the ptKey or ptSceneobject of the one being attached - parentKey is the ptKey or ptSceneobject of the one being attached to (both arguments must be ptKeys or ptSceneobjects, you cannot mix types)""" - pass + raise NotImplementedError() def PtAvatarEnterAFK(): """Tells the local avatar to enter AwayFromKeyboard idle loop (netpropagated)""" - pass + raise NotImplementedError() def PtAvatarEnterAnimMode(animName): """Enter a custom anim loop (netpropagated)""" - pass + raise NotImplementedError() def PtAvatarEnterLookingAtKI(): """Tells the local avatar to enter looking at KI idle loop (netpropagated)""" - pass + raise NotImplementedError() def PtAvatarEnterUsePersBook(): """Tells the local avatar to enter using their personal book idle loop (netpropagated)""" - pass + raise NotImplementedError() def PtAvatarExitAFK(): """Tells the local avatar to exit AwayFromKeyboard idle loop (netpropagated)""" - pass + raise NotImplementedError() def PtAvatarExitAnimMode(animName): """Exit custom anim loop (netpropagated)""" - pass + raise NotImplementedError() def PtAvatarExitLookingAtKI(): """Tells the local avatar to exit looking at KI idle loop (netpropagated)""" - pass + raise NotImplementedError() def PtAvatarExitUsePersBook(): """Tells the local avatar to exit using their personal book idle loop (netpropagated)""" - pass + raise NotImplementedError() def PtAvatarSitOnGround(): """Tells the local avatar to sit on ground and enter sit idle loop (netpropagated)""" - pass + raise NotImplementedError() def PtAvatarSpawnNext(): """Send the avatar to the next spawn point""" - pass + raise NotImplementedError() def PtCanShadowCast(): """Can we cast shadows?""" - pass + raise NotImplementedError() def PtChangeAvatar(gender): """Change the local avatar's gender (or clothing type)""" - pass + raise NotImplementedError() def PtChangePassword(password): """Changes the current account's password""" - pass + raise NotImplementedError() def PtChangePlayerName(name): """Change the local avatar's name""" - pass + raise NotImplementedError() def PtCheckVisLOS(startPoint,endPoint): """Does LOS check from start to end""" - pass + raise NotImplementedError() def PtCheckVisLOSFromCursor(): """Does LOS check from where the mouse cursor is, into the screen""" - pass + raise NotImplementedError() def PtClearCameraStack(): """clears all cameras""" - pass + raise NotImplementedError() def PtClearOfferBookMode(): """Cancel the offer book interface""" - pass + raise NotImplementedError() def PtClearPrivateChatList(memberKey): """Remove the local avatar from private vox messaging, and / or clear members from his chat list""" - pass + raise NotImplementedError() def PtClearTimerCallbacks(key): """This will remove timer callbacks to the specified key""" - pass + raise NotImplementedError() def PtConsole(command): """This will execute 'command' as if it were typed into the Plasma console.""" - pass + raise NotImplementedError() def PtConsoleNet(command,netForce): """This will execute 'command' on the console, over the network, on all clients. If 'netForce' is true then force command to be sent over the network.""" - pass + raise NotImplementedError() def PtCreateDir(directory): """Creates the directory and all parent folders. Returns false on failure""" - pass + raise NotImplementedError() def PtCreatePlayer(playerName, avatarShape, invitation): """Creates a new player""" - pass + raise NotImplementedError() def PtCreatePublicAge(ageInfo, cbObject=None): """Create a public instance of the given age. cbObject, if supplied should have a member called publicAgeCreated(self,ageInfo)""" - pass + raise NotImplementedError() def PtDebugAssert(cond, msg): """Debug only: Assert if condition is false.""" - pass + raise NotImplementedError() def PtDebugPrint(*msgs, **kwargs): """Prints msgs to the Python log given the message's level""" - pass + raise NotImplementedError() def PtDeletePlayer(playerInt): """Deletes a player associated with the current account""" - pass + raise NotImplementedError() def PtDetachObject(child,parent): """Detach child from parent based on ptKey or ptSceneobject - child is the ptKey or ptSceneobject of the one being detached - parent is the ptKey or ptSceneobject of the one being detached from (both arguments must be ptKeys or ptSceneobjects, you cannot mix types)""" - pass + raise NotImplementedError() def PtDirtySynchClients(selfKey,SDLStateName,flags): """DO NOT USE - handled by ptSDL""" - pass + raise NotImplementedError() def PtDirtySynchState(selfKey,SDLStateName,flags): """DO NOT USE - handled by ptSDL""" - pass + raise NotImplementedError() def PtDisableAvatarCursorFade(): """Disable the avatar cursor fade""" - pass + raise NotImplementedError() def PtDisableAvatarJump(): """Disable the ability of the avatar to jump""" - pass + raise NotImplementedError() def PtDisableControlKeyEvents(selfKey): """Disable the control key events from calling OnControlKeyEvent""" - pass + raise NotImplementedError() def PtDisableForwardMovement(): """Disable the ability of the avatar to move forward""" - pass + raise NotImplementedError() def PtDisableMouseMovement(): """Disable avatar mouse movement input""" - pass + raise NotImplementedError() def PtDisableMovementKeys(): """Disable avatar movement input""" - pass + raise NotImplementedError() def PtDisableRenderScene(): """UNKNOWN""" - pass + raise NotImplementedError() def PtDisableShadows(): """Turns shadows off""" - pass + raise NotImplementedError() def PtDumpLogs(folder): """Dumps all current log files to the specified folder (a sub-folder to the log folder)""" - pass + raise NotImplementedError() def PtEmoteAvatar(emote): """Play an emote on the local avatar (netpropagated)""" - pass + raise NotImplementedError() def PtEnableAvatarCursorFade(): """Enable the avatar cursor fade""" - pass + raise NotImplementedError() def PtEnableAvatarJump(): """Enable the ability of the avatar to jump""" - pass + raise NotImplementedError() def PtEnableControlKeyEvents(selfKey): """Enable control key events to call OnControlKeyEvent(controlKey,activateFlag)""" - pass + raise NotImplementedError() def PtEnableForwardMovement(): """Enable the ability of the avatar to move forward""" - pass + raise NotImplementedError() def PtEnableMouseMovement(): """Enable avatar mouse movement input""" - pass + raise NotImplementedError() def PtEnableMovementKeys(): """Enable avatar movement input""" - pass + raise NotImplementedError() def PtEnablePlanarReflections(on): """Enables/disables planar reflections""" - pass + raise NotImplementedError() def PtEnableRenderScene(): """UNKNOWN""" - pass + raise NotImplementedError() def PtEnableShadows(): """Turns shadows on""" - pass + raise NotImplementedError() def PtExcludeRegionSet(senderKey,regionKey,state): """This will set the state of an exclude region - 'senderKey' is a ptKey of the PythonFile component - 'regionKey' is a ptKey of the exclude region - 'state' is either kExRegRelease or kExRegClear""" - pass + raise NotImplementedError() def PtExcludeRegionSetNow(senderKey,regionKey,state): """This will set the state of an exclude region immediately on the server - 'senderKey' is a ptKey of the PythonFile component - 'regionKey' is a ptKey of the exclude region - 'state' is either kExRegRelease or kExRegClear""" - pass + raise NotImplementedError() def PtFadeIn(lenTime, holdFlag, noSound=0): """Fades screen in for lenTime seconds""" - pass + raise NotImplementedError() def PtFadeLocalAvatar(fade): """Fade (or unfade) the local avatar""" - pass + raise NotImplementedError() def PtFadeOut(lenTime, holdFlag, noSound=0): """Fades screen out for lenTime seconds""" - pass + raise NotImplementedError() def PtFakeLinkAvatarToObject(avatar,object): """Pseudo-links avatar to object within the same age """ - pass + raise NotImplementedError() def PtFileExists(filename): """Returns true if the specified file exists""" - pass + raise NotImplementedError() def PtFindSceneobject(name,ageName): """This will try to find a sceneobject based on its name and what age its in - it will return a ptSceneObject if found- if not found then a NameError exception will happen""" - pass + raise NotImplementedError() def PtFirstPerson(): """is the local avatar in first person mode""" - pass + raise NotImplementedError() def PtFlashWindow(): """Flashes the client window if it is not focused""" - pass + raise NotImplementedError() def PtFogSetDefColor(color): """Sets default fog color""" - pass + raise NotImplementedError() def PtFogSetDefExp(end,density): """Set exp fog values""" - pass + raise NotImplementedError() def PtFogSetDefExp2(end,density): """Set exp2 fog values""" - pass + raise NotImplementedError() def PtFogSetDefLinear(start,end,density): """Set linear fog values""" - pass + raise NotImplementedError() def PtForceCursorHidden(): """Forces the cursor to hide, overriding everything. Only call if other methods won't work. The only way to show the cursor after this call is PtForceMouseShown()""" - pass + raise NotImplementedError() def PtForceCursorShown(): """Forces the cursor to show, overriding everything. Only call if other methods won't work. This is the only way to show the cursor after a call to PtForceMouseHidden()""" - pass + raise NotImplementedError() def PtGMTtoDniTime(gtime): """Converts GMT time (passed in) to D'Ni time""" - pass + raise NotImplementedError() def PtGUICursorDimmed(): """Dimms the GUI cursor""" - pass + raise NotImplementedError() def PtGUICursorOff(): """Turns the GUI cursor off""" - pass + raise NotImplementedError() def PtGUICursorOn(): """Turns the GUI cursor on""" - pass + raise NotImplementedError() def PtGetAccountName(): """Returns the account name for the current account""" - pass + raise NotImplementedError() def PtGetAccountPlayerList(): """Returns list of players associated with the current account""" - pass + raise NotImplementedError() def PtGetAgeInfo(): """Returns ptAgeInfoStruct of the current Age""" - pass + raise NotImplementedError() def PtGetAgeName(): """DEPRECIATED - use ptDniInfoSource instead""" - pass + raise NotImplementedError() def PtGetAgeSDL(): """Returns the global ptSDL for the current Age""" - pass + raise NotImplementedError() def PtGetAgeTime(): """DEPRECIATED - use ptDniInfoSource instead""" - pass + raise NotImplementedError() def PtGetAgeTimeOfDayPercent(): """Returns the current age time of day as a percent (0 to 1)""" - pass + raise NotImplementedError() def PtGetAvatarKeyFromClientID(clientID): """From an integer that is the clientID, find the avatar and return its ptKey""" - pass + raise NotImplementedError() def PtGetCameraNumber(x): """Returns camera x's name from stack""" - pass + raise NotImplementedError() def PtGetClientIDFromAvatarKey(avatarKey): """From a ptKey that points at an avatar, return the players clientID (integer)""" - pass + raise NotImplementedError() def PtGetClientName(avatarKey=None): """This will return the name of the client that is owned by the avatar - avatarKey is the ptKey of the avatar to get the client name of. If avatarKey is omitted then the local avatar is used""" - pass + raise NotImplementedError() def PtGetControlEvents(on, key): """Registers or unregisters for control event messages""" - pass + raise NotImplementedError() def PtGetDefaultDisplayParams(): """Returns the default resolution and display settings""" - pass + raise NotImplementedError() def PtGetDefaultSpawnPoint(): """Returns the default spawnpoint definition (as a ptSpawnPointInfo)""" - pass + raise NotImplementedError() def PtGetDesktopColorDepth(): """Returns desktop ColorDepth""" - pass + raise NotImplementedError() def PtGetDesktopHeight(): """Returns desktop height""" - pass + raise NotImplementedError() def PtGetDesktopWidth(): """Returns desktop width""" - pass + raise NotImplementedError() def PtGetDialogFromString(dialogName): """Get a ptGUIDialog from its name""" - pass + raise NotImplementedError() def PtGetDialogFromTagID(tagID): """Returns the dialog associated with the tagID""" - pass + raise NotImplementedError() def PtGetDniTime(): """Returns current D'Ni time""" - pass + raise NotImplementedError() def PtGetFrameDeltaTime(): """Returns the amount of time that has elapsed since last frame.""" - pass + raise NotImplementedError() def PtGetGameTime(): """Returns the system game time (frame based) in seconds.""" - pass + raise NotImplementedError() def PtGetInitPath(): """Returns the unicode path to the client's init directory. Do NOT convert to a standard string.""" - pass + raise NotImplementedError() def PtGetLanguage(): """Returns the current language as a PtLanguage enum""" - pass + raise NotImplementedError() def PtGetLocalAvatar(): """This will return a ptSceneobject of the local avatar - if there is no local avatar a NameError exception will happen.""" - pass + raise NotImplementedError() def PtGetLocalClientID(): """Returns our local client ID number""" - pass + raise NotImplementedError() def PtGetLocalKILevel(): """returns local player's ki level""" - pass + raise NotImplementedError() def PtGetLocalPlayer(): """Returns a ptPlayer object of the local player""" - pass + raise NotImplementedError() def PtGetLocalizedString(name, arguments=None): """Returns the localized string specified by name (format is Age.Set.Name) and substitutes the arguments in the list of strings passed in as arguments.""" - pass + raise NotImplementedError() def PtGetMouseTurnSensitivity(): """Returns the sensitivity""" - pass + raise NotImplementedError() def PtGetNPCCount(): """This will return the number of NPCs in the current age""" - pass + raise NotImplementedError() def PtGetNPCByID(npcID): """This will return the NPC with a specific ID""" - pass + raise NotImplementedError() def PtGetNumCameras(): """returns camera stack size""" - pass + raise NotImplementedError() def PtGetNumParticles(key): """Key is the key of scene object host to particle system""" - pass + raise NotImplementedError() def PtGetNumRemotePlayers(): """Returns the number of remote players in this Age with you.""" - pass + raise NotImplementedError() def PtGetPlayerList(): """Returns a list of ptPlayer objects of all the remote players""" - pass + raise NotImplementedError() def PtGetPlayerListDistanceSorted(): """Returns a list of ptPlayers, sorted by distance""" - pass + raise NotImplementedError() def PtGetPrevAgeInfo(): """Returns ptAgeInfoStruct of previous age visited""" - pass + raise NotImplementedError() def PtGetPrevAgeName(): """Returns filename of previous age visited""" - pass + raise NotImplementedError() def PtGetPublicAgeList(ageName, cbObject=None): """Get list of public ages for the given age name. cbObject, if supplied should have a method called gotPublicAgeList(self,ageList). ageList is a list of tuple(ptAgeInfoStruct,nPlayersInAge)""" - pass + raise NotImplementedError() def PtGetPythonLoggingLevel(): """Returns the current level of python logging""" - pass + raise NotImplementedError() def PtGetServerTime(): """Returns the current time on the server (which is GMT)""" - pass + raise NotImplementedError() def PtGetShadowVisDistance(): """Returns the maximum shadow visibility distance""" - pass + raise NotImplementedError() def PtGetSupportedDisplayModes(): """Returns a list of supported resolutions""" - pass + raise NotImplementedError() def PtGetTime(): """Returns the number of seconds since the game was started.""" - pass + raise NotImplementedError() def PtGetUserPath(): """Returns the unicode path to the client's root user directory. Do NOT convert to a standard string.""" - pass + raise NotImplementedError() def PtHideDialog(dialogName): """Hide a GUI dialog by name (does not unload dialog)""" - pass + raise NotImplementedError() def PtIsActivePlayerSet(): """Returns whether or not an active player is set""" - pass + raise NotImplementedError() def PtIsCCRAway(): """Returns current status of CCR dept""" - pass + raise NotImplementedError() def PtIsClickToTurn(): """Is click-to-turn on?""" - pass + raise NotImplementedError() def PtIsCurrentBrainHuman(): """Returns whether the local avatar current brain is the human brain""" - pass + raise NotImplementedError() def PtIsDemoMode(): """Returns whether the game is in Demo mode or not""" - pass + raise NotImplementedError() def PtIsDialogLoaded(dialogName): """Test to see if a GUI dialog is loaded, by name""" - pass + raise NotImplementedError() def PtIsEnterChatModeKeyBound(): """Returns whether the EnterChatMode is bound to a key""" - pass + raise NotImplementedError() def PtIsGUIModal(): """Returns true if the GUI is displaying a modal dialog and blocking input""" - pass + raise NotImplementedError() def PtIsInternalRelease(): """Returns whether the client is an internal build or not""" - pass + raise NotImplementedError() def PtIsMouseInverted(): """Is the mouse currently inverted?""" - pass + raise NotImplementedError() def PtIsShadowsEnabled(): """Returns whether shadows are currently turned on""" - pass + raise NotImplementedError() def PtIsSinglePlayerMode(): """Returns whether the game is in single player mode or not""" - pass + raise NotImplementedError() def PtKillParticles(timeRemaining,pctToKill,particleSystem): """Tells particleSystem to kill pctToKill percent of its particles""" - pass + raise NotImplementedError() def PtLimitAvatarLOD(LODlimit): """Sets avatar's LOD limit""" - pass + raise NotImplementedError() def PtLoadAvatarModel(modelName, spawnPoint, userStr = ""): """Loads an avatar model at the given spawn point. Assigns the user specified string to it.""" - pass + raise NotImplementedError() def PtLoadBookGUI(guiName): """Loads the gui specified, a gui must be loaded before it can be used. If the gui is already loaded, doesn't do anything""" - pass + raise NotImplementedError() def PtLoadDialog(dialogName,selfKey=None,ageName=""): """Loads a GUI dialog by name and optionally set the Notify proc key If the dialog is already loaded then it won't load it again""" - pass + raise NotImplementedError() def PtLoadJPEGFromDisk(filename,width,height): """The image will be resized to fit the width and height arguments. Set to 0 if resizing is not desired. Returns a pyImage of the specified file.""" - pass + raise NotImplementedError() def PtLocalAvatarIsMoving(): """Returns true if the local avatar is moving (a movement key is held down)""" - pass + raise NotImplementedError() def PtLocalAvatarRunKeyDown(): """Returns true if the run key is being held down for the local avatar""" - pass + raise NotImplementedError() def PtMaxListenDistSq(): """Returns the maximum distance (squared) of the listen range""" - pass + raise NotImplementedError() def PtMaxListenListSize(): """Returns the maximum listen number of players""" - pass + raise NotImplementedError() def PtNotifyOffererLinkAccepted(offerer): """Tell the offerer that we accepted the link offer""" - pass + raise NotImplementedError() def PtNotifyOffererLinkCompleted(offerer): """Tell the offerer that we completed the link""" - pass + raise NotImplementedError() def PtNotifyOffererLinkRejected(offerer): """Tell the offerer that we rejected the link offer""" - pass + raise NotImplementedError() def PtPageInNode(nodeName, ageName=""): """Pages in node, or a list of nodes""" - pass + raise NotImplementedError() def PtPageOutNode(nodeName): """Pages out a node""" - pass + raise NotImplementedError() def PtPrintToScreen(message): """Prints 'message' to the status log, for debug only.""" - pass + raise NotImplementedError() def PtRateIt(chronicleName,dialogPrompt,onceFlag): """Shows a dialog with dialogPrompt and stores user input rating into chronicleName""" - pass + raise NotImplementedError() def PtRebuildCameraStack(name,ageName): """Push camera with this name on the stack""" - pass + raise NotImplementedError() def PtRecenterCamera(): """re-centers the camera""" - pass + raise NotImplementedError() def PtRemovePublicAge(ageInstanceGuid, cbObject=None): """Remove a public instance of the given age. cbObject, if supplied should have a member called publicAgeRemoved(self,ageInstanceGuid)""" - pass + raise NotImplementedError() def PtRequestLOSScreen(selfKey,ID,xPos,yPos,distance,what,reportType): """Request a LOS check from a point on the screen""" - pass + raise NotImplementedError() def PtSaveScreenShot(fileName,width=640,height=480,quality=75): """Takes a screenshot with the specified filename, size, and quality""" - pass + raise NotImplementedError() def PtSendChatToCCR(message,CCRPlayerID): """Sends a chat message to a CCR that has contacted this player""" - pass + raise NotImplementedError() def PtSendKIGZMarkerMsg(markerNumber,sender): """Same as PtSendKIMessageInt except 'sender' could get a notify message back """ - pass + raise NotImplementedError() def PtSendKIMessage(command,value): """Sends a command message to the KI frontend. See PlasmaKITypes.py for list of commands""" - pass + raise NotImplementedError() def PtSendKIMessageInt(command,value): """Same as PtSendKIMessage except the value is guaranteed to be a UInt32 (for things like player IDs)""" - pass + raise NotImplementedError() def PtSendPetitionToCCR(message,reason=0,title=""): """Sends a petition with a message to the CCR group""" - pass + raise NotImplementedError() def PtSendPrivateChatList(chatList): """Lock the local avatar into private vox messaging, and / or add new members to his chat list""" - pass + raise NotImplementedError() def PtSendRTChat(fromPlayer,toPlayerList,message,flags): """Sends a realtime chat message to the list of ptPlayers If toPlayerList is an empty list, it is a broadcast message""" - pass + raise NotImplementedError() def PtSetActivePlayer(playerInt): """Sets the active player associated with the current account""" - pass + raise NotImplementedError() def PtSetAlarm(secs, cbObject, cbContext): """secs is the amount of time before your alarm goes off. cbObject is a python object with the method onAlarm(int context) cbContext is an integer.""" - pass + raise NotImplementedError() def PtSetBehaviorLoopCount(behaviorKey,stage,loopCount,netForce): """This will set the loop count for a particular stage in a multistage behavior""" - pass + raise NotImplementedError() def PtSetBehaviorNetFlags(behKey, netForce, netProp): """Sets net flags on the associated behavior""" - pass + raise NotImplementedError() def PtSetClearColor(red,green,blue): """Set the clear color""" - pass + raise NotImplementedError() def PtSetClickToTurn(state): """Turns on click-to-turn""" - pass + raise NotImplementedError() def PtSetGamma2(gamma): """Set the gamma with gamma2 rules""" - pass + raise NotImplementedError() def PtSetGlobalClickability(enable): """Enable or disable all clickables on the local client""" - pass + raise NotImplementedError() def PtSetGraphicsOptions(width, height, colordepth, windowed, numAAsamples, numAnisoSamples, VSync): """Set the graphics options""" - pass + raise NotImplementedError() def PtSetLightAnimStart(key,name,start): """ Key is the key of scene object host to light, start is a bool. Name is the name of the light to manipulate""" - pass + raise NotImplementedError() def PtSetLightValue(key,name,r,g,b,a): """ Key is the key of scene object host to light. Name is the name of the light to manipulate""" - pass + raise NotImplementedError() def PtSetMouseInverted(): """Inverts the mouse""" - pass + raise NotImplementedError() def PtSetMouseTurnSensitivity(sensitivity): """Set the mouse sensitivity""" - pass + raise NotImplementedError() def PtSetMouseUninverted(): """Uninverts the mouse""" - pass + raise NotImplementedError() def PtSetOfferBookMode(selfkey,ageFilename,ageInstanceName): """Put us into the offer book interface""" - pass + raise NotImplementedError() def PtSetParticleDissentPoint(x, y, z, particlesys): """Sets the dissent point of the particlesys to x,y,z""" - pass + raise NotImplementedError() def PtSetParticleOffset(x,y,z,particlesys): """Sets the particlesys particle system's offset""" - pass + raise NotImplementedError() def PtSetPythonLoggingLevel(level): """Sets the current level of python logging""" - pass + raise NotImplementedError() def PtSetShadowVisDistance(distance): """Set the maximum shadow visibility distance""" - pass + raise NotImplementedError() def PtSetShareSpawnPoint(spawnPoint): """This sets the desired spawn point for the receiver to link to""" - pass + raise NotImplementedError() def PtShootBulletFromObject(selfkey, gunObj, radius, range): """Shoots a bullet from an object""" - pass + raise NotImplementedError() def PtShootBulletFromScreen(selfkey, xPos, yPos, radius, range): """Shoots a bullet from a position on the screen""" - pass + raise NotImplementedError() def PtShowDialog(dialogName): """Show a GUI dialog by name (does not load dialog)""" - pass + raise NotImplementedError() def PtStartScreenCapture(selfKey,width=800,height=600): """Starts a capture of the screen""" - pass + raise NotImplementedError() def PtToggleAvatarClickability(on): """Turns on and off our avatar's clickability""" - pass + raise NotImplementedError() def PtTransferParticlesToObject(objFrom, objTo, num): """Transfers num particles from objFrom to objTo""" - pass + raise NotImplementedError() def PtUnLoadAvatarModel(avatarKey): """Unloads the specified avatar model""" - pass + raise NotImplementedError() def PtUnloadAllBookGUIs(): """Unloads all loaded guis except for the default one""" - pass + raise NotImplementedError() def PtUnloadBookGUI(guiName): """Unloads the gui specified. If the gui isn't loaded, doesn't do anything""" - pass + raise NotImplementedError() def PtUnloadDialog(dialogName): """This will unload the GUI dialog by name. If not loaded then nothing will happen""" - pass + raise NotImplementedError() def PtUsingUnicode(): """Returns true if the current language is a unicode language (like Japanese)""" - pass + raise NotImplementedError() def PtValidateKey(key): """Returns true(1) if 'key' is valid and loaded, otherwise returns false(0)""" - pass + raise NotImplementedError() def PtWasLocallyNotified(selfKey): """Returns 1 if the last notify was local or 0 if the notify originated on the network""" - pass + raise NotImplementedError() def PtWearDefaultClothing(key): """Forces the avatar to wear the default clothing set""" - pass + raise NotImplementedError() def PtWearDefaultClothingType(key,type): """Forces the avatar to wear the default clothing of the specified type""" - pass + raise NotImplementedError() def PtWearMaintainerSuit(key,wearOrNot): """Wears or removes the maintainer suit of clothes""" - pass + raise NotImplementedError() def PtWhatGUIControlType(guiKey): """Returns the control type of the key passed in""" - pass + raise NotImplementedError() def PtYesNoDialog(selfkey,dialogMessage): """This will display a Yes/No dialog to the user with the text dialogMessage This dialog _has_ to be answered by the user. And their answer will be returned in a Notify message.""" - pass + raise NotImplementedError() class ptAgeInfoStruct: """Class to hold AgeInfo struct data""" def __init__(self): """None""" - pass + raise NotImplementedError() def copyFrom(self,other): """Copies data from one ptAgeInfoStruct or ptAgeInfoStructRef to this one""" - pass + raise NotImplementedError() def getAgeFilename(self): """Gets the Age's filename""" - pass + raise NotImplementedError() def getAgeInstanceGuid(self): """Get the Age's instance GUID""" - pass + raise NotImplementedError() def getAgeInstanceName(self): """Get the instance name of the Age""" - pass + raise NotImplementedError() def getAgeLanguage(self): """Gets the age's language (integer)""" - pass + raise NotImplementedError() def getAgeSequenceNumber(self): """Gets the unique sequence number""" - pass + raise NotImplementedError() def getAgeUserDefinedName(self): """Gets the user defined part of the Age name""" - pass + raise NotImplementedError() def getDisplayName(self): """Returns a string that is the displayable name of the age instance""" - pass + raise NotImplementedError() def setAgeFilename(self,filename): """Sets the filename of the Age""" - pass + raise NotImplementedError() def setAgeInstanceGuid(self,guid): """Sets the Age instance's GUID""" - pass + raise NotImplementedError() def setAgeInstanceName(self,instanceName): """Sets the instance name of the Age""" - pass + raise NotImplementedError() def setAgeLanguage(self,lang): """Sets the age's language (integer)""" - pass + raise NotImplementedError() def setAgeSequenceNumber(self,seqNumber): """Sets the unique sequence number""" - pass + raise NotImplementedError() def setAgeUserDefinedName(self,udName): """Sets the user defined part of the Age""" - pass + raise NotImplementedError() class ptAgeInfoStructRef: """Class to hold AgeInfo struct data""" def __init__(self): """None""" - pass + raise NotImplementedError() def copyFrom(self,other): """Copies data from one ptAgeInfoStruct or ptAgeInfoStructRef to this one""" - pass + raise NotImplementedError() def getAgeFilename(self): """Gets the Age's filename""" - pass + raise NotImplementedError() def getAgeInstanceGuid(self): """Get the Age's instance GUID""" - pass + raise NotImplementedError() def getAgeInstanceName(self): """Get the instance name of the Age""" - pass + raise NotImplementedError() def getAgeSequenceNumber(self): """Gets the unique sequence number""" - pass + raise NotImplementedError() def getAgeUserDefinedName(self): """Gets the user defined part of the Age name""" - pass + raise NotImplementedError() def getDisplayName(self): """Returns a string that is the displayable name of the age instance""" - pass + raise NotImplementedError() def setAgeFilename(self,filename): """Sets the filename of the Age""" - pass + raise NotImplementedError() def setAgeInstanceGuid(self,guid): """Sets the Age instance's GUID""" - pass + raise NotImplementedError() def setAgeInstanceName(self,instanceName): """Sets the instance name of the Age""" - pass + raise NotImplementedError() def setAgeSequenceNumber(self,seqNumber): """Sets the unique sequence number""" - pass + raise NotImplementedError() def setAgeUserDefinedName(self,udName): """Sets the user defined part of the Age""" - pass + raise NotImplementedError() class ptAgeLinkStruct: """Class to hold the data of the AgeLink structure""" def __init__(self): """None""" - pass + raise NotImplementedError() def copyFrom(self,other): """Copies data from one ptAgeLinkStruct or ptAgeLinkStructRef to this one""" - pass + raise NotImplementedError() def getAgeInfo(self): """Returns a ptAgeInfoStructRef of the AgeInfo for this link""" - pass + raise NotImplementedError() def getLinkingRules(self): """Returns the linking rules of this link""" - pass + raise NotImplementedError() def getParentAgeFilename(self): """Returns a string of the parent age filename""" - pass + raise NotImplementedError() def getSpawnPoint(self): """Gets the spawn point ptSpawnPointInfoRef of this link""" - pass + raise NotImplementedError() def setAgeInfo(self,ageInfo): """Sets the AgeInfoStruct from the data in ageInfo (a ptAgeInfoStruct)""" - pass + raise NotImplementedError() def setLinkingRules(self,rule): """Sets the linking rules for this link""" - pass + raise NotImplementedError() def setParentAgeFilename(self,filename): """Sets the parent age filename for child age links""" - pass + raise NotImplementedError() def setSpawnPoint(self,spawnPtInfo): """Sets the spawn point of this link (a ptSpawnPointInfo or ptSpawnPointInfoRef)""" - pass + raise NotImplementedError() class ptAgeLinkStructRef: """Class to hold the data of the AgeLink structure""" def __init__(self): """None""" - pass + raise NotImplementedError() def copyFrom(self,other): """Copies data from one ptAgeLinkStruct or ptAgeLinkStructRef to this one""" - pass + raise NotImplementedError() def getAgeInfo(self): """Returns a ptAgeInfoStructRef of the AgeInfo for this link""" - pass + raise NotImplementedError() def getLinkingRules(self): """Returns the linking rules of this link""" - pass + raise NotImplementedError() def getSpawnPoint(self): """Gets the spawn point ptSpawnPointInfoRef of this link""" - pass + raise NotImplementedError() def setAgeInfo(self,ageInfo): """Sets the AgeInfoStruct from the data in ageInfo (a ptAgeInfoStruct)""" - pass + raise NotImplementedError() def setLinkingRules(self,rule): """Sets the linking rules for this link""" - pass + raise NotImplementedError() def setSpawnPoint(self,spawnPtInfo): """Sets the spawn point of this link (a ptSpawnPointInfo or ptSpawnPointInfoRef)""" - pass + raise NotImplementedError() class ptAgeVault: """Accessor class to the Age's vault""" def __init__(self): """None""" - pass + raise NotImplementedError() def addChronicleEntry(self,name,type,value): """Adds a chronicle entry with the specified type and value""" - pass + raise NotImplementedError() def addDevice(self,deviceName,cb=None,cbContext=0): """Adds a device to the age""" - pass + raise NotImplementedError() def findChronicleEntry(self,entryName): """Returns the named ptVaultChronicleNode""" - pass + raise NotImplementedError() def getAgeDevicesFolder(self): """Returns a ptVaultFolderNode of the inboxes for the devices in this Age.""" - pass + raise NotImplementedError() def getAgeGuid(self): """Returns the current Age's guid as a string.""" - pass + raise NotImplementedError() def getAgeInfo(self): """Returns a ptVaultAgeInfoNode of the this Age""" - pass + raise NotImplementedError() def getAgeSDL(self): """Returns the age's SDL (ptSDLStateDataRecord)""" - pass + raise NotImplementedError() def getAgesIOwnFolder(self): """(depreciated, use getBookshelfFolder) Returns a ptVaultFolderNode that contain the Ages I own""" - pass + raise NotImplementedError() def getBookshelfFolder(self): """Personal age only: Returns a ptVaultFolderNode that contains the owning player's AgesIOwn age list""" - pass + raise NotImplementedError() def getChronicleFolder(self): """Returns a ptVaultFolderNode""" - pass + raise NotImplementedError() def getDevice(self,deviceName): """Returns the specified device (ptVaultTextNoteNode)""" - pass + raise NotImplementedError() def getDeviceInbox(self,deviceName): """Returns a ptVaultFolderNode of the inbox for the named device in this age.""" - pass + raise NotImplementedError() def getPeopleIKnowAboutFolder(self): """Returns a ptVaultPlayerInfoListNode of the players the Age knows about(?).""" - pass + raise NotImplementedError() def getPublicAgesFolder(self): """Returns a ptVaultFolderNode that contains all the public Ages""" - pass + raise NotImplementedError() def getSubAgeLink(self,ageInfo): """Returns a ptVaultAgeLinkNode to 'ageInfo' (a ptAgeInfoStruct) for this Age.""" - pass + raise NotImplementedError() def getSubAgesFolder(self): """Returns a ptVaultFolderNode of sub Age's folder.""" - pass + raise NotImplementedError() def hasDevice(self,deviceName): """Does a device with this name exist?""" - pass + raise NotImplementedError() def removeDevice(self,deviceName): """Removes a device from the age""" - pass + raise NotImplementedError() def setDeviceInbox(self,deviceName,inboxName,cb=None,cbContext=0): """Set's the device's inbox""" - pass + raise NotImplementedError() def updateAgeSDL(self,pyrec): """Updates the age's SDL""" - pass + raise NotImplementedError() class ptAnimation: """Plasma animation class""" def __init__(self,key=None): """None""" - pass + raise NotImplementedError() def addKey(self,key): """Adds an animation modifier to the list of receiver keys""" - pass + raise NotImplementedError() def backwards(self,backwardsFlag): """Turn on and off playing the animation backwards""" - pass + raise NotImplementedError() def getFirstKey(self): """This will return a ptKey object that is the first receiver (target) However, if the parent is not a modifier or not loaded, then None is returned.""" - pass + raise NotImplementedError() def incrementBackward(self): """Step the animation backward a frame""" - pass + raise NotImplementedError() def incrementForward(self): """Step the animation forward a frame""" - pass + raise NotImplementedError() def looped(self,loopedFlag): """Turn on and off looping of the animation""" - pass + raise NotImplementedError() def netForce(self,forceFlag): """Specify whether this object needs to use messages that are forced to the network - This is to be used if your Python program is running on only one client Such as a game master, only running on the client that owns a particular object""" - pass + raise NotImplementedError() def play(self): """Plays the animation""" - pass + raise NotImplementedError() def playRange(self,start,end): """Play the animation from start to end""" - pass + raise NotImplementedError() def playToPercentage(self,zeroToOne): """Play the animation to the specified percentage (0 to 1)""" - pass + raise NotImplementedError() def playToTime(self,time): """Play the animation to the specified time""" - pass + raise NotImplementedError() def resume(self): """Resumes the animation from where it was stopped last""" - pass + raise NotImplementedError() def sender(self,selfKey): """Sets the sender of the messages being sent to the animation modifier""" - pass + raise NotImplementedError() def setAnimName(self,name): """Sets the animation notetrack name (or (Entire Animation))""" - pass + raise NotImplementedError() def setLoopEnd(self,loopEnd): """Sets the loop ending position - 'loopEnd' is the number of seconds from the absolute beginning of the animation""" - pass + raise NotImplementedError() def setLoopStart(self,loopStart): """Sets the loop starting position - 'loopStart' is the number of seconds from the absolute beginning of the animation""" - pass + raise NotImplementedError() def skipToBegin(self): """Skip to the beginning of the animation (don't play)""" - pass + raise NotImplementedError() def skipToEnd(self): """Skip to the end of the animation (don't play)""" - pass + raise NotImplementedError() def skipToLoopBegin(self): """Skip to the beginning of the animation loop (don't play)""" - pass + raise NotImplementedError() def skipToLoopEnd(self): """Skip to the end of the animation loop (don't play)""" - pass + raise NotImplementedError() def skipToTime(self,time): """Skip the animation to time (don't play)""" - pass + raise NotImplementedError() def speed(self,speed): """Sets the animation playback speed""" - pass + raise NotImplementedError() def stop(self): """Stops the animation""" - pass + raise NotImplementedError() class ptAudioControl: """Accessor class to the Audio controls""" def __init__(self): """None""" - pass + raise NotImplementedError() def canSetMicLevel(self): """Can the microphone level be set? Returns 1 if true otherwise returns 0.""" - pass + raise NotImplementedError() def disable(self): """Disabled audio""" - pass + raise NotImplementedError() def enable(self): """Enables audio""" - pass + raise NotImplementedError() def enableVoiceChat(self,state): """Enables or disables voice chat.""" - pass + raise NotImplementedError() def enableVoiceCompression(self,state): """Enables or disables voice compression.""" - pass + raise NotImplementedError() def enableVoiceNetBroadcast(self,state): """Enables or disables voice over network broadcast.""" - pass + raise NotImplementedError() def enableVoiceRecording(self,state): """Enables or disables voice recording.""" - pass + raise NotImplementedError() def getAmbienceVolume(self): """Returns the volume (0.0 to 1.0) for the Ambiance.""" - pass + raise NotImplementedError() def getAudioDeviceName(self,index): """Gets the name of audio device for the given index""" - pass + raise NotImplementedError() def getDeviceName(self): """Gets the name for the device being used by the audio system""" - pass + raise NotImplementedError() def getGUIVolume(self): """Returns the volume (0.0 to 1.0) for the GUI dialogs.""" - pass + raise NotImplementedError() def getHighestMode(self): """Gets the highest possible audio system mode""" - pass + raise NotImplementedError() def getMicLevel(self): """Returns the microphone recording level (0.0 to 1.0).""" - pass + raise NotImplementedError() def getMode(self): """Gets the audio system mode""" - pass + raise NotImplementedError() def getMusicVolume(self): """Returns the volume (0.0 to 1.0) for the Music.""" - pass + raise NotImplementedError() def getNPCVoiceVolume(self): """Returns the volume (0.0 to 1.0) for the NPC's voice.""" - pass + raise NotImplementedError() def getNumAudioDevices(self): """Returns the number of available audio devices.""" - pass + raise NotImplementedError() def getPriorityCutoff(self): """Returns current sound priority""" - pass + raise NotImplementedError() def getSoundFXVolume(self): """Returns the volume (0.0 to 1.0) for the Sound FX.""" - pass + raise NotImplementedError() def getVoiceVolume(self): """Returns the volume (0.0 to 1.0) for the Voices.""" - pass + raise NotImplementedError() def hideIcons(self): """Hides (disables) the voice recording icons.""" - pass + raise NotImplementedError() def isEnabled(self): """Is the audio enabled? Returns 1 if true otherwise returns 0.""" - pass + raise NotImplementedError() def isHardwareAccelerated(self): """Is audio hardware acceleration enabled? Returns 1 if true otherwise returns 0.""" - pass + raise NotImplementedError() def isMuted(self): """Are all sounds muted? Returns 1 if true otherwise returns 0.""" - pass + raise NotImplementedError() def isUsingEAXAcceleration(self): """Is EAX sound acceleration enabled? Returns 1 if true otherwise returns 0.""" - pass + raise NotImplementedError() def isVoiceCompressionEnabled(self): """Is voice compression enabled? Returns 1 if true otherwise returns 0.""" - pass + raise NotImplementedError() def isVoiceNetBroadcastEnabled(self): """Is voice over net enabled? Returns 1 if true otherwise returns 0.""" - pass + raise NotImplementedError() def isVoiceRecordingEnabled(self): """Is voice recording enabled? Returns 1 if true otherwise returns 0.""" - pass + raise NotImplementedError() def muteAll(self): """Mutes all sounds.""" - pass + raise NotImplementedError() def pushToTalk(self,state): """Enables or disables 'push-to-talk'.""" - pass + raise NotImplementedError() def recordFrame(self,size): """Sets the voice packet frame size.""" - pass + raise NotImplementedError() def recordSampleRate(self,sampleRate): """Sets the recording sample rate.""" - pass + raise NotImplementedError() def setAmbienceVolume(self,volume): """Sets the Ambience volume (0.0 to 1.0) for the game. This only sets the volume for this game session.""" - pass + raise NotImplementedError() def setDeviceName(self,devicename,restart): """Sets the device name for the audio system, and optionally restarts it""" - pass + raise NotImplementedError() def setGUIVolume(self,volume): """Sets the GUI dialog volume (0.0 to 1.0) for the game. This only sets the volume for this game session.""" - pass + raise NotImplementedError() def setLoadOnDemand(self,state): """Enables or disables the load on demand for sounds.""" - pass + raise NotImplementedError() def setMicLevel(self,level): """Sets the microphone recording level (0.0 to 1.0).""" - pass + raise NotImplementedError() def setMode(self,mode): """Sets the audio system mode""" - pass + raise NotImplementedError() def setMusicVolume(self,volume): """Sets the Music volume (0.0 to 1.0) for the game. This only sets the volume for this game session.""" - pass + raise NotImplementedError() def setNPCVoiceVolume(self,volume): """Sets the NPC's voice volume (0.0 to 1.0) for the game. This only sets the volume for this game session.""" - pass + raise NotImplementedError() def setPriorityCutoff(self,priority): """Sets the sound priority""" - pass + raise NotImplementedError() def setSoundFXVolume(self,volume): """Sets the SoundFX volume (0.0 to 1.0) for the game. This only sets the volume for this game session.""" - pass + raise NotImplementedError() def setTwoStageLOD(self,state): """Enables or disables two-stage LOD, where sounds can be loaded into RAM but not into sound buffers. ...Less of a performance hit, harder on memory.""" - pass + raise NotImplementedError() def setVoiceVolume(self,volume): """Sets the Voice volume (0.0 to 1.0) for the game. This only sets the volume for this game session.""" - pass + raise NotImplementedError() def showIcons(self): """Shows (enables) the voice recording icons.""" - pass + raise NotImplementedError() def squelchLevel(self,level): """Sets the squelch level.""" - pass + raise NotImplementedError() def supportsEAX(self): """Returns true or false based on whether or not a the device specified supports EAX""" - pass + raise NotImplementedError() def unmuteAll(self): """Unmutes all sounds.""" - pass + raise NotImplementedError() def useEAXAcceleration(self,state): """Enables or disables EAX sound acceleration (requires hardware acceleration).""" - pass + raise NotImplementedError() def useHardwareAcceleration(self,state): """Enables or disables audio hardware acceleration.""" - pass + raise NotImplementedError() class ptAvatar: """Plasma avatar class""" def __init__(self): """None""" - pass + raise NotImplementedError() def addWardrobeClothingItem(self,clothing_name,tint1,tint2): """To add a clothing item to the avatar's wardrobe (closet)""" - pass + raise NotImplementedError() def enterSubWorld(self,sceneobject): """Places the avatar into the subworld of the ptSceneObject specified""" - pass + raise NotImplementedError() def exitSubWorld(self): """Exits the avatar from the subWorld where it was""" - pass + raise NotImplementedError() def getAllWithSameMesh(self,clothing_name): """Returns a lilst of all clothing items that use the same mesh as the specified one""" - pass + raise NotImplementedError() def getAvatarClothingGroup(self): """Returns what clothing group the avatar belongs to. It is also a means to determine if avatar is male or female""" - pass + raise NotImplementedError() def getAvatarClothingList(self): """Returns a list of clothes that the avatar is currently wearing.""" - pass + raise NotImplementedError() def getClosetClothingList(self,clothing_type): """Returns a list of clothes for the avatar that are in specified clothing group.""" - pass + raise NotImplementedError() def getCurrentMode(self): """Returns current brain mode for avatar""" - pass + raise NotImplementedError() def getEntireClothingList(self,clothing_type): """Gets the entire list of clothing available. 'clothing_type' not used NOTE: should use getClosetClothingList""" - pass + raise NotImplementedError() def getMatchingClothingItem(self,clothingName): """Finds the matching clothing item that goes with 'clothingName' Used to find matching left and right gloves and shoes.""" - pass + raise NotImplementedError() def getMorph(self,clothing_name,layer): """Get the current morph value""" - pass + raise NotImplementedError() def getSkinBlend(self,layer): """Get the current skin blend value""" - pass + raise NotImplementedError() def getTintClothingItem(self,clothing_name,layer=1): """Returns a ptColor of a particular item of clothing that the avatar is wearing. The color will be a ptColor object.""" - pass + raise NotImplementedError() def getTintSkin(self): """Returns a ptColor of the current skin tint for the avatar""" - pass + raise NotImplementedError() def getUniqueMeshList(self,clothing_type): """Returns a list of unique clothing items of the desired type (different meshes)""" - pass + raise NotImplementedError() def getWardrobeClothingList(self): """Return a list of items that are in the avatars closet""" - pass + raise NotImplementedError() def gotoStage(self,behaviorKey,stage,transitionTime,setTimeFlag,newTime,SetDirectionFlag,isForward,netForce): """Tells a multistage behavior to go to a particular stage""" - pass + raise NotImplementedError() def loadClothingFromFile(self,filename): """Load avatar clothing from a file""" - pass + raise NotImplementedError() def netForce(self,forceFlag): """Specify whether this object needs to use messages that are forced to the network - This is to be used if your Python program is running on only one client Such as a game master, only running on the client that owns a particular object""" - pass + raise NotImplementedError() def nextStage(self,behaviorKey,transitionTime,setTimeFlag,newTime,SetDirectionFlag,isForward,netForce): """Tells a multistage behavior to go to the next stage (Why does Matt like so many parameters?)""" - pass + raise NotImplementedError() def oneShot(self,seekKey,duration,usePhysicsFlag,animationName,drivableFlag,reversibleFlag): """Plays a one-shot animation on the avatar""" - pass + raise NotImplementedError() def playSimpleAnimation(self,animName): """Play simple animation on avatar""" - pass + raise NotImplementedError() def previousStage(self,behaviorKey,transitionTime,setTimeFlag,newTime,SetDirectionFlag,isForward,netForce): """Tells a multistage behavior to go to the previous stage""" - pass + raise NotImplementedError() def registerForBehaviorNotify(self,selfKey): """This will register for behavior notifies from the avatar""" - pass + raise NotImplementedError() def removeClothingItem(self,clothing_name,update=1): """Tells the avatar to remove a particular item of clothing.""" - pass + raise NotImplementedError() def runBehavior(self,behaviorKey,netForceFlag): """Runs a behavior on the avatar. Can be a single or multi-stage behavior.""" - pass + raise NotImplementedError() def runBehaviorSetNotify(self,behaviorKey,replyKey,netForceFlag): """Same as runBehavior, except send notifications to specified keyed object""" - pass + raise NotImplementedError() def runCoopAnim(self,targetKey,activeAvatarAnim,targetAvatarAnim,range=6,dist=3,move=1): """Seek near another avatar and run animations on both.""" - pass + raise NotImplementedError() def saveClothing(self): """Saves the current clothing options (including morphs) to the vault""" - pass + raise NotImplementedError() def saveClothingToFile(self,filename): """Save avatar clothing to a file""" - pass + raise NotImplementedError() def setMorph(self,clothing_name,layer,value): """Set the morph value (clipped between -1 and 1)""" - pass + raise NotImplementedError() def setReplyKey(self,key): """Sets the sender's key""" - pass + raise NotImplementedError() def setSkinBlend(self,layer,value): """Set the skin blend (value between 0 and 1)""" - pass + raise NotImplementedError() def tintClothingItem(self,clothing_name,tint,update=1): """Tells the avatar to tint(color) a particular item of clothing that they are already wearing. 'tint' is a ptColor object""" - pass + raise NotImplementedError() def tintClothingItemLayer(self,clothing_name,tint,layer,update=1): """Tells the avatar to tint(color) a particular layer of a particular item of clothing.""" - pass + raise NotImplementedError() def tintSkin(self,tint,update=1): """Tints all of the skin on the avatar, with the ptColor tint""" - pass + raise NotImplementedError() def unRegisterForBehaviorNotify(self,selfKey): """This will unregister behavior notifications""" - pass + raise NotImplementedError() def wearClothingItem(self,clothing_name,update=1): """Tells the avatar to wear a particular item of clothing. And optionally hold update until later (for applying tinting before wearing).""" - pass + raise NotImplementedError() class ptBook: """Creates a new book""" def __init__(self,esHTMLSource,coverImage=None,callbackKey=None,guiName=''): """None""" - pass + raise NotImplementedError() def allowPageTurning(self,allow): """Turns on and off the ability to flip the pages in a book""" - pass + raise NotImplementedError() def close(self): """Closes the book""" - pass + raise NotImplementedError() def closeAndHide(self): """Closes the book and hides it once it finishes animating""" - pass + raise NotImplementedError() def getCurrentPage(self): """Returns the currently shown page""" - pass + raise NotImplementedError() def getEditableText(self): """Returns the editable text currently contained in the book.""" - pass + raise NotImplementedError() def getMovie(self,index): """Grabs a ptAnimation object representing the movie indexed by index. The index is the index of the movie in the source code""" - pass + raise NotImplementedError() def goToPage(self,page): """Flips the book to the specified page""" - pass + raise NotImplementedError() def hide(self): """Hides the book""" - pass + raise NotImplementedError() def nextPage(self): """Flips the book to the next page""" - pass + raise NotImplementedError() def open(self,startingPage): """Opens the book to the specified page""" - pass + raise NotImplementedError() def previousPage(self): """Flips the book to the previous page""" - pass + raise NotImplementedError() def setEditable(self,editable): """Turn book editing on or off. If the book GUI does not support editing, nothing will happen""" - pass + raise NotImplementedError() def setEditableText(self,text): """Sets the book's editable text.""" - pass + raise NotImplementedError() def setGUI(self,guiName): """Sets the gui to be used by the book, if the requested gui is not loaded, it will use the default Do not call while the book is open!""" - pass + raise NotImplementedError() def setPageMargin(self,margin): """Sets the text margin for the book""" - pass + raise NotImplementedError() def setSize(self,width,height): """Sets the size of the book (width and height are floats from 0 to 1)""" - pass + raise NotImplementedError() def show(self,startOpened): """Shows the book closed, or open if the the startOpened flag is true""" - pass + raise NotImplementedError() class ptCCRAge: """CCR only: CCR age info struct""" def __init__(self): """None""" - pass + raise NotImplementedError() class ptCCRMgr: """CCR only: accessor class to the CCR manager""" def __init__(self): """None""" - pass + raise NotImplementedError() def banLinking(self,pid, banFlag): """Set the ban linking flag for a player""" - pass + raise NotImplementedError() def beginCommunication(self,pid, message): """Begin a CCR communication with a player""" - pass + raise NotImplementedError() def clippingOff(self): """Disables clipping for this player""" - pass + raise NotImplementedError() def clippingOn(self): """Enables clipping for this player""" - pass + raise NotImplementedError() def endCommunication(self,pid): """End CCR communications with a player""" - pass + raise NotImplementedError() def getClipping(self): """Is clipping on for this player? Returns 1 if true otherwise returns 0""" - pass + raise NotImplementedError() def getErrorString(self,errorNumber): """Returns the error string that corresponds to 'errorNumber'""" - pass + raise NotImplementedError() def getLevel(self): """Returns the current CCR level for this player""" - pass + raise NotImplementedError() def getPlayerInfo(self,player, cbObject, cbContext): """Finds a player that matches 'player' (which is an id or name).""" - pass + raise NotImplementedError() def linkPlayerHere(self,pid): """Links player to where I am""" - pass + raise NotImplementedError() def linkPlayerToAge(self,ageInfoStruct,pid): """Links player to a specified age""" - pass + raise NotImplementedError() def linkToAge(self,age,pid): """Links to player's version of age""" - pass + raise NotImplementedError() def linkToMyNeighborhoodAge(self,pid): """Links this player to their neighborhood""" - pass + raise NotImplementedError() def linkToMyPersonalAge(self,pid): """Links this player to their personal Age.""" - pass + raise NotImplementedError() def linkToPlayersAge(self,pid): """Link to where the player is""" - pass + raise NotImplementedError() def logMessage(self,message): """Logs 'message' somewhere...?""" - pass + raise NotImplementedError() def makeInvisible(self,level): """Makes this player invisible to 'level'""" - pass + raise NotImplementedError() def sendCommunication(self,pid, message): """Send a CCR communication to a player""" - pass + raise NotImplementedError() def setAwayStatus(self,awayFlag): """Set the away flag for CCRs""" - pass + raise NotImplementedError() def silencePlayer(self,pid, silenceFlag): """Set the silence player flag for a player""" - pass + raise NotImplementedError() def systemMessage(self): """Params message Send a system wide CCR message""" - pass + raise NotImplementedError() def toggleClipping(self): """Toggles clipping for this player""" - pass + raise NotImplementedError() def warpPlayerHere(self,pid): """warp the player to here""" - pass + raise NotImplementedError() def warpToPlayer(self,pid): """warp to where the player is""" - pass + raise NotImplementedError() class ptCCRPlayerInfo: """CCR only: CCR player info struct""" def __init__(self): """None""" - pass + raise NotImplementedError() class ptCamera: """Plasma camera class""" def __init__(self): """None""" - pass + raise NotImplementedError() def controlKey(self,controlKey,activateFlag): """Send a control key to the camera as if it was hit by the user. This is for sending things like pan-up, pan-down, zoom-in, etc.""" - pass + raise NotImplementedError() def disableFirstPersonOverride(self): """Does _not_ allow the user to override the camera to go to first person camera.""" - pass + raise NotImplementedError() def enableFirstPersonOverride(self): """Allows the user to override the camera and go to a first person camera.""" - pass + raise NotImplementedError() def getFOV(self): """Returns the current camera's FOV(h)""" - pass + raise NotImplementedError() def isSmootherCam(self): """Returns true if we are using the faster cams thing""" - pass + raise NotImplementedError() def isStayInFirstPerson(self): """Are we staying in first person?""" - pass + raise NotImplementedError() def isWalkAndVerticalPan(self): """Returns true if we are walking and chewing gum""" - pass + raise NotImplementedError() def restore(self,cameraKey): """Restores camera to saved one""" - pass + raise NotImplementedError() def save(self,cameraKey): """Saves the current camera and sets the camera to cameraKey""" - pass + raise NotImplementedError() def set(self,cameraKey,time,save): """DO NOT USE""" - pass + raise NotImplementedError() def setFOV(self,fov, time): """Sets the current cameras FOV (based on h)""" - pass + raise NotImplementedError() def setSmootherCam(self,state): """Set the faster cams thing""" - pass + raise NotImplementedError() def setStayInFirstPerson(self,state): """Set Stay In First Person Always""" - pass + raise NotImplementedError() def setWalkAndVerticalPan(self,state): """Set Walk and chew gum""" - pass + raise NotImplementedError() def undoFirstPerson(self): """If the user has overridden the camera to be in first person, this will take them out of first person. If the user didn't override the camera, then this will do nothing.""" - pass + raise NotImplementedError() class ptCluster: """Creates a new ptCluster""" def __init__(self,ey): """None""" - pass + raise NotImplementedError() def setVisible(self,isible): """Shows or hides the cluster object""" - pass + raise NotImplementedError() class ptColor: """Plasma color class""" def __init__(self,red=0, green=0, blue=0, alpha=0): """None""" - pass + raise NotImplementedError() def black(self): """Sets the color to be black Example: black = ptColor().black()""" - pass + raise NotImplementedError() def blue(self): """Sets the color to be blue Example: blue = ptColor().blue()""" - pass + raise NotImplementedError() def brown(self): """Sets the color to be brown Example: brown = ptColor().brown()""" - pass + raise NotImplementedError() def cyan(self): """Sets the color to be cyan Example: cyan = ptColor.cyan()""" - pass + raise NotImplementedError() def darkbrown(self): """Sets the color to be darkbrown Example: darkbrown = ptColor().darkbrown()""" - pass + raise NotImplementedError() def darkgreen(self): """Sets the color to be darkgreen Example: darkgreen = ptColor().darkgreen()""" - pass + raise NotImplementedError() def darkpurple(self): """Sets the color to be darkpurple Example: darkpurple = ptColor().darkpurple()""" - pass + raise NotImplementedError() def getAlpha(self): """Get the alpha blend component of the color""" - pass + raise NotImplementedError() def getBlue(self): """Get the blue component of the color""" - pass + raise NotImplementedError() def getGreen(self): """Get the green component of the color""" - pass + raise NotImplementedError() def getRed(self): """Get the red component of the color""" - pass + raise NotImplementedError() def gray(self): """Sets the color to be gray Example: gray = ptColor().gray()""" - pass + raise NotImplementedError() def green(self): """Sets the color to be green Example: green = ptColor().green()""" - pass + raise NotImplementedError() def magenta(self): """Sets the color to be magenta Example: magenta = ptColor().magenta()""" - pass + raise NotImplementedError() def maroon(self): """Sets the color to be maroon Example: maroon = ptColor().maroon()""" - pass + raise NotImplementedError() def navyblue(self): """Sets the color to be navyblue Example: navyblue = ptColor().navyblue()""" - pass + raise NotImplementedError() def orange(self): """Sets the color to be orange Example: orange = ptColor().orange()""" - pass + raise NotImplementedError() def pink(self): """Sets the color to be pink Example: pink = ptColor().pink()""" - pass + raise NotImplementedError() def red(self): """Sets the color to be red Example: red = ptColor().red()""" - pass + raise NotImplementedError() def setAlpha(self,alpha): """Set the alpha blend component of the color. 0.0 to 1.0""" - pass + raise NotImplementedError() def setBlue(self,blue): """Set the blue component of the color. 0.0 to 1.0""" - pass + raise NotImplementedError() def setGreen(self,green): """Set the green component of the color. 0.0 to 1.0""" - pass + raise NotImplementedError() def setRed(self,red): """Set the red component of the color. 0.0 to 1.0""" - pass + raise NotImplementedError() def slateblue(self): """Sets the color to be slateblue Example: slateblue = ptColor().slateblue()""" - pass + raise NotImplementedError() def steelblue(self): """Sets the color to be steelblue Example: steelblue = ptColor().steelblue()""" - pass + raise NotImplementedError() def tan(self): """Sets the color to be tan Example: tan = ptColor().tan()""" - pass + raise NotImplementedError() def white(self): """Sets the color to be white Example: white = ptColor().white()""" - pass + raise NotImplementedError() def yellow(self): """Sets the color to be yellow Example: yellow = ptColor().yellow()""" - pass + raise NotImplementedError() class ptCritterBrain: """Object to manipulate critter brains""" def __init__(self): """None""" - pass + raise NotImplementedError() def addBehavior(self,animName, behaviorName, loop = 1, randomStartPos = 1, fadeInLen = 2.0, fadeOutLen = 2.0): """Adds a new animation to the brain as a behavior with the specified name and parameters. If multiple animations are assigned to the same behavior, they will be randomly picked from when started.""" - pass + raise NotImplementedError() def addReceiver(self,key): """Tells the brain that the specified key wants AI messages""" - pass + raise NotImplementedError() def animationName(self,behavior): """Returns the animation name associated with the specified integral behavior.""" - pass + raise NotImplementedError() def atGoal(self): """Are we currently are our final destination?""" - pass + raise NotImplementedError() def avoidingAvatars(self): """Are we currently avoiding avatars while pathfinding?""" - pass + raise NotImplementedError() def behaviorName(self,behavior): """Returns the behavior name associated with the specified integral behavior.""" - pass + raise NotImplementedError() def canHearAvatar(self,avatarID): """Returns whether this brain can hear the avatar with the specified id.""" - pass + raise NotImplementedError() def canSeeAvatar(self,avatarID): """Returns whether this brain can see the avatar with the specified id.""" - pass + raise NotImplementedError() def curBehavior(self): """Returns the current integral behavior the brain is running.""" - pass + raise NotImplementedError() def currentGoal(self): """Returns the current ptPoint that the brain is running towards.""" - pass + raise NotImplementedError() def getHearingDistance(self): """Returns how far away the brain can hear.""" - pass + raise NotImplementedError() def getSceneObject(self): """Returns the ptSceneObject this brain controls.""" - pass + raise NotImplementedError() def getSightCone(self): """Returns the width of the brain's field of view in radians.""" - pass + raise NotImplementedError() def getSightDistance(self): """Returns how far the brain can see.""" - pass + raise NotImplementedError() def getStopDistance(self): """Returns how far away from the goal we could be and still be considered there.""" - pass + raise NotImplementedError() def goToGoal(self,newGoal, avoidingAvatars = 0): """Tells the brain to start running towards the specified location, avoiding avatars it can see or hear if told to.""" - pass + raise NotImplementedError() def idleBehaviorName(self): """Returns the name of the brain's idle behavior.""" - pass + raise NotImplementedError() def nextBehavior(self): """Returns the behavior the brain will be switching to next frame. (-1 if no change)""" - pass + raise NotImplementedError() def playersICanHear(self): """Returns a list of player ids which this brain can hear.""" - pass + raise NotImplementedError() def playersICanSee(self): """Returns a list of player ids which this brain can see.""" - pass + raise NotImplementedError() def removeReceiver(self,key): """Tells the brain that the specified key no longer wants AI messages""" - pass + raise NotImplementedError() def runBehaviorName(self): """Returns the name of the brain's run behavior.""" - pass + raise NotImplementedError() def runningBehavior(self,behaviorName): """Returns true if the named behavior is running.""" - pass + raise NotImplementedError() def setHearingDistance(self,dist): """Set how far away the brain can hear (360 degree field of hearing).""" - pass + raise NotImplementedError() def setSightCone(self,radians): """Set how wide the brain's field of view is in radians. Note that it is the total angle of the cone, half on one side of the brain's line of sight, half on the other.""" - pass + raise NotImplementedError() def setSightDistance(self,dist): """Set how far away the brain can see.""" - pass + raise NotImplementedError() def setStopDistance(self,dist): """Set how far away from the goal we should be when we are considered there and stop running.""" - pass + raise NotImplementedError() def startBehavior(self,behaviorName, fade = 1): """Starts playing the named behavior. If fade is true, it will fade out the previous behavior and fade in the new one. If false, they will immediately switch.""" - pass + raise NotImplementedError() def vectorToPlayer(self,avatarID): """Returns the vector between us and the specified player.""" - pass + raise NotImplementedError() class ptDniCoordinates: """Constructor for a D'Ni coordinate""" def __init__(self): """None""" - pass + raise NotImplementedError() def fromPoint(self,pt): """Update these coordinates with the specified ptPoint3""" - pass + raise NotImplementedError() def getHSpans(self): """Returns the HSpans component of the coordinate""" - pass + raise NotImplementedError() def getTorans(self): """Returns the Torans component of the coordinate""" - pass + raise NotImplementedError() def getVSpans(self): """Returns the VSpans component of the coordinate""" - pass + raise NotImplementedError() def update(self): """Update these coordinates with the players current position""" - pass + raise NotImplementedError() class ptDniInfoSource: """DO NOT USE""" def __init__(self): """None""" - pass + raise NotImplementedError() def getAgeCoords(self): """Current coords of the player in current age as a ptDniCoordinates""" - pass + raise NotImplementedError() def getAgeGuid(self): """Unique identifier for this age instance""" - pass + raise NotImplementedError() def getAgeName(self): """Name of current age""" - pass + raise NotImplementedError() def getAgeTime(self): """Current time in current age (tbd)""" - pass + raise NotImplementedError() class ptDraw: """Plasma Draw class""" def __init__(self): """None""" - pass + raise NotImplementedError() def disable(self): """Disables the draw on the sceneobject attached In other words, makes it invisible""" - pass + raise NotImplementedError() def enable(self,state=1): """Sets the draw enable for the sceneobject attached""" - pass + raise NotImplementedError() def netForce(self,forceFlag): """Specify whether this object needs to use messages that are forced to the network - This is to be used if your Python program is running on only one client Such as a game master, only running on the client that owns a particular object""" - pass + raise NotImplementedError() class ptDynamicMap: """Creates a ptDynamicMap object""" def __init__(self,key=None): """None""" - pass + raise NotImplementedError() def addKey(self,key): """Add a receiver... in other words a DynamicMap""" - pass + raise NotImplementedError() def calcTextExtents(self,text): """Calculates the extent of the specified text, returns it as a (width, height) tuple""" - pass + raise NotImplementedError() def clearKeys(self): """Clears the receiver list""" - pass + raise NotImplementedError() def clearToColor(self,color): """Clear the DynamicMap to the specified color - 'color' is a ptColor object""" - pass + raise NotImplementedError() def drawImage(self,x,y,image,respectAlphaFlag): """Draws a ptImage object on the dynamicTextmap starting at the location x,y""" - pass + raise NotImplementedError() def drawImageClipped(self,x,y,image,cx,cy,cw,ch,respectAlphaFlag): """Draws a ptImage object clipped to cx,cy with cw(width),ch(height)""" - pass + raise NotImplementedError() def drawText(self,x,y,text): """Draw text at a specified location - x,y is the point to start drawing the text - 'text' is a string of the text to be drawn""" - pass + raise NotImplementedError() def fillRect(self,left,top,right,bottom,color): """Fill in the specified rectangle with a color - left,top,right,bottom define the rectangle - 'color' is a ptColor object""" - pass + raise NotImplementedError() def flush(self): """Flush all the commands that were issued since the last flush()""" - pass + raise NotImplementedError() def frameRect(self,left,top,right,bottom,color): """Frame a rectangle with a specified color - left,top,right,bottom define the rectangle - 'color' is a ptColor object""" - pass + raise NotImplementedError() def getHeight(self): """Returns the height of the dynamicTextmap""" - pass + raise NotImplementedError() def getImage(self): """Returns a pyImage associated with the dynamicTextmap""" - pass + raise NotImplementedError() def getWidth(self): """Returns the width of the dynamicTextmap""" - pass + raise NotImplementedError() def netForce(self,forceFlag): """Specify whether this object needs to use messages that are forced to the network - This is to be used if your Python program is running on only one client Such as a game master, only running on the client that owns a particular object This only applies when NetPropagate is set to true""" - pass + raise NotImplementedError() def netPropagate(self,propagateFlag): """Specify whether this object needs to use messages that are sent on the network - The default is for this to be false.""" - pass + raise NotImplementedError() def purgeImage(self): """Purge the DynamicTextMap images""" - pass + raise NotImplementedError() def sender(self,sender): """Set the sender of the message being sent to the DynamicMap""" - pass + raise NotImplementedError() def setClipping(self,clipLeft,clipTop,clipRight,clipBottom): """Sets the clipping rectangle - All drawtext will be clipped to this until the unsetClipping() is called""" - pass + raise NotImplementedError() def setFont(self,facename,size): """Set the font of the text to be written - 'facename' is a string with the name of the font - 'size' is the point size of the font to use""" - pass + raise NotImplementedError() def setJustify(self,justify): """Sets the justification of the text. (justify is a PtJustify)""" - pass + raise NotImplementedError() def setLineSpacing(self,spacing): """Sets the line spacing (in pixels)""" - pass + raise NotImplementedError() def setTextColor(self,color, blockRGB=0): """Set the color of the text to be written - 'color' is a ptColor object - 'blockRGB' must be true if you're trying to render onto a transparent or semi-transparent color""" - pass + raise NotImplementedError() def setWrapping(self,wrapWidth,wrapHeight): """Set where text will be wrapped horizontally and vertically - All drawtext commands will be wrapped until the unsetWrapping() is called""" - pass + raise NotImplementedError() def unsetClipping(self): """Stop the clipping of text""" - pass + raise NotImplementedError() def unsetWrapping(self): """Stop text wrapping""" - pass + raise NotImplementedError() class ptGameScore: """Plasma Game Score""" def __init__(self): """None""" - pass + raise NotImplementedError() def addPoints(self, points, key=None): """Adds points to the score""" - pass + raise NotImplementedError() @staticmethod def createAgeScore(scoreName, type, points=0, key=None): """Creates a new score associated with this age""" - pass + raise NotImplementedError() @staticmethod def createGlobalScore(scoreName, type, points=0, key=None): """Creates a new global score""" - pass + raise NotImplementedError() @staticmethod def createPlayerScore(scoreName, type, points=0, key=None): """Creates a new score associated with this player""" - pass + raise NotImplementedError() @staticmethod def createScore(ownerID, scoreName, type, points=0, key=None): """Creates a new score for an arbitrary owner""" - pass + raise NotImplementedError() @staticmethod def findAgeScores(scoreName, key): """Finds matching scores for this age""" - pass + raise NotImplementedError() @staticmethod def findAgeHighScores(name, maxScores, key): """Finds the highest matching scores for the current age's owners""" - pass + raise NotImplementedError() @staticmethod def findGlobalScores(scoreName, key): """Finds matching global scores""" - pass + raise NotImplementedError() @staticmethod def findGlobalHighScores(name, maxScores, key): """Finds the highest matching scores""" - pass + raise NotImplementedError() @staticmethod def findPlayerScores(scoreName, key): """Finds matching player scores""" - pass + raise NotImplementedError() @staticmethod def findScores(ownerID, scoreName, key): """Finds matching scores for an arbitrary owner""" - pass + raise NotImplementedError() def getGameType(self): """Returns the score game type.""" - pass + raise NotImplementedError() def getName(self): """Returns the score game name.""" - pass + raise NotImplementedError() def getOwnerID(self): """Returns the score game owner.""" - pass + raise NotImplementedError() def getPoints(self): """Returns the number of points in this score""" - pass + raise NotImplementedError() def remove(self): """Removes this score from the server""" - pass + raise NotImplementedError() def setPoints(self): """Sets the number of points in the score Don't use to add/remove points, use only to reset values!""" - pass + raise NotImplementedError() def transferPoints(self, dest, points=0, key=None): """Transfers points from this score to another""" - pass + raise NotImplementedError() class ptGameScoreMsg: """Game Score operation callback message""" def __init__(self): """None""" - pass + raise NotImplementedError() class ptGameScoreListMsg(ptGameScoreMsg): """Game Score message for scores found on the server""" def __init__(self): """None""" - pass + raise NotImplementedError() def getName(self): """Returns the template score name""" - pass + raise NotImplementedError() def getOwnerID(self): """Returns the template score ownerID""" - pass + raise NotImplementedError() def getScores(self): """Returns a list of scores found by the server""" - pass + raise NotImplementedError() class ptGameScoreTransferMsg(ptGameScoreMsg): """Game Score message indicating a score point transfer""" def __init__(self): """None""" - pass + raise NotImplementedError() def getDestination(self): """Returns the score points were transferred to""" - pass + raise NotImplementedError() def getSource(self): """Returns the score points were transferred from""" - pass + raise NotImplementedError() class ptGameScoreUpdateMsg(ptGameScoreMsg): """Game Score message for a score update operation""" def __init__(self): """None""" - pass + raise NotImplementedError() def getScore(self): """Returns the updated game score""" - pass + raise NotImplementedError() class ptGUIControl: """Base class for all GUI controls""" def __init__(self,controlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlButton(ptGUIControl): """Plasma GUI Control Button class""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getNotifyType(self): """Returns this button's notify type. See PtButtonNotifyTypes""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isButtonDown(self): """Is the button down? Returns 1 for true otherwise returns 0""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setNotifyType(self,kind): """Sets this button's notify type. See PtButtonNotifyTypes""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlCheckBox(ptGUIControl): """Plasma GUI Control Checkbox class""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isChecked(self): """Is this checkbox checked? Returns 1 for true otherwise returns 0""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setChecked(self,checkedState): """Sets this checkbox to the 'checkedState'""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlClickMap(ptGUIControl): """Plasma GUI control Click Map""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getLastMouseDragPoint(self): """Returns the last point the mouse was dragged to""" - pass + raise NotImplementedError() def getLastMousePoint(self): """Returns the last point the mouse was at""" - pass + raise NotImplementedError() def getLastMouseUpPoint(self): """Returns the last point the mouse was released at""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlDragBar(ptGUIControl): """Plasma GUI Control DragBar class""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def anchor(self): """Don't allow this dragbar object to be moved by the user. Drop anchor!""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isAnchored(self): """Is this dragbar control anchored? Returns 1 if true otherwise returns 0""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() def unanchor(self): """Allow the user to drag this control around the screen. Raise anchor.""" - pass + raise NotImplementedError() class ptGUIControlDraggable(ptGUIControl): """Plasma GUI control for something draggable""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getLastMousePoint(self): """Returns the last point we were dragged to""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def stopDragging(self,cancelFlag): """UNKNOWN""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlDynamicText(ptGUIControl): """Plasma GUI Control DynamicText class""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getMap(self,index): """Returns a specific ptDynamicText attached to this contol If there is no map at 'index' then a KeyError exception will be raised""" - pass + raise NotImplementedError() def getNumMaps(self): """Returns the number of ptDynamicText maps attached""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlEditBox(ptGUIControl): """Plasma GUI Control Editbox class""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def clearString(self): """Clears the editbox.""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def end(self): """Sets the cursor in the editbox to the after the last character.""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getLastKeyCaptured(self): """Gets the last capture key""" - pass + raise NotImplementedError() def getLastModifiersCaptured(self): """Gets the last modifiers flags captured""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getString(self): """Returns the sting that the user typed in.""" - pass + raise NotImplementedError() def getStringW(self): """Unicode version of getString.""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def home(self): """Sets the cursor in the editbox to before the first character.""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setChatMode(self,state): """Set the Chat mode on this control""" - pass + raise NotImplementedError() def setColor(self,foreColor,backColor): """Sets the fore and back color of the editbox.""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setLastKeyCapture(self,key, modifiers): """Set last key captured""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setSelectionColor(self,foreColor,backColor): """Sets the selection color of the editbox.""" - pass + raise NotImplementedError() def setSpecialCaptureKeyMode(self,state): """Set the Capture mode on this control""" - pass + raise NotImplementedError() def setString(self,text): """Pre-sets the editbox to a atring.""" - pass + raise NotImplementedError() def setStringSize(self,size): """Sets the maximum size of the string that can be inputted by the user.""" - pass + raise NotImplementedError() def setStringW(self,text): """Unicode version of setString.""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() def wasEscaped(self): """If the editbox was escaped then return 1 else return 0""" - pass + raise NotImplementedError() class ptGUIControlValue(ptGUIControl): """Plasma GUI Control Value class - knobs, spinners""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getMax(self): """Returns the maximum of the control.""" - pass + raise NotImplementedError() def getMin(self): """Returns the minimum of the control.""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getStep(self): """Returns the step increment of the control.""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def getValue(self): """Returns the current value of the control.""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setRange(self,minimum,maximum): """Sets the minimum and maximum range of the control.""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setStep(self,step): """Sets the step increment of the control.""" - pass + raise NotImplementedError() def setValue(self,value): """Sets the current value of the control.""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlKnob(ptGUIControlValue): """Plasma GUI control for knob""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getMax(self): """Returns the maximum of the control.""" - pass + raise NotImplementedError() def getMin(self): """Returns the minimum of the control.""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getStep(self): """Returns the step increment of the control.""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def getValue(self): """Returns the current value of the control.""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setRange(self,minimum,maximum): """Sets the minimum and maximum range of the control.""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setStep(self,step): """Sets the step increment of the control.""" - pass + raise NotImplementedError() def setValue(self,value): """Sets the current value of the control.""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlListBox(ptGUIControl): """Plasma GUI Control List Box class""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def add2StringsWithColors(self,text1,color1,text2,color2,respectAlpha): """Doesn't work right - DONT USE""" - pass + raise NotImplementedError() def addBranch(self,name,initiallyOpen): """UNKNOWN""" - pass + raise NotImplementedError() def addBranchW(self,name,initiallyOpen): """Unicode version of addBranch""" - pass + raise NotImplementedError() def addImage(self,image,respectAlphaFlag): """Appends an image item to the listbox""" - pass + raise NotImplementedError() def addImageAndSwatchesInBox(self,image,x,y,width,height,respectAlpha,primary,secondary): """Add the image and color swatches to the list""" - pass + raise NotImplementedError() def addImageInBox(self,image,x,y,width,height,respectAlpha): """Appends an image item to the listbox, centering within the box dimension.""" - pass + raise NotImplementedError() def addSelection(self,item): """Adds item to selection list""" - pass + raise NotImplementedError() def addString(self,text): """Appends a list item 'text' to the listbox.""" - pass + raise NotImplementedError() def addStringInBox(self,text,min_width,min_height): """Adds a text list item that has a minimum width and height""" - pass + raise NotImplementedError() def addStringW(self,text): """Unicode version of addString.""" - pass + raise NotImplementedError() def addStringWithColor(self,text,color,inheritAlpha): """Adds a colored string to the list box""" - pass + raise NotImplementedError() def addStringWithColorWithSize(self,text,color,inheritAlpha,fontsize): """Adds a text list item with a color and different font size""" - pass + raise NotImplementedError() def allowNoSelect(self): """Allows the listbox to have no selection""" - pass + raise NotImplementedError() def clearAllElements(self): """Removes all the items from the listbox, making it empty.""" - pass + raise NotImplementedError() def clickable(self): """Sets this listbox to be clickable by the user.""" - pass + raise NotImplementedError() def closeBranch(self): """UNKNOWN""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def disallowNoSelect(self): """The listbox must always have a selection""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def findString(self,text): """Finds and returns the index of the item that matches 'text' in the listbox.""" - pass + raise NotImplementedError() def findStringW(self,text): """Unicode version of findString.""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getBranchList(self): """get a list of branches in this list (index,isShowingChildren)""" - pass + raise NotImplementedError() def getElement(self,index): """Get the string of the item at 'index' in the listbox.""" - pass + raise NotImplementedError() def getElementW(self,index): """Unicode version of getElement.""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getNumElements(self): """Return the number of items in the listbox.""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getScrollPos(self): """Returns the current scroll position in the listbox.""" - pass + raise NotImplementedError() def getScrollRange(self): """Returns the max scroll position""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getSelection(self): """Returns the currently selected list item in the listbox.""" - pass + raise NotImplementedError() def getSelectionList(self): """Returns the current selection list""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def lock(self): """Locks the updates to a listbox, so a number of operations can be performed NOTE: an unlock() call must be made before the next lock() can be.""" - pass + raise NotImplementedError() def refresh(self): """Refresh the display of the listbox (after updating contents).""" - pass + raise NotImplementedError() def removeElement(self,index): """Removes element at 'index' in the listbox.""" - pass + raise NotImplementedError() def removeSelection(self,item): """Removes item from selection list""" - pass + raise NotImplementedError() def scrollToBegin(self): """Scrolls the listbox to the beginning of the list""" - pass + raise NotImplementedError() def scrollToEnd(self): """Scrolls the listbox to the end of the list""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setElement(self,index,text): """Set a particular item in the listbox to a string.""" - pass + raise NotImplementedError() def setElementW(self,index,text): """Unicode version of setElement.""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setGlobalSwatchEdgeOffset(self,offset): """Sets the edge offset of the color swatches""" - pass + raise NotImplementedError() def setGlobalSwatchSize(self,size): """Sets the size of the color swatches""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setScrollPos(self,pos): """Sets the scroll position of the listbox to 'pos'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setSelection(self,selectionIndex): """Sets the current selection in the listbox.""" - pass + raise NotImplementedError() def setStringJustify(self,index,justify): """Sets the text justification""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() def unclickable(self): """Makes this listbox not clickable by the user. Useful when just displaying a list that is not really selectable.""" - pass + raise NotImplementedError() def unlock(self): """Unlocks updates to a listbox and does any saved up changes""" - pass + raise NotImplementedError() class ptGUIControlMultiLineEdit(ptGUIControl): """Plasma GUI Control Multi-line edit class""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def beginUpdate(self): """Signifies that the control will be updated heavily starting now, so suppress all redraws""" def clearBuffer(self): """Clears all text from the multi-line edit control.""" - pass + raise NotImplementedError() def clickable(self): """Sets this listbox to be clickable by the user.""" - pass + raise NotImplementedError() def deleteChar(self): """Deletes a character at the current cursor position.""" - pass + raise NotImplementedError() def deleteLinesFromTop(self,numLines): """Deletes the specified number of lines from the top of the text buffer""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def disableScrollControl(self): """Disables the scroll control if there is one""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def enableScrollControl(self): """Enables the scroll control if there is one""" - pass + raise NotImplementedError() def endUpdate(self, redraw=True): """Signifies that the massive updates are over. We can now redraw.""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getBufferLimit(self): """Returns the current buffer limit""" - pass + raise NotImplementedError() def getBufferSize(self): """Returns the size of the buffer""" - pass + raise NotImplementedError() def getEncodedBuffer(self): """Returns the encoded buffer in a python buffer object. Do NOT use result with setEncodedBufferW.""" - pass + raise NotImplementedError() def getEncodedBufferW(self): """Unicode version of getEncodedBuffer. Do NOT use result with setEncodedBuffer.""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the current default font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getScrollPosition(self): """Returns what line is the top line.""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getString(self): """Gets the string of the edit control.""" - pass + raise NotImplementedError() def getStringW(self): """Unicode version of getString.""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def insertChar(self,c): """Inserts a character at the current cursor position.""" - pass + raise NotImplementedError() def insertCharW(self,c): """Unicode version of insertChar.""" - pass + raise NotImplementedError() def insertColor(self,color): """Inserts an encoded color object at the current cursor position. 'color' is a ptColor object.""" - pass + raise NotImplementedError() def insertString(self,string): """Inserts a string at the current cursor position.""" - pass + raise NotImplementedError() def insertStringW(self,string): """Unicode version of insertString""" - pass + raise NotImplementedError() def insertStyle(self,style): """Inserts an encoded font style at the current cursor position.""" - pass + raise NotImplementedError() def isAtEnd(self): """Returns whether the cursor is at the end.""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isLocked(self): """Is the multi-line edit control locked? Returns 1 if true otherwise returns 0""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def lock(self): """Locks the multi-line edit control so the user cannot make changes.""" - pass + raise NotImplementedError() def moveCursor(self,direction): """Move the cursor in the specified direction (see PtGUIMultiLineDirection)""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setBufferLimit(self,bufferLimit): """Sets the buffer max for the editbox""" - pass + raise NotImplementedError() def setEncodedBuffer(self,bufferObject): """Sets the edit control to the encoded buffer in the python buffer object. Do NOT use with a result from getEncodedBufferW.""" - pass + raise NotImplementedError() def setEncodedBufferW(self,bufferObject): """Unicode version of setEncodedBuffer. Do NOT use with a result from getEncodedBuffer.""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the default font size for the edit control""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setScrollPosition(self,topLine): """Sets the what line is the top line.""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setString(self,asciiText): """Sets the multi-line edit control string.""" - pass + raise NotImplementedError() def setStringW(self,unicodeText): """Unicode version of setString.""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() def unclickable(self): """Makes this listbox not clickable by the user. Useful when just displaying a list that is not really selectable.""" - pass + raise NotImplementedError() def unlock(self): """Unlocks the multi-line edit control so that the user can make changes.""" - pass + raise NotImplementedError() class ptGUIControlProgress(ptGUIControlValue): """Plasma GUI control for progress bar""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def animateToPercent(self,percent): """Sets the value of the control and animates to that point.""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getMax(self): """Returns the maximum of the control.""" - pass + raise NotImplementedError() def getMin(self): """Returns the minimum of the control.""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getStep(self): """Returns the step increment of the control.""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def getValue(self): """Returns the current value of the control.""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setRange(self,minimum,maximum): """Sets the minimum and maximum range of the control.""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setStep(self,step): """Sets the step increment of the control.""" - pass + raise NotImplementedError() def setValue(self,value): """Sets the current value of the control.""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlRadioGroup(ptGUIControl): """Plasma GUI Control Radio Group class""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def getValue(self): """Returns the current selection of the radio group.""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setValue(self,value): """Sets the current selection to 'value'""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlTextBox(ptGUIControl): """Plasma GUI Control Textbox class""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the current forecolor""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getString(self): """Returns the string that the TextBox is set to (in case you forgot)""" - pass + raise NotImplementedError() def getStringJustify(self): """Returns current justify""" - pass + raise NotImplementedError() def getStringW(self): """Unicode version of getString""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,color): """Sets the text backcolor to 'color', which is a ptColor object.""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,size): """Don't use""" - pass + raise NotImplementedError() def setForeColor(self,color): """Sets the text forecolor to 'color', which is a ptColor object.""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setString(self,text): """Sets the textbox string to 'text'""" - pass + raise NotImplementedError() def setStringJustify(self,justify): """Sets current justify""" - pass + raise NotImplementedError() def setStringW(self,text): """Unicode version of setString""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIControlUpDownPair(ptGUIControlValue): """Plasma GUI control for up/down pair""" def __init__(self,ctrlKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this GUI control""" - pass + raise NotImplementedError() def enable(self,flag=1): """Enables this GUI control""" - pass + raise NotImplementedError() def focus(self): """Gets focus for this GUI control""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns the ptKey for this GUI control""" - pass + raise NotImplementedError() def getMax(self): """Returns the maximum of the control.""" - pass + raise NotImplementedError() def getMin(self): """Returns the minimum of the control.""" - pass + raise NotImplementedError() def getObjectCenter(self): """Returns ptPoint3 of the center of the GUI control object""" - pass + raise NotImplementedError() def getOwnerDialog(self): """Returns a ptGUIDialog of the dialog that owns this GUI control""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getStep(self): """Returns the step increment of the control.""" - pass + raise NotImplementedError() def getTagID(self): """Returns the Tag ID for this GUI control""" - pass + raise NotImplementedError() def getValue(self): """Returns the current value of the control.""" - pass + raise NotImplementedError() def hide(self): """Hides this GUI control""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this GUI control is enabled""" - pass + raise NotImplementedError() def isFocused(self): """Returns whether this GUI control has focus""" - pass + raise NotImplementedError() def isInteresting(self): """Returns whether this GUI control is interesting at the moment""" - pass + raise NotImplementedError() def isVisible(self): """Returns whether this GUI control is visible""" - pass + raise NotImplementedError() def refresh(self): """UNKNOWN""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setFocus(self,state): """Sets the state of the focus of this GUI control""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setNotifyOnInteresting(self,state): """Sets whether this control should send interesting events or not""" - pass + raise NotImplementedError() def setObjectCenter(self,point): """Sets the GUI controls object center to 'point'""" - pass + raise NotImplementedError() def setRange(self,minimum,maximum): """Sets the minimum and maximum range of the control.""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def setStep(self,step): """Sets the step increment of the control.""" - pass + raise NotImplementedError() def setValue(self,value): """Sets the current value of the control.""" - pass + raise NotImplementedError() def setVisible(self,state): """Sets the state of visibility of this GUI control""" - pass + raise NotImplementedError() def show(self): """Shows this GUI control""" - pass + raise NotImplementedError() def unFocus(self): """Releases focus for this GUI control""" - pass + raise NotImplementedError() class ptGUIDialog: """Plasma GUI dialog class""" def __init__(self,dialogKey): """None""" - pass + raise NotImplementedError() def disable(self): """Disables this dialog""" - pass + raise NotImplementedError() def enable(self,enableFlag=1): """Enable this dialog""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the back color as a ptColor object""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the select back color as a ptColor object""" - pass + raise NotImplementedError() def getControlFromIndex(self,index): """Returns the ptKey of the control with the specified index (not tag ID!)""" - pass + raise NotImplementedError() def getControlFromTag(self,tagID): """Returns the ptKey of the control with the specified tag ID""" - pass + raise NotImplementedError() def getFontSize(self): """Returns the font size""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the fore color as a ptColor object""" - pass + raise NotImplementedError() def getKey(self): """Returns this dialog's ptKey""" - pass + raise NotImplementedError() def getName(self): """Returns the dialog's name""" - pass + raise NotImplementedError() def getNumControls(self): """Returns the number of controls in this dialog""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the select color as a ptColor object""" - pass + raise NotImplementedError() def getTagID(self): """Returns this dialog's tag ID""" - pass + raise NotImplementedError() def getVersion(self): """UNKNOWN""" - pass + raise NotImplementedError() def hide(self): """Hides the dialog""" - pass + raise NotImplementedError() def isEnabled(self): """Is this dialog currently enabled?""" - pass + raise NotImplementedError() def noFocus(self): """Makes sure no control has input focus""" - pass + raise NotImplementedError() def refreshAllControls(self): """Tells the dialog to redraw all its controls""" - pass + raise NotImplementedError() def setBackColor(self,red,green,blue,alpha): """Sets the back color, -1 means don't change""" - pass + raise NotImplementedError() def setBackSelectColor(self,red,green,blue,alpha): """Sets the select back color, -1 means don't change""" - pass + raise NotImplementedError() def setFocus(self,ctrlKey): """Sets the control that has input focus""" - pass + raise NotImplementedError() def setFontSize(self,fontSize): """Sets the font size""" - pass + raise NotImplementedError() def setForeColor(self,red,green,blue,alpha): """Sets the fore color, -1 means don't change""" - pass + raise NotImplementedError() def setSelectColor(self,red,green,blue,alpha): """Sets the select color, -1 means don't change""" - pass + raise NotImplementedError() def show(self): """Shows the dialog""" - pass + raise NotImplementedError() def showNoReset(self): """Show dialog without resetting clickables""" - pass + raise NotImplementedError() def updateAllBounds(self): """Tells the dialog to recompute all the bounds for its controls""" - pass + raise NotImplementedError() class ptGUIPopUpMenu: """Takes three diferent argument lists: @@ -5144,998 +5144,998 @@ class ptGUIPopUpMenu: name,parent,screenOriginX,screenOriginY""" def __init__(self,arg1,arg2=None,arg3=None,arg4=None): """None""" - pass + raise NotImplementedError() def addConsoleCmdItem(self,name,consoleCmd): """Adds a new item to the menu that fires a console command""" - pass + raise NotImplementedError() def addConsoleCmdItemW(self,name,consoleCmd): """Unicode version of addConsoleCmdItem""" - pass + raise NotImplementedError() def addNotifyItem(self,name): """Adds a new item ot the mneu""" - pass + raise NotImplementedError() def addNotifyItemW(self,name): """Unicode version of addNotifyItem""" - pass + raise NotImplementedError() def addSubMenuItem(self,name,subMenu): """Adds a submenu to this menu""" - pass + raise NotImplementedError() def addSubMenuItemW(self,name,subMenu): """Unicode version of addSubMenuItem""" - pass + raise NotImplementedError() def disable(self): """Disables this menu""" - pass + raise NotImplementedError() def enable(self,state=1): """Enables/disables this menu""" - pass + raise NotImplementedError() def getBackColor(self): """Returns the background color""" - pass + raise NotImplementedError() def getBackSelectColor(self): """Returns the background selection color""" - pass + raise NotImplementedError() def getForeColor(self): """Returns the foreground color""" - pass + raise NotImplementedError() def getKey(self): """Returns this menu's key""" - pass + raise NotImplementedError() def getName(self): """Returns this menu's name""" - pass + raise NotImplementedError() def getSelectColor(self): """Returns the selection color""" - pass + raise NotImplementedError() def getTagID(self): """Returns this menu's tag id""" - pass + raise NotImplementedError() def getVersion(self): """UNKNOWN""" - pass + raise NotImplementedError() def hide(self): """Hides this menu""" - pass + raise NotImplementedError() def isEnabled(self): """Returns whether this menu is enabled or not""" - pass + raise NotImplementedError() def setBackColor(self,r,g,b,a): """Sets the background color""" - pass + raise NotImplementedError() def setBackSelectColor(self,r,g,b,a): """Sets the selection background color""" - pass + raise NotImplementedError() def setForeColor(self,r,g,b,a): """Sets the foreground color""" - pass + raise NotImplementedError() def setSelectColor(self,r,g,b,a): """Sets the selection color""" - pass + raise NotImplementedError() def show(self): """Shows this menu""" - pass + raise NotImplementedError() class ptGUISkin: """Plasma GUI Skin object""" def __init__(self,key): """None""" - pass + raise NotImplementedError() def getKey(self): """Returns this object's ptKey""" - pass + raise NotImplementedError() class ptGrassShader: """Plasma Grass Shader class""" def __init__(self,key): """None""" - pass + raise NotImplementedError() def getWaveDirection(self,waveNum): """Gets the wave waveNum's direction as a tuple of x,y. waveNum must be between 0 and plGrassShaderMod::kNumWaves-1 (currently 3) inclusive""" - pass + raise NotImplementedError() def getWaveDistortion(self,waveNum): """Gets the wave waveNum's distortion as a tuple of x,y,z. waveNum must be between 0 and plGrassShaderMod::kNumWaves-1 (currently 3) inclusive""" - pass + raise NotImplementedError() def getWaveSpeed(self,waveNum): """Gets the wave waveNum's speed as a float. waveNum must be between 0 and plGrassShaderMod::kNumWaves-1 (currently 3) inclusive""" - pass + raise NotImplementedError() def resetWaves(self): """Resets wave data to 0""" - pass + raise NotImplementedError() def setWaveDirection(self,waveNum, direction): """Sets the wave waveNum's direction as a tuple of x,y. waveNum must be between 0 and plGrassShaderMod::kNumWaves-1 (currently 3) inclusive""" - pass + raise NotImplementedError() def setWaveDistortion(self,waveNum, distortion): """Sets the wave waveNum's distortion as a tuple of x,y,z. waveNum must be between 0 and plGrassShaderMod::kNumWaves-1 (currently 3) inclusive""" - pass + raise NotImplementedError() def setWaveSpeed(self,waveNum, speed): """Sets the wave waveNum's speed as a float. waveNum must be between 0 and plGrassShaderMod::kNumWaves-1 (currently 3) inclusive""" - pass + raise NotImplementedError() class ptImage: """Plasma image class""" def __init__(self,imgKey): """None""" - pass + raise NotImplementedError() def getColorLoc(self,color): """Returns the ptPoint3 where the specified color is located""" - pass + raise NotImplementedError() def getHeight(self): """Returns the height of the image""" - pass + raise NotImplementedError() def getPixelColor(self,x,y): """Returns the ptColor at the specified location (float from 0 to 1)""" - pass + raise NotImplementedError() def getWidth(self): """Returns the width of the image""" - pass + raise NotImplementedError() def saveAsJPEG(self,filename,quality=75): """Saves this image to disk as a JPEG file""" - pass + raise NotImplementedError() class ptInputInterface: """Plasma input interface class""" def __init__(self): """None""" - pass + raise NotImplementedError() def popTelescope(self): """pops off the telescope interface and gos back to previous interface""" - pass + raise NotImplementedError() def pushTelescope(self): """pushes on the telescope interface""" - pass + raise NotImplementedError() class ptKey: """Plasma Key class""" def __init__(self): """None""" - pass + raise NotImplementedError() def disable(self): """Sends a disable message to whatever this ptKey is pointing to""" - pass + raise NotImplementedError() def enable(self): """Sends an enable message to whatever this ptKey is pointing to""" - pass + raise NotImplementedError() def getName(self): """Get the name of the object that this ptKey is pointing to""" - pass + raise NotImplementedError() def getParentKey(self): """This will return a ptKey object that is the parent of this modifer However, if the parent is not a modifier or not loaded, then None is returned.""" - pass + raise NotImplementedError() def getSceneObject(self): """This will return a ptSceneobject object that is associated with this ptKey However, if this ptKey is _not_ a sceneobject, then unpredicatable results will ensue""" - pass + raise NotImplementedError() def isAttachedToClone(self): """Returns whether the python file mod is attached to a clone""" - pass + raise NotImplementedError() def netForce(self,forceFlag): """Specify whether this object needs to use messages that are forced to the network - This is to be used if your Python program is running on only one client Such as a game master, only running on the client that owns a particular object""" - pass + raise NotImplementedError() class ptKeyMap: """Accessor class to the Key Mapping functions""" def __init__(self): """None""" - pass + raise NotImplementedError() def bindKey(self): """Params key1,key2,action Bind keys to an action""" - pass + raise NotImplementedError() def bindKeyToConsoleCommand(self,keyStr1, command): """Binds key to console command""" - pass + raise NotImplementedError() def convertCharToControlCode(self,controlCodeString): """Convert string version of control code to number""" - pass + raise NotImplementedError() def convertCharToFlags(self,charString): """Convert char string to flags""" - pass + raise NotImplementedError() def convertCharToVKey(self,charString): """Convert char string to virtual key""" - pass + raise NotImplementedError() def convertControlCodeToString(self): """Params controlCode Convert control code to character string""" - pass + raise NotImplementedError() def convertVKeyToChar(self,virtualKey,flags): """Convert virtual key and shift flags to string""" - pass + raise NotImplementedError() def getBindingFlags1(self): """Params controlCode Returns modifier flags for controlCode""" - pass + raise NotImplementedError() def getBindingFlags2(self): """Params controlCode Returns modifier flags for controlCode""" - pass + raise NotImplementedError() def getBindingFlagsConsole(self,command): """Returns modifier flags for the console command mapping""" - pass + raise NotImplementedError() def getBindingKey1(self): """Params controlCode Returns key code for controlCode""" - pass + raise NotImplementedError() def getBindingKey2(self): """Params controlCode Returns key code for controlCode""" - pass + raise NotImplementedError() def getBindingKeyConsole(self,command): """Returns key for console command mapping""" - pass + raise NotImplementedError() def writeKeyMap(self): """Forces write of the keymap file""" - pass + raise NotImplementedError() class ptMarkerMgr: """Marker manager accessor class""" def __init__(self): """None""" - pass + raise NotImplementedError() def addMarker(self,x, y, z, id, justCreated): """Add a marker in the specified location with the specified id""" - pass + raise NotImplementedError() def areLocalMarkersShowing(self): """Returns true if we are showing the markers on this local machine""" - pass + raise NotImplementedError() def captureQuestMarker(self,id, captured): """Sets a marker as captured or not""" - pass + raise NotImplementedError() def captureTeamMarker(self,id, team): """Sets a marker as captured by the specified team (0 = not captured)""" - pass + raise NotImplementedError() def clearSelectedMarker(self): """Unselects the selected marker""" - pass + raise NotImplementedError() def getMarkersRespawn(self): """Returns whether markers respawn after being captured, or not""" - pass + raise NotImplementedError() def getSelectedMarker(self): """Returns the id of the selected marker""" - pass + raise NotImplementedError() def hideMarkersLocal(self): """Hides the markers on your machine, so you can no longer see where they are""" - pass + raise NotImplementedError() def removeAllMarkers(self): """Removes all markers""" - pass + raise NotImplementedError() def removeMarker(self,id): """Removes the specified marker from the game""" - pass + raise NotImplementedError() def setMarkersRespawn(self,respawn): """Sets whether markers respawn after being captured, or not""" - pass + raise NotImplementedError() def setSelectedMarker(self,id): """Sets the selected marker to the one with the specified id""" - pass + raise NotImplementedError() def showMarkersLocal(self): """Shows the markers on your machine, so you can see where they are""" - pass + raise NotImplementedError() class ptMatrix44: """Plasma Matrix44 class""" def __init__(self): """None""" - pass + raise NotImplementedError() def copy(self): """Copies the matrix and returns the copy""" - pass + raise NotImplementedError() def getAdjoint(self,adjointMat): """Returns the adjoint of the matrix""" - pass + raise NotImplementedError() def getData(self): """Returns the matrix in tuple form""" - pass + raise NotImplementedError() def getDeterminant(self): """Get the matrix's determinant""" - pass + raise NotImplementedError() def getInverse(self,inverseMat): """Returns the inverse of the matrix""" - pass + raise NotImplementedError() def getParity(self): """Get the parity of the matrix""" - pass + raise NotImplementedError() def getTranslate(self,vector): """Returns the translate vector of the matrix (and sets vector to it as well)""" - pass + raise NotImplementedError() def getTranspose(self,transposeMat): """Returns the transpose of the matrix""" - pass + raise NotImplementedError() def make(self,fromPt, atPt, upVec): """Creates the matrix from from and at points, and the up vector""" - pass + raise NotImplementedError() def makeRotateMat(self,axis,radians): """Makes the matrix a rotation matrix""" - pass + raise NotImplementedError() def makeScaleMat(self,scale): """Makes the matrix a scaling matrix""" - pass + raise NotImplementedError() def makeTranslateMat(self,trans): """Makes the matrix a translation matrix""" - pass + raise NotImplementedError() def makeUpPreserving(self,fromPt, atPt, upVec): """Creates the matrix from from and at points, and the up vector (perserving the up vector)""" - pass + raise NotImplementedError() def reset(self): """Reset the matrix to identity""" - pass + raise NotImplementedError() def right(self): """Returns the right vector of the matrix""" - pass + raise NotImplementedError() def rotate(self,axis,radians): """Rotates the matrix by radians around the axis""" - pass + raise NotImplementedError() def scale(self,scale): """Scales the matrix by the vector""" - pass + raise NotImplementedError() def setData(self,mat): """Sets the matrix using tuples""" - pass + raise NotImplementedError() def translate(self,vector): """Translates the matrix by the vector""" - pass + raise NotImplementedError() def up(self): """Returns the up vector of the matrix""" - pass + raise NotImplementedError() def view(self): """Returns the view vector of the matrix""" - pass + raise NotImplementedError() class ptMoviePlayer: """Accessor class to play in the MoviePlayer""" def __init__(self,movieName,selfKey): """None""" - pass + raise NotImplementedError() def pause(self): """Pauses the movie""" - pass + raise NotImplementedError() def play(self): """Plays the movie""" - pass + raise NotImplementedError() def playPaused(self): """Plays movie, but pauses at first frame""" - pass + raise NotImplementedError() def resume(self): """Resumes movie after pausing""" - pass + raise NotImplementedError() def setCenter(self,x,y): """Sets the center of the movie""" - pass + raise NotImplementedError() def setColor(self,color): """Sets the color of the movie""" - pass + raise NotImplementedError() def setOpacity(self,opacity): """Sets the opacity of the movie""" - pass + raise NotImplementedError() def setScale(self,width,height): """Sets the width and height scale of the movie""" - pass + raise NotImplementedError() def setVolume(self,volume): """Set the volume of the movie""" - pass + raise NotImplementedError() def stop(self): """Stops the movie""" - pass + raise NotImplementedError() class ptNetLinkingMgr: """Constructor to get access to the net link manager""" def __init__(self): """None""" - pass + raise NotImplementedError() def getCurrAgeLink(self): """Get the ptAgeLinkStruct for the current age""" - pass + raise NotImplementedError() def getPrevAgeLink(self): """Get the ptAgeLinkStruct for the previous age""" - pass + raise NotImplementedError() def isEnabled(self): """True if linking is enabled.""" - pass + raise NotImplementedError() def linkPlayerHere(self,pid): """link player(pid) to where I am""" - pass + raise NotImplementedError() def linkPlayerToAge(self,ageLink,pid): """Link player(pid) to ageLink""" - pass + raise NotImplementedError() def linkToAge(self,ageLink): """Links to ageLink (ptAgeLinkStruct)""" - pass + raise NotImplementedError() def linkToMyNeighborhoodAge(self): """Link to my Neighborhood Age""" - pass + raise NotImplementedError() def linkToMyPersonalAge(self): """Link to my Personal Age""" - pass + raise NotImplementedError() def linkToMyPersonalAgeWithYeeshaBook(self): """Link to my Personal Age with the YeeshaBook""" - pass + raise NotImplementedError() def linkToPlayersAge(self,pid): """Link me to where player(pid) is""" - pass + raise NotImplementedError() def setEnabled(self,enable): """Enable/Disable linking.""" - pass + raise NotImplementedError() class ptNotify: """Creates a Notify message - selfKey is ptKey of your PythonFile modifier""" def __init__(self,selfKey): """None""" - pass + raise NotImplementedError() def addActivateEvent(self,activeFlag,activateFlag): """Add an activate event record to the notify message""" - pass + raise NotImplementedError() def addCallbackEvent(self,eventNumber): """Add a callback event record to the notify message""" - pass + raise NotImplementedError() def addCollisionEvent(self,enterFlag,hitterKey,hitteeKey): """Add a collision event record to the Notify message""" - pass + raise NotImplementedError() def addContainerEvent(self,enteringFlag,containerKey,containedKey): """Add a container event record to the notify message""" - pass + raise NotImplementedError() def addControlKeyEvent(self,keynumber,downFlag): """Add a keyboard event record to the Notify message""" - pass + raise NotImplementedError() def addFacingEvent(self,enabledFlag,facerKey, faceeKey, dotProduct): """Add a facing event record to the Notify message""" - pass + raise NotImplementedError() def addPickEvent(self,enabledFlag,pickerKey,pickeeKey,hitPoint): """Add a pick event record to the Notify message""" - pass + raise NotImplementedError() def addReceiver(self,key): """Add a receivers key to receive this Notify message""" - pass + raise NotImplementedError() def addResponderState(self,state): """Add a responder state event record to the notify message""" - pass + raise NotImplementedError() def addVarKey(self,name,key): """Add a ptKey variable event record to the Notify message This event record is used to pass a ptKey variable to another python program""" - pass + raise NotImplementedError() def addVarNumber(self,name,number): """Add a number variable event record to the Notify message Method will try to pick appropriate variable type This event record is used to pass a number variable to another python program""" - pass + raise NotImplementedError() def addVarFloat(self,name,number): """Add a float variable event record to the Notify message This event record is used to pass a number variable to another python program""" - pass + raise NotImplementedError() def addVarInt(self,name,number): """Add a integer variable event record to the Notify message This event record is used to pass a number variable to another python program""" - pass + raise NotImplementedError() def addVarNull(self,name): """Add a null (no data) variable event record to the Notify message This event record is used to pass a number variable to another python program""" - pass + raise NotImplementedError() def clearReceivers(self): """Remove all the receivers that this Notify message has - receivers are automatically added if from a ptAttribActivator""" - pass + raise NotImplementedError() def netForce(self,forceFlag): """Specify whether this object needs to use messages that are forced to the network - This is to be used if your Python program is running on only one client Such as a game master, only running on the client that owns a particular object""" - pass + raise NotImplementedError() def netPropagate(self,netFlag): """Sets the net propagate flag - default to set""" - pass + raise NotImplementedError() def send(self): """Send the notify message""" - pass + raise NotImplementedError() def setActivate(self,state): """Set the activate state to true(1.0) or false(0.0)""" - pass + raise NotImplementedError() def setType(self,type): """Sets the message type""" - pass + raise NotImplementedError() class ptParticle: """Plasma particle system class""" def __init__(self): """None""" - pass + raise NotImplementedError() def netForce(self,forceFlag): """Specify whether this object needs to use messages that are forced to the network - This is to be used if your Python program is running on only one client Such as a game master, only running on the client that owns a particular object""" - pass + raise NotImplementedError() def setGeneratorLife(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setHeightSize(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setInitPitchRange(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setInitYawRange(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setParticleLifeMaximum(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setParticleLifeMinimum(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setParticlesPerSecond(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setScaleMaximum(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setScaleMinimum(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setVelocityMaximum(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setVelocityMinimum(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() def setWidthSize(self,value): """NEEDS DOCSTRING""" - pass + raise NotImplementedError() class ptPhysics: """Plasma physics class""" def __init__(self): """None""" - pass + raise NotImplementedError() def angularImpulse(self,impulseVector): """Add the given vector (representing a rotation axis and magnitude) to the attached sceneobject's velocity""" - pass + raise NotImplementedError() def damp(self,damp): """Reduce all velocities on the object (0 = all stop, 1 = no effect)""" - pass + raise NotImplementedError() def disable(self): """Disables physics on the sceneobject attached""" - pass + raise NotImplementedError() def disableCollision(self): """Disables collision detection on the attached sceneobject""" - pass + raise NotImplementedError() def enable(self,state=1): """Sets the physics enable state for the sceneobject attached""" - pass + raise NotImplementedError() def enableCollision(self): """Enables collision detection on the attached sceneobject""" - pass + raise NotImplementedError() def force(self,forceVector): """Applies the specified force to the attached sceneobject""" - pass + raise NotImplementedError() def forceWithOffset(self,forceVector,offsetPt): """Applies the specified offsetted force to the attached sceneobject""" - pass + raise NotImplementedError() def impulse(self,impulseVector): """Adds the given vector to the attached sceneobject's velocity""" - pass + raise NotImplementedError() def impulseWithOffset(self,impulseVector,offsetPt): """Adds the given vector to the attached sceneobject's velocity with the specified offset""" - pass + raise NotImplementedError() def move(self,direction,distance): """Moves the attached sceneobject the specified distance in the specified direction""" - pass + raise NotImplementedError() def netForce(self,forceFlag): """Specify whether this object needs to use messages that are forced to the network - This is to be used if your Python program is running on only one client Such as a game master, only running on the client that owns a particular object""" - pass + raise NotImplementedError() def rotate(self,radians,axis): """Rotates the attached sceneobject the specified radians around the specified axis""" - pass + raise NotImplementedError() def shiftMass(self,offsetVector): """Shifts the attached sceneobject's center to mass in the specified direction and distance""" - pass + raise NotImplementedError() def suppress(self,doSuppress): """Completely remove the physical, but keep it around so it can be added back later.""" - pass + raise NotImplementedError() def torque(self,torqueVector): """Applies the specified torque to the attached sceneobject""" - pass + raise NotImplementedError() def warp(self,position): """Warps the sceneobject to a specified location. 'position' can be a ptPoint3 or a ptMatrix44""" - pass + raise NotImplementedError() def warpObj(self,objkey): """Warps the sceneobject to match the location and orientation of the specified object""" - pass + raise NotImplementedError() class ptPlayer: """And optionally __init__(name,playerID)""" def __init__(self,avkey,name,playerID,distanceSq): """None""" - pass + raise NotImplementedError() def getDistanceSq(self): """Returns the distance to remote player from local player""" - pass + raise NotImplementedError() def getPlayerID(self): """Returns the unique player ID""" - pass + raise NotImplementedError() def getPlayerName(self): """Returns the name of the player""" - pass + raise NotImplementedError() def getPlayerNameW(self): """Returns the name of the player as Unicode""" - pass + raise NotImplementedError() def isCCR(self): """Is this player a CCR?""" - pass + raise NotImplementedError() def isServer(self): """Is this player a server?""" - pass + raise NotImplementedError() class ptPoint3: """Plasma Point class""" def __init__(self,x=0, y=0, z=0): """None""" - pass + raise NotImplementedError() def copy(self): """Returns a copy of the point in another ptPoint3 object""" - pass + raise NotImplementedError() def distance(self,other): """Computes the distance from this point to 'other' point""" - pass + raise NotImplementedError() def distanceSq(self,other): """Computes the distance squared from this point to 'other' point - this function is faster than distance(other)""" - pass + raise NotImplementedError() def getX(self): """Returns the 'x' component of the point""" - pass + raise NotImplementedError() def getY(self): """Returns the 'y' component of the point""" - pass + raise NotImplementedError() def getZ(self): """Returns the 'z' component of the point""" - pass + raise NotImplementedError() def setX(self,x): """Sets the 'x' component of the point""" - pass + raise NotImplementedError() def setY(self,y): """Sets the 'y' component of the point""" - pass + raise NotImplementedError() def setZ(self,z): """Sets the 'z' component of the point""" - pass + raise NotImplementedError() def zero(self): """Sets the 'x','y' and the 'z' component to zero""" - pass + raise NotImplementedError() class ptSDL: """SDL accessor""" def __init__(self): """None""" - pass + raise NotImplementedError() def sendToClients(self,key): """Sets it so changes to this key are sent to the server AND the clients. (Normally it just goes to the server.)""" - pass + raise NotImplementedError() def setDefault(self,key,value): """Like setitem, but doesn't broadcast over the net. Only use for setting defaults that everyone will already know (from reading it off disk)""" - pass + raise NotImplementedError() def setFlags(self,name,sendImmediate,skipOwnershipCheck): """Sets the flags for a variable in this SDL""" - pass + raise NotImplementedError() def setIndex(self,key,idx,value): """Sets the value at a specific index in the tuple, so you don't have to pass the whole thing in""" - pass + raise NotImplementedError() def setIndexNow(self,key,idx,value): """Same as setIndex but sends immediately""" - pass + raise NotImplementedError() def setNotify(self,selfkey,key,tolerance): """Sets the OnSDLNotify to be called when 'key' SDL variable changes by 'tolerance' (if number)""" - pass + raise NotImplementedError() def setTagString(self,name,tag): """Sets the tag string for a variable""" - pass + raise NotImplementedError() class ptSDLStateDataRecord: """Basic SDL state data record class""" def __init__(self): """None""" - pass + raise NotImplementedError() def findVar(self,name): """Finds and returns the specified ptSimpleStateVariable""" - pass + raise NotImplementedError() def getName(self): """Returns our record's name""" - pass + raise NotImplementedError() def getVarList(self): """Returns the names of the vars we hold as a list of strings""" - pass + raise NotImplementedError() def setFromDefaults(self,timeStampNow): """Sets all our vars to their defaults""" - pass + raise NotImplementedError() class ptSceneobject: """Plasma Sceneobject class""" def __init__(self,objKey, selfKey): """None""" - pass + raise NotImplementedError() def addKey(self,key): """Mostly used internally. Add another sceneobject ptKey""" - pass + raise NotImplementedError() def animate(self): """If we can animate, start animating""" - pass + raise NotImplementedError() def avatarVelocity(self): """Returns the velocity of the first attached avatar scene object""" - pass + raise NotImplementedError() def fastForwardAttachedResponder(self,state): """Fast forward the attached responder to the specified state""" - pass + raise NotImplementedError() def findObject(self,name): """Find a particular object in just the sceneobjects that are attached""" - pass + raise NotImplementedError() def getKey(self): """Get the ptKey of this sceneobject If there are more then one attached, get the first one""" - pass + raise NotImplementedError() def getLocalToParent(self): """Returns ptMatrix44 of the local to parent transform for this sceneobject - If there is more than one sceneobject attached, returns just the first one""" - pass + raise NotImplementedError() def getLocalToWorld(self): """Returns ptMatrix44 of the local to world transform for this sceneobject - If there is more than one sceneobject attached, returns just the first one""" - pass + raise NotImplementedError() def getName(self): """Returns the name of the sceneobject (Max name) - If there are more than one sceneobject attached, return just the first one""" - pass + raise NotImplementedError() def getParentToLocal(self): """Returns ptMatrix44 of the parent to local transform for this sceneobject - If there is more than one sceneobject attached, returns just the first one""" - pass + raise NotImplementedError() def getPythonMods(self): """Returns list of ptKeys of the python modifiers attached to this sceneobject""" - pass + raise NotImplementedError() def getResponderState(self): """Return the responder state (if we are a responder)""" - pass + raise NotImplementedError() def getResponders(self): """Returns list of ptKeys of the responders attached to this sceneobject""" - pass + raise NotImplementedError() def getSoundIndex(self,sndComponentName): """Get the index of the requested sound component""" - pass + raise NotImplementedError() def getWorldToLocal(self): """Returns ptMatrix44 of the world to local transform for this sceneobject - If there is more than one sceneobject attached, returns just the first one""" - pass + raise NotImplementedError() def isAvatar(self): """Returns true if the scene object is an avatar""" - pass + raise NotImplementedError() def isHuman(self): """Returns true if the scene object is a human avatar""" - pass + raise NotImplementedError() def isLocallyOwned(self): """Returns true(1) if this object is locally owned by this client or returns false(0) if it is not or don't know""" - pass + raise NotImplementedError() def netForce(self,forceFlag): """Specify whether this object needs to use messages that are forced to the network @@ -6143,3807 +6143,3806 @@ def netForce(self,forceFlag): Such as a game master, only running on the client that owns a particular object - Setting the netForce flag on a sceneobject will also set the netForce flag on its draw, physics, avatar, particle objects""" - pass + raise NotImplementedError() def playAnimNamed(self,animName): """Play the attached named animation""" - pass + raise NotImplementedError() def popCamera(self,avKey): """Pop the camera stack and go back to the previous camera""" - pass + raise NotImplementedError() def popCutsceneCamera(self,avKey): """Pop the camera stack and go back to previous camera.""" - pass + raise NotImplementedError() def position(self): """Returns the scene object's current position""" - pass + raise NotImplementedError() def pushCamera(self,avKey): """Switch to this object (if it is a camera)""" - pass + raise NotImplementedError() def pushCameraCut(self,avKey): """Switch to this object, cutting the view (if it is a camera)""" - pass + raise NotImplementedError() def pushCutsceneCamera(self,cutFlag,avKey): """Switch to this object (assuming that it is actually a camera)""" - pass + raise NotImplementedError() def rewindAnimNamed(self,animName): """Rewind the attached named animation""" - pass + raise NotImplementedError() def right(self): """Returns the scene object's current right vector""" - pass + raise NotImplementedError() def runAttachedResponder(self,state): """Run the attached responder to the specified state""" - pass + raise NotImplementedError() def setSoundFilename(self,index, filename, isCompressed): """Sets the sound attached to this sceneobject to use the specified sound file.""" - pass + raise NotImplementedError() def setTransform(self,local2world,world2local): """Set our current transforms""" - pass + raise NotImplementedError() def stopAnimNamed(self,animName): """Stop the attached named animation""" - pass + raise NotImplementedError() def up(self): """Returns the scene object's current up vector""" - pass + raise NotImplementedError() def view(self): """Returns the scene object's current view vector""" - pass + raise NotImplementedError() def volumeSensorIgnoreExtraEnters(self,ignore): """Tells the volume sensor attached to this object to ignore extra enters (default), or not (hack for garrison).""" - pass + raise NotImplementedError() def volumeSensorNoArbitration(self, noArbitration): """Tells the volume sensor attached to this object whether or not to negotiate exclusive locks with the server.""" - pass + raise NotImplementedError() class ptSimpleStateVariable: """Basic SDL state data record class""" def __init__(self): """None""" - pass + raise NotImplementedError() def getBool(self,idx=0): """Returns a boolean variable's value""" - pass + raise NotImplementedError() def getByte(self,idx=0): """Returns a byte variable's value""" - pass + raise NotImplementedError() def getDefault(self): """Returns the variable's default""" - pass + raise NotImplementedError() def getDisplayOptions(self): """Returns the variable's display options""" - pass + raise NotImplementedError() def getDouble(self,idx=0): """Returns a double variable's value""" - pass + raise NotImplementedError() def getFloat(self,idx=0): """Returns a float variable's value""" - pass + raise NotImplementedError() def getInt(self,idx=0): """Returns an int variable's value""" - pass + raise NotImplementedError() def getShort(self,idx=0): """Returns a short variable's value""" - pass + raise NotImplementedError() def getString(self,idx=0): """Returns a string variable's value""" - pass + raise NotImplementedError() def getType(self): """Returns the variable's type""" - pass + raise NotImplementedError() def isAlwaysNew(self): """Is this variable always new?""" - pass + raise NotImplementedError() def isInternal(self): """Is this an internal variable?""" - pass + raise NotImplementedError() def isUsed(self): """Is this variable used?""" - pass + raise NotImplementedError() def setBool(self,val,idx=0): """Sets a boolean variable's value""" - pass + raise NotImplementedError() def setByte(self,val,idx=0): """Sets a byte variable's value""" - pass + raise NotImplementedError() def setDouble(self,val,idx=0): """Sets a double variable's value""" - pass + raise NotImplementedError() def setFloat(self,val,idx=0): """Sets a float variable's value""" - pass + raise NotImplementedError() def setInt(self,val,idx=0): """Sets an int variable's value""" - pass + raise NotImplementedError() def setShort(self,val,idx=0): """Sets a short variable's value""" - pass + raise NotImplementedError() def setString(self,val,idx=0): """Sets a string variable's value""" - pass + raise NotImplementedError() class ptSpawnPointInfo: """Class to hold spawn point data""" def __init__(self,title=None,spawnPt=None): """None""" - pass + raise NotImplementedError() def getCameraStack(self): """Returns the camera stack for this spawnpoint as a string""" - pass + raise NotImplementedError() def getName(self): """Returns the spawnpoint's name""" - pass + raise NotImplementedError() def getTitle(self): """Returns the spawnpoint's title""" - pass + raise NotImplementedError() def setCameraStack(self,stack): """Sets the spawnpoint's camera stack (as a string)""" - pass + raise NotImplementedError() def setName(self,name): """Sets the spawnpoint's name""" - pass + raise NotImplementedError() def setTitle(self,title): """Sets the spawnpoint's title""" - pass + raise NotImplementedError() class ptSpawnPointInfoRef: """Class to hold spawn point data""" def __init__(self): """None""" - pass + raise NotImplementedError() def getCameraStack(self): """Returns the camera stack for this spawnpoint as a string""" - pass + raise NotImplementedError() def getName(self): """Returns the spawnpoint's name""" - pass + raise NotImplementedError() def getTitle(self): """Returns the spawnpoint's title""" - pass + raise NotImplementedError() def setCameraStack(self,stack): """Sets the spawnpoint's camera stack (as a string)""" - pass + raise NotImplementedError() def setName(self,name): """Sets the spawnpoint's name""" - pass + raise NotImplementedError() def setTitle(self,title): """Sets the spawnpoint's title""" - pass + raise NotImplementedError() class ptStatusLog: """A status log class""" def __init__(self): """None""" - pass + raise NotImplementedError() def close(self): """Close the status log file""" - pass + raise NotImplementedError() def isOpen(self): """Returns whether the status log is currently opened""" - pass + raise NotImplementedError() def open(self,logName,numLines,flags): """Open a status log for writing to 'logname' is the name of the log file (example: special.log) 'numLines' is the number of lines to display on debug screen 'flags' is a PlasmaConstants.PtStatusLogFlags""" - pass + raise NotImplementedError() def write(self,text,color=None): """If the status log is open, write 'text' to log 'color' is the display color in debug screen""" - pass + raise NotImplementedError() class ptStream: """A basic stream class""" def __init__(self): """None""" - pass + raise NotImplementedError() def close(self): """Close the status log file""" - pass + raise NotImplementedError() def isOpen(self): """Returns whether the stream file is currently opened""" - pass + raise NotImplementedError() def open(self,fileName,flags): """Open a stream file for reading or writing""" - pass + raise NotImplementedError() def readlines(self): """Reads a list of strings from the file""" - pass + raise NotImplementedError() def writelines(self,lines): """Write a list of strings to the file""" - pass + raise NotImplementedError() class ptSwimCurrentInterface: """Creates a new ptSwimCurrentInterface""" def __init__(self,key): """None""" - pass + raise NotImplementedError() def disable(self): """UNKNOWN""" - pass + raise NotImplementedError() def enable(self): """UNKNOWN""" - pass + raise NotImplementedError() class ptVault: """Accessor class to the player's vault""" def __init__(self): """None""" - pass + raise NotImplementedError() def addChronicleEntry(self,entryName,type,string): """Adds an entry to the player's chronicle with a value of 'string'.""" - pass + raise NotImplementedError() def amAgeCzar(self,ageInfo): """Are we the czar (WTH is this?) of the specified age?""" - pass + raise NotImplementedError() def amAgeOwner(self,ageInfo): """Are we the owner of the specified age?""" - pass + raise NotImplementedError() def amCzarOfCurrentAge(self): """Are we the czar (WTH is this?) of the current age?""" - pass + raise NotImplementedError() def amOwnerOfCurrentAge(self): """Are we the owner of the current age?""" - pass + raise NotImplementedError() def createNeighborhood(self): """Creates a new neighborhood""" - pass + raise NotImplementedError() def findChronicleEntry(self,entryName): """Returns a ptVaultNode of type kNodeTypeChronicle of the current player's chronicle entry by entryName.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Find the node matching the template""" - pass + raise NotImplementedError() def getAgeJournalsFolder(self): """Returns a ptVaultFolderNode of the current player's age journals folder.""" - pass + raise NotImplementedError() def getAgesICanVisitFolder(self): """Returns a ptVaultFolderNode of ages I can visit""" - pass + raise NotImplementedError() def getAgesIOwnFolder(self): """Returns a ptVaultFolderNode of ages that I own""" - pass + raise NotImplementedError() def getAllPlayersFolder(self): """Returns a ptVaultPlayerInfoListNode of the all players folder.""" - pass + raise NotImplementedError() def getAvatarClosetFolder(self): """Do not use. Returns a ptVaultFolderNode of the avatars outfit in their closet.""" - pass + raise NotImplementedError() def getAvatarOutfitFolder(self): """Do not use. Returns a ptVaultFolderNode of the avatars outfit.""" - pass + raise NotImplementedError() def getBuddyListFolder(self): """Returns a ptVaultPlayerInfoListNode of the current player's buddy list folder.""" - pass + raise NotImplementedError() def getChronicleFolder(self): """Returns a ptVaultFolderNode of the current player's chronicle folder.""" - pass + raise NotImplementedError() def getGlobalInbox(self): """Returns a ptVaultFolderNode of the global inbox folder.""" - pass + raise NotImplementedError() def getIgnoreListFolder(self): """Returns a ptVaultPlayerInfoListNode of the current player's ignore list folder.""" - pass + raise NotImplementedError() def getInbox(self): """Returns a ptVaultFolderNode of the current player's inbox folder.""" - pass + raise NotImplementedError() def getInviteFolder(self): """Returns a ptVaultFolderNode of invites""" - pass + raise NotImplementedError() def getKIUsage(self): """Returns a tuple with usage statistics of the KI (# of pics, # of text notes, # of marker games)""" - pass + raise NotImplementedError() def getLinkToCity(self): """Returns a ptVaultAgeLinkNode that will go to the city""" - pass + raise NotImplementedError() def getLinkToMyNeighborhood(self): """Returns a ptVaultAgeLinkNode that will go to my neighborhood""" - pass + raise NotImplementedError() def getOwnedAgeLink(self,ageInfo): """Returns a ptVaultAgeLinkNode to my owned age(ageInfo)""" - pass + raise NotImplementedError() def getPeopleIKnowAboutFolder(self): """Returns a ptVaultPlayerInfoListNode of the current player's people I know about (Recent) list folder.""" - pass + raise NotImplementedError() def getPlayerInfo(self): """Returns a ptVaultNode of type kNodeTypePlayerInfo of the current player""" - pass + raise NotImplementedError() def getPsnlAgeSDL(self): """Returns the personal age SDL""" - pass + raise NotImplementedError() def getVisitAgeLink(self,ageInfo): """Returns a ptVaultAgeLinkNode for a visitor to age(ageInfo)""" - pass + raise NotImplementedError() def inMyNeighborhoodAge(self): """Are we in the player's neighborhood age?""" - pass + raise NotImplementedError() def inMyPersonalAge(self): """Are we in the player's personal age?""" - pass + raise NotImplementedError() def invitePlayerToAge(self,link,playerID): """Sends an invitation to visit the age to the specified player""" - pass + raise NotImplementedError() def offerLinkToPlayer(self,link,playerID): """Offer a one-time link to the specified player""" - pass + raise NotImplementedError() def registerMTStation(self,stationName,mtSpawnPoint): """Registers this player at the specified mass-transit point""" - pass + raise NotImplementedError() def registerOwnedAge(self,link): """Registers the specified age as owned by the player""" - pass + raise NotImplementedError() def registerVisitAge(self,link): """Register this age as visitable by this player""" - pass + raise NotImplementedError() def sendToDevice(self,node,deviceName): """Sends a ptVaultNode object to an Age's device by deviceName.""" - pass + raise NotImplementedError() def setAgePublic(self,ageInfo,makePublic): """Makes the specified age public or private""" - pass + raise NotImplementedError() def unInvitePlayerToAge(self,guid,playerID): """Revokes the invitation to visit the age""" - pass + raise NotImplementedError() def unRegisterOwnedAge(self,ageFilename): """Unregisters the specified age so it's no longer owned by this player""" - pass + raise NotImplementedError() def unRegisterVisitAge(self,guid): """Unregisters the specified age so it can no longer be visited by this player""" - pass + raise NotImplementedError() def updatePsnlAgeSDL(self,pyrec): """Updates the personal age SDL to the specified data""" - pass + raise NotImplementedError() class ptVaultNode: """Vault node class""" def __init__(self): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultFolderNode(ptVaultNode): """Plasma vault folder node""" def __init__(self,n=0): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def folderGetName(self): """LEGACY Returns the folder's name""" - pass + raise NotImplementedError() def folderGetType(self): """LEGACY Returns the folder type (of the standard folder types)""" - pass + raise NotImplementedError() def folderSetName(self,name): """LEGACY Set the folder name""" - pass + raise NotImplementedError() def folderSetType(self,type): """LEGACY Set the folder type""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getFolderName(self): """Returns the folder's name""" - pass + raise NotImplementedError() def getFolderNameW(self): """Unicode version of getFolerName""" - pass + raise NotImplementedError() def getFolderType(self): """Returns the folder type (of the standard folder types)""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setFolderName(self,name): """Set the folder name""" - pass + raise NotImplementedError() def setFolderNameW(self,name): """Unicode version of setFolderName""" - pass + raise NotImplementedError() def setFolderType(self,type): """Set the folder type""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultAgeInfoListNode(ptVaultFolderNode): """Plasma vault age info list node""" def __init__(self,n=0): """None""" - pass + raise NotImplementedError() def addAge(self,ageID): """Adds ageID to list of ages""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def folderGetName(self): """LEGACY Returns the folder's name""" - pass + raise NotImplementedError() def folderGetType(self): """LEGACY Returns the folder type (of the standard folder types)""" - pass + raise NotImplementedError() def folderSetName(self,name): """LEGACY Set the folder name""" - pass + raise NotImplementedError() def folderSetType(self,type): """LEGACY Set the folder type""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getFolderName(self): """Returns the folder's name""" - pass + raise NotImplementedError() def getFolderNameW(self): """Unicode version of getFolerName""" - pass + raise NotImplementedError() def getFolderType(self): """Returns the folder type (of the standard folder types)""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def hasAge(self,ageID): """Returns whether ageID is in the list of ages""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def removeAge(self,ageID): """Removes ageID from list of ages""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setFolderName(self,name): """Set the folder name""" - pass + raise NotImplementedError() def setFolderNameW(self,name): """Unicode version of setFolderName""" - pass + raise NotImplementedError() def setFolderType(self,type): """Set the folder type""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultAgeInfoNode(ptVaultNode): """Plasma vault age info node""" def __init__(self,n=0): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def asAgeInfoStruct(self): """Returns this ptVaultAgeInfoNode as a ptAgeInfoStruct""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def getAgeDescription(self): """Returns the description of the age""" - pass + raise NotImplementedError() def getAgeFilename(self): """Returns the age filename""" - pass + raise NotImplementedError() def getAgeID(self): """Returns the age ID""" - pass + raise NotImplementedError() def getAgeInstanceGuid(self): """Returns the age instance guid""" - pass + raise NotImplementedError() def getAgeInstanceName(self): """Returns the instance name of the age""" - pass + raise NotImplementedError() def getAgeLanguage(self): """Returns the age's language (integer)""" - pass + raise NotImplementedError() def getAgeOwnersFolder(self): """Returns a ptVaultPlayerInfoList of the players that own this age""" - pass + raise NotImplementedError() def getAgeSDL(self): """Returns a ptVaultSDLNode of the age's SDL""" - pass + raise NotImplementedError() def getAgeSequenceNumber(self): """Returns the sequence number of this instance of the age""" - pass + raise NotImplementedError() def getAgeUserDefinedName(self): """Returns the user define part of the age name""" - pass + raise NotImplementedError() def getCanVisitFolder(self): """Returns a ptVaultPlayerInfoList of the players that can visit this age""" - pass + raise NotImplementedError() def getChildAgesFolder(self): """Returns a ptVaultFolderNode of the child ages of this age""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getCzar(self): """Returns ptVaultPlayerInfoNode of the player that is the Czar""" - pass + raise NotImplementedError() def getCzarID(self): """Returns the ID of the age's czar""" - pass + raise NotImplementedError() def getDisplayName(self): """Returns the displayable version of the age name""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getParentAgeLink(self): """Returns ptVaultAgeLinkNode of the age's parent age, or None if not a child age""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def isPublic(self): """Returns whether the age is Public or Not""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setAgeDescription(self,description): """Sets the description of the age""" - pass + raise NotImplementedError() def setAgeFilename(self,fileName): """Sets the filename""" - pass + raise NotImplementedError() def setAgeID(self,ageID): """Sets the age ID""" - pass + raise NotImplementedError() def setAgeInstanceGuid(self,guid): """Sets the age instance GUID""" - pass + raise NotImplementedError() def setAgeInstanceName(self,instanceName): """Sets the instance name""" - pass + raise NotImplementedError() def setAgeLanguage(self,lang): """Sets the age's language (integer)""" - pass + raise NotImplementedError() def setAgeSequenceNumber(self,seqNumber): """Sets the sequence number""" - pass + raise NotImplementedError() def setAgeUserDefinedName(self,udname): """Sets the user defined part of the name""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultAgeLinkNode(ptVaultNode): """Plasma vault age link node""" def __init__(self,n=0): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def addSpawnPoint(self,point): """Adds the specified ptSpawnPointInfo or ptSpawnPointInfoRef""" - pass + raise NotImplementedError() def asAgeLinkStruct(self): """Returns this ptVaultAgeLinkNode as a ptAgeLinkStruct""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def getAgeInfo(self): """Returns the ageInfo as a ptAgeInfoStruct""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getLocked(self): """Returns whether the link is locked or not""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getSpawnPoints(self): """Returns a list of ptSpawnPointInfo objects""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def getVolatile(self): """Returns whether the link is volatile or not""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def hasSpawnPoint(self,spawnPtName): """Returns true if this link has the specified spawn point""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def removeSpawnPoint(self,point): """Removes the specified spawn point based on a ptSpawnPointInfo, ptSpawnPointInfoRef, or string""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setLocked(self,state): """Sets whether the link is locked or not""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def setVolatile(self,state): """Sets the state of the volitility of the link""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultChronicleNode(ptVaultNode): """Plasma vault chronicle node""" def __init__(self,n=0): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def chronicleGetName(self): """LEGACY: Returns the name of the chronicle node.""" - pass + raise NotImplementedError() def chronicleGetType(self): """LEGACY: Returns the user defined type of the chronicle node.""" - pass + raise NotImplementedError() def chronicleGetValue(self): """LEGACY: Returns the value as a string of this chronicle node.""" - pass + raise NotImplementedError() def chronicleSetName(self,name): """LEGACY: Sets the name of the chronicle node.""" - pass + raise NotImplementedError() def chronicleSetType(self,type): """LEGACY: Sets this chronicle node to a user defined type.""" - pass + raise NotImplementedError() def chronicleSetValue(self,value): """LEGACY: Sets the chronicle to a value that is a string""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getEntryType(self): """Returns the user defined type of the chronicle node.""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getName(self): """Returns the name of the chronicle node.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def getValue(self): """Returns the value as a string of this chronicle node.""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setEntryType(self,type): """Sets this chronicle node to a user defined type.""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setName(self,name): """Sets the name of the chronicle node.""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def setValue(self,value): """Sets the chronicle to a value that is a string""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultImageNode(ptVaultNode): """Plasma vault image node""" def __init__(self,n=0): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getImage(self): """Returns the image(ptImage) of this image node""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getTitle(self): """Returns the title (caption) of this image node""" - pass + raise NotImplementedError() def getTitleW(self): """Unicode version of getTitle""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def imageGetImage(self): """LEGACY Returns the image(ptImage) of this image node""" - pass + raise NotImplementedError() def imageGetTitle(self): """LEGACY Returns the title (caption) of this image node""" - pass + raise NotImplementedError() def imageSetImage(self,image): """LEGACY Sets the image(ptImage) of this image node""" - pass + raise NotImplementedError() def imageSetTitle(self,title): """LEGACY Sets the title (caption) of this image node""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setImage(self,image): """Sets the image(ptImage) of this image node""" - pass + raise NotImplementedError() def setImageFromBuf(self,buf): """Sets our image from a buffer""" - pass + raise NotImplementedError() def setImageFromScrShot(self): """Grabs a screenshot and stuffs it into this node""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setTitle(self,title): """Sets the title (caption) of this image node""" - pass + raise NotImplementedError() def setTitleW(self,title): """Unicode version of setTitle""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultMarkerGameNode(ptVaultNode): """Plasma vault age info node""" def __init__(self,n=0): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getGameGuid(self): """Returns the marker game's guid""" - pass + raise NotImplementedError() def getGameName(self): """Returns the marker game's name""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getReward(self): """Returns a string representing the reward for completing this game""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setGameGuid(self,guid): """Sets the marker game's guid""" - pass + raise NotImplementedError() def setGameName(self,name): """Sets marker game's name""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setReward(self,reward): """Sets the reward for completing this marker game""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultNodeRef: """Vault node relationship pseudo class""" def __init__(self): """None""" - pass + raise NotImplementedError() def beenSeen(self): """Returns true until we reimplement this""" - pass + raise NotImplementedError() def getChild(self): """Returns a ptVaultNode that is the child of this reference""" - pass + raise NotImplementedError() def getChildID(self): """Returns id of the child node""" - pass + raise NotImplementedError() def getParent(self): """Returns a ptVaultNode that is the parent of the reference""" - pass + raise NotImplementedError() def getParentID(self): """Returns id of the parent node""" - pass + raise NotImplementedError() def getSaver(self): """Returns a ptVaultPlayerInfoNode of player that created this relationship""" - pass + raise NotImplementedError() def getSaverID(self): """Returns id of player that created this relationship""" - pass + raise NotImplementedError() def setSeen(self): """Does nothing until we reimplement this""" - pass + raise NotImplementedError() class ptVaultPlayerInfoListNode(ptVaultFolderNode): """Plasma vault player info list node""" def __init__(self,n=0): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def addPlayer(self,playerID): """Adds playerID player to this player info list node.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def folderGetName(self): """LEGACY Returns the folder's name""" - pass + raise NotImplementedError() def folderGetType(self): """LEGACY Returns the folder type (of the standard folder types)""" - pass + raise NotImplementedError() def folderSetName(self,name): """LEGACY Set the folder name""" - pass + raise NotImplementedError() def folderSetType(self,type): """LEGACY Set the folder type""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getFolderName(self): """Returns the folder's name""" - pass + raise NotImplementedError() def getFolderNameW(self): """Unicode version of getFolerName""" - pass + raise NotImplementedError() def getFolderType(self): """Returns the folder type (of the standard folder types)""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getPlayer(self,playerID): """Gets the player info node for the specified player.""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def hasPlayer(self,playerID): """Returns whether the 'playerID' is a member of this player info list node.""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def playerlistAddPlayer(self,playerID): """LEGACY: Adds playerID player to this player info list node.""" - pass + raise NotImplementedError() def playerlistGetPlayer(self,playerID): """LEGACY: Gets the player info node for the specified player.""" - pass + raise NotImplementedError() def playerlistHasPlayer(self,playerID): """LEGACY: Returns whether the 'playerID' is a member of this player info list node.""" - pass + raise NotImplementedError() def playerlistRemovePlayer(self,playerID): """LEGACY: Removes playerID player from this player info list node.""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def removePlayer(self,playerID): """Removes playerID player from this player info list node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setFolderName(self,name): """Set the folder name""" - pass + raise NotImplementedError() def setFolderNameW(self,name): """Unicode version of setFolderName""" - pass + raise NotImplementedError() def setFolderType(self,type): """Set the folder type""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def sort(self): """Sorts the player list by some means...?""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultPlayerInfoNode(ptVaultNode): """Plasma vault folder node""" def __init__(self): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def playerGetAgeGuid(self): """Returns the guid as a string of where the player is for this player info node.""" - pass + raise NotImplementedError() def playerGetAgeInstanceName(self): """Returns the name of the Age where the player is for this player info node.""" - pass + raise NotImplementedError() def playerGetCCRLevel(self): """Returns the ccr level of the player for this player info node.""" - pass + raise NotImplementedError() def playerGetID(self): """Returns the player ID for this player info node.""" - pass + raise NotImplementedError() def playerGetName(self): """Returns the player name of this player info node.""" - pass + raise NotImplementedError() def playerIsOnline(self): """Returns the online status of the player for this player info node.""" - pass + raise NotImplementedError() def playerSetAgeGuid(self,guidString): """Not sure this should be used. Sets the guid for this player info node.""" - pass + raise NotImplementedError() def playerSetAgeInstanceName(self,name): """Not sure this should be used. Sets the name of the age where the player is for this player info node.""" - pass + raise NotImplementedError() def playerSetID(self,playerID): """Not sure this should be used. Sets the playerID for this player info node.""" - pass + raise NotImplementedError() def playerSetName(self,name): """Not sure this should be used. Sets the player name of this player info node.""" - pass + raise NotImplementedError() def playerSetOnline(self,state): """Not sure this should be used. Sets the state of the player online status for this player info node.""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultSDLNode(ptVaultNode): """Plasma vault SDL node""" def __init__(self): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getIdent(self): """UNKNOWN""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getStateDataRecord(self): """Returns the ptSDLStateDataRecord associated with this node""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def initStateDataRecord(self,filename,flags): """Read the SDL Rec from File if needed""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setIdent(self,v): """UNKNOWN""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setStateDataRecord(self,rec,writeOptions=0): """Sets the ptSDLStateDataRecord""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultSystemNode(ptVaultNode): """Plasma vault system node""" def __init__(self): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getType(self): """Returns the type of ptVaultNode this is. See PlasmaVaultTypes.py""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setType(self,type): """Set the type of ptVaultNode this is.""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVaultTextNoteNode(ptVaultNode): """Plasma vault text note node""" def __init__(self): """None""" - pass + raise NotImplementedError() def addNode(self,node,cb=None,cbContext=0): """Adds 'node'(ptVaultNode) as a child to this node.""" - pass + raise NotImplementedError() def findNode(self,templateNode): """Returns ptVaultNode if child node found matching template, or None""" - pass + raise NotImplementedError() def getChildNodeCount(self): """Returns how many children this node has.""" - pass + raise NotImplementedError() def getChildNodeRefList(self): """Returns a list of ptVaultNodeRef that are the children of this node.""" - pass + raise NotImplementedError() def getClientID(self): """Returns the client's ID.""" - pass + raise NotImplementedError() def getCreateAgeCoords(self): """Returns the location in the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeGuid(self): """Returns the guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeName(self): """Returns the name of the Age where this node was created.""" - pass + raise NotImplementedError() def getCreateAgeTime(self): """Returns the time in the Age that the node was created...(?)""" - pass + raise NotImplementedError() def getCreateTime(self): """Returns the when this node was created, that is useable by python's time library.""" - pass + raise NotImplementedError() def getCreatorNode(self): """Returns the creator's node""" - pass + raise NotImplementedError() def getCreatorNodeID(self): """Returns the creator's node ID""" - pass + raise NotImplementedError() def getDeviceInbox(self): """Returns a ptVaultFolderNode""" - pass + raise NotImplementedError() def getID(self): """Returns the unique ID of this ptVaultNode.""" - pass + raise NotImplementedError() def getModifyTime(self): """Returns the modified time of this node, that is useable by python's time library.""" - pass + raise NotImplementedError() def getNode(self,id): """Returns ptVaultNodeRef if is a child node, or None""" - pass + raise NotImplementedError() def getOwnerNode(self): """Returns a ptVaultNode of the owner of this node""" - pass + raise NotImplementedError() def getOwnerNodeID(self): """Returns the node ID of the owner of this node""" - pass + raise NotImplementedError() def getSubType(self): """Returns the subtype of this text note node.""" - pass + raise NotImplementedError() def getText(self): """Returns the text of this text note node.""" - pass + raise NotImplementedError() def getTextW(self): """Unicode version of getText.""" - pass + raise NotImplementedError() def getTitle(self): """Returns the title of this text note node.""" - pass + raise NotImplementedError() def getTitleW(self): """Unicode version of getTitle""" - pass + raise NotImplementedError() def getType(self): """Returns the type of text note for this text note node.""" - pass + raise NotImplementedError() def hasNode(self,id): """Returns true if node if a child node""" - pass + raise NotImplementedError() def linkToNode(self,nodeID,cb=None,cbContext=0): """Adds a link to the node designated by nodeID""" - pass + raise NotImplementedError() def noteGetSubType(self): """LEGACY Returns the subtype of this text note node.""" - pass + raise NotImplementedError() def noteGetText(self): """LEGACY Returns the text of this text note node.""" - pass + raise NotImplementedError() def noteGetTitle(self): """LEGACY Returns the title of this text note node.""" - pass + raise NotImplementedError() def noteGetType(self): """LEGACY Returns the type of text note for this text note node.""" - pass + raise NotImplementedError() def noteSetSubType(self,subType): """LEGACY Sets the subtype of the this text note node.""" - pass + raise NotImplementedError() def noteSetText(self,text): """LEGACY Sets text of the this text note node.""" - pass + raise NotImplementedError() def noteSetTitle(self,title): """LEGACY Sets the title of this text note node.""" - pass + raise NotImplementedError() def noteSetType(self,type): """LEGACY Sets the type of text note for this text note node.""" - pass + raise NotImplementedError() def removeAllNodes(self): """Removes all the child nodes on this node.""" - pass + raise NotImplementedError() def removeNode(self,node,cb=None,cbContext=0): """Removes the child 'node'(ptVaultNode) from this node.""" - pass + raise NotImplementedError() def save(self,cb=None,cbContext=0): """Save the changes made to this node.""" - pass + raise NotImplementedError() def saveAll(self,cb=None,cbContext=0): """Saves this node and all its children nodes.""" - pass + raise NotImplementedError() def sendTo(self,destID,cb=None,cbContext=0): """Send this node to inbox at 'destID'""" - pass + raise NotImplementedError() def setCreateAgeGuid(self,guid): """Set guid as a string of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreateAgeName(self,name): """Set name of the Age where this node was created.""" - pass + raise NotImplementedError() def setCreatorNodeID(self,id): """Set creator's node ID""" - pass + raise NotImplementedError() def setDeviceInbox(self,inboxName,cb=None,cbContext=0): """Sets the device inbox""" - pass + raise NotImplementedError() def setID(self,id): """Sets ID of this ptVaultNode.""" - pass + raise NotImplementedError() def setOwnerNodeID(self,id): """Set node ID of the owner of this node""" - pass + raise NotImplementedError() def setSubType(self,subType): """Sets the subtype of the this text note node.""" - pass + raise NotImplementedError() def setText(self,text): """Sets text of the this text note node.""" - pass + raise NotImplementedError() def setTextW(self,text): """Unicode version of setText""" - pass + raise NotImplementedError() def setTitle(self,title): """Sets the title of this text note node.""" - pass + raise NotImplementedError() def setTitleW(self,title): """Unicode version of setTitle""" - pass + raise NotImplementedError() def setType(self,type): """Sets the type of text note for this text note node.""" - pass + raise NotImplementedError() def upcastToAgeInfoListNode(self): """Returns this ptVaultNode as ptVaultAgeInfoListNode""" - pass + raise NotImplementedError() def upcastToAgeInfoNode(self): """Returns this ptVaultNode as ptVaultAgeInfoNode""" - pass + raise NotImplementedError() def upcastToAgeLinkNode(self): """Returns this ptVaultNode as ptVaultAgeLinkNode""" - pass + raise NotImplementedError() def upcastToChronicleNode(self): """Returns this ptVaultNode as ptVaultChronicleNode""" - pass + raise NotImplementedError() def upcastToFolderNode(self): """Returns this ptVaultNode as ptVaultFolderNode""" - pass + raise NotImplementedError() def upcastToImageNode(self): """Returns this ptVaultNode as ptVaultImageNode""" - pass + raise NotImplementedError() def upcastToMarkerGameNode(self): """Returns this ptVaultNode as ptVaultMarkerNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoListNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoListNode""" - pass + raise NotImplementedError() def upcastToPlayerInfoNode(self): """Returns this ptVaultNode as ptVaultPlayerInfoNode""" - pass + raise NotImplementedError() def upcastToPlayerNode(self): """Returns this ptVaultNode as a ptVaultPlayerNode""" - pass + raise NotImplementedError() def upcastToSDLNode(self): """Returns this ptVaultNode as a ptVaultSDLNode""" - pass + raise NotImplementedError() def upcastToSystemNode(self): """Returns this ptVaultNode as a ptVaultSystemNode""" - pass + raise NotImplementedError() def upcastToTextNoteNode(self): """Returns this ptVaultNode as ptVaultTextNoteNode""" - pass + raise NotImplementedError() class ptVector3: """Plasma Point class""" def __init__(self,x=0, y=0, z=0): """None""" - pass + raise NotImplementedError() def add(self,other): """Adds other to the current vector""" - pass + raise NotImplementedError() def copy(self): """Copies the vector into another one (which it returns)""" - pass + raise NotImplementedError() def crossProduct(self,other): """Finds the cross product between other and this vector""" - pass + raise NotImplementedError() def dotProduct(self,other): """Finds the dot product between other and this vector""" - pass + raise NotImplementedError() def getX(self): """Returns the 'x' component of the vector""" - pass + raise NotImplementedError() def getY(self): """Returns the 'y' component of the vector""" - pass + raise NotImplementedError() def getZ(self): """Returns the 'z' component of the vector""" - pass + raise NotImplementedError() def length(self): """Returns the length of the vector""" - pass + raise NotImplementedError() def lengthSq(self): """Returns the length of the vector, squared - this function is faster then length(other)""" - pass + raise NotImplementedError() def normalize(self): """Normalizes the vector to length 1""" - pass + raise NotImplementedError() def scale(self,scale): """Scale the vector by scale""" - pass + raise NotImplementedError() def setX(self,x): """Sets the 'x' component of the vector""" - pass + raise NotImplementedError() def setY(self,y): """Sets the 'y' component of the vector""" - pass + raise NotImplementedError() def setZ(self,z): """Sets the 'z' component of the vector""" - pass + raise NotImplementedError() def subtract(self,other): """Subtracts other from the current vector""" - pass + raise NotImplementedError() def zero(self): """Zeros the vector's components""" - pass + raise NotImplementedError() class ptWaveSet: """Creates a new ptWaveSet""" def __init__(self,ey): """None""" - pass + raise NotImplementedError() def getDepthFalloff(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getEnvCenter(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getEnvRadius(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getGeoAmpOverLen(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getGeoAngleDev(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getGeoChop(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getGeoMaxLength(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getGeoMinLength(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getMaxAtten(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getMinAtten(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getOpacFalloff(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getOpacOffset(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getReflFalloff(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getReflOffset(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getRippleScale(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getSpecularEnd(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getSpecularMute(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getSpecularNoise(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getSpecularStart(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getSpecularTint(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getTexAmpOverLen(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getTexAngleDev(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getTexChop(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getTexMaxLength(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getTexMinLength(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getWaterHeight(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getWaterOffset(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getWaterOpacity(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getWaterTint(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getWaveFalloff(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getWaveOffset(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def getWindDir(self): """Returns the attribute's value""" - pass + raise NotImplementedError() def setDepthFalloff(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setEnvCenter(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setEnvRadius(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setGeoAmpOverLen(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setGeoAngleDev(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setGeoChop(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setGeoMaxLength(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setGeoMinLength(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setMaxAtten(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setMinAtten(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setOpacFalloff(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setOpacOffset(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setReflFalloff(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setReflOffset(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setRippleScale(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setSpecularEnd(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setSpecularMute(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setSpecularNoise(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setSpecularStart(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setSpecularTint(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setTexAmpOverLen(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setTexAngleDev(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setTexChop(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setTexMaxLength(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setTexMinLength(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setWaterHeight(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setWaterOffset(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setWaterOpacity(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setWaterTint(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setWaveFalloff(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setWaveOffset(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass + raise NotImplementedError() def setWindDir(self,s, secs = 0): """Sets the attribute to s over secs time""" - pass - + raise NotImplementedError() diff --git a/Python/plasma/PlasmaTypes.py b/Python/plasma/PlasmaTypes.py index 71483e91..3f8cad11 100644 --- a/Python/plasma/PlasmaTypes.py +++ b/Python/plasma/PlasmaTypes.py @@ -44,8 +44,7 @@ This module is contains the datatypes and constants for interfacing with the Plasma 2.0 engine. """ -from Plasma import * -from PlasmaConstants import * +from plasma import * #################################### # Utility functions diff --git a/Python/plasma/__init__.py b/Python/plasma/__init__.py new file mode 100644 index 00000000..0a00860e --- /dev/null +++ b/Python/plasma/__init__.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- +""" *==LICENSE==* + +CyanWorlds.com Engine - MMOG client, server and tools +Copyright (C) 2011 Cyan Worlds, Inc. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +Additional permissions under GNU GPL version 3 section 7 + +If you modify this Program, or any covered work, by linking or +combining it with any of RAD Game Tools Bink SDK, Autodesk 3ds Max SDK, +NVIDIA PhysX SDK, Microsoft DirectX SDK, OpenSSL library, Independent +JPEG Group JPEG library, Microsoft Windows Media SDK, or Apple QuickTime SDK +(or a modified version of those libraries), +containing parts covered by the terms of the Bink SDK EULA, 3ds Max EULA, +PhysX SDK EULA, DirectX SDK EULA, OpenSSL and SSLeay licenses, IJG +JPEG Library README, Windows Media SDK EULA, or QuickTime SDK EULA, the +licensors of this Program grant you additional +permission to convey the resulting work. Corresponding Source for a +non-source form of such a combination shall include the source code for +the parts of OpenSSL and IJG JPEG Library used as well as that of the covered +work. + +You can contact Cyan Worlds, Inc. by email legal@cyan.com + or by snail mail at: + Cyan Worlds, Inc. + 14617 N Newport Hwy + Mead, WA 99021 + + *==LICENSE==* """ +try: + from Plasma import * +except ImportError: + from PlasmaStubs import * + +from PlasmaConstants import * +from PlasmaControlKeys import * +from PlasmaKITypes import * +from PlasmaNetConstants import * +from PlasmaTypes import * +from PlasmaVaultConstants import * diff --git a/Python/plasma/pch.py b/Python/plasma/pch.py index 0c15c928..80c6f4fd 100644 --- a/Python/plasma/pch.py +++ b/Python/plasma/pch.py @@ -44,8 +44,8 @@ This module aids in the using the plasma console to debug PythonFileComponents. """ # plasma console helper -import Plasma -import PlasmaTypes +from plasma import Plasma +from plasma import PlasmaTypes import sys # globals for the outside and inside to grab diff --git a/Python/psnlBahroPoles.py b/Python/psnlBahroPoles.py index da985fca..b8afccf4 100644 --- a/Python/psnlBahroPoles.py +++ b/Python/psnlBahroPoles.py @@ -48,9 +48,7 @@ Controls the state of the bahro poles """ -from Plasma import * -from PlasmaTypes import * -from PlasmaVaultConstants import * +from plasma import * import xEnum import xRandom import copy diff --git a/Python/psnlBookshelf.py b/Python/psnlBookshelf.py index b47975f1..b5c1526a 100644 --- a/Python/psnlBookshelf.py +++ b/Python/psnlBookshelf.py @@ -49,11 +49,8 @@ Interfaces with xLinkingBookGUIPopup.py """ -from Plasma import * -from PlasmaTypes import * -from PlasmaVaultConstants import * -from PlasmaNetConstants import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys import xLinkingBookDefs from xPsnlVaultSDL import * diff --git a/Python/psnlBugs.py b/Python/psnlBugs.py index 52987f2a..b9dd90ad 100644 --- a/Python/psnlBugs.py +++ b/Python/psnlBugs.py @@ -45,9 +45,7 @@ Age: Relto """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * +from plasma import * from xPsnlVaultSDL import * bugEmitter = ptAttribSceneobject(1,"bug emitter obj") diff --git a/Python/psnlCalendarStones.py b/Python/psnlCalendarStones.py index 1a1ef0b5..2a7bd09b 100644 --- a/Python/psnlCalendarStones.py +++ b/Python/psnlCalendarStones.py @@ -47,8 +47,7 @@ stuff for the calendar stones from the Yeesha page """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string import xRandom diff --git a/Python/psnlMyCloset.py b/Python/psnlMyCloset.py index e79af78a..416b367b 100644 --- a/Python/psnlMyCloset.py +++ b/Python/psnlMyCloset.py @@ -49,11 +49,8 @@ Updated in July 03 to link to ACA instead of showing GUI """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -from PlasmaNetConstants import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys import string # --------- diff --git a/Python/psnlVaultSDLBoolRespond.py b/Python/psnlVaultSDLBoolRespond.py index cff1840f..b3d38cd5 100644 --- a/Python/psnlVaultSDLBoolRespond.py +++ b/Python/psnlVaultSDLBoolRespond.py @@ -50,8 +50,7 @@ Use only in the Personal age """ -from Plasma import * -from PlasmaTypes import * +from plasma import * from xPsnlVaultSDL import * import string diff --git a/Python/psnlVaultSDLBoolShowHide.py b/Python/psnlVaultSDLBoolShowHide.py index d684c273..3f68043a 100644 --- a/Python/psnlVaultSDLBoolShowHide.py +++ b/Python/psnlVaultSDLBoolShowHide.py @@ -49,8 +49,7 @@ Use only in the Personal age """ -from Plasma import * -from PlasmaTypes import * +from plasma import * from xPsnlVaultSDL import * import string diff --git a/Python/psnlYeeshaPageChanges.py b/Python/psnlYeeshaPageChanges.py index e6679bab..13d10435 100644 --- a/Python/psnlYeeshaPageChanges.py +++ b/Python/psnlYeeshaPageChanges.py @@ -48,10 +48,7 @@ Customizes a player's Personal Age based on which Yeesha Pages he's found """ -from Plasma import * -from PlasmaTypes import * -from PlasmaVaultConstants import * -from PlasmaNetConstants import * +from plasma import * from xPsnlVaultSDL import * import string diff --git a/Python/stupStartUp.py b/Python/stupStartUp.py index 2821e395..61147b48 100644 --- a/Python/stupStartUp.py +++ b/Python/stupStartUp.py @@ -48,8 +48,7 @@ launch start up sequence """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max Camera = ptAttribSceneobject(1, "Camera") diff --git a/Python/tldn3FloorElevator.py b/Python/tldn3FloorElevator.py index 0ab7c7fa..471c36ec 100644 --- a/Python/tldn3FloorElevator.py +++ b/Python/tldn3FloorElevator.py @@ -47,8 +47,7 @@ Author: Bill Slease """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max diff --git a/Python/tldnAquarium.py b/Python/tldnAquarium.py index c1df6751..e7fa4f40 100644 --- a/Python/tldnAquarium.py +++ b/Python/tldnAquarium.py @@ -47,9 +47,8 @@ Handles the gameplay associated with the fish tank in tldnUpperShroom.max """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max actButton = ptAttribActivator(1, "Aquarium button") diff --git a/Python/tldnBucketBrain.py b/Python/tldnBucketBrain.py index 8cb14f93..65c3d9fd 100644 --- a/Python/tldnBucketBrain.py +++ b/Python/tldnBucketBrain.py @@ -49,9 +49,8 @@ Handles all aspects of teledahn's bucket system operations """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys from xEnum import Enum #These variables are global but are necessary for the max inputs: diff --git a/Python/tldnEmgrPhase0.py b/Python/tldnEmgrPhase0.py index 21262b61..f6f5e798 100644 --- a/Python/tldnEmgrPhase0.py +++ b/Python/tldnEmgrPhase0.py @@ -47,8 +47,7 @@ Event Manager interface for Teledahn Phase 0 content """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string #globals diff --git a/Python/tldnHatchLadderBottom.py b/Python/tldnHatchLadderBottom.py index 51ad0b89..339ccc1b 100644 --- a/Python/tldnHatchLadderBottom.py +++ b/Python/tldnHatchLadderBottom.py @@ -46,9 +46,8 @@ handler for cabin hatch ladder climbers who get on the ladder at the bottom (in the funnel) """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys diff --git a/Python/tldnHatchLadderTop.py b/Python/tldnHatchLadderTop.py index 3cefbd52..4750f066 100644 --- a/Python/tldnHatchLadderTop.py +++ b/Python/tldnHatchLadderTop.py @@ -46,9 +46,8 @@ handler for cabin hatch ladder climbers who get on the ladder at the top (in the cabin) """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys diff --git a/Python/tldnLagoonBridge.py b/Python/tldnLagoonBridge.py index 9bc1c137..c83f52a7 100644 --- a/Python/tldnLagoonBridge.py +++ b/Python/tldnLagoonBridge.py @@ -47,8 +47,7 @@ Operates the Lagoon Bridge """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in 3dsMAX actLever = ptAttribActivator(1, "act: Lever") diff --git a/Python/tldnPTPumpCount.py b/Python/tldnPTPumpCount.py index 1ca5c16e..c283c859 100644 --- a/Python/tldnPTPumpCount.py +++ b/Python/tldnPTPumpCount.py @@ -51,8 +51,7 @@ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/tldnPwrTwrPeriscope.py b/Python/tldnPwrTwrPeriscope.py index 0e3c4661..5a170a8d 100644 --- a/Python/tldnPwrTwrPeriscope.py +++ b/Python/tldnPwrTwrPeriscope.py @@ -46,10 +46,8 @@ This is the handler for the power tower periscope """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max Activate = ptAttribActivator(11, "Activate Telescope",netForce=1) diff --git a/Python/tldnShooterTrap.py b/Python/tldnShooterTrap.py index 97cb28fa..6dec7e82 100644 --- a/Python/tldnShooterTrap.py +++ b/Python/tldnShooterTrap.py @@ -48,8 +48,7 @@ overkill if there's no spore capacity to keep track of but... """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max intSporeCount = ptAttribInt(1,"Initial Spore Count",10) diff --git a/Python/tldnShroomieBrain.py b/Python/tldnShroomieBrain.py index 9571f537..33e7e0d1 100644 --- a/Python/tldnShroomieBrain.py +++ b/Python/tldnShroomieBrain.py @@ -48,8 +48,7 @@ Controls the appearance and behavior of Shroomie """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random # define the attributes that will be entered in max diff --git a/Python/tldnShroomieGate.py b/Python/tldnShroomieGate.py index f21a82cf..068c6c6f 100644 --- a/Python/tldnShroomieGate.py +++ b/Python/tldnShroomieGate.py @@ -47,8 +47,7 @@ Author: Karl Johnson """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max clkLever = ptAttribActivator(1,"clk: Activator for Shroomie Gate") diff --git a/Python/tldnSlavePrisonDoors.py b/Python/tldnSlavePrisonDoors.py index d9afb3c3..3e67b3b8 100644 --- a/Python/tldnSlavePrisonDoors.py +++ b/Python/tldnSlavePrisonDoors.py @@ -48,8 +48,7 @@ This is the brain for the prison/pressure plate puzzle """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string import xSndLogTracks diff --git a/Python/tldnSlavePrisonPanels.py b/Python/tldnSlavePrisonPanels.py index 87863d7d..8302f51e 100644 --- a/Python/tldnSlavePrisonPanels.py +++ b/Python/tldnSlavePrisonPanels.py @@ -47,8 +47,7 @@ Author: Doug McBride """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/tldnVaporScope.py b/Python/tldnVaporScope.py index 78bf68d1..480ff182 100644 --- a/Python/tldnVaporScope.py +++ b/Python/tldnVaporScope.py @@ -49,10 +49,8 @@ - Needed to solve the "get up in the second floor of the warshroom" """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys import string # define the attributes that will be entered in max diff --git a/Python/tldnWRCCBrain.py b/Python/tldnWRCCBrain.py index d94e7a55..ae431479 100644 --- a/Python/tldnWRCCBrain.py +++ b/Python/tldnWRCCBrain.py @@ -50,8 +50,7 @@ -- bucket controls NOT here for multiplayer timing reasons: see tldnBucketBrain """ -from Plasma import * -from PlasmaTypes import * +from plasma import * #Globals for Responder States kOn = "on" diff --git a/Python/x2wayLever.py b/Python/x2wayLever.py index 57e65741..0013c2a9 100644 --- a/Python/x2wayLever.py +++ b/Python/x2wayLever.py @@ -48,8 +48,7 @@ reusable 2-position lever """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max varstring = ptAttribString(1,"Lever Name") diff --git a/Python/xAgeSDLBoolAndRespond.py b/Python/xAgeSDLBoolAndRespond.py index b6cae446..ace7a91f 100644 --- a/Python/xAgeSDLBoolAndRespond.py +++ b/Python/xAgeSDLBoolAndRespond.py @@ -49,8 +49,7 @@ one of two responders depending on true/false """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/xAgeSDLBoolAndSet.py b/Python/xAgeSDLBoolAndSet.py index 77f5f9ae..ee89b344 100644 --- a/Python/xAgeSDLBoolAndSet.py +++ b/Python/xAgeSDLBoolAndSet.py @@ -48,8 +48,7 @@ detects changes in two age sdl bools and sets a third...A and B => C """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/xAgeSDLBoolCondResp.py b/Python/xAgeSDLBoolCondResp.py index 41695a0d..5bcfa235 100644 --- a/Python/xAgeSDLBoolCondResp.py +++ b/Python/xAgeSDLBoolCondResp.py @@ -49,8 +49,7 @@ It's particularly useful for triggering SFX """ -from Plasma import * -from PlasmaTypes import * +from plasma import * actTrigger = ptAttribActivator(1,"Activator:") strSDLVar = ptAttribString(2,"Age SDL Var Name:") diff --git a/Python/xAgeSDLBoolRespond.py b/Python/xAgeSDLBoolRespond.py index adcf56e9..d373829d 100644 --- a/Python/xAgeSDLBoolRespond.py +++ b/Python/xAgeSDLBoolRespond.py @@ -41,8 +41,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaTypes import * +from plasma import * sdlName = ptAttribString(1, "Age SDL Var Name") respTrue = ptAttribResponder(2, "Run if bool true:") diff --git a/Python/xAgeSDLBoolSet.py b/Python/xAgeSDLBoolSet.py index 8d092988..66b46474 100644 --- a/Python/xAgeSDLBoolSet.py +++ b/Python/xAgeSDLBoolSet.py @@ -47,8 +47,7 @@ Author: Bill Slease """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/xAgeSDLBoolShowHide.py b/Python/xAgeSDLBoolShowHide.py index 6d15dd5b..84c345d5 100644 --- a/Python/xAgeSDLBoolShowHide.py +++ b/Python/xAgeSDLBoolShowHide.py @@ -41,8 +41,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaTypes import * +from plasma import * sdlName = ptAttribString(1, "Age SDL Var Name") showOnTrue = ptAttribBoolean(2, "Show on true", default=True) diff --git a/Python/xAgeSDLBoolToggle.py b/Python/xAgeSDLBoolToggle.py index 21f3126d..1d6a03c8 100644 --- a/Python/xAgeSDLBoolToggle.py +++ b/Python/xAgeSDLBoolToggle.py @@ -47,8 +47,7 @@ Author: Bill Slease """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/xAgeSDLBoolToggleDependent.py b/Python/xAgeSDLBoolToggleDependent.py index 3e283970..ff37e86f 100644 --- a/Python/xAgeSDLBoolToggleDependent.py +++ b/Python/xAgeSDLBoolToggleDependent.py @@ -48,8 +48,7 @@ toggles an age sdl bool only if another age sdl bool is true """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/xAgeSDLIntActEnabler.py b/Python/xAgeSDLIntActEnabler.py index 80966f10..51017d53 100644 --- a/Python/xAgeSDLIntActEnabler.py +++ b/Python/xAgeSDLIntActEnabler.py @@ -47,8 +47,7 @@ Author: Adam Van Ornum """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max stringSDLVarName = ptAttribString(1,"Age SDL Variable") diff --git a/Python/xAgeSDLIntChange.py b/Python/xAgeSDLIntChange.py index f4041dff..4a1078ac 100644 --- a/Python/xAgeSDLIntChange.py +++ b/Python/xAgeSDLIntChange.py @@ -48,8 +48,7 @@ increments, decrements or sets an age SDL integer with options for min value, max value, and loop or not """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # --------- diff --git a/Python/xAgeSDLIntRespList.py b/Python/xAgeSDLIntRespList.py index 48f54b48..a78b2b33 100644 --- a/Python/xAgeSDLIntRespList.py +++ b/Python/xAgeSDLIntRespList.py @@ -47,8 +47,7 @@ Author: Adam Van Ornum """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import re # define the attributes that will be entered in max1 diff --git a/Python/xAgeSDLIntShowHide.py b/Python/xAgeSDLIntShowHide.py index aa840870..da6df18e 100644 --- a/Python/xAgeSDLIntShowHide.py +++ b/Python/xAgeSDLIntShowHide.py @@ -49,8 +49,7 @@ Enter in the states you wish the item to be visible in as a comma separated list """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string stringVarName = ptAttribString(1,"Age SDL Var Name") diff --git a/Python/xAgeSDLIntStartStopResp.py b/Python/xAgeSDLIntStartStopResp.py index b553d4f0..52b922b2 100644 --- a/Python/xAgeSDLIntStartStopResp.py +++ b/Python/xAgeSDLIntStartStopResp.py @@ -47,8 +47,7 @@ Author: Adam Van Ornum """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max stringSDLVarName = ptAttribString(1,"Age SDL Variable") diff --git a/Python/xAgeSDLIntStateListResp.py b/Python/xAgeSDLIntStateListResp.py index 4972d204..b72d7b59 100644 --- a/Python/xAgeSDLIntStateListResp.py +++ b/Python/xAgeSDLIntStateListResp.py @@ -56,8 +56,7 @@ # Spaces are allowed... ############################################## -from Plasma import * -from PlasmaTypes import * +from plasma import * # Need this to override the ptAttribResponder as it does diff --git a/Python/xAgeSDLVarSet.py b/Python/xAgeSDLVarSet.py index 04cf85ba..664ad0c4 100644 --- a/Python/xAgeSDLVarSet.py +++ b/Python/xAgeSDLVarSet.py @@ -47,8 +47,7 @@ Author: Adam Van Ornum """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max # NOTE: The state value tuples string should be a string of value pairs diff --git a/Python/xAvatarCustomization.py b/Python/xAvatarCustomization.py index 2beefcd8..af59bd88 100644 --- a/Python/xAvatarCustomization.py +++ b/Python/xAvatarCustomization.py @@ -48,14 +48,10 @@ This is the python handler for the avatar customization area and GUIs """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -from PlasmaVaultConstants import * -from PlasmaNetConstants import * +from plasma import * from colorsys import * import string -import PlasmaControlKeys +from plasma import PlasmaControlKeys import time import os #used for saving pictures locally diff --git a/Python/xBlueSpiral.py b/Python/xBlueSpiral.py index e6839f60..c6df74df 100644 --- a/Python/xBlueSpiral.py +++ b/Python/xBlueSpiral.py @@ -48,8 +48,7 @@ Blue Spiral Puzzle """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random # define the attributes that will be entered in max diff --git a/Python/xBookGUIs.py b/Python/xBookGUIs.py index 6279c407..247bda4e 100644 --- a/Python/xBookGUIs.py +++ b/Python/xBookGUIs.py @@ -48,8 +48,7 @@ Stores the list of book GUIs to load """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # Add your new GUIs in the list below, seperated by commas xBookGUIList = ("BkBook","bkNotebook","bkBahroRockBook") diff --git a/Python/xBugsGoAway.py b/Python/xBugsGoAway.py index 2f4d3bf3..9e14c452 100644 --- a/Python/xBugsGoAway.py +++ b/Python/xBugsGoAway.py @@ -45,9 +45,7 @@ Age: Any, where you want any bugs attached to the avatar to go away """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * +from plasma import * from xPsnlVaultSDL import * chronicleEntryName = "BugsOnAvatar" diff --git a/Python/xButtonLeverSwitch.py b/Python/xButtonLeverSwitch.py index f57482a4..882aad88 100644 --- a/Python/xButtonLeverSwitch.py +++ b/Python/xButtonLeverSwitch.py @@ -48,8 +48,7 @@ reusable handler for a toggle-type (one-position) button, lever or switch type device """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max varstring = ptAttribString(1,"Name") diff --git a/Python/xButtonLeverSwitchPowered.py b/Python/xButtonLeverSwitchPowered.py index 883c9e86..ab38900b 100644 --- a/Python/xButtonLeverSwitchPowered.py +++ b/Python/xButtonLeverSwitchPowered.py @@ -48,8 +48,7 @@ reusable handler for a powered toggle-type (one-position) button, lever or switch type device """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max varstring = ptAttribString(1,"Name") diff --git a/Python/xCalendarStar.py b/Python/xCalendarStar.py index 2f3d5a7c..42ce4858 100644 --- a/Python/xCalendarStar.py +++ b/Python/xCalendarStar.py @@ -48,9 +48,7 @@ wiring for calendar stars which appear in various ages (aka "blue sparky") """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import string from xPsnlVaultSDL import * diff --git a/Python/xChatChannelRegion.py b/Python/xChatChannelRegion.py index 41f03550..6f258e2a 100644 --- a/Python/xChatChannelRegion.py +++ b/Python/xChatChannelRegion.py @@ -48,9 +48,7 @@ Handles adding/removing players from a private chat channel as they enter/leave a region """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * # define the attributes that will be entered in max #stringID = ptAttribString(1,"RoomID") diff --git a/Python/xCheat.py b/Python/xCheat.py index 3198a50e..c9c40360 100644 --- a/Python/xCheat.py +++ b/Python/xCheat.py @@ -48,7 +48,7 @@ def ListYeeshaPages(args): - import Plasma + import plasma as Plasma import xLinkingBookDefs vault = Plasma.ptVault() if type(vault) != type(None): #is the Vault online? @@ -64,7 +64,7 @@ def ListYeeshaPages(args): def GetAllYeeshaPages(args): - import Plasma + import plasma as Plasma import xLinkingBookDefs vault = Plasma.ptVault() if type(vault) != type(None): #is the Vault online? @@ -87,7 +87,7 @@ def GetAllYeeshaPages(args): def GetYeeshaPage(args): - import Plasma + import plasma as Plasma import xLinkingBookDefs vault = Plasma.ptVault() if type(vault) != type(None): #is the Vault online? @@ -112,7 +112,7 @@ def GetYeeshaPage(args): def GetAgeJourneyCloths(args): - import Plasma + import plasma as Plasma ageChronNode = None ageName = Plasma.PtGetAgeName() @@ -147,7 +147,7 @@ def GetAgeJourneyCloths(args): def GetFissure(args): - import Plasma + import plasma as Plasma import xPsnlVaultSDL sdl = xPsnlVaultSDL.xPsnlVaultSDL() @@ -177,7 +177,7 @@ def _AreListsEquiv(list1, list2): def GenerateCleftSolution(args): - import Plasma + import plasma as Plasma import xRandom solutionlist = [3,2,5,0] cleftSolList = [3,2,5,0] @@ -205,7 +205,7 @@ def GenerateCleftSolution(args): def ResetEnding(args): - import Plasma + import plasma as Plasma #import PlasmaTypes ageName = Plasma.PtGetAgeName() if ageName == "Cleft": @@ -215,7 +215,7 @@ def ResetEnding(args): def ResetBahro(args): - import Plasma + import plasma as Plasma #import PlasmaTypes ageName = Plasma.PtGetAgeName() if ageName == "Cleft": @@ -257,8 +257,8 @@ def SndGetTrack(args): def KIPhasedAllOn(args): - import Plasma - import PlasmaKITypes + import plasma as Plasma + from plasma import PlasmaKITypes Plasma.PtSendKIMessage(PlasmaKITypes.kKIPhasedAllOn,0) @@ -267,8 +267,8 @@ def KIPhasedAllOn(args): #---- def GZSetGame(args): - import Plasma - import PlasmaKITypes + import plasma as Plasma + from plasma import PlasmaKITypes if not args or args == "" or args == "1": # set a default gameString = "1 green:greenlt 0:15" @@ -296,8 +296,8 @@ def ResetGZGame(args): def GZGetMarkers(args): - import Plasma - import PlasmaKITypes + import plasma as Plasma + from plasma import PlasmaKITypes import string try: markersToGet = string.atoi(args) @@ -355,14 +355,14 @@ def GZGetMarkers(args): def GiveMeMarkerTag(args): - import Plasma - import PlasmaKITypes + import plasma as Plasma + from plasma import PlasmaKITypes Plasma.PtSendKIMessageInt(PlasmaKITypes.kUpgradeKIMarkerLevel,PlasmaKITypes.kKIMarkerFirstLevel) def GZGiveMeFullAccess(args): - import Plasma - import PlasmaKITypes + import plasma as Plasma + from plasma import PlasmaKITypes Plasma.PtSendKIMessageInt(PlasmaKITypes.kUpgradeKIMarkerLevel,PlasmaKITypes.kKIMarkerNormalLevel) #Make sure to update the markers too, as we don't want them to display!!! @@ -381,8 +381,8 @@ def GZGiveMeFullAccess(args): def GZGiveMeGPS(args): - import Plasma - import PlasmaKITypes + import plasma as Plasma + from plasma import PlasmaKITypes vault = Plasma.ptVault() psnlSDL = vault.getPsnlAgeSDL() if psnlSDL: @@ -391,8 +391,8 @@ def GZGiveMeGPS(args): vault.updatePsnlAgeSDL(psnlSDL) def RemoveMarkerTag(args): - import Plasma - import PlasmaKITypes + import plasma as Plasma + from plasma import PlasmaKITypes newlevel = "0" vault = Plasma.ptVault() # is there a chronicle for the GZ games? @@ -427,8 +427,8 @@ def RemoveMarkerTag(args): def CGZKillAll(args): - import Plasma - import PlasmaKITypes + import plasma as Plasma + from plasma import PlasmaKITypes vault = Plasma.ptVault() # get rid of the CGZ marker games MGs = [ 'MG01','MG02','MG03','MG04','MG05','MG06','MG07','MG08','MG09','MG10','MG11','MG12','MG13','MG14'] @@ -443,7 +443,7 @@ def CGZKillAll(args): entry.save() def ShowHiddenFolder(args): - import Plasma + import plasma as Plasma # search thru the age journal folders vault = Plasma.ptVault() jfolder = None @@ -474,8 +474,8 @@ def ShowHiddenFolder(args): def RemoveHiddenContent(args): - import Plasma - import Plasma + import plasma as Plasma + import plasma as Plasma # search thru the age journal folders vault = Plasma.ptVault() jfolder = None @@ -539,7 +539,7 @@ def _DumpEm(f,markerfolder,mfNumber): def DumpMarkers(args): "args = 'filename folder [markername]'" - import Plasma + import plasma as Plasma arglist = args.split() if len(arglist) < 2: print 'ERROR - not enough arguments - DumpMarkers "filename foldername [markername]")' @@ -602,8 +602,8 @@ def DumpMarkers(args): def ImportGames(args): "args = 'filename folder'" - import Plasma - import PlasmaVaultConstants + import plasma as Plasma + from plasma import PlasmaVaultConstants arglist = args.split() if len(arglist) < 2: print 'ERROR - not enough arguments - ImportMarkers "filename foldername")' @@ -646,8 +646,8 @@ def ImportGames(args): def ImportMarkers(args): "args = 'filename folder'" - import Plasma - import PlasmaVaultConstants + import plasma as Plasma + from plasma import PlasmaVaultConstants arglist = args.split() if len(arglist) < 2: print 'ERROR - not enough arguments - ImportMarkers "filename foldername")' @@ -700,7 +700,7 @@ def ImportMarkers(args): def GetChildInfo(args): - import Plasma + import plasma as Plasma vault = Plasma.ptVault() hoodGUID = vault.getLinkToMyNeighborhood().getAgeInfo().getAgeInstanceGuid() print "hoodGUID: ",hoodGUID @@ -736,7 +736,7 @@ def GetSDL(varName): Expects one argument: (string) VariableName """ - import Plasma + import plasma as Plasma if not varName: print("xCheat.GetSDL(): GetSDL takes one argument: SDL variable name is required.\n Use 'all' to list all variables for the current Age.") @@ -792,7 +792,7 @@ def SetSDL(varNameAndVal): SetSDL is used to set an Age SDL variable by name. It expects two arguments: (string) VariableName, (int) NewValue """ - import Plasma + import plasma as Plasma if not varNameAndVal: print("xCheat.SetSDL(): SetSDL takes two arguments: SDL variable name and new value are required.") @@ -841,7 +841,7 @@ def SetSDL(varNameAndVal): def InstaPellets(args): - import Plasma + import plasma as Plasma import string ageName = Plasma.PtGetAgeName() if ageName == "Ercana": @@ -868,7 +868,7 @@ def InstaPellets(args): def CheckRecipe(args): - import Plasma + import plasma as Plasma ageName = Plasma.PtGetAgeName() if ageName == "Ercana": sdl = Plasma.PtGetAgeSDL() @@ -891,6 +891,6 @@ def CheckRecipe(args): def GetPlayerID(self): - import Plasma + import plasma as Plasma playerID = Plasma.PtGetLocalPlayer().getPlayerID() print "playerID = ",playerID diff --git a/Python/xChronicleCounter.py b/Python/xChronicleCounter.py index 187c58c8..de4e20c9 100644 --- a/Python/xChronicleCounter.py +++ b/Python/xChronicleCounter.py @@ -47,8 +47,7 @@ simple incremental counter stored in player's chronicle """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string # define the attributes that will be entered in max diff --git a/Python/xClearAge.py b/Python/xClearAge.py index 371526fb..c05e3182 100644 --- a/Python/xClearAge.py +++ b/Python/xClearAge.py @@ -48,8 +48,7 @@ run console command to create new instance of an age for testing purposes """ -from Plasma import * -from PlasmaTypes import * +from plasma import * act = ptAttribActivator(2,"Activator") string = ptAttribString(1,"Name of Age to Clear") diff --git a/Python/xConcentration.py b/Python/xConcentration.py index 2bf3a3fb..dd4c2f51 100644 --- a/Python/xConcentration.py +++ b/Python/xConcentration.py @@ -47,11 +47,10 @@ Author: Pete Gage """ -from Plasma import * -from PlasmaTypes import * +from plasma import * from random import * -import PlasmaControlKeys +from plasma import PlasmaControlKeys # define the attributes that will be entered in max diff --git a/Python/xDialogClothingBB.py b/Python/xDialogClothingBB.py index 526ba632..c7eab8b5 100644 --- a/Python/xDialogClothingBB.py +++ b/Python/xDialogClothingBB.py @@ -47,8 +47,7 @@ This is the temporary clothing dialog handler, that resides on the Blackbar """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max KIBlackbar = ptAttribGUIDialog(1,"The Blackbar dialog") diff --git a/Python/xDialogStartUp.py b/Python/xDialogStartUp.py index becf6189..f59fb770 100644 --- a/Python/xDialogStartUp.py +++ b/Python/xDialogStartUp.py @@ -48,13 +48,8 @@ Start Up dialog logic """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * -from PlasmaKITypes import * -from PlasmaVaultConstants import * -from PlasmaNetConstants import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys import re import webbrowser diff --git a/Python/xDialogToggle.py b/Python/xDialogToggle.py index 57cbd847..eda21c1e 100644 --- a/Python/xDialogToggle.py +++ b/Python/xDialogToggle.py @@ -54,9 +54,8 @@ reusable handler for a pop-up GUI item like a note on a desk """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max Activate = ptAttribActivator(1, " clickable ",netForce=1) diff --git a/Python/xDisableFirstPersonCam.py b/Python/xDisableFirstPersonCam.py index 58bcd4e5..00b47a71 100644 --- a/Python/xDisableFirstPersonCam.py +++ b/Python/xDisableFirstPersonCam.py @@ -47,8 +47,7 @@ Lets you disable and re-enable ability for players to enter First Person camera by hitting F1 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max sitnode = ptAttribActivator(1, "No FPC Region node:") diff --git a/Python/xDisableOnGameMode.py b/Python/xDisableOnGameMode.py index d4241bc7..1a7b5e14 100644 --- a/Python/xDisableOnGameMode.py +++ b/Python/xDisableOnGameMode.py @@ -48,8 +48,7 @@ Sets an object to display only in either single player mode or multiplayer mode """ -from Plasma import * -from PlasmaTypes import * +from plasma import * boolSinglePlayerDisable = ptAttribBoolean(1, "Disable in single player (else multiplayer)", 1) diff --git a/Python/xDynTextDefs.py b/Python/xDynTextDefs.py index 6b3677f3..3850bd94 100644 --- a/Python/xDynTextDefs.py +++ b/Python/xDynTextDefs.py @@ -40,7 +40,7 @@ Mead, WA 99021 *==LICENSE==* """ -from PlasmaTypes import * +from plasma import * # "Text Name": ( font name, font size, color, margin, line spacing, locPath, justification ) # font color is in format (red,green,blue,alpha) with the values between 0 and 1 # text margin is in format (top,left,bottom,right) with the values being in pixels diff --git a/Python/xDynTextObj.py b/Python/xDynTextObj.py index 4bc38738..cd6270a4 100644 --- a/Python/xDynTextObj.py +++ b/Python/xDynTextObj.py @@ -47,8 +47,7 @@ A helper file for automatic rendering of localized text on dynamic text objects """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string import xDynTextDefs diff --git a/Python/xDynaTextBoy.py b/Python/xDynaTextBoy.py index 7bb702ed..cabd737f 100644 --- a/Python/xDynaTextBoy.py +++ b/Python/xDynaTextBoy.py @@ -47,8 +47,7 @@ This is to set a Dynamic Text material to a specific font, color and text string. """ -from Plasma import * -from PlasmaTypes import * +from plasma import * #============================================================= # define the attributes that will be entered in max diff --git a/Python/xEventTrigger.py b/Python/xEventTrigger.py index 57ec3b1f..29c4d00f 100644 --- a/Python/xEventTrigger.py +++ b/Python/xEventTrigger.py @@ -47,8 +47,7 @@ Author: Mark DeForest """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string EventName = ptAttribString(1,"Event name") diff --git a/Python/xExitSubworld.py b/Python/xExitSubworld.py index 8e39f8b5..f9d83bb2 100644 --- a/Python/xExitSubworld.py +++ b/Python/xExitSubworld.py @@ -45,9 +45,7 @@ about pogoing between enter and exit regions """ -from Plasma import * -from PlasmaTypes import * -from PlasmaConstants import * +from plasma import * exitRgn = ptAttribActivator(1,"exit region") safetyRgn = ptAttribActivator(2,"safety region") diff --git a/Python/xFogDistTweener.py b/Python/xFogDistTweener.py index 544e54bd..ab66614c 100644 --- a/Python/xFogDistTweener.py +++ b/Python/xFogDistTweener.py @@ -48,8 +48,7 @@ littlebigworld? """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import math # define the attributes that will be entered in max diff --git a/Python/xFogSet.py b/Python/xFogSet.py index d84cdf1d..65df6b8a 100644 --- a/Python/xFogSet.py +++ b/Python/xFogSet.py @@ -48,8 +48,7 @@ littlebigworld? """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max FogMode = ptAttribDropDownList(1, "Fog Mode", ("Linear", "Exponential", "Exponential2")) diff --git a/Python/xGZMarker.py b/Python/xGZMarker.py index d1f8ef48..4d57d46a 100644 --- a/Python/xGZMarker.py +++ b/Python/xGZMarker.py @@ -50,9 +50,7 @@ MaxVersionNumber = 2 MinorVersionNumber = 1 -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import string aStringVarName = ptAttribString(1,"Age SDL Vis Name") diff --git a/Python/xHighLevelStarTrekDoor.py b/Python/xHighLevelStarTrekDoor.py index f1d88d71..4c12476c 100644 --- a/Python/xHighLevelStarTrekDoor.py +++ b/Python/xHighLevelStarTrekDoor.py @@ -47,8 +47,7 @@ Karl """ -from Plasma import * -from PlasmaTypes import * +from plasma import * strDoorClosedVar = ptAttribString(1, "Door Closed SDL Var") diff --git a/Python/xIniAudio.py b/Python/xIniAudio.py index 8c073612..5fb7d72d 100644 --- a/Python/xIniAudio.py +++ b/Python/xIniAudio.py @@ -46,8 +46,7 @@ import string import xIniHelper -from PlasmaConstants import * -from Plasma import * +from plasma import * gIniFile = None gFilename = U"audio.ini" diff --git a/Python/xIniDisplay.py b/Python/xIniDisplay.py index d9ab93ce..fd52b879 100644 --- a/Python/xIniDisplay.py +++ b/Python/xIniDisplay.py @@ -46,7 +46,7 @@ import string import xIniHelper -from Plasma import * +from plasma import * gIniFile = None gFilename = U"graphics.ini" diff --git a/Python/xIniHelper.py b/Python/xIniHelper.py index 2f8f8dcb..e273f4be 100644 --- a/Python/xIniHelper.py +++ b/Python/xIniHelper.py @@ -44,7 +44,7 @@ This module contains the routines to read and write an .ini file """ -from Plasma import * +from plasma import * import os diff --git a/Python/xInvite.py b/Python/xInvite.py index 8d080d6b..7c962825 100644 --- a/Python/xInvite.py +++ b/Python/xInvite.py @@ -40,10 +40,7 @@ Mead, WA 99021 *==LICENSE==* """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -from PlasmaVaultConstants import * +from plasma import * gMaxInviteCount = 20 diff --git a/Python/xJournalBookGUIPopup.py b/Python/xJournalBookGUIPopup.py index 776c9ce7..5bdac968 100644 --- a/Python/xJournalBookGUIPopup.py +++ b/Python/xJournalBookGUIPopup.py @@ -58,9 +58,7 @@ First phase - keep hi level structure, only replace the bring up of books """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * +from plasma import * import xJournalBookDefs diff --git a/Python/xJourneyClothGate.py b/Python/xJourneyClothGate.py index c2545dbd..09a42b4e 100644 --- a/Python/xJourneyClothGate.py +++ b/Python/xJourneyClothGate.py @@ -50,11 +50,9 @@ Sets SDL, which is being listened to by xStandardDoor, and handles the door opening/closing/persistence """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string -from PlasmaVaultConstants import * -from PlasmaNetConstants import * +from plasma import * from xEnum import * # --------- diff --git a/Python/xJourneyCloths.py b/Python/xJourneyCloths.py index 2b8fc20d..1492b55a 100644 --- a/Python/xJourneyCloths.py +++ b/Python/xJourneyCloths.py @@ -48,11 +48,9 @@ Manages the 10 Journey Cloths in Phase 0 """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random -from PlasmaVaultConstants import * -from PlasmaNetConstants import * +from plasma import * # define the attributes that will be entered in max diff --git a/Python/xJourneyClothsGen2.py b/Python/xJourneyClothsGen2.py index 4bb4595a..c4091821 100644 --- a/Python/xJourneyClothsGen2.py +++ b/Python/xJourneyClothsGen2.py @@ -49,10 +49,7 @@ July 8 2003 - Added save game capability """ -from Plasma import * -from PlasmaTypes import * -from PlasmaVaultConstants import * -from PlasmaNetConstants import * +from plasma import * import xRandom import xEnum from xPsnlVaultSDL import * diff --git a/Python/xLinkingBookDefs.py b/Python/xLinkingBookDefs.py index 945f43d2..9c9bf84a 100644 --- a/Python/xLinkingBookDefs.py +++ b/Python/xLinkingBookDefs.py @@ -40,7 +40,7 @@ Mead, WA 99021 *==LICENSE==* """ -from Plasma import * +from plasma import * """ This module contains the definition strings for all the linking books diff --git a/Python/xLinkingBookGUIPopup.py b/Python/xLinkingBookGUIPopup.py index 922834b0..e0b1d0d8 100644 --- a/Python/xLinkingBookGUIPopup.py +++ b/Python/xLinkingBookGUIPopup.py @@ -58,10 +58,7 @@ First phase - keep hi level structure, only replace the bring up of books """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -from PlasmaNetConstants import * +from plasma import * import string import xLinkingBookDefs from xPsnlVaultSDL import * diff --git a/Python/xLocTools.py b/Python/xLocTools.py index d2c0e31a..adaf4635 100644 --- a/Python/xLocTools.py +++ b/Python/xLocTools.py @@ -40,8 +40,7 @@ Mead, WA 99021 *==LICENSE==* """ -from Plasma import * -from PlasmaVaultConstants import * +from plasma import * xFolderIDToFolderName = { PtVaultStandardNodes.kUserDefinedNode: PtGetLocalizedString("Global.FolderNames.UserDefined"), diff --git a/Python/xMusicBox.py b/Python/xMusicBox.py index 0b062e26..ea5ae18e 100644 --- a/Python/xMusicBox.py +++ b/Python/xMusicBox.py @@ -47,8 +47,7 @@ A music box type thing """ -from Plasma import * -from PlasmaTypes import * +from plasma import * #============================================================= # define the attributes that will be entered in max diff --git a/Python/xMusicBoxAddSong.py b/Python/xMusicBoxAddSong.py index dbe7efc7..7d80038f 100644 --- a/Python/xMusicBoxAddSong.py +++ b/Python/xMusicBoxAddSong.py @@ -47,10 +47,9 @@ Add songs to the music box """ -from Plasma import * -from PlasmaTypes import * +from plasma import * from xPsnlVaultSDL import * -import PlasmaKITypes +from plasma import PlasmaKITypes #============================================================= # define the attributes that will be entered in max diff --git a/Python/xOpeningSequence.py b/Python/xOpeningSequence.py index c0b0935d..c8c75d77 100644 --- a/Python/xOpeningSequence.py +++ b/Python/xOpeningSequence.py @@ -49,12 +49,9 @@ MaxVersionNumber = 1 MinorVersionNumber = 5 -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -from PlasmaConstants import * +from plasma import * -import PlasmaControlKeys +from plasma import PlasmaControlKeys import os import xIniDisplay diff --git a/Python/xOptionsMenu.py b/Python/xOptionsMenu.py index e925dc33..bfdc4645 100644 --- a/Python/xOptionsMenu.py +++ b/Python/xOptionsMenu.py @@ -56,10 +56,8 @@ import os -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys import xJournalBookDefs import xIniAudio diff --git a/Python/xPassiveIndicatorLight.py b/Python/xPassiveIndicatorLight.py index 3cdc70e5..4dc23d88 100644 --- a/Python/xPassiveIndicatorLight.py +++ b/Python/xPassiveIndicatorLight.py @@ -49,8 +49,7 @@ Persistence added June 2002 by Doug McBride """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max varstring = ptAttribString(1,"Name") diff --git a/Python/xPodBahroSymbol.py b/Python/xPodBahroSymbol.py index ba8f5da0..0bce57c5 100644 --- a/Python/xPodBahroSymbol.py +++ b/Python/xPodBahroSymbol.py @@ -47,8 +47,7 @@ Author: Derek Odell """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import random # define the attributes that will be entered in max diff --git a/Python/xPodBattery.py b/Python/xPodBattery.py index eb1d425a..c9b68721 100644 --- a/Python/xPodBattery.py +++ b/Python/xPodBattery.py @@ -47,8 +47,7 @@ Manages the charging and draining of the Pod Battery. """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max fSunrise = ptAttribFloat(1, "Percent the sun rises", 0.0, (0.0, 1.0)) diff --git a/Python/xPotsSymbol.py b/Python/xPotsSymbol.py index 2c07895a..0e1830ab 100644 --- a/Python/xPotsSymbol.py +++ b/Python/xPotsSymbol.py @@ -48,8 +48,7 @@ wiring for the 7-stage POTS symbol/icon link-a-ma-jig """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import string iconStates = ['first','second','third','fourth','fifth','sixth','seventh'] diff --git a/Python/xPoweredLightSwitch.py b/Python/xPoweredLightSwitch.py index 66d347c1..f0baf811 100644 --- a/Python/xPoweredLightSwitch.py +++ b/Python/xPoweredLightSwitch.py @@ -49,8 +49,7 @@ Persistence added June 2002 by Doug McBride """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max varstring = ptAttribString(1,"Name") diff --git a/Python/xPoweredStarTrekDoor.py b/Python/xPoweredStarTrekDoor.py index 9ee0163f..5b346202 100644 --- a/Python/xPoweredStarTrekDoor.py +++ b/Python/xPoweredStarTrekDoor.py @@ -48,9 +48,8 @@ When powered, auto-open, auto-close door """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max Activate = ptAttribActivator(1, "Region Sensor",netForce=1) diff --git a/Python/xPsnlVaultSDL.py b/Python/xPsnlVaultSDL.py index dec3085e..bec3bea5 100644 --- a/Python/xPsnlVaultSDL.py +++ b/Python/xPsnlVaultSDL.py @@ -48,8 +48,7 @@ Allows ptSDL-like access to Psnl Age SDL from anywhere """ -from Plasma import * -from PlasmaConstants import * +from plasma import * import types class xPsnlVaultSDL: diff --git a/Python/xRandomBoolChange.py b/Python/xRandomBoolChange.py index fe53e3b9..427b4a8e 100644 --- a/Python/xRandomBoolChange.py +++ b/Python/xRandomBoolChange.py @@ -51,8 +51,7 @@ 3) Is anyone nearby """ -from Plasma import * -from PlasmaTypes import * +from plasma import * import xRandom strVarName = ptAttribString(1,"Object SDL Var Name") diff --git a/Python/xRunResponder.py b/Python/xRunResponder.py index 4af8f6ee..ec26db08 100644 --- a/Python/xRunResponder.py +++ b/Python/xRunResponder.py @@ -49,8 +49,7 @@ named activator (from another file). """ -from Plasma import * -from PlasmaTypes import * +from plasma import * diff --git a/Python/xSaveCloth.py b/Python/xSaveCloth.py index 950cd8b3..38dee401 100644 --- a/Python/xSaveCloth.py +++ b/Python/xSaveCloth.py @@ -48,8 +48,7 @@ Sets a save point """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # define the attributes that will be entered in max diff --git a/Python/xSaveScreenCapture.py b/Python/xSaveScreenCapture.py index b8d36371..5088e1b2 100644 --- a/Python/xSaveScreenCapture.py +++ b/Python/xSaveScreenCapture.py @@ -48,8 +48,7 @@ Saves a screen capture started elsewhere """ -from Plasma import * -from PlasmaTypes import * +from plasma import * strFileName = ptAttribString(1, "File name") intQuality = ptAttribInt(2,"JPEG Quality", default=75) diff --git a/Python/xSimpleImager.py b/Python/xSimpleImager.py index 4c49ae50..ba1da7cc 100644 --- a/Python/xSimpleImager.py +++ b/Python/xSimpleImager.py @@ -49,10 +49,7 @@ March 2003 - Bill - added ability to post text notes to imagers """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -from PlasmaVaultConstants import * +from plasma import * import string import xCensor diff --git a/Python/xSitAugment.py b/Python/xSitAugment.py index 7ac8e6d1..06840f49 100644 --- a/Python/xSitAugment.py +++ b/Python/xSitAugment.py @@ -48,9 +48,8 @@ allows user to select what sit component messages get passed on to another script """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max SitAct = ptAttribActivator(1, " Sit Component ",netForce=1) diff --git a/Python/xSitCam.py b/Python/xSitCam.py index 8b2abf7e..c3e344d5 100644 --- a/Python/xSitCam.py +++ b/Python/xSitCam.py @@ -41,8 +41,7 @@ *==LICENSE==* """ -from Plasma import * -from PlasmaTypes import * +from plasma import * sitAct = ptAttribActivator(1, "SitBeh: Sitting Behavior Node") sitCam = ptAttribSceneobject(2, "SitCam: Sitting Canera") diff --git a/Python/xSndLogTracks.py b/Python/xSndLogTracks.py index 36285e5d..4186b1f4 100644 --- a/Python/xSndLogTracks.py +++ b/Python/xSndLogTracks.py @@ -43,8 +43,7 @@ """ This module does the sound log tracks stuff """ -from Plasma import * -from PlasmaTypes import * +from plasma import * kLogTrackVarname = "SndLogTrack" kLogModeVarname = "VaporTrail" diff --git a/Python/xStandardDoor.py b/Python/xStandardDoor.py index cbf4c2ad..208d2c72 100644 --- a/Python/xStandardDoor.py +++ b/Python/xStandardDoor.py @@ -56,8 +56,7 @@ fastforward """ -from Plasma import * -from PlasmaTypes import * +from plasma import * # --------- # max wiring diff --git a/Python/xStarTrekDoor.py b/Python/xStarTrekDoor.py index 3c6c347a..071ed54b 100644 --- a/Python/xStarTrekDoor.py +++ b/Python/xStarTrekDoor.py @@ -48,9 +48,8 @@ auto-open, auto-close door """ -from Plasma import * -from PlasmaTypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max Activate = ptAttribActivator(1, "Region Sensor",netForce=1) diff --git a/Python/xStateToggler.py b/Python/xStateToggler.py index 0ed6e2f4..0caa2ce3 100644 --- a/Python/xStateToggler.py +++ b/Python/xStateToggler.py @@ -49,8 +49,7 @@ gets a message and runs one of two responders depending on state """ -from Plasma import * -from PlasmaTypes import * +from plasma import * actStateChange = ptAttribActivator(1,"actvtr:python file") respFalse = ptAttribResponder(2,"rspndr:state false") diff --git a/Python/xTakableClothing.py b/Python/xTakableClothing.py index a95ce310..db9e1af8 100644 --- a/Python/xTakableClothing.py +++ b/Python/xTakableClothing.py @@ -49,9 +49,7 @@ also wears the piece of clothing you just picked up """ -from Plasma import * -from PlasmaTypes import * -from PlasmaVaultConstants import * +from plasma import * from xPsnlVaultSDL import * import xACAItems import xRandom diff --git a/Python/xTelescope.py b/Python/xTelescope.py index 133e3131..ba47d7fe 100644 --- a/Python/xTelescope.py +++ b/Python/xTelescope.py @@ -48,10 +48,8 @@ This is tha handler for the standard telescope """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -import PlasmaControlKeys +from plasma import * +from plasma import PlasmaControlKeys # define the attributes that will be entered in max Activate = ptAttribActivator(1, "Activate Telescope",netForce=1) diff --git a/Python/xTrackActivatorUsage.py b/Python/xTrackActivatorUsage.py index fa7cb537..e5a01a5e 100644 --- a/Python/xTrackActivatorUsage.py +++ b/Python/xTrackActivatorUsage.py @@ -48,8 +48,7 @@ Tracks the number of times an activator is used """ -from Plasma import * -from PlasmaTypes import * +from plasma import * actTrack = ptAttribActivator(1, "Activator to track") strChronVar = ptAttribString(2, "Chronicle var") diff --git a/Python/xTriggerNamedResponder.py b/Python/xTriggerNamedResponder.py index 58b996ca..83651cc5 100644 --- a/Python/xTriggerNamedResponder.py +++ b/Python/xTriggerNamedResponder.py @@ -47,8 +47,7 @@ Author: Tye Hooley """ -from Plasma import * -from PlasmaTypes import * +from plasma import * #import string # --------- diff --git a/Python/xYeeshaPages.py b/Python/xYeeshaPages.py index 429bf5e2..955c64dd 100644 --- a/Python/xYeeshaPages.py +++ b/Python/xYeeshaPages.py @@ -48,11 +48,7 @@ Manages and records the finding of Yeesha Pages """ -from Plasma import * -from PlasmaTypes import * -from PlasmaKITypes import * -from PlasmaVaultConstants import * -from PlasmaNetConstants import * +from plasma import * # define the attributes that will be entered in max