2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
6 // $Header: r:/t2repos/thief2/src/object/propnet.h,v 1.1 1998/10/08 16:37:04 MROWLEY Exp $
11 ////////////////////////////////////////////////////////////
12 // PROPERTY NETWORKING API
16 #define INTERFACE IPropertyNetworking
17 DECLARE_INTERFACE_(IPropertyNetworking
,IUnknown
)
20 // Standard IUnknown Stuff
22 DECLARE_UNKNOWN_PURE();
25 // Send network message regarding a change to this property. If type's
26 // kListenPropRequest bit is set, then this will send a change request of to obj's
27 // host machine, otherwise it will send a broadcast of a change that has happened.
28 // Returns FALSE when it is already processing a receive for this property.
30 STDMETHOD_(BOOL
,SendPropertyMsg
)(ObjID obj
, sDatum value
, ePropertyListenMsg type
) PURE
;
33 // Process an incoming message regarding this property.
35 STDMETHOD_(void,ReceivePropertyMsg
)(const sNetMsg_Generic
*pMsg
, ulong size
, ObjID fromPlayer
) PURE
;