IEventDispatcher
Namespace:FairyGUI
Source:Assets/Scripts/Event/IEventDispatcher.cs (line 9)
public interface IEventDispatcher
Methods
AddEventListener(string, EventCallback0)
void AddEventListener(string strType, EventCallback0 callback);
| Parameter | Type | Description |
|---|---|---|
strType | string | |
callback | EventCallback0 |
Source:Event/IEventDispatcher.cs (line 11)
AddEventListener(string, EventCallback1)
void AddEventListener(string strType, EventCallback1 callback);
| Parameter | Type | Description |
|---|---|---|
strType | string | |
callback | EventCallback1 |
Source:Event/IEventDispatcher.cs (line 12)
DispatchEvent(EventContext)
bool DispatchEvent(EventContext context);
| Parameter | Type | Description |
|---|---|---|
context | EventContext |
Source:Event/IEventDispatcher.cs (line 15)
DispatchEvent(string)
bool DispatchEvent(string strType);
| Parameter | Type | Description |
|---|---|---|
strType | string |
Source:Event/IEventDispatcher.cs (line 16)
DispatchEvent(string, object)
bool DispatchEvent(string strType, object data);
| Parameter | Type | Description |
|---|---|---|
strType | string | |
data | object |
Source:Event/IEventDispatcher.cs (line 17)
DispatchEvent(string, object, object)
bool DispatchEvent(string strType, object data, object initiator);
| Parameter | Type | Description |
|---|---|---|
strType | string | |
data | object | |
initiator | object |
Source:Event/IEventDispatcher.cs (line 18)
RemoveEventListener(string, EventCallback0)
void RemoveEventListener(string strType, EventCallback0 callback);
| Parameter | Type | Description |
|---|---|---|
strType | string | |
callback | EventCallback0 |
Source:Event/IEventDispatcher.cs (line 13)
RemoveEventListener(string, EventCallback1)
void RemoveEventListener(string strType, EventCallback1 callback);
| Parameter | Type | Description |
|---|---|---|
strType | string | |
callback | EventCallback1 |
Source:Event/IEventDispatcher.cs (line 14)