Ejemplo n.º 1
0
def sendToEndpoint(endpoint, body):
    remoteCall("EventNotifications.Script.dll", "SendToEndpoint", endpoint, body)
 def OnSessionChanged(self, isRemote, session, change):
     if self.loggedInCharacter != session.charid:
         self.loggedInCharacter = session.charid
         characterName = getCharacterName(session.charid)
         remoteCall("common.script.dll", "LoggedInCharacterChanged", characterName)
Ejemplo n.º 3
0
def send(endpoint, text):
    remoteCall("JabberGateway.Script.dll", "Send", str(endpoint), str(text))
Ejemplo n.º 4
0
def DefineEvent(eventName):
    remoteCall("EventNotifications.Script.dll", "DefineEvent", eventName)
Ejemplo n.º 5
0
def createTable(name, tableDef):
    return remoteCall("Common.Script.dll", "CreateDBTable", name, tableDef, async=True)
Ejemplo n.º 6
0
def query(sql, *args):
    return remoteCall("Common.Script.dll", "ExecuteSQL", sql, *args, async=True)
Ejemplo n.º 7
0
def attachDatabase(filename, attachAs):
    return remoteCall("Common.Script.dll", "AttachDB", filename, attachAs, async=True)
Ejemplo n.º 8
0
def send(endpoint, text):
    remoteCall("JabberGateway.Script.dll", "Send", str(endpoint), str(text))
Ejemplo n.º 9
0
 def OnSessionChanged(self, isRemote, session, change):
     if self.loggedInCharacter != session.charid:
         self.loggedInCharacter = session.charid
         characterName = getCharacterName(session.charid)
         remoteCall("common.script.dll", "LoggedInCharacterChanged",
                    characterName)
Ejemplo n.º 10
0
def sendToEndpoint(endpoint, body):
    remoteCall("EventNotifications.Script.dll", "SendToEndpoint", endpoint,
               body)
Ejemplo n.º 11
0
def DefineEvent(eventName):
    remoteCall("EventNotifications.Script.dll", "DefineEvent", eventName)