Merge branch 'master' of gitea.bywaystudios.com:wangshiyao/thrift-related

# Conflicts:
#	binary_output/AllConfigs.bytes
This commit is contained in:
zhengxianxin 2026-04-07 17:24:57 +08:00
commit 4c004eeec7
1151 changed files with 9811 additions and 468 deletions

View File

@ -95,9 +95,9 @@ class IntegratedPipeline:
# Unity 主项目相关路径
if self.main_project_path:
main_root = Path(self.main_project_path)
paths['unity_csharp_dir'] = str(main_root / "Assets" / "Scripts" / "thrift" / "gen-netstd")
paths['unity_bytes_dir'] = str(main_root / "Assets" / "Resources" / "ConfigData")
paths['dr_output_dir'] = str(main_root / "Assets" / "GameMain" / "Scripts" / "DR_Generated")
paths['unity_csharp_dir'] = str(main_root / "Assets" / "Design_SubModule" / "Scripts" / "thrift" / "gen-netstd")
paths['unity_bytes_dir'] = str(main_root / "Assets" / "Design_SubModule" / "ConfigData")
paths['dr_output_dir'] = str(main_root / "Assets" / "Design_SubModule" / "Scripts" / "DR_Generated")
return paths
@ -1123,6 +1123,21 @@ class IntegratedPipeline:
copied_count = 0
copied_files = []
skipped_count = 0
# 获取允许的配置名称列表从config_struct_names
# 为每个配置名生成对应的文件名模式
allowed_files = set()
if hasattr(self, 'config_struct_names'):
for struct_name in self.config_struct_names:
# 每个配置对应3个文件主文件、Item文件、Extensions文件
allowed_files.add(f"{struct_name}.cs")
allowed_files.add(f"{struct_name}Item.cs")
allowed_files.add(f"{struct_name}.Extensions.cs")
# AllConfigs相关文件必须保留
allowed_files.add("AllConfigs.cs")
# AllConfigs.Extensions.cs 已在步骤4删除不应该存在
# C# 文件在 Byway\Thrift\Data 子目录中
csharp_actual_dir = os.path.join(self.csharp_output_dir, 'Byway', 'Thrift', 'Data')
@ -1131,28 +1146,36 @@ class IntegratedPipeline:
self.log(f" 源目录: {csharp_actual_dir}\n")
self.log(f" 目标目录: {unity_target_dir}\n\n")
# 复制所有C#文件AllConfigsExtensions.cs已在步骤4删除
# 只复制cfg_txt.json中定义的配置对应的C#文件
for file in os.listdir(csharp_actual_dir):
if file.endswith('.cs'):
src = os.path.join(csharp_actual_dir, file)
dst = os.path.join(unity_target_dir, file)
shutil.copy2(src, dst)
copied_files.append(file)
copied_count += 1
# 标记文件类型
if file == 'AllConfigs.cs':
self.log(f" [OK] {file} [合并配置类]\n")
elif file.endswith('Item.cs'):
self.log(f" [OK] {file} [Item文件]\n")
elif file.endswith('.Extensions.cs'):
self.log(f" [OK] {file} [Extensions文件]\n")
# 检查文件是否在允许列表中
if file in allowed_files:
src = os.path.join(csharp_actual_dir, file)
dst = os.path.join(unity_target_dir, file)
shutil.copy2(src, dst)
copied_files.append(file)
copied_count += 1
# 标记文件类型
if file == 'AllConfigs.cs':
self.log(f" [OK] {file} [合并配置类]\n")
elif file.endswith('Item.cs'):
self.log(f" [OK] {file} [Item文件]\n")
elif file.endswith('.Extensions.cs'):
self.log(f" [OK] {file} [Extensions文件]\n")
else:
self.log(f" [OK] {file}\n")
else:
self.log(f" [OK] {file}\n")
# 跳过不在配置列表中的文件
skipped_count += 1
else:
self.log(f" [FAIL] 未找到C#文件: {csharp_actual_dir}\n")
if skipped_count > 0:
self.log(f" [INFO] 跳过了 {skipped_count} 个不在配置列表中的文件\n")
self.log(f"\n复制完成: {copied_count} 个 C# 文件\n")
self.add_step_report("复制C#到Unity", "success", {

Binary file not shown.

View File

@ -41,14 +41,14 @@ namespace Byway.Thrift.Data
public partial class GuideDataItem : TBase
{
private int _Id;
private string _targetStr;
private int _fingerType;
private string _title;
private string _titlePos;
private string _expression;
private string _other;
private string _disappear;
private string _remark;
private string _TargetStr;
private int _FingerType;
private string _Title;
private string _TitlePos;
private string _Expression;
private string _Other;
private string _Disappear;
private string _Remark;
[DataMember(Order = 0)]
public int Id
@ -69,12 +69,12 @@ namespace Byway.Thrift.Data
{
get
{
return _targetStr;
return _TargetStr;
}
set
{
__isset.targetStr = true;
this._targetStr = value;
__isset.TargetStr = true;
this._TargetStr = value;
}
}
@ -83,12 +83,12 @@ namespace Byway.Thrift.Data
{
get
{
return _fingerType;
return _FingerType;
}
set
{
__isset.fingerType = true;
this._fingerType = value;
__isset.FingerType = true;
this._FingerType = value;
}
}
@ -97,12 +97,12 @@ namespace Byway.Thrift.Data
{
get
{
return _title;
return _Title;
}
set
{
__isset.@title = true;
this._title = value;
__isset.Title = true;
this._Title = value;
}
}
@ -111,12 +111,12 @@ namespace Byway.Thrift.Data
{
get
{
return _titlePos;
return _TitlePos;
}
set
{
__isset.titlePos = true;
this._titlePos = value;
__isset.TitlePos = true;
this._TitlePos = value;
}
}
@ -125,12 +125,12 @@ namespace Byway.Thrift.Data
{
get
{
return _expression;
return _Expression;
}
set
{
__isset.@expression = true;
this._expression = value;
__isset.Expression = true;
this._Expression = value;
}
}
@ -139,12 +139,12 @@ namespace Byway.Thrift.Data
{
get
{
return _other;
return _Other;
}
set
{
__isset.@other = true;
this._other = value;
__isset.Other = true;
this._Other = value;
}
}
@ -153,12 +153,12 @@ namespace Byway.Thrift.Data
{
get
{
return _disappear;
return _Disappear;
}
set
{
__isset.@disappear = true;
this._disappear = value;
__isset.Disappear = true;
this._Disappear = value;
}
}
@ -167,12 +167,12 @@ namespace Byway.Thrift.Data
{
get
{
return _remark;
return _Remark;
}
set
{
__isset.@remark = true;
this._remark = value;
__isset.Remark = true;
this._Remark = value;
}
}
@ -185,21 +185,21 @@ namespace Byway.Thrift.Data
[DataMember]
public bool Id;
[DataMember]
public bool targetStr;
public bool TargetStr;
[DataMember]
public bool fingerType;
public bool FingerType;
[DataMember]
public bool @title;
public bool Title;
[DataMember]
public bool titlePos;
public bool TitlePos;
[DataMember]
public bool @expression;
public bool Expression;
[DataMember]
public bool @other;
public bool Other;
[DataMember]
public bool @disappear;
public bool Disappear;
[DataMember]
public bool @remark;
public bool Remark;
}
#region XmlSerializer support
@ -211,42 +211,42 @@ namespace Byway.Thrift.Data
public bool ShouldSerializeTargetStr()
{
return __isset.targetStr;
return __isset.TargetStr;
}
public bool ShouldSerializeFingerType()
{
return __isset.fingerType;
return __isset.FingerType;
}
public bool ShouldSerializeTitle()
{
return __isset.@title;
return __isset.Title;
}
public bool ShouldSerializeTitlePos()
{
return __isset.titlePos;
return __isset.TitlePos;
}
public bool ShouldSerializeExpression()
{
return __isset.@expression;
return __isset.Expression;
}
public bool ShouldSerializeOther()
{
return __isset.@other;
return __isset.Other;
}
public bool ShouldSerializeDisappear()
{
return __isset.@disappear;
return __isset.Disappear;
}
public bool ShouldSerializeRemark()
{
return __isset.@remark;
return __isset.Remark;
}
#endregion XmlSerializer support
@ -263,46 +263,46 @@ namespace Byway.Thrift.Data
tmp0.Id = this.Id;
}
tmp0.__isset.Id = this.__isset.Id;
if((TargetStr != null) && __isset.targetStr)
if((TargetStr != null) && __isset.TargetStr)
{
tmp0.TargetStr = this.TargetStr;
}
tmp0.__isset.targetStr = this.__isset.targetStr;
if(__isset.fingerType)
tmp0.__isset.TargetStr = this.__isset.TargetStr;
if(__isset.FingerType)
{
tmp0.FingerType = this.FingerType;
}
tmp0.__isset.fingerType = this.__isset.fingerType;
if((Title != null) && __isset.@title)
tmp0.__isset.FingerType = this.__isset.FingerType;
if((Title != null) && __isset.Title)
{
tmp0.Title = this.Title;
}
tmp0.__isset.@title = this.__isset.@title;
if((TitlePos != null) && __isset.titlePos)
tmp0.__isset.Title = this.__isset.Title;
if((TitlePos != null) && __isset.TitlePos)
{
tmp0.TitlePos = this.TitlePos;
}
tmp0.__isset.titlePos = this.__isset.titlePos;
if((Expression != null) && __isset.@expression)
tmp0.__isset.TitlePos = this.__isset.TitlePos;
if((Expression != null) && __isset.Expression)
{
tmp0.Expression = this.Expression;
}
tmp0.__isset.@expression = this.__isset.@expression;
if((Other != null) && __isset.@other)
tmp0.__isset.Expression = this.__isset.Expression;
if((Other != null) && __isset.Other)
{
tmp0.Other = this.Other;
}
tmp0.__isset.@other = this.__isset.@other;
if((Disappear != null) && __isset.@disappear)
tmp0.__isset.Other = this.__isset.Other;
if((Disappear != null) && __isset.Disappear)
{
tmp0.Disappear = this.Disappear;
}
tmp0.__isset.@disappear = this.__isset.@disappear;
if((Remark != null) && __isset.@remark)
tmp0.__isset.Disappear = this.__isset.Disappear;
if((Remark != null) && __isset.Remark)
{
tmp0.Remark = this.Remark;
}
tmp0.__isset.@remark = this.__isset.@remark;
tmp0.__isset.Remark = this.__isset.Remark;
return tmp0;
}
@ -446,72 +446,72 @@ namespace Byway.Thrift.Data
await oprot.WriteI32Async(Id, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((TargetStr != null) && __isset.targetStr)
if((TargetStr != null) && __isset.TargetStr)
{
tmp2.Name = "targetStr";
tmp2.Name = "TargetStr";
tmp2.Type = TType.String;
tmp2.ID = 2;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteStringAsync(TargetStr, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if(__isset.fingerType)
if(__isset.FingerType)
{
tmp2.Name = "fingerType";
tmp2.Name = "FingerType";
tmp2.Type = TType.I32;
tmp2.ID = 3;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteI32Async(FingerType, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Title != null) && __isset.@title)
if((Title != null) && __isset.Title)
{
tmp2.Name = "title";
tmp2.Name = "Title";
tmp2.Type = TType.String;
tmp2.ID = 4;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteStringAsync(Title, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((TitlePos != null) && __isset.titlePos)
if((TitlePos != null) && __isset.TitlePos)
{
tmp2.Name = "titlePos";
tmp2.Name = "TitlePos";
tmp2.Type = TType.String;
tmp2.ID = 5;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteStringAsync(TitlePos, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Expression != null) && __isset.@expression)
if((Expression != null) && __isset.Expression)
{
tmp2.Name = "expression";
tmp2.Name = "Expression";
tmp2.Type = TType.String;
tmp2.ID = 6;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteStringAsync(Expression, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Other != null) && __isset.@other)
if((Other != null) && __isset.Other)
{
tmp2.Name = "other";
tmp2.Name = "Other";
tmp2.Type = TType.String;
tmp2.ID = 7;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteStringAsync(Other, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Disappear != null) && __isset.@disappear)
if((Disappear != null) && __isset.Disappear)
{
tmp2.Name = "disappear";
tmp2.Name = "Disappear";
tmp2.Type = TType.String;
tmp2.ID = 8;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteStringAsync(Disappear, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
tmp2.Name = "remark";
tmp2.Name = "Remark";
tmp2.Type = TType.String;
tmp2.ID = 9;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
@ -532,14 +532,14 @@ namespace Byway.Thrift.Data
if (!(that is GuideDataItem other)) return false;
if (ReferenceEquals(this, other)) return true;
return ((__isset.Id == other.__isset.Id) && ((!__isset.Id) || (global::System.Object.Equals(Id, other.Id))))
&& ((__isset.targetStr == other.__isset.targetStr) && ((!__isset.targetStr) || (global::System.Object.Equals(TargetStr, other.TargetStr))))
&& ((__isset.fingerType == other.__isset.fingerType) && ((!__isset.fingerType) || (global::System.Object.Equals(FingerType, other.FingerType))))
&& ((__isset.@title == other.__isset.@title) && ((!__isset.@title) || (global::System.Object.Equals(Title, other.Title))))
&& ((__isset.titlePos == other.__isset.titlePos) && ((!__isset.titlePos) || (global::System.Object.Equals(TitlePos, other.TitlePos))))
&& ((__isset.@expression == other.__isset.@expression) && ((!__isset.@expression) || (global::System.Object.Equals(Expression, other.Expression))))
&& ((__isset.@other == other.__isset.@other) && ((!__isset.@other) || (global::System.Object.Equals(Other, other.Other))))
&& ((__isset.@disappear == other.__isset.@disappear) && ((!__isset.@disappear) || (global::System.Object.Equals(Disappear, other.Disappear))))
&& ((__isset.@remark == other.__isset.@remark) && ((!__isset.@remark) || (global::System.Object.Equals(Remark, other.Remark))));
&& ((__isset.TargetStr == other.__isset.TargetStr) && ((!__isset.TargetStr) || (global::System.Object.Equals(TargetStr, other.TargetStr))))
&& ((__isset.FingerType == other.__isset.FingerType) && ((!__isset.FingerType) || (global::System.Object.Equals(FingerType, other.FingerType))))
&& ((__isset.Title == other.__isset.Title) && ((!__isset.Title) || (global::System.Object.Equals(Title, other.Title))))
&& ((__isset.TitlePos == other.__isset.TitlePos) && ((!__isset.TitlePos) || (global::System.Object.Equals(TitlePos, other.TitlePos))))
&& ((__isset.Expression == other.__isset.Expression) && ((!__isset.Expression) || (global::System.Object.Equals(Expression, other.Expression))))
&& ((__isset.Other == other.__isset.Other) && ((!__isset.Other) || (global::System.Object.Equals(Other, other.Other))))
&& ((__isset.Disappear == other.__isset.Disappear) && ((!__isset.Disappear) || (global::System.Object.Equals(Disappear, other.Disappear))))
&& ((__isset.Remark == other.__isset.Remark) && ((!__isset.Remark) || (global::System.Object.Equals(Remark, other.Remark))));
}
public override int GetHashCode() {
@ -549,35 +549,35 @@ namespace Byway.Thrift.Data
{
hashcode = (hashcode * 397) + Id.GetHashCode();
}
if((TargetStr != null) && __isset.targetStr)
if((TargetStr != null) && __isset.TargetStr)
{
hashcode = (hashcode * 397) + TargetStr.GetHashCode();
}
if(__isset.fingerType)
if(__isset.FingerType)
{
hashcode = (hashcode * 397) + FingerType.GetHashCode();
}
if((Title != null) && __isset.@title)
if((Title != null) && __isset.Title)
{
hashcode = (hashcode * 397) + Title.GetHashCode();
}
if((TitlePos != null) && __isset.titlePos)
if((TitlePos != null) && __isset.TitlePos)
{
hashcode = (hashcode * 397) + TitlePos.GetHashCode();
}
if((Expression != null) && __isset.@expression)
if((Expression != null) && __isset.Expression)
{
hashcode = (hashcode * 397) + Expression.GetHashCode();
}
if((Other != null) && __isset.@other)
if((Other != null) && __isset.Other)
{
hashcode = (hashcode * 397) + Other.GetHashCode();
}
if((Disappear != null) && __isset.@disappear)
if((Disappear != null) && __isset.Disappear)
{
hashcode = (hashcode * 397) + Disappear.GetHashCode();
}
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
hashcode = (hashcode * 397) + Remark.GetHashCode();
}
@ -595,49 +595,49 @@ namespace Byway.Thrift.Data
tmp3.Append("Id: ");
Id.ToString(tmp3);
}
if((TargetStr != null) && __isset.targetStr)
if((TargetStr != null) && __isset.TargetStr)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("TargetStr: ");
TargetStr.ToString(tmp3);
}
if(__isset.fingerType)
if(__isset.FingerType)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("FingerType: ");
FingerType.ToString(tmp3);
}
if((Title != null) && __isset.@title)
if((Title != null) && __isset.Title)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Title: ");
Title.ToString(tmp3);
}
if((TitlePos != null) && __isset.titlePos)
if((TitlePos != null) && __isset.TitlePos)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("TitlePos: ");
TitlePos.ToString(tmp3);
}
if((Expression != null) && __isset.@expression)
if((Expression != null) && __isset.Expression)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Expression: ");
Expression.ToString(tmp3);
}
if((Other != null) && __isset.@other)
if((Other != null) && __isset.Other)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Other: ");
Other.ToString(tmp3);
}
if((Disappear != null) && __isset.@disappear)
if((Disappear != null) && __isset.Disappear)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Disappear: ");
Disappear.ToString(tmp3);
}
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Remark: ");

View File

@ -41,10 +41,10 @@ namespace Byway.Thrift.Data
public partial class LanguageDataItem : TBase
{
private int _Id;
private string _key;
private string _en_US;
private string _zh_CN;
private string _pt_BR;
private string _Key;
private string _En_US;
private string _Zh_CN;
private string _Pt_BR;
[DataMember(Order = 0)]
public int Id
@ -65,12 +65,12 @@ namespace Byway.Thrift.Data
{
get
{
return _key;
return _Key;
}
set
{
__isset.@key = true;
this._key = value;
__isset.Key = true;
this._Key = value;
}
}
@ -79,12 +79,12 @@ namespace Byway.Thrift.Data
{
get
{
return _en_US;
return _En_US;
}
set
{
__isset.en_US = true;
this._en_US = value;
__isset.En_US = true;
this._En_US = value;
}
}
@ -93,12 +93,12 @@ namespace Byway.Thrift.Data
{
get
{
return _zh_CN;
return _Zh_CN;
}
set
{
__isset.zh_CN = true;
this._zh_CN = value;
__isset.Zh_CN = true;
this._Zh_CN = value;
}
}
@ -107,12 +107,12 @@ namespace Byway.Thrift.Data
{
get
{
return _pt_BR;
return _Pt_BR;
}
set
{
__isset.pt_BR = true;
this._pt_BR = value;
__isset.Pt_BR = true;
this._Pt_BR = value;
}
}
@ -125,13 +125,13 @@ namespace Byway.Thrift.Data
[DataMember]
public bool Id;
[DataMember]
public bool @key;
public bool Key;
[DataMember]
public bool en_US;
public bool En_US;
[DataMember]
public bool zh_CN;
public bool Zh_CN;
[DataMember]
public bool pt_BR;
public bool Pt_BR;
}
#region XmlSerializer support
@ -143,22 +143,22 @@ namespace Byway.Thrift.Data
public bool ShouldSerializeKey()
{
return __isset.@key;
return __isset.Key;
}
public bool ShouldSerializeEn_US()
{
return __isset.en_US;
return __isset.En_US;
}
public bool ShouldSerializeZh_CN()
{
return __isset.zh_CN;
return __isset.Zh_CN;
}
public bool ShouldSerializePt_BR()
{
return __isset.pt_BR;
return __isset.Pt_BR;
}
#endregion XmlSerializer support
@ -175,26 +175,26 @@ namespace Byway.Thrift.Data
tmp0.Id = this.Id;
}
tmp0.__isset.Id = this.__isset.Id;
if((Key != null) && __isset.@key)
if((Key != null) && __isset.Key)
{
tmp0.Key = this.Key;
}
tmp0.__isset.@key = this.__isset.@key;
if((En_US != null) && __isset.en_US)
tmp0.__isset.Key = this.__isset.Key;
if((En_US != null) && __isset.En_US)
{
tmp0.En_US = this.En_US;
}
tmp0.__isset.en_US = this.__isset.en_US;
if((Zh_CN != null) && __isset.zh_CN)
tmp0.__isset.En_US = this.__isset.En_US;
if((Zh_CN != null) && __isset.Zh_CN)
{
tmp0.Zh_CN = this.Zh_CN;
}
tmp0.__isset.zh_CN = this.__isset.zh_CN;
if((Pt_BR != null) && __isset.pt_BR)
tmp0.__isset.Zh_CN = this.__isset.Zh_CN;
if((Pt_BR != null) && __isset.Pt_BR)
{
tmp0.Pt_BR = this.Pt_BR;
}
tmp0.__isset.pt_BR = this.__isset.pt_BR;
tmp0.__isset.Pt_BR = this.__isset.Pt_BR;
return tmp0;
}
@ -298,36 +298,36 @@ namespace Byway.Thrift.Data
await oprot.WriteI32Async(Id, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Key != null) && __isset.@key)
if((Key != null) && __isset.Key)
{
tmp2.Name = "key";
tmp2.Name = "Key";
tmp2.Type = TType.String;
tmp2.ID = 2;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteStringAsync(Key, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((En_US != null) && __isset.en_US)
if((En_US != null) && __isset.En_US)
{
tmp2.Name = "en_US";
tmp2.Name = "En_US";
tmp2.Type = TType.String;
tmp2.ID = 3;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteStringAsync(En_US, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Zh_CN != null) && __isset.zh_CN)
if((Zh_CN != null) && __isset.Zh_CN)
{
tmp2.Name = "zh_CN";
tmp2.Name = "Zh_CN";
tmp2.Type = TType.String;
tmp2.ID = 4;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteStringAsync(Zh_CN, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Pt_BR != null) && __isset.pt_BR)
if((Pt_BR != null) && __isset.Pt_BR)
{
tmp2.Name = "pt_BR";
tmp2.Name = "Pt_BR";
tmp2.Type = TType.String;
tmp2.ID = 5;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
@ -348,10 +348,10 @@ namespace Byway.Thrift.Data
if (!(that is LanguageDataItem other)) return false;
if (ReferenceEquals(this, other)) return true;
return ((__isset.Id == other.__isset.Id) && ((!__isset.Id) || (global::System.Object.Equals(Id, other.Id))))
&& ((__isset.@key == other.__isset.@key) && ((!__isset.@key) || (global::System.Object.Equals(Key, other.Key))))
&& ((__isset.en_US == other.__isset.en_US) && ((!__isset.en_US) || (global::System.Object.Equals(En_US, other.En_US))))
&& ((__isset.zh_CN == other.__isset.zh_CN) && ((!__isset.zh_CN) || (global::System.Object.Equals(Zh_CN, other.Zh_CN))))
&& ((__isset.pt_BR == other.__isset.pt_BR) && ((!__isset.pt_BR) || (global::System.Object.Equals(Pt_BR, other.Pt_BR))));
&& ((__isset.Key == other.__isset.Key) && ((!__isset.Key) || (global::System.Object.Equals(Key, other.Key))))
&& ((__isset.En_US == other.__isset.En_US) && ((!__isset.En_US) || (global::System.Object.Equals(En_US, other.En_US))))
&& ((__isset.Zh_CN == other.__isset.Zh_CN) && ((!__isset.Zh_CN) || (global::System.Object.Equals(Zh_CN, other.Zh_CN))))
&& ((__isset.Pt_BR == other.__isset.Pt_BR) && ((!__isset.Pt_BR) || (global::System.Object.Equals(Pt_BR, other.Pt_BR))));
}
public override int GetHashCode() {
@ -361,19 +361,19 @@ namespace Byway.Thrift.Data
{
hashcode = (hashcode * 397) + Id.GetHashCode();
}
if((Key != null) && __isset.@key)
if((Key != null) && __isset.Key)
{
hashcode = (hashcode * 397) + Key.GetHashCode();
}
if((En_US != null) && __isset.en_US)
if((En_US != null) && __isset.En_US)
{
hashcode = (hashcode * 397) + En_US.GetHashCode();
}
if((Zh_CN != null) && __isset.zh_CN)
if((Zh_CN != null) && __isset.Zh_CN)
{
hashcode = (hashcode * 397) + Zh_CN.GetHashCode();
}
if((Pt_BR != null) && __isset.pt_BR)
if((Pt_BR != null) && __isset.Pt_BR)
{
hashcode = (hashcode * 397) + Pt_BR.GetHashCode();
}
@ -391,25 +391,25 @@ namespace Byway.Thrift.Data
tmp3.Append("Id: ");
Id.ToString(tmp3);
}
if((Key != null) && __isset.@key)
if((Key != null) && __isset.Key)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Key: ");
Key.ToString(tmp3);
}
if((En_US != null) && __isset.en_US)
if((En_US != null) && __isset.En_US)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("En_US: ");
En_US.ToString(tmp3);
}
if((Zh_CN != null) && __isset.zh_CN)
if((Zh_CN != null) && __isset.Zh_CN)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Zh_CN: ");
Zh_CN.ToString(tmp3);
}
if((Pt_BR != null) && __isset.pt_BR)
if((Pt_BR != null) && __isset.Pt_BR)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Pt_BR: ");

View File

@ -41,7 +41,7 @@ namespace Byway.Thrift.Data
public partial class MultiLanguageResourceItem : TBase
{
private int _Id;
private string _key;
private string _Key;
private string _English;
private string _ChineseSimplified;
@ -64,12 +64,12 @@ namespace Byway.Thrift.Data
{
get
{
return _key;
return _Key;
}
set
{
__isset.@key = true;
this._key = value;
__isset.Key = true;
this._Key = value;
}
}
@ -110,7 +110,7 @@ namespace Byway.Thrift.Data
[DataMember]
public bool Id;
[DataMember]
public bool @key;
public bool Key;
[DataMember]
public bool English;
[DataMember]
@ -126,7 +126,7 @@ namespace Byway.Thrift.Data
public bool ShouldSerializeKey()
{
return __isset.@key;
return __isset.Key;
}
public bool ShouldSerializeEnglish()
@ -153,11 +153,11 @@ namespace Byway.Thrift.Data
tmp0.Id = this.Id;
}
tmp0.__isset.Id = this.__isset.Id;
if((Key != null) && __isset.@key)
if((Key != null) && __isset.Key)
{
tmp0.Key = this.Key;
}
tmp0.__isset.@key = this.__isset.@key;
tmp0.__isset.Key = this.__isset.Key;
if((English != null) && __isset.English)
{
tmp0.English = this.English;
@ -261,9 +261,9 @@ namespace Byway.Thrift.Data
await oprot.WriteI32Async(Id, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Key != null) && __isset.@key)
if((Key != null) && __isset.Key)
{
tmp2.Name = "key";
tmp2.Name = "Key";
tmp2.Type = TType.String;
tmp2.ID = 2;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
@ -302,7 +302,7 @@ namespace Byway.Thrift.Data
if (!(that is MultiLanguageResourceItem other)) return false;
if (ReferenceEquals(this, other)) return true;
return ((__isset.Id == other.__isset.Id) && ((!__isset.Id) || (global::System.Object.Equals(Id, other.Id))))
&& ((__isset.@key == other.__isset.@key) && ((!__isset.@key) || (global::System.Object.Equals(Key, other.Key))))
&& ((__isset.Key == other.__isset.Key) && ((!__isset.Key) || (global::System.Object.Equals(Key, other.Key))))
&& ((__isset.English == other.__isset.English) && ((!__isset.English) || (global::System.Object.Equals(English, other.English))))
&& ((__isset.ChineseSimplified == other.__isset.ChineseSimplified) && ((!__isset.ChineseSimplified) || (global::System.Object.Equals(ChineseSimplified, other.ChineseSimplified))));
}
@ -314,7 +314,7 @@ namespace Byway.Thrift.Data
{
hashcode = (hashcode * 397) + Id.GetHashCode();
}
if((Key != null) && __isset.@key)
if((Key != null) && __isset.Key)
{
hashcode = (hashcode * 397) + Key.GetHashCode();
}
@ -340,7 +340,7 @@ namespace Byway.Thrift.Data
tmp3.Append("Id: ");
Id.ToString(tmp3);
}
if((Key != null) && __isset.@key)
if((Key != null) && __isset.Key)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Key: ");

View File

@ -41,9 +41,9 @@ namespace Byway.Thrift.Data
public partial class RankDataItem : TBase
{
private int _Id;
private int _lv;
private int _exp;
private string _reward;
private int _Lv;
private int _Exp;
private string _Reward;
[DataMember(Order = 0)]
public int Id
@ -64,12 +64,12 @@ namespace Byway.Thrift.Data
{
get
{
return _lv;
return _Lv;
}
set
{
__isset.@lv = true;
this._lv = value;
__isset.Lv = true;
this._Lv = value;
}
}
@ -78,12 +78,12 @@ namespace Byway.Thrift.Data
{
get
{
return _exp;
return _Exp;
}
set
{
__isset.@exp = true;
this._exp = value;
__isset.Exp = true;
this._Exp = value;
}
}
@ -92,12 +92,12 @@ namespace Byway.Thrift.Data
{
get
{
return _reward;
return _Reward;
}
set
{
__isset.@reward = true;
this._reward = value;
__isset.Reward = true;
this._Reward = value;
}
}
@ -110,11 +110,11 @@ namespace Byway.Thrift.Data
[DataMember]
public bool Id;
[DataMember]
public bool @lv;
public bool Lv;
[DataMember]
public bool @exp;
public bool Exp;
[DataMember]
public bool @reward;
public bool Reward;
}
#region XmlSerializer support
@ -126,17 +126,17 @@ namespace Byway.Thrift.Data
public bool ShouldSerializeLv()
{
return __isset.@lv;
return __isset.Lv;
}
public bool ShouldSerializeExp()
{
return __isset.@exp;
return __isset.Exp;
}
public bool ShouldSerializeReward()
{
return __isset.@reward;
return __isset.Reward;
}
#endregion XmlSerializer support
@ -153,21 +153,21 @@ namespace Byway.Thrift.Data
tmp0.Id = this.Id;
}
tmp0.__isset.Id = this.__isset.Id;
if(__isset.@lv)
if(__isset.Lv)
{
tmp0.Lv = this.Lv;
}
tmp0.__isset.@lv = this.__isset.@lv;
if(__isset.@exp)
tmp0.__isset.Lv = this.__isset.Lv;
if(__isset.Exp)
{
tmp0.Exp = this.Exp;
}
tmp0.__isset.@exp = this.__isset.@exp;
if((Reward != null) && __isset.@reward)
tmp0.__isset.Exp = this.__isset.Exp;
if((Reward != null) && __isset.Reward)
{
tmp0.Reward = this.Reward;
}
tmp0.__isset.@reward = this.__isset.@reward;
tmp0.__isset.Reward = this.__isset.Reward;
return tmp0;
}
@ -261,27 +261,27 @@ namespace Byway.Thrift.Data
await oprot.WriteI32Async(Id, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if(__isset.@lv)
if(__isset.Lv)
{
tmp2.Name = "lv";
tmp2.Name = "Lv";
tmp2.Type = TType.I32;
tmp2.ID = 2;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteI32Async(Lv, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if(__isset.@exp)
if(__isset.Exp)
{
tmp2.Name = "exp";
tmp2.Name = "Exp";
tmp2.Type = TType.I32;
tmp2.ID = 3;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteI32Async(Exp, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Reward != null) && __isset.@reward)
if((Reward != null) && __isset.Reward)
{
tmp2.Name = "reward";
tmp2.Name = "Reward";
tmp2.Type = TType.String;
tmp2.ID = 4;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
@ -302,9 +302,9 @@ namespace Byway.Thrift.Data
if (!(that is RankDataItem other)) return false;
if (ReferenceEquals(this, other)) return true;
return ((__isset.Id == other.__isset.Id) && ((!__isset.Id) || (global::System.Object.Equals(Id, other.Id))))
&& ((__isset.@lv == other.__isset.@lv) && ((!__isset.@lv) || (global::System.Object.Equals(Lv, other.Lv))))
&& ((__isset.@exp == other.__isset.@exp) && ((!__isset.@exp) || (global::System.Object.Equals(Exp, other.Exp))))
&& ((__isset.@reward == other.__isset.@reward) && ((!__isset.@reward) || (global::System.Object.Equals(Reward, other.Reward))));
&& ((__isset.Lv == other.__isset.Lv) && ((!__isset.Lv) || (global::System.Object.Equals(Lv, other.Lv))))
&& ((__isset.Exp == other.__isset.Exp) && ((!__isset.Exp) || (global::System.Object.Equals(Exp, other.Exp))))
&& ((__isset.Reward == other.__isset.Reward) && ((!__isset.Reward) || (global::System.Object.Equals(Reward, other.Reward))));
}
public override int GetHashCode() {
@ -314,15 +314,15 @@ namespace Byway.Thrift.Data
{
hashcode = (hashcode * 397) + Id.GetHashCode();
}
if(__isset.@lv)
if(__isset.Lv)
{
hashcode = (hashcode * 397) + Lv.GetHashCode();
}
if(__isset.@exp)
if(__isset.Exp)
{
hashcode = (hashcode * 397) + Exp.GetHashCode();
}
if((Reward != null) && __isset.@reward)
if((Reward != null) && __isset.Reward)
{
hashcode = (hashcode * 397) + Reward.GetHashCode();
}
@ -340,19 +340,19 @@ namespace Byway.Thrift.Data
tmp3.Append("Id: ");
Id.ToString(tmp3);
}
if(__isset.@lv)
if(__isset.Lv)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Lv: ");
Lv.ToString(tmp3);
}
if(__isset.@exp)
if(__isset.Exp)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Exp: ");
Exp.ToString(tmp3);
}
if((Reward != null) && __isset.@reward)
if((Reward != null) && __isset.Reward)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Reward: ");

View File

@ -46,7 +46,7 @@ namespace Byway.Thrift.Data
private int _Line;
private int _Lock;
private int _UnlockLv;
private string _remark;
private string _Remark;
[DataMember(Order = 0)]
public int Id
@ -137,12 +137,12 @@ namespace Byway.Thrift.Data
{
get
{
return _remark;
return _Remark;
}
set
{
__isset.@remark = true;
this._remark = value;
__isset.Remark = true;
this._Remark = value;
}
}
@ -165,7 +165,7 @@ namespace Byway.Thrift.Data
[DataMember]
public bool UnlockLv;
[DataMember]
public bool @remark;
public bool Remark;
}
#region XmlSerializer support
@ -202,7 +202,7 @@ namespace Byway.Thrift.Data
public bool ShouldSerializeRemark()
{
return __isset.@remark;
return __isset.Remark;
}
#endregion XmlSerializer support
@ -244,11 +244,11 @@ namespace Byway.Thrift.Data
tmp0.UnlockLv = this.UnlockLv;
}
tmp0.__isset.UnlockLv = this.__isset.UnlockLv;
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
tmp0.Remark = this.Remark;
}
tmp0.__isset.@remark = this.__isset.@remark;
tmp0.__isset.Remark = this.__isset.Remark;
return tmp0;
}
@ -417,9 +417,9 @@ namespace Byway.Thrift.Data
await oprot.WriteI32Async(UnlockLv, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
tmp2.Name = "remark";
tmp2.Name = "Remark";
tmp2.Type = TType.String;
tmp2.ID = 7;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
@ -445,7 +445,7 @@ namespace Byway.Thrift.Data
&& ((__isset.Line == other.__isset.Line) && ((!__isset.Line) || (global::System.Object.Equals(Line, other.Line))))
&& ((__isset.@Lock == other.__isset.@Lock) && ((!__isset.@Lock) || (global::System.Object.Equals(Lock, other.Lock))))
&& ((__isset.UnlockLv == other.__isset.UnlockLv) && ((!__isset.UnlockLv) || (global::System.Object.Equals(UnlockLv, other.UnlockLv))))
&& ((__isset.@remark == other.__isset.@remark) && ((!__isset.@remark) || (global::System.Object.Equals(Remark, other.Remark))));
&& ((__isset.Remark == other.__isset.Remark) && ((!__isset.Remark) || (global::System.Object.Equals(Remark, other.Remark))));
}
public override int GetHashCode() {
@ -475,7 +475,7 @@ namespace Byway.Thrift.Data
{
hashcode = (hashcode * 397) + UnlockLv.GetHashCode();
}
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
hashcode = (hashcode * 397) + Remark.GetHashCode();
}
@ -523,7 +523,7 @@ namespace Byway.Thrift.Data
tmp3.Append("UnlockLv: ");
UnlockLv.ToString(tmp3);
}
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Remark: ");

View File

@ -41,8 +41,8 @@ namespace Byway.Thrift.Data
public partial class StartOrderItem : TBase
{
private int _Id;
private string _merge_id_list;
private int _fillCount;
private string _Merge_id_list;
private int _FillCount;
private string _Break;
[DataMember(Order = 0)]
@ -64,12 +64,12 @@ namespace Byway.Thrift.Data
{
get
{
return _merge_id_list;
return _Merge_id_list;
}
set
{
__isset.merge_id_list = true;
this._merge_id_list = value;
__isset.Merge_id_list = true;
this._Merge_id_list = value;
}
}
@ -78,12 +78,12 @@ namespace Byway.Thrift.Data
{
get
{
return _fillCount;
return _FillCount;
}
set
{
__isset.fillCount = true;
this._fillCount = value;
__isset.FillCount = true;
this._FillCount = value;
}
}
@ -110,9 +110,9 @@ namespace Byway.Thrift.Data
[DataMember]
public bool Id;
[DataMember]
public bool merge_id_list;
public bool Merge_id_list;
[DataMember]
public bool fillCount;
public bool FillCount;
[DataMember]
public bool @Break;
}
@ -126,12 +126,12 @@ namespace Byway.Thrift.Data
public bool ShouldSerializeMerge_id_list()
{
return __isset.merge_id_list;
return __isset.Merge_id_list;
}
public bool ShouldSerializeFillCount()
{
return __isset.fillCount;
return __isset.FillCount;
}
public bool ShouldSerializeBreak()
@ -153,16 +153,16 @@ namespace Byway.Thrift.Data
tmp0.Id = this.Id;
}
tmp0.__isset.Id = this.__isset.Id;
if((Merge_id_list != null) && __isset.merge_id_list)
if((Merge_id_list != null) && __isset.Merge_id_list)
{
tmp0.Merge_id_list = this.Merge_id_list;
}
tmp0.__isset.merge_id_list = this.__isset.merge_id_list;
if(__isset.fillCount)
tmp0.__isset.Merge_id_list = this.__isset.Merge_id_list;
if(__isset.FillCount)
{
tmp0.FillCount = this.FillCount;
}
tmp0.__isset.fillCount = this.__isset.fillCount;
tmp0.__isset.FillCount = this.__isset.FillCount;
if((Break != null) && __isset.@Break)
{
tmp0.Break = this.Break;
@ -261,18 +261,18 @@ namespace Byway.Thrift.Data
await oprot.WriteI32Async(Id, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Merge_id_list != null) && __isset.merge_id_list)
if((Merge_id_list != null) && __isset.Merge_id_list)
{
tmp2.Name = "merge_id_list";
tmp2.Name = "Merge_id_list";
tmp2.Type = TType.String;
tmp2.ID = 2;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
await oprot.WriteStringAsync(Merge_id_list, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if(__isset.fillCount)
if(__isset.FillCount)
{
tmp2.Name = "fillCount";
tmp2.Name = "FillCount";
tmp2.Type = TType.I32;
tmp2.ID = 3;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
@ -302,8 +302,8 @@ namespace Byway.Thrift.Data
if (!(that is StartOrderItem other)) return false;
if (ReferenceEquals(this, other)) return true;
return ((__isset.Id == other.__isset.Id) && ((!__isset.Id) || (global::System.Object.Equals(Id, other.Id))))
&& ((__isset.merge_id_list == other.__isset.merge_id_list) && ((!__isset.merge_id_list) || (global::System.Object.Equals(Merge_id_list, other.Merge_id_list))))
&& ((__isset.fillCount == other.__isset.fillCount) && ((!__isset.fillCount) || (global::System.Object.Equals(FillCount, other.FillCount))))
&& ((__isset.Merge_id_list == other.__isset.Merge_id_list) && ((!__isset.Merge_id_list) || (global::System.Object.Equals(Merge_id_list, other.Merge_id_list))))
&& ((__isset.FillCount == other.__isset.FillCount) && ((!__isset.FillCount) || (global::System.Object.Equals(FillCount, other.FillCount))))
&& ((__isset.@Break == other.__isset.@Break) && ((!__isset.@Break) || (global::System.Object.Equals(Break, other.Break))));
}
@ -314,11 +314,11 @@ namespace Byway.Thrift.Data
{
hashcode = (hashcode * 397) + Id.GetHashCode();
}
if((Merge_id_list != null) && __isset.merge_id_list)
if((Merge_id_list != null) && __isset.Merge_id_list)
{
hashcode = (hashcode * 397) + Merge_id_list.GetHashCode();
}
if(__isset.fillCount)
if(__isset.FillCount)
{
hashcode = (hashcode * 397) + FillCount.GetHashCode();
}
@ -340,13 +340,13 @@ namespace Byway.Thrift.Data
tmp3.Append("Id: ");
Id.ToString(tmp3);
}
if((Merge_id_list != null) && __isset.merge_id_list)
if((Merge_id_list != null) && __isset.Merge_id_list)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Merge_id_list: ");
Merge_id_list.ToString(tmp3);
}
if(__isset.fillCount)
if(__isset.FillCount)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("FillCount: ");

View File

@ -45,7 +45,7 @@ namespace Byway.Thrift.Data
private int _Row;
private int _Line;
private int _Lock;
private string _remark;
private string _Remark;
[DataMember(Order = 0)]
public int Id
@ -122,12 +122,12 @@ namespace Byway.Thrift.Data
{
get
{
return _remark;
return _Remark;
}
set
{
__isset.@remark = true;
this._remark = value;
__isset.Remark = true;
this._Remark = value;
}
}
@ -148,7 +148,7 @@ namespace Byway.Thrift.Data
[DataMember]
public bool @Lock;
[DataMember]
public bool @remark;
public bool Remark;
}
#region XmlSerializer support
@ -180,7 +180,7 @@ namespace Byway.Thrift.Data
public bool ShouldSerializeRemark()
{
return __isset.@remark;
return __isset.Remark;
}
#endregion XmlSerializer support
@ -217,11 +217,11 @@ namespace Byway.Thrift.Data
tmp0.Lock = this.Lock;
}
tmp0.__isset.@Lock = this.__isset.@Lock;
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
tmp0.Remark = this.Remark;
}
tmp0.__isset.@remark = this.__isset.@remark;
tmp0.__isset.Remark = this.__isset.Remark;
return tmp0;
}
@ -371,9 +371,9 @@ namespace Byway.Thrift.Data
await oprot.WriteI32Async(Lock, cancellationToken);
await oprot.WriteFieldEndAsync(cancellationToken);
}
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
tmp2.Name = "remark";
tmp2.Name = "Remark";
tmp2.Type = TType.String;
tmp2.ID = 6;
await oprot.WriteFieldBeginAsync(tmp2, cancellationToken);
@ -398,7 +398,7 @@ namespace Byway.Thrift.Data
&& ((__isset.Row == other.__isset.Row) && ((!__isset.Row) || (global::System.Object.Equals(Row, other.Row))))
&& ((__isset.Line == other.__isset.Line) && ((!__isset.Line) || (global::System.Object.Equals(Line, other.Line))))
&& ((__isset.@Lock == other.__isset.@Lock) && ((!__isset.@Lock) || (global::System.Object.Equals(Lock, other.Lock))))
&& ((__isset.@remark == other.__isset.@remark) && ((!__isset.@remark) || (global::System.Object.Equals(Remark, other.Remark))));
&& ((__isset.Remark == other.__isset.Remark) && ((!__isset.Remark) || (global::System.Object.Equals(Remark, other.Remark))));
}
public override int GetHashCode() {
@ -424,7 +424,7 @@ namespace Byway.Thrift.Data
{
hashcode = (hashcode * 397) + Lock.GetHashCode();
}
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
hashcode = (hashcode * 397) + Remark.GetHashCode();
}
@ -466,7 +466,7 @@ namespace Byway.Thrift.Data
tmp3.Append("Lock: ");
Lock.ToString(tmp3);
}
if((Remark != null) && __isset.@remark)
if((Remark != null) && __isset.Remark)
{
if(0 < tmp4++) { tmp3.Append(", "); }
tmp3.Append("Remark: ");

View File

@ -1,6 +1,9 @@
@echo off
if not exist generated md generated
if exist generated\meowment rd /s /q generated\meowment
if exist generated\meowment-network rd /s /q generated\meowment-network
md generated\meowment
for %%i in (thrift-files/meowment/*.thrift) do .\compiler\exe\thrift.exe -o .\generated\meowment -strict -v -r --gen netstd:unity,serial,async_postfix .\thrift-files\meowment\%%i
md generated\meowment-network
for %%i in (thrift-files/meowment/*.thrift) do .\compiler\exe\thrift.exe -o .\generated\meowment -strict -r --gen netstd:unity,serial,async_postfix .\thrift-files\meowment\%%i
for %%i in (thrift-files/meowment-network/*.thrift) do .\compiler\exe\thrift.exe -o .\generated\meowment-network -strict -r --gen netstd:no_deepcopy,unity,serial,async_postfix .\thrift-files\meowment-network\%%i
pause

View File

@ -0,0 +1,17 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum ACTIVITY_TYPE {
DEFAULT_TYPE = 0;
ACT_TYPE_MINING = 1;
ACT_TYPE_GUESS_COLOR = 2;
ACT_TYPE_RACE = 3;
ACT_TYPE_DISCOUNT_GIFT = 4;
ACT_TYPE_ADD_GIFT = 5;
ACT_TYPE_SUPER_GIFT = 6;
ACT_TYPE_CATNIP = 7;
ACT_TYPE_PASS = 8;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ActLog {
int32 Type = 1;
int64 Time = 2;
string Param = 3;
}

View File

@ -0,0 +1,32 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum ActLogType {
ACT_LOG_TYPE_NONE = 0;
ACT_LOG_TYPE_FIRST_LOGIN = 1;
ACT_LOG_TYPE_COMPLETE_RESTROOM = 2;
ACT_LOG_TYPE_COMPLETE_RESTAURANT = 3;
ACT_LOG_TYPE_COMPLETE_BATHROOM = 4;
ACT_LOG_TYPE_COMPLETE_CLOAKROOM = 5;
ACT_LOG_TYPE_GET_NEW_AVATAR = 6;
ACT_LOG_TYPE_GET_NEW_AVATAR_FRAME = 7;
ACT_LOG_TYPE_GET_NEW_EMOTION = 8;
ACT_LOG_TYPE_GET_NEW_DECORATION = 9;
ACT_LOG_TYPE_GET_NEW_COSTUME = 10;
ACT_LOG_TYPE_COMPLETE_CARD_ALBUM = 11;
ACT_LOG_TYPE_COMPLETE_ALL_CARDS = 12;
ACT_LOG_TYPE_GET_CHAMPIONSHIP_RANK = 13;
ACT_LOG_TYPE_GET_CHAMPIONSHIP_PRIZE = 14;
ACT_LOG_TYPE_GET_LIMITED_ACTIVITY_PRIZE = 15;
ACT_LOG_TYPE_JOIN_FRIEND_COOP_ACTIVITY = 16;
ACT_LOG_TYPE_GET_VISIT_GAME_PRIZE = 17;
ACT_LOG_TYPE_GET_VISIT_GAME_PRIZE_1 = 18;
ACT_LOG_TYPE_OPEN_PET_TREASURE = 19;
ACT_LOG_TYPE_VISIT_UPVOTE = 20;
ACT_LOG_TYPE_COMPLETE_HANDBOOK_ACHIEVEMENT = 21;
ACT_LOG_TYPE_COMPLETE_CHAPTER_SCENES = 22;
ACT_LOG_TYPE_LOST_USER_RETURN = 23;
}

View File

@ -0,0 +1,18 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ActivityCfg{
int32 Id = 1;
int32 Type = 2;
int64 Starttime = 3;
int64 Endtime = 4;
int32 Level = 5;
string Title = 6;
string MailTitle = 7;
string MailContent = 8;
string RewardItem = 9;
string Extra = 10;
}

View File

@ -0,0 +1,15 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ActivityInfo{
int32 Id = 1;
int32 Type = 2;
int32 StartTime = 3;
int32 EndTime = 4;
int32 Status = 5;
string Title = 6;
int32 Red = 7;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ActivityInfo.proto";
message ActivityNotify {
ActivityInfo Info = 1;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message AdItem {
int32 Watch = 1;
int32 LastWatch = 2;
int32 ItemId = 3;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message AdminReq{
string Func = 1;
bytes Info = 2;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message AdminRes{
string Func = 1;
string Info = 2;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message AvatarInfo{
int32 Id = 1;
int64 EndTime = 2;
int64 AddTime = 3;
}

View File

@ -0,0 +1,15 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "LANG_TYPE.proto";
message BaseInfo {
int32 EnergyMul = 1;
bool IsFirstBuy = 2;
int32 EnergyBuy = 3;
int32 EnergyAD = 4;
LANG_TYPE Lang = 5;
}

View File

@ -0,0 +1,15 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum CHESS_EX_TYPE {
CHESS_EX_NONE = 0;
CHESS_EX_BUBBLE = 1;
CHESS_EX_BOX = 2;
CHESS_EX_QUICK_BUY = 3;
CHESS_EX_EVENT = 4;
CHESS_EX_EVENT_LITTLE_APPRENTICE = 5;
CHESS_EX_EMIT_ROLLBACK = 6;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message Card {
int32 Id = 1;
int32 Count = 2;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message CardPack{
int32 Id = 1;
repeated int32 Card = 2;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "CatReturnGiftCfgReward.proto";
message CatReturnGiftCfg{
int32 Skin = 1;
int32 Prob = 2;
repeated CatReturnGiftCfgReward RewardList = 3;
int32 ClearTime = 4;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
message CatReturnGiftCfgReward{
int32 Id = 1;
int32 Score = 2;
repeated ItemInfo Reward = 3;
}

View File

@ -0,0 +1,18 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ResPlayerSimple.proto";
message CatnipGame{
int32 Id = 1;
int32 Status = 2;
int32 Progress = 3;
repeated int32 Reward = 4;
ResPlayerSimple Partner = 5;
int32 Emoji = 6;
int32 SendEmoji = 7;
int32 FriendProgress = 8;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ResPlayerSimple.proto";
message CatnipInvite{
int64 Uid = 1;
int64 Time = 2;
int32 Type = 3;
ResPlayerSimple Player = 4;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ChessBagGrid.proto";
message ChessBag{
repeated ChessBagGrid ChessBagGrids = 1;
int32 ChessBuyCnt = 2;
int32 ChessFreeCnt = 3;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ChessBagGrid{
int32 Id = 1;
int32 ChessId = 2;
int32 EmitId = 3;
}

View File

@ -0,0 +1,15 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "HANDLE_TYPE.proto";
message ChessHandle{
HANDLE_TYPE type = 1;
int32 Emit = 2;
int32 ChessId = 3;
int32 Id = 4;
repeated int32 ActType = 5;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ChipInfo {
int64 Uid = 1;
int32 EmojiId = 2;
}

View File

@ -0,0 +1,15 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ClientReq{
string func = 1;
string cid = 2;
bytes info = 3;
string sessionId = 4;
string gatewayId = 5;
string userId = 6;
string userBase = 7;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ClientRes{
string func = 1;
string cid = 2;
bytes info = 3;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
message CollectItem{
int32 Id = 1;
repeated ItemInfo Items = 2;
}

View File

@ -0,0 +1,17 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
import "QuestProgress.proto";
message DailyTask{
int32 Status = 1;
bool UnLock = 2;
QuestProgress Progress = 3;
repeated ItemInfo Items = 4;
int32 Id = 5;
int32 Index = 6;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
message DailyWeek{
repeated ItemInfo Items = 1;
bool Status = 2;
int32 NeedActive = 3;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
message DecoratePart{
int32 Id = 1;
repeated ItemInfo Items = 2;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message EmojiInfo{
int32 Id = 1;
int64 EndTime = 2;
int64 AddTime = 3;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum FRIEND_REPLY_HANDLE_ERR_TYPE{
NONE = 0;
CATNIP = 1;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum FRIEND_REPLY_TYPE {
FRIEND_REPLY_TYPE_NONE = 0;
FRIEND_REPLY_TYPE_GREET = 1;
FRIEND_REPLY_TYPE_RETURN_GREET = 2;
REPLY_TYPE_CATNIP = 3;
REPLY_TYPE_CATNIP_ITEMS = 4;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message FaceInfo{
int32 Id = 1;
int64 EndTime = 2;
int64 AddTime = 3;
}

View File

@ -0,0 +1,7 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ForceKickOut{}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
message FriendBubbleInfo{
int32 Id = 1;
int32 Type = 2;
repeated ItemInfo Items = 3;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message FriendRoom{
int64 Uid = 1;
string Name = 2;
int32 Face = 3;
int32 Avatar = 4;
int32 Times = 5;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message GuessColorInfo{
map<int32, int32> Map = 1;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "QuestProgress.proto";
message GuideTask{
int32 Status = 1;
QuestProgress Progress = 2;
int32 Id = 3;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum HANDLE_TYPE {
ADD = 0;
COMPOSE = 1;
BUY = 2;
SELL = 3;
REMOVE = 4;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "HandbookInfo.proto";
message Handbook {
repeated HandbookInfo Handbooks = 1;
repeated string Collect = 2;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message HandbookInfo {
int32 ChessId = 1;
int32 Status = 2;
}

View File

@ -0,0 +1,90 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum ITEM_POP_LABEL {
Playroom = 0;
PiggyBank = 1;
Charge = 2;
Endless = 3;
LevUpReward = 4;
HandleChess = 5;
HandbookReward = 6;
OrderReward = 7;
DecorateCost = 8;
DecorateAdd = 9;
BuyChessBagGrid = 10;
ChessEx = 11;
CardCollectReward = 12;
ExStarReward = 13;
AllCollectReward = 14;
GuideReward = 15;
DailyTaskReward = 16;
DailyWeekReward = 17;
BuyEnergy = 18;
SevenLoginRewardLabel = 19;
MonthLoginReward = 20;
FastProduceReward = 21;
LimitSenceReward = 22;
MailReward = 23;
FreeShop = 24;
ChessShop = 25;
RefreshChessShop = 26;
EndlessReward = 27;
PiggyBankReward = 28;
ChampshipReward = 29;
LimitEventReward = 30;
ChampshipRankReward = 31;
invite = 32;
SelectLimitEvent = 33;
MiningTake = 34;
MiningReward = 35;
GuessColor = 36;
GuessColorReward = 37;
RaceReward = 38;
PlayroomGame = 39;
PlayroomDraw = 40;
PlayroomChip = 41;
PlayroomFlip = 42;
FriendtreasureFilp = 43;
FriendtreasureEnd = 44;
GM = 45;
Friendtreasure = 46;
CardHandbookReward = 47;
LimitEventChestRain = 48;
GetEnergyByAD = 49;
SourceChest = 50;
PlayroomBuyItem = 51;
CardSeasonFirstReward = 52;
AllCollectRewardHB = 53;
PlayroomShop = 54;
HandbookAllReward = 55;
TLUpvote = 56;
Collect = 57;
ActivityGift = 58;
ActivityReward = 59;
CatTrickReward = 60;
AddWish = 61;
GetWish = 62;
PlayroomTask = 63;
PlayroomTaskReward = 64;
PlayroomUpvote = 65;
DecorateReward = 66;
CatnipReward = 67;
CatnipGrandReward = 68;
CatnipPlay = 69;
FriendTReward = 70;
PetTheif = 71;
GuideTaskReward = 72;
GuideActiveReward = 73;
PassCharge = 74;
ActPassReward = 75;
FriendReplyHandle = 76;
GetChessRetireReward = 77;
ApplyFriendSponsor = 78;
PetFurShop = 79;
ActTypeAddGift = 80;
CatReturnGiftReward = 81;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum ITEM_TYPE {
ENERGY = 0;
STAR = 1;
DIAMOND = 2;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ItemInfo{
int32 Id = 1;
int32 Num = 2;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
message ItemList{
repeated ItemInfo List = 1;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ItemNotify{
map<int32, int32> Item = 1;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum LANG_TYPE {
LANG_CN = 0;
LANG_EN = 1;
LANG_PTBR = 2;
LANG_ES_LATAM = 3;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum LOGIN_TYPE {
ACCOUNT_LOGIN = 0;
CODE_LOGIN = 1;
DEVICE_LOGIN = 2;
SDK_LOGIN = 3;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message LimitEvent {
int32 EndTime = 1;
int32 Cd = 2;
float mul = 3;
int32 StartTime = 4;
map<string, int32> Param = 5;
int32 ShowTime = 6;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message LimitEventNotify {
int32 Id = 1;
int32 Type = 2;
int32 EndTime = 3;
int32 Cd = 4;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum LimitEventParam{
LEP_NONE = 0;
CAT_TRICK_ENERGY = 1;
CAT_TRICK_TYPE = 2;
PAYBACK_DAY_COUNT = 3;
LUCKY_CAT_EARNINGS = 4;
SENCE_DASH_TIMES = 5;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message LogoutPetWork{
int64 WorkTime = 1;
int64 RemainTime = 2;
}

View File

@ -0,0 +1,27 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
message MailInfo{
int32 Id = 1;
string Title = 2;
string Content = 3;
int32 Time = 4;
int32 Status = 5;
repeated ItemInfo Items = 6;
int32 Type = 7;
string TitleEn = 8;
string ContentEn = 9;
string SubTitle = 10;
string SubTitleEn = 11;
string TitlePtBr = 12;
string ContentPtBr = 13;
string SubTitlePtBr = 14;
string TitleEsLa = 15;
string SubTitleEsLa = 16;
string ContentEsLa = 17;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "MailInfo.proto";
message MailNotify {
MailInfo Info = 1;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message MinigCfgGem{
string Area = 1;
}

View File

@ -0,0 +1,21 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
import "MinigCfgGem.proto";
import "MiningCfgJackpot.proto";
import "MiningCfgPass.proto";
message MiningCfg{
string Name = 1;
int32 PassNum = 2;
repeated ItemInfo itemCost = 3;
int32 ItemId = 4;
int32 startItemnum = 5;
map<string, MinigCfgGem> Gem = 6;
map<string, MiningCfgJackpot> Jackpot = 7;
map<string, MiningCfgPass> Pass = 8;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
message MiningCfgJackpot{
int32 Prob = 1;
repeated ItemInfo Items = 2;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
message MiningCfgPass{
repeated ItemInfo Items = 1;
string Area = 2;
int32 Gem = 3;
int32 StarReward = 4;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message NofiPlayroomStatus{
int32 WorkOutline = 1;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message NotifyActRed{
int32 Id = 1;
int32 Red = 2;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message NotifyAddEnergy{
int64 dwUin = 1;
int32 addCnt = 2;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ResFriendCard.proto";
message NotifyFriendCard{
ResFriendCard Info = 1;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "FriendBubbleInfo.proto";
import "ResFriendLog.proto";
message NotifyFriendLog{
ResFriendLog info = 1;
FriendBubbleInfo Bubble = 2;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message NotifyInvitedSuccess{
int32 ResultCode = 1;
repeated int32 IdLists = 2;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ResPlayerSimple.proto";
message NotifyPlayroomBroken{
ResPlayerSimple Player = 1;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message NotifyPlayroomKiss{
int32 Kiss = 1;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ChipInfo.proto";
import "ItemInfo.proto";
message NotifyPlayroomLose{
repeated ItemInfo LoseItem = 1;
repeated ChipInfo Chip = 2;
int64 Revenge = 3;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "AdItem.proto";
message NotifyPlayroomMood{
int32 AllMood = 1;
map<int32, int32> Mood = 2;
map<int32, int32> Physiology = 3;
repeated AdItem AdItem = 4;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "DailyTask.proto";
message NotifyPlayroomTask{
repeated DailyTask DailyTask = 1;
repeated int32 DailyTaskReward = 2;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message NotifyPlayroomWork{
int32 StartTime = 1;
int32 WorkStatus = 2;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message NotifyRenewBuyEnergyCnt{
int64 dwUin = 1;
int32 CurCnt = 2;
}

View File

@ -0,0 +1,23 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum ORDER_TYPE {
ORDER_TYPE_DEFAULT = 0;
Common_type = 1;
Extra_type = 2;
Super_type = 3;
Preheat_type = 4;
Trigger_type = 5;
Clean_type = 6;
Clean_Order_type = 7;
Clean_type2 = 8;
COMFORT_TYPE = 9;
Guide_type = 10;
Pet_type = 11;
Preview_type = 12;
Fixed_type = 13;
Playroom_type = 14;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ItemInfo.proto";
message Order{
int32 Id = 1;
repeated int32 ChessId = 2;
int32 type = 3;
repeated ItemInfo Items = 4;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "PartBagGrid.proto";
message PartBag{
repeated PartBagGrid PartBagGrids = 1;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message PartBagGrid{
int32 PartId = 1;
int32 Count = 2;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message PlayroomAirInfo{
int32 Id = 1;
int64 EndTime = 2;
int64 AddTime = 3;
string Label = 4;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message PlayroomCollectInfo{
int32 Id = 1;
int64 EndTime = 2;
int64 AddTime = 3;
string Label = 4;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "PlayroomDressInfo.proto";
message PlayroomDress{
repeated PlayroomDressInfo List = 1;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message PlayroomDressInfo{
int32 Id = 1;
int64 EndTime = 2;
int64 AddTime = 3;
string Label = 4;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message QuestProgress{
string Label = 1;
int32 Num = 2;
int32 Target = 3;
bool Status = 4;
int32 Param = 5;
}

View File

@ -0,0 +1,19 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
enum RES_CODE {
FAIL = 0;
SUCCESS = 1;
Protocol_Error_Account_Exist = 100;
Protocol_Error_Account_OR_PWD_ERROR = 101;
Protocol_Error_Account_OR_PWD_Short = 102;
Protocol_Error_Account_Fail = 103;
Protocol_Error_Account_NoExsit = 104;
Protocol_Error_Account_Code_Error = 105;
Protocol_Error_Account_Device_Error = 106;
Protocol_Error_Id_Not_Verify = 107;
Protocol_Error_Id_Verify_Error = 108;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message RegHandbookAllReward{
string Type = 1;
}

View File

@ -0,0 +1,7 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ReqActPass{}

View File

@ -0,0 +1,7 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ReqActPassReward{}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
import "ActivityCfg.proto";
message ReqActivityCfgReload{
repeated ActivityCfg List = 1;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ReqActivityReward{
int32 Id = 1;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ReqAdWatch{
int32 Type = 1;
}

View File

@ -0,0 +1,7 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ReqAddGiftReward{}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ReqAddNpc{
int32 NpcId = 1;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ReqAddWish{
int32 Id = 1;
int32 Type = 2;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
package Byway.Thrift.Data.Net;
option go_package = "../msg";
message ReqAdminBan{
int64 Uid = 1;
int64 Time = 2;
string Reason = 3;
}

Some files were not shown because too many files have changed in this diff Show More