Page 1 of 1

plSpawnMod has no getters/setters

PostPosted: Thu Feb 18, 2010 12:07 pm
by Branan
I'm not sure what plSpawnMod is used for, or how it differs from plSpawnModifier, but it doesn't seem to have getters or setters for any of its properties. It can be read from a PRP or PRC, and written out to either, but not modified at all.

Is this a matter of "not implemented until PrpShop supports modifying directly" (rather than in PRC), or is there another reason they're not implemented.

I don't need them for anything, I just noticed they were unimplemented.

Re: plSpawnMod has no getters/setters

PostPosted: Thu Feb 18, 2010 3:14 pm
by Trylon
Just read the source code :D
J/K

Re: plSpawnMod has no getters/setters

PostPosted: Thu Feb 18, 2010 4:39 pm
by Zrax
Because of my busy life, there's still a lot of things that are only implemented at the basic level (IO and PRC) right now... You can find a detailed list of what support is available in C++, Python and PlasmaShop tools in the file ClassStatus.txt (on SVN). And of course, if there's something you want support for, please do let me know so I can prioritize it ;)

Re: plSpawnMod has no getters/setters

PostPosted: Thu Feb 18, 2010 4:42 pm
by Branan
I know how that feels :) If I need getters or setters for anything, I'll probably just write them myself and submit patches

Re: plSpawnMod has no getters/setters

PostPosted: Thu Feb 18, 2010 5:31 pm
by Tsar Hoikas
PaladinOfKaos wrote:I know how that feels :) If I need getters or setters for anything, I'll probably just write them myself and submit patches


That's always a good way to motivate Zrax ;)