/// <summary> /// LUA结构支持 /// </summary> /// <returns></returns> public override void GetLuaStruct(StringBuilder code) { base.GetLuaStruct(code); int idx; if (!string.IsNullOrWhiteSpace(Classify)) { code.AppendLine($@"['Classify'] = '{Classify.ToLuaString()}',"); } else { code.AppendLine($@"['Classify'] = nil,"); } }