convert line ends
[canaan.git] / prj / cam / src / object / propnet.h
blob52a50f35cb78559a2998ae29c645b63ae223be4a
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/object/propnet.h,v 1.1 1998/10/08 16:37:04 MROWLEY Exp $
7 #pragma once
8 #ifndef __PROPNET_H
9 #define __PROPNET_H
11 ////////////////////////////////////////////////////////////
12 // PROPERTY NETWORKING API
15 #undef INTERFACE
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;
38 #endif // __PROPNET_H