protected override void DumpMembers(LuaTextWriter output)
 {
     output.Write("Selector=");
     output.WriteStartFunction("language");
     output.Write($"return {string.Join(" or ", Selectors)}\n");
     output.WriteEndFunction();
     output.Write(",\n");
     base.DumpMembers(output);
 }
示例#2
0
 protected override void DumpMembers(LuaTextWriter output)
 {
     output.WriteProperty("Type", Type);
     output.Write("IsValidFollower=");
     output.WriteStartFunction("follower");
     output.Write($"return {string.Join(" or ", FollowerConditions)}\n");
     output.WriteEndFunction();
     output.Write(",\n");
     output.WriteProperty("FollowerLevelAdjustment", FollowerLevelAdjustment);
     base.DumpMembers(output);
 }