Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / gameengine / Ketsji / KXNetwork / KX_NetworkMessageSensor.h
index d8a0651..ade8769 100644 (file)
@@ -39,6 +39,7 @@ class KX_NetworkMessageSensor : public SCA_ISensor
 {
        // note: Py_Header MUST BE the first listed here
        Py_Header;
+       KX_NetworkEventManager *m_Networkeventmgr;
        NG_NetworkScene        *m_NetworkScene;
 
        // The subject we filter on.
@@ -70,6 +71,14 @@ public:
        /* Python interface -------------------------------------------- */
        /* ------------------------------------------------------------- */
 
+       // Deprecated ----->
+       KX_PYMETHOD_DOC_O(KX_NetworkMessageSensor, SetSubjectFilterText);
+       KX_PYMETHOD_DOC_NOARGS(KX_NetworkMessageSensor, GetFrameMessageCount);
+       KX_PYMETHOD_DOC_NOARGS(KX_NetworkMessageSensor, GetBodies);
+       KX_PYMETHOD_DOC_NOARGS(KX_NetworkMessageSensor, GetSubject);
+       KX_PYMETHOD_DOC_NOARGS(KX_NetworkMessageSensor, GetSubjects);
+       // <-----
+
        /* attributes */
        static PyObject*        pyattr_get_bodies(void* self_v, const KX_PYATTRIBUTE_DEF *attrdef);     
        static PyObject*        pyattr_get_subjects(void* self_v, const KX_PYATTRIBUTE_DEF *attrdef);