AR_Engine_SDK
Functions | Variables
XEEventReceiver.lua File Reference
类 XEEventReceiver 继承关系图:
Inheritance graph

Functions

function XEEventReceiver new (pEventMgr) end
 
function XEEventReceiver GetReceiverWorld () end
 
function XEEventReceiver SetReceiverWorld (pWorld) end
 
function XEEventReceiver GetReceiverChannel () end
 
function XEEventReceiver RespondOnEvent (pEvent) end
 
function XEEventReceiver RespondOnEventTick (pEvent, fInterval) end
 
function XEEventReceiver SetName (szName) end
 
function XEEventReceiver GetName () end
 

Variables

 XEEventReceiver = {}
 

Function Documentation

◆ GetName()

function XEEventReceiver GetName ( )

获取接收者名称

Returns
string

◆ GetReceiverChannel()

function XEEventReceiver GetReceiverChannel ( )

获取当前接收者所在通道

Returns
string

◆ GetReceiverWorld()

function XEEventReceiver GetReceiverWorld ( )

获取当前接收者所在世界

Returns
XEWorld

◆ new()

function XEEventReceiver new ( pEventMgr  )

XEEventReceiver_new00

Parameters
pEventMgrXEEventManager
Returns
XEEventReceiver

◆ RespondOnEvent()

function XEEventReceiver RespondOnEvent ( pEvent  )

响应事件执行的函数

Parameters
pEventXEEventBase
Returns
void

◆ RespondOnEventTick()

function XEEventReceiver RespondOnEventTick ( pEvent  ,
fInterval   
)

响应事件OnEventTick的函数

Parameters
pEventXEEventBase 响应的事件指针
fIntervalnumber 帧间隔,单位是ms
Returns
void

◆ SetName()

function XEEventReceiver SetName ( szName  )

设置接收者名称

Parameters
szNamestring
Returns
void

◆ SetReceiverWorld()

function XEEventReceiver SetReceiverWorld ( pWorld  )

设置当前接收者所在世界

Parameters
pWorldXEWorld
Returns
void

Variable Documentation

◆ XEEventReceiver