KX_NetworkMessageSensor(SCA_ISensor)

base class — SCA_ISensor

class bge.types.KX_NetworkMessageSensor(SCA_ISensor)

The Message Sensor logic brick.

Currently only loopback (local) networks are supported.

subject

The subject the sensor is looking for.

Type:string
frameMessageCount

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

Type:integer
subjects

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

Type:list of strings
bodies

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

Type:list of strings