Module KX_NetworkMessageActuator :: Class KX_NetworkMessageActuator

Class KX_NetworkMessageActuator

source code

SCA_ILogicBrick.SCA_ILogicBrick --+    
                                  |    
        SCA_IActuator.SCA_IActuator --+
                                      |
                                     KX_NetworkMessageActuator

Message Actuator

Instance Methods
 
setToPropName(name)
Messages will only be sent to objects with the given property name.
source code
 
setSubject(subject)
Sets the subject field of the message.
source code
 
setBodyType(bodytype)
Sets the type of body to send.
source code
 
setBody(body)
Sets the message body.
source code

Inherited from SCA_ILogicBrick.SCA_ILogicBrick: getExecutePriority, getOwner, setExecutePriority

Method Details

setToPropName(name)

source code 
Messages will only be sent to objects with the given property name.

setSubject(subject)

source code 
Sets the subject field of the message.

setBodyType(bodytype)

source code 
Sets the type of body to send.
Parameters:
  • bodytype (boolean) - True to send the value of a property, False to send the body text.

setBody(body)

source code 
Sets the message body.
Parameters:
  • body (string) - if the body type is True, this is the name of the property to send. if the body type is False, this is the text to send.