|
From: <ha...@us...> - 2002-09-22 08:15:44
|
Update of /cvsroot/decaldev/source/Include
In directory usw-pr-cvs1:/tmp/cvs-serv12895
Modified Files:
Decal.idl
Log Message:
Moved ACHooks startup to pre-Decal Service startup so services, filters and the like can obtain a reference much easier from the decal object itself.
Index: Decal.idl
===================================================================
RCS file: /cvsroot/decaldev/source/Include/Decal.idl,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** Decal.idl 21 Sep 2002 05:49:43 -0000 1.18
--- Decal.idl 22 Sep 2002 08:15:38 -0000 1.19
***************
*** 73,76 ****
--- 73,124 ----
[
object,
+ uuid(9337777E-3079-47E3-8B6A-EDCB1ECABC27),
+ helpstring("IACHooks Interface"),
+ dual,
+ pointer_default(unique),
+ oleautomation
+ ]
+ interface IACHooks : IDispatch
+ {
+ [id(1), propget, helpstring("property CurrentSelection")] HRESULT CurrentSelection([out, retval] long* pVal);
+ [id(1), propput, helpstring("property CurrentSelection")] HRESULT CurrentSelection([in] long pVal);
+ [id(2), propget, helpstring("property PreviousSelection")] HRESULT PreviousSelection([out, retval] long* pVal);
+ [id(2), propput, helpstring("property PreviousSelection")] HRESULT PreviousSelection([in] long pVal);
+ [id(3), helpstring("method ChatOut")] HRESULT ChatOut([in]BSTR szText, long lColor);
+ [id(4), helpstring("method RawChatOut")] HRESULT RawChatOut([in]BSTR szText, long lColor);
+ [id(5), helpstring("method SetCursorPosition")] HRESULT SetCursorPosition([in] long lX, long lY);
+ [id(6), helpstring("method CastSpell")] HRESULT CastSpell([in]long lSpellID, long lObjectID);
+ [id(7), helpstring("method MoveItem")] HRESULT MoveItem([in] long lObjectID, long lPackID, long lSlot, VARIANT_BOOL bStack);
+ [id(8), helpstring("method SelectItem")] HRESULT SelectItem([in]long lObjectID);
+ [id(9), helpstring("method UseItem")] HRESULT UseItem([in]long lObjectID, long lUseState);
+ [propget, id(10), helpstring("property CombatState")] HRESULT CombatState([out, retval] long *pVal);
+ [propget, id(12), helpstring("property ChatState")] HRESULT ChatState([out, retval] VARIANT_BOOL *pVal);
+ [id(13), helpstring("method UseItemEx")] HRESULT UseItemEx([in] long UseThis, long OnThis);
+ [id(14), helpstring("method GetFellowStats")] HRESULT GetFellowStats([in] long lCharID);
+ [propget, id(15), helpstring("property SelectedStackCount")] HRESULT SelectedStackCount(long lStackCount, [out, retval] long *pVal);
+ [propput, id(15), helpstring("property SelectedStackCount")] HRESULT SelectedStackCount(long lStackCount, [in] long newVal);
+ [propget, id(16), helpstring("property VendorID")] HRESULT VendorID([out, retval] long *pVal);
+ [propget, id(17), helpstring("property BusyState")] HRESULT BusyState([out, retval] long *pVal);
+ [propget, id(18), helpstring("property BusyStateID")] HRESULT BusyStateID([out, retval] long *pVal);
+ [propget, id(19), helpstring("property PointerState")] HRESULT PointerState([out, retval] long *pVal);
+ [id(20), helpstring("method MoveItemEx")] HRESULT MoveItemEx([in]long lObjectID, long lDestinationID);
+ [propget, id(21), helpstring("property Heading")] HRESULT Heading([out, retval] double *pVal);
+ [propget, id(22), helpstring("property Landblock")] HRESULT Landblock([out, retval] long *pVal);
+ [propget, id(23), helpstring("property LocationX")] HRESULT LocationX([out, retval] double *pVal);
+ [propget, id(24), helpstring("property LocationY")] HRESULT LocationY([out, retval] double *pVal);
+ [propget, id(25), helpstring("property LocationZ")] HRESULT LocationZ([out, retval] double *pVal);
+ [propget, id(26), helpstring("property HooksAvailable")] HRESULT HooksAvail([out, retval] long *pVal);
+ [id(27), helpstring("method DropItem")] HRESULT DropItem([in]long lObjectID);
+ [id(28), helpstring("method FaceHeading")] HRESULT FaceHeading([in] float fHeading, [in] VARIANT_BOOL bUnknown, [out,retval] VARIANT_BOOL *pVal);
+ [propget, id(29), helpstring("property Screen3DWidth")] HRESULT Area3DWidth([out, retval] long *pVal);
+ [propget, id(30), helpstring("property Screen3DHeight")] HRESULT Area3DHeight([out, retval] long *pVal);
+ [id(31), helpstring("method ItemIsKnown")] HRESULT ItemIsKnown([in] long lGUID, [out,retval] VARIANT_BOOL *pVal);
+ [id(32), helpstring("method SendTell")] HRESULT SendTell([in]long lPlayerID, BSTR Message);
+ [id(33), helpstring("method SetAutorun")] HRESULT SetAutorun([in] VARIANT_BOOL bOnOff);
+ [id(34), helpstring("method SendTellEx")] HRESULT SendTellEx([in]BSTR Name, BSTR Message);
+ };
+
+ [
+ object,
uuid(5C36D41D-1DDD-4315-97CA-75095DDFF8BB),
helpstring("IDecal Interface"),
***************
*** 97,100 ****
--- 145,149 ----
[helpstring("method Render2D")] HRESULT Render2D();
[helpstring("method Render3D")] HRESULT Render3D();
+ [propget, helpstring("property Hooks")] HRESULT Hooks([out, retval] IACHooks** pVal);
};
***************
*** 208,259 ****
methods:
[id(1), helpstring("method ObjectDestroyed")] HRESULT ObjectDestroyed([in] LONG lGuid);
- };
-
- [
- object,
- uuid(9337777E-3079-47E3-8B6A-EDCB1ECABC27),
- helpstring("IACHooks Interface"),
- dual,
- pointer_default(unique),
- oleautomation
- ]
- interface IACHooks : IDispatch
- {
- [id(1), propget, helpstring("property CurrentSelection")] HRESULT CurrentSelection([out, retval] long* pVal);
- [id(1), propput, helpstring("property CurrentSelection")] HRESULT CurrentSelection([in] long pVal);
- [id(2), propget, helpstring("property PreviousSelection")] HRESULT PreviousSelection([out, retval] long* pVal);
- [id(2), propput, helpstring("property PreviousSelection")] HRESULT PreviousSelection([in] long pVal);
- [id(3), helpstring("method ChatOut")] HRESULT ChatOut([in]BSTR szText, long lColor);
- [id(4), helpstring("method RawChatOut")] HRESULT RawChatOut([in]BSTR szText, long lColor);
- [id(5), helpstring("method SetCursorPosition")] HRESULT SetCursorPosition([in] long lX, long lY);
- [id(6), helpstring("method CastSpell")] HRESULT CastSpell([in]long lSpellID, long lObjectID);
- [id(7), helpstring("method MoveItem")] HRESULT MoveItem([in] long lObjectID, long lPackID, long lSlot, VARIANT_BOOL bStack);
- [id(8), helpstring("method SelectItem")] HRESULT SelectItem([in]long lObjectID);
- [id(9), helpstring("method UseItem")] HRESULT UseItem([in]long lObjectID, long lUseState);
- [propget, id(10), helpstring("property CombatState")] HRESULT CombatState([out, retval] long *pVal);
- [propget, id(12), helpstring("property ChatState")] HRESULT ChatState([out, retval] VARIANT_BOOL *pVal);
- [id(13), helpstring("method UseItemEx")] HRESULT UseItemEx([in] long UseThis, long OnThis);
- [id(14), helpstring("method GetFellowStats")] HRESULT GetFellowStats([in] long lCharID);
- [propget, id(15), helpstring("property SelectedStackCount")] HRESULT SelectedStackCount(long lStackCount, [out, retval] long *pVal);
- [propput, id(15), helpstring("property SelectedStackCount")] HRESULT SelectedStackCount(long lStackCount, [in] long newVal);
- [propget, id(16), helpstring("property VendorID")] HRESULT VendorID([out, retval] long *pVal);
- [propget, id(17), helpstring("property BusyState")] HRESULT BusyState([out, retval] long *pVal);
- [propget, id(18), helpstring("property BusyStateID")] HRESULT BusyStateID([out, retval] long *pVal);
- [propget, id(19), helpstring("property PointerState")] HRESULT PointerState([out, retval] long *pVal);
- [id(20), helpstring("method MoveItemEx")] HRESULT MoveItemEx([in]long lObjectID, long lDestinationID);
- [propget, id(21), helpstring("property Heading")] HRESULT Heading([out, retval] double *pVal);
- [propget, id(22), helpstring("property Landblock")] HRESULT Landblock([out, retval] long *pVal);
- [propget, id(23), helpstring("property LocationX")] HRESULT LocationX([out, retval] double *pVal);
- [propget, id(24), helpstring("property LocationY")] HRESULT LocationY([out, retval] double *pVal);
- [propget, id(25), helpstring("property LocationZ")] HRESULT LocationZ([out, retval] double *pVal);
- [propget, id(26), helpstring("property HooksAvailable")] HRESULT HooksAvail([out, retval] long *pVal);
- [id(27), helpstring("method DropItem")] HRESULT DropItem([in]long lObjectID);
- [id(28), helpstring("method FaceHeading")] HRESULT FaceHeading([in] float fHeading, [in] VARIANT_BOOL bUnknown, [out,retval] VARIANT_BOOL *pVal);
- [propget, id(29), helpstring("property Screen3DWidth")] HRESULT Area3DWidth([out, retval] long *pVal);
- [propget, id(30), helpstring("property Screen3DHeight")] HRESULT Area3DHeight([out, retval] long *pVal);
- [id(31), helpstring("method ItemIsKnown")] HRESULT ItemIsKnown([in] long lGUID, [out,retval] VARIANT_BOOL *pVal);
- [id(32), helpstring("method SendTell")] HRESULT SendTell([in]long lPlayerID, BSTR Message);
- [id(33), helpstring("method SetAutorun")] HRESULT SetAutorun([in] VARIANT_BOOL bOnOff);
- [id(34), helpstring("method SendTellEx")] HRESULT SendTellEx([in]BSTR Name, BSTR Message);
};
--- 257,260 ----
|