From: <ar...@us...> - 2003-02-22 04:56:55
|
Update of /cvsroot/decaldev/source/Include In directory sc8-pr-cvs1:/tmp/cvs-serv15422/Include Modified Files: Decal.idl Log Message: GetSkills/Vitals/Attributes Code Checkin for Cynica_l Index: Decal.idl =================================================================== RCS file: /cvsroot/decaldev/source/Include/Decal.idl,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** Decal.idl 13 Jan 2003 04:48:33 -0000 1.29 --- Decal.idl 22 Feb 2003 04:56:52 -0000 1.30 *************** *** 8,12 **** import "ocidl.idl"; ! enum eAttribute { eCurrentHealth = 1, --- 8,21 ---- import "ocidl.idl"; ! /* I'm not 100% sure about this */ ! enum eTrainLevel ! { ! eUntrained = 1, ! eTrained = 2, ! eSpecialized = 3, ! eTrainLevel_DWORD = 0x7FFFFFFF ! }; ! ! enum eVital { eCurrentHealth = 1, *************** *** 19,22 **** --- 28,36 ---- eBaseStamina = 8, eBaseMana = 9, + eVital_DWORD = 0x7FFFFFFF + }; + + enum eAttribute + { eCurrentStrength = 1, eCurrentEndurance = 2, *************** *** 30,34 **** eBaseCoordination = 10, eBaseFocus = 11, ! eBaseSelf = 12 }; --- 44,49 ---- eBaseCoordination = 10, eBaseFocus = 11, ! eBaseSelf = 12, ! eAttribute_DWORD = 0x7FFFFFFF }; *************** *** 104,108 **** eBaseFletchingSkill = 87, eBaseAlchemySkill = 88, ! eBaseCookingSkill = 89 }; --- 119,124 ---- eBaseFletchingSkill = 87, eBaseAlchemySkill = 88, ! eBaseCookingSkill = 89, ! eSkill_DWORD = 0x7FFFFFFF }; *************** *** 149,152 **** --- 165,171 ---- eSecureTrade_Add = 1, eColorEx = 2, + eSkillInfo = 3, + eAttributeInfo = 4, + eVitalInfo = 5, eAvailableHooksEx_DWORD = 0x7FFFFFFF // coerce enums into 4 byte instead of two }; *************** *** 246,249 **** --- 265,280 ---- [id(44), helpstring("method SetDecal")] HRESULT SetDecal([in] IUnknown *pDecal); [id(45), helpstring("method SecureTrade_Add")] HRESULT SecureTrade_Add([in] long ItemID, [out, retval] VARIANT_BOOL *pVal); + + [propget, id(46), helpstring("property SkillTrainLevel")] HRESULT SkillTrainLevel([in] enum eSkill SkillID, [out, retval] enum eTrainLevel *pVal); + [propget, id(47), helpstring("property SkillTotalXP")] HRESULT SkillTotalXP([in] enum eSkill SkillID, [out, retval] int *pVal); + [propget, id(48), helpstring("property SkillFreePoints")] HRESULT SkillFreePoints([in] enum eSkill SkillID, [out, retval] int *pVal); + [propget, id(49), helpstring("property SkillClicks")] HRESULT SkillClicks([in] enum eSkill SkillID, [out, retval] int *pVal); + + [propget, id(50), helpstring("property AttributeTotalXP")] HRESULT AttributeTotalXP([in] enum eAttribute AttributeID, [out, retval] int *pVal); + [propget, id(51), helpstring("property AttributeClicks")] HRESULT AttributeClicks([in] enum eAttribute AttributeID, [out, retval] int *pVal); + [propget, id(52), helpstring("property AttributeStart")] HRESULT AttributeStart([in] enum eAttribute AttributeID, [out, retval] int *pVal); + + [propget, id(53), helpstring("property VitalTotalXP")] HRESULT VitalTotalXP([in] enum eVital VitalD, [out, retval] int *pVal); + [propget, id(54), helpstring("property VitalClicks")] HRESULT VitalClicks([in] enum eVital VitalID, [out, retval] int *pVal); }; |