Files
BallCrushBest_GP/Assets/Legend/Plugins/FairyGUI/Scripts/Event/IEventDispatcher.cs
T
2026-04-20 12:06:34 +08:00

18 lines
639 B
C#

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);
}
}