1
# $Id: KX_NetworkMessageActuator.py,v 1.1 2004/06/02 12:43:26 kester Exp $
2
# Documentation for KX_NetworkMessageActuator
3
from SCA_IActuator import *
5
class KX_NetworkMessageActuator(SCA_IActuator):
9
def setToPropName(name):
11
Messages will only be sent to objects with the given property name.
15
def setSubject(subject):
17
Sets the subject field of the message.
21
def setBodyType(bodytype):
23
Sets the type of body to send.
25
@type bodytype: boolean
26
@param bodytype: True to send the value of a property, False to send the body text.
30
Sets the message body.
33
@param body: if the body type is True, this is the name of the property to send.
34
if the body type is False, this is the text to send.