Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bge.types.KX_NetworkMessageSensor.rst « bge_types « rst « python_api « doc - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a6b1082a4feb73587ebb7c210e9562376af07727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
KX_NetworkMessageSensor(SCA_ISensor)
====================================

.. module:: bge.types

base class --- :class:`SCA_ISensor`

.. class:: KX_NetworkMessageSensor(SCA_ISensor)

   The Message Sensor logic brick.

   Currently only loopback (local) networks are supported.

   .. attribute:: subject

      The subject the sensor is looking for.

      :type: string

   .. attribute:: frameMessageCount

      The number of messages received since the last frame. (read-only).

      :type: integer

   .. attribute:: subjects

      The list of message subjects received. (read-only).

      :type: list of strings

   .. attribute:: bodies

      The list of message bodies received. (read-only).

      :type: list of strings