Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AIMessage Interface Reference

Base class for all messages related to AI. More...

Inheritance diagram for AIMessage:
[legend]

Public Member Functions

proto external void SetFlag (int fl)
 
proto external void ClearFlag (int fl)
 
proto external bool GetFlag (int fl)
 
proto external void SetText (string pText)
 
proto external string GetText ()
 
proto external vector GetPosition ()
 
proto external void SetPosition (vector pos)
 
proto external AIAgent GetSender ()
 sender is filled when broadcasting
 
proto external void SetReceiver (AIAgent pReceiver)
 
proto external AIAgent GetReceiver ()
 
proto external IEntity GetObject ()
 
proto external void SetObject (IEntity obj)
 
void OnBroadcast (AIAgent pOwner)
 
void OnReceived (AIAgent pReceiver)
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Detailed Description

Base class for all messages related to AI.

Member Function Documentation

◆ ClearFlag()

proto external void AIMessage.ClearFlag ( int  fl)

◆ GetFlag()

proto external bool AIMessage.GetFlag ( int  fl)

◆ GetObject()

proto external IEntity AIMessage.GetObject ( )

◆ GetPosition()

proto external vector AIMessage.GetPosition ( )

◆ GetReceiver()

proto external AIAgent AIMessage.GetReceiver ( )

◆ GetSender()

proto external AIAgent AIMessage.GetSender ( )

sender is filled when broadcasting

◆ GetText()

proto external string AIMessage.GetText ( )

◆ OnBroadcast()

void AIMessage.OnBroadcast ( AIAgent  pOwner)

◆ OnReceived()

void AIMessage.OnReceived ( AIAgent  pReceiver)

◆ SetFlag()

proto external void AIMessage.SetFlag ( int  fl)

◆ SetObject()

proto external void AIMessage.SetObject ( IEntity  obj)

◆ SetPosition()

proto external void AIMessage.SetPosition ( vector  pos)

◆ SetReceiver()

proto external void AIMessage.SetReceiver ( AIAgent  pReceiver)

◆ SetText()

proto external void AIMessage.SetText ( string  pText)

The documentation for this interface was generated from the following file: