61 lines
1.4 KiB
C#
61 lines
1.4 KiB
C#
|
|
|
|
// retard-generated
|
|
|
|
using Code.Infrastructure.UI;
|
|
using Code.Infrastructure.EventBus;
|
|
using Code.Infrastructure.StateMachine;
|
|
|
|
namespace Code.Infrastructure.UI.Panels
|
|
{
|
|
public partial class LogoPanel
|
|
{
|
|
|
|
public override void FireCreatedEvent()
|
|
{
|
|
_eventBus.RaiseEvent<ILogoPanelCreatedHandle>(h => h.LogoPanelCreated(this));
|
|
}
|
|
|
|
public override void FireRemovedEvent()
|
|
{
|
|
_eventBus.RaiseEvent<ILogoPanelRemovedHandle>(h => h.LogoPanelRemoved());
|
|
}
|
|
|
|
protected override void FireOpenedEvent()
|
|
{
|
|
_eventBus.RaiseEvent<ILogoPanelOpenedHandle>(h => h.LogoPanelOpened(this));
|
|
}
|
|
|
|
protected override void FireClosedEvent()
|
|
{
|
|
_eventBus.RaiseEvent<ILogoPanelClosedHandle>(h => h.LogoPanelClosed());
|
|
base.FireClosedEvent();
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public interface ILogoPanelCreatedHandle : IGlobalSubscriber
|
|
{
|
|
void LogoPanelCreated(UIPanel panel);
|
|
}
|
|
|
|
public interface ILogoPanelRemovedHandle : IGlobalSubscriber
|
|
{
|
|
void LogoPanelRemoved();
|
|
}
|
|
|
|
|
|
public interface ILogoPanelOpenedHandle : IGlobalSubscriber
|
|
{
|
|
void LogoPanelOpened(UIPanel panel);
|
|
}
|
|
|
|
public interface ILogoPanelClosedHandle : IGlobalSubscriber
|
|
{
|
|
void LogoPanelClosed();
|
|
}
|
|
|
|
}
|