From: tomtt <to...@us...> - 2007-01-31 21:36:14
|
Update of /cvsroot/planeshift/planeshift/src/server/bulkobjects In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3657 Modified Files: psactionlocationinfo.h Log Message: Added support for entry progression scripts. Index: psactionlocationinfo.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/server/bulkobjects/psactionlocationinfo.h,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** psactionlocationinfo.h 26 Dec 2006 19:42:16 -0000 1.16 --- psactionlocationinfo.h 31 Jan 2007 21:36:07 -0000 1.17 *************** *** 66,69 **** --- 66,73 ---- /// This is either a container ID or a lock ID uint32 GetInstanceID(); + void SetInstanceID(uint32 newID); + + /// Returns the enter script in action location response string + csString GetEnterScript() const { return enterScript; } /// Returns true if this action location is a minigame board *************** *** 117,120 **** --- 121,128 ---- bool isLockable; + /// String containing the entrance script + /// Script return value of 0 indicates no entry + csString enterScript; + /// Initializes the is flags by analyzing the examine response string. void InitExamine(); |