plSpawnMod has no getters/setters

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.

plSpawnMod has no getters/setters

Postby Branan » Thu Feb 18, 2010 12:07 pm

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.
Image
Your friendly neighborhood shard admin
User avatar
Branan
Gehn Shard Admin
 
Posts: 694
Joined: Fri Nov 16, 2007 9:45 pm
Location: Portland, OR

Re: plSpawnMod has no getters/setters

Postby Trylon » Thu Feb 18, 2010 3:14 pm

Just read the source code :D
J/K
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
User avatar
Trylon
 
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
Location: Gone from Uru

Re: plSpawnMod has no getters/setters

Postby Zrax » Thu Feb 18, 2010 4:39 pm

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 ;)
User avatar
Zrax
 
Posts: 206
Joined: Fri Sep 28, 2007 5:19 pm
Location: Waist-deep in a conecano

Re: plSpawnMod has no getters/setters

Postby Branan » Thu Feb 18, 2010 4:42 pm

I know how that feels :) If I need getters or setters for anything, I'll probably just write them myself and submit patches
Image
Your friendly neighborhood shard admin
User avatar
Branan
Gehn Shard Admin
 
Posts: 694
Joined: Fri Nov 16, 2007 9:45 pm
Location: Portland, OR

Re: plSpawnMod has no getters/setters

Postby Tsar Hoikas » Thu Feb 18, 2010 5:31 pm

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 ;)
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia


Return to Plasma Development

Who is online

Users browsing this forum: No registered users and 0 guests