| Home | Trees | Index | Help |
|
|---|
| Module KX_NetworkMessageSensor :: Class KX_NetworkMessageSensor |
|
SCA_ILogicBrick--+ |SCA_ISensor--+ | KX_NetworkMessageSensor
The Message Sensor logic brick.
Currently only loopback (local) networks are supported.| Method Summary | |
|---|---|
| list |
Gets the list of message bodies. |
| integer |
Get the number of messages received since the last frame. |
| string |
Gets the message subject this sensor is listening for from the Subject: field. |
| list |
Gets the list of message subjects received. |
Change the message subject text that this sensor is listening to. | |
| Inherited from SCA_ISensor | |
| integer |
The frequency for pulse mode sensors. |
True if this sensor activates on negative events. | |
True if the sensor is in negative pulse mode. | |
True if the sensor is in positive pulse mode. | |
True if this sensor brick has been activated. | |
Sets the frequency for pulse mode sensors. | |
Sets if this sensor activates on positive or negative events. | |
Sets negative pulse mode. | |
Sets positive pulse mode. | |
| Inherited from SCA_ILogicBrick | |
| integer |
Gets the execution priority of this logic brick. |
KX_GameObject
|
Gets the game object associated with this logic brick. |
Sets the priority of this logic brick. | |
| Method Details |
|---|
getBodies()Gets the list of message bodies.
|
getFrameMessageCount()Get the number of messages received since the last frame.
|
getSubject()Gets the message subject this sensor is listening for from the Subject: field.
|
getSubjects()Gets the list of message subjects received.
|
setSubjectFilterText(subject)Change the message subject text that this sensor is listening to.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Aug 27 21:08:03 2004 | http://epydoc.sf.net |