From: <wel...@us...> - 2012-05-04 08:41:07
|
Revision: 8263 http://planeshift.svn.sourceforge.net/planeshift/?rev=8263&view=rev Author: weltall2 Date: 2012-05-04 08:41:01 +0000 (Fri, 04 May 2012) Log Message: ----------- added an :Id field to get the item UID from mathscript Modified Paths: -------------- trunk/src/server/bulkobjects/psitem.cpp Modified: trunk/src/server/bulkobjects/psitem.cpp =================================================================== --- trunk/src/server/bulkobjects/psitem.cpp 2012-05-03 18:09:56 UTC (rev 8262) +++ trunk/src/server/bulkobjects/psitem.cpp 2012-05-04 08:41:01 UTC (rev 8263) @@ -2240,6 +2240,10 @@ { return (double)GetStackCount(); } + else if(property == "Id") + { + return (double)GetUID(); + } else { CPrintf(CON_ERROR, "psItem::GetProperty(%s) failed\n",ptr); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |