首次提交
This commit is contained in:
20
Assets/Plugins/FairyGUI/Scripts/Event/IEventDispatcher.cs
Normal file
20
Assets/Plugins/FairyGUI/Scripts/Event/IEventDispatcher.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace FairyGUI
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public interface IEventDispatcher
|
||||
{
|
||||
void AddEventListener(string strType, EventCallback0 callback);
|
||||
void AddEventListener(string strType, EventCallback1 callback);
|
||||
void RemoveEventListener(string strType, EventCallback0 callback);
|
||||
void RemoveEventListener(string strType, EventCallback1 callback);
|
||||
bool DispatchEvent(EventContext context);
|
||||
bool DispatchEvent(string strType);
|
||||
bool DispatchEvent(string strType, object data);
|
||||
bool DispatchEvent(string strType, object data, object initiator);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user