mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 03:59:35 +08:00

* 添加SQLite模式 * 将Hashtable转为Dictionary<string, object>,因为它具有性能优势 * 添加GamingRequest用于区分Gaming * 模组中AfterLoad方法现已移动至加载器完全加载完毕后触发 * 删除了服务器对GameModule的加载,现在只会加载GameModuleServer
106 lines
3.3 KiB
C#
106 lines
3.3 KiB
C#
using Milimoe.FunGame.Core.Library.Common.Event;
|
|
|
|
// 模组需要实现什么事件就继承什么接口
|
|
namespace Milimoe.FunGame.Core.Interface
|
|
{
|
|
public interface IGamingConnectEvent
|
|
{
|
|
public void GamingConnectEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingDisconnectEvent
|
|
{
|
|
public void GamingDisconnectEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingReconnectEvent
|
|
{
|
|
public void GamingReconnectEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingBanCharacterEvent
|
|
{
|
|
public void GamingBanCharacterEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingPickCharacterEvent
|
|
{
|
|
public void GamingPickCharacterEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingRandomEvent
|
|
{
|
|
public void GamingRandomEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingRoundEvent
|
|
{
|
|
public void GamingRoundEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingLevelUpEvent
|
|
{
|
|
public void GamingLevelUpEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingMoveEvent
|
|
{
|
|
public void GamingMoveEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingAttackEvent
|
|
{
|
|
public void GamingAttackEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingSkillEvent
|
|
{
|
|
public void GamingSkillEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingItemEvent
|
|
{
|
|
public void GamingItemEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingMagicEvent
|
|
{
|
|
public void GamingMagicEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingBuyEvent
|
|
{
|
|
public void GamingBuyEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingSuperSkillEvent
|
|
{
|
|
public void GamingSuperSkillEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingPauseEvent
|
|
{
|
|
public void GamingPauseEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingUnpauseEvent
|
|
{
|
|
public void GamingUnpauseEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingSurrenderEvent
|
|
{
|
|
public void GamingSurrenderEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingUpdateInfoEvent
|
|
{
|
|
public void GamingUpdateInfoEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
|
|
public interface IGamingPunishEvent
|
|
{
|
|
public void GamingPunishEvent(object sender, GamingEventArgs e, Dictionary<string, object> data);
|
|
}
|
|
}
|