32 lines
621 B
C#
32 lines
621 B
C#
|
using ET;
|
||
|
using MongoDB.Bson.Serialization.Attributes;
|
||
|
|
||
|
namespace Cal.DataTable
|
||
|
{
|
||
|
[Config]
|
||
|
public partial class CopyConfigCategory : ACategory<CopyConfig>
|
||
|
{
|
||
|
public static CopyConfigCategory Instance;
|
||
|
public CopyConfigCategory()
|
||
|
{
|
||
|
Instance = this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public partial class CopyConfig:IConfig
|
||
|
{
|
||
|
[BsonId]
|
||
|
public long Id { get; set; }
|
||
|
public string Name;
|
||
|
public string Desc;
|
||
|
public string MethodName;
|
||
|
public string[] MethodParams;
|
||
|
public int NeedEnergy;
|
||
|
public int NeedBossEnergy;
|
||
|
public bool IsPVP;
|
||
|
public bool CanTeam;
|
||
|
public int MinTeamMember;
|
||
|
public string BattleSceneName;
|
||
|
}
|
||
|
}
|