CTT/Server/Hotfix/Game/Common/GlobalMethod.cs

29 lines
713 B
C#
Raw Normal View History

2021-04-24 17:39:11 +08:00
using System;
namespace ET
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public class DataTableMethodAttribute: BaseAttribute
{
}
public static class GlobalMethod
{
[DataTableMethod]
public static void StartMainStoryNormalBattle(string[] args)
{
Log.Info("普通主线战斗");
}
[DataTableMethod]
public static void StartMainStoryEliteBattle(string[] args)
{
Log.Info("精英主线战斗");
}
[DataTableMethod]
public static void StartMainStoryBossBattle(string[] args)
{
Log.Info("boss主线战斗");
}
}
}