_xiaofang/xiaofang/Assets/comm/Proto/Room.cs

4095 lines
129 KiB
C#
Raw Normal View History

2024-11-23 14:08:04 +08:00
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: room.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
/// <summary>Holder for reflection information generated from room.proto</summary>
public static partial class RoomReflection {
#region Descriptor
/// <summary>File descriptor for room.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static RoomReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
2024-11-29 15:13:32 +08:00
"Cgpyb29tLnByb3RvIqAEChRSb29tVGVtcGxhdGVSZXNwb25zZRIKCgJJZBgB",
2024-11-23 14:08:04 +08:00
"IAEoAxIUCgxUZW1wbGF0ZU5hbWUYAiABKAkSEQoJQ29tcGFueUlkGAMgASgJ",
"Eg8KB1NjZW5lSWQYBCABKAkSEQoJU3ViamVjdElkGAUgASgJEg4KBlN0YXR1",
"cxgGIAEoCRISCgpJc1RlbXBsYXRlGAcgASgJEhAKCENyZWF0ZUJ5GAggASgJ",
"EhIKCkNyZWF0ZVRpbWUYCSABKAkSEAoIVXBkYXRlQnkYCiABKAkSEgoKVXBk",
"YXRlVGltZRgLIAEoCRIOCgZSZW1hcmsYDCABKAkSDAoETW9kZRgNIAEoCRIY",
"ChBEaXNhc3RlckxvY2F0aW9uGA4gASgJEhAKCEZpcmV3YWxsGA8gASgJEiEK",
"C3Rhc2tPcm1EYXRhGBAgAygLMgwuVGFza09ybURhdGESJQoNc2VsZWN0T3Jt",
2024-11-29 15:13:32 +08:00
"RGF0YRgRIAMoCzIOLlNlbGVjdE9ybURhdGESJQoNb2JqZWN0T3JtRGF0YRgS",
"IAMoCzIOLk9iamVjdE9ybURhdGESFAoMR2FtZVBvc2l0aW9uGBYgASgJEhYK",
"DkluaXRGaXJlUmFkaXVzGBcgASgFEhQKDEluaXRGaXJlVGltZRgYIAEoBRIV",
"Cg1BZGRGaXJlUmFkaXVzGBkgASgCEhQKDEFkZEZpcmVWYWx1ZRgaIAEoAhIT",
"CgtNYXhGaXJld2FsbBgbIAEoBSLVAwoLVGFza09ybURhdGESCgoCSWQYASAB",
"KAMSEAoIVGFza05hbWUYAiABKAkSEAoIR2FtZU5hbWUYAyABKAkSEAoIR2Ft",
"ZVR5cGUYBCABKAUSEAoIR2FtZURlc2MYBSABKAkSFgoOR2FtZVBsYXlTY3Jp",
"cHQYBiABKAkSEwoLR2FtZVRyaWdnZXIYByABKAkSGAoQR2FtZVRyaWdnZXJM",
"b2dpYxgIIAEoCRIXCg9HYW1lT3ZlcnNlZUNvbmQYCSABKAkSFQoNR2FtZVRp",
"bWVMaW1pdBgKIAEoCRIQCghHYW1lUm9sZRgLIAEoCRITCgtHYW1lU2VsZWN0",
"cxgMIAEoCRIWCg5HYW1lVGFyZ2V0VHlwZRgNIAEoCRIYChBHYW1lVGFyZ2V0",
"c0ZpcnN0GA4gASgJEhkKEUdhbWVUYXJnZXRzU2Vjb25kGA8gASgJEh4KFkdh",
"bWVUYXJnZXRzU2Vjb25kTG9naWMYECABKAkSFgoOR2FtZUV4dHJhVmFsdWUY",
"ESABKAkSEAoIR2FtZVNvcnQYEiABKAkSEgoKR2FtZUlzU2hvdxgTIAEoCRIV",
"Cg1HYW1lRXhjbHVzaXZlGBQgASgJEhIKCkdhbWVSZXdhcmQYFSABKAkingMK",
"DVNlbGVjdE9ybURhdGESCgoCSWQYASABKAMSDAoETm90ZRgCIAEoCRINCgVH",
"cm91cBgDIAEoCRIQCghTaG93VGV4dBgEIAEoCRIMCgRJY29uGAUgASgJEhUK",
"DVByZWNvbmRpdGlvbnMYBiABKAkSEQoJRXhjbHVzaXZlGAcgASgJEhAKCFRh",
"c2tUaW1lGAggASgDEhEKCVRpbWVMaW1pdBgJIAEoAxISCgpOZXh0U2VsZWN0",
"GAogASgJEhAKCFRhc2tMaW5rGAsgASgJEhcKD1Rhc2tMaW5rRGV0YWlscxgM",
"IAEoCRIQCghDYWxsTW9kZRgNIAEoCRIVCg1DYWxsUmVjaXBpZW50GA4gASgJ",
"EhUKDUNvcnJlY3RPcHRpb24YDyABKAkSDgoGUmV3YXJkGBAgASgJEg4KBlJl",
"c3VsdBgRIAEoCRINCgVSb3V0ZRgSIAEoCRIUCgxUaW1pbmdDaGFuZ2UYEyAB",
"KAkSEQoJQXBwbGllZFVJGBQgASgJEhEKCVVJRGV0YWlscxgVIAEoCRILCgNT",
"ZXEYFiABKAkiqgMKDU9iamVjdE9ybURhdGESCgoCSWQYASABKAkSEAoIT2Jq",
"ZWN0SWQYAiABKAkSDAoETm90ZRgDIAEoCRIMCgRUeXBlGAQgASgJEgwKBE5h",
"bWUYBSABKAkSFgoOTmFtZVNob3dPZmZzZXQYBiABKAMSEgoKU2hvd1JhZGl1",
"cxgHIAEoAxIMCgRJY29uGAggASgJEgwKBFJvbGUYCSABKAkSEgoKSXRlbURl",
"cGVuZBgKIAEoCRIQCghUYWtlVGltZRgLIAEoAxITCgtOZWVkUGxheWVycxgM",
"IAEoCRISCgpUYXNrU3RhdHVzGA0gASgJEhIKClNlbGVjdExpc3QYDiABKAkS",
"DQoFT25PZmYYDyABKAMSDgoGU3RhdHVzGBAgASgJEhEKCVJlc0NoYW5nZRgR",
"IAEoCRIXCg9QYXJhbGxlbENvbnRyb2wYEiABKAMSEgoKRXh0cmFWYWx1ZRgT",
"IAEoCRIPCgdVc2VySWRzGBQgASgJEhIKCkNyZWF0ZVRpbWUYFSABKAkSEgoK",
"VXBkYXRlVGltZRgWIAEoCRIOCgZSb29tSWQYFyABKAlCB1oFLi87cGJiBnBy",
"b3RvMw=="));
2024-11-23 14:08:04 +08:00
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
2024-11-29 15:13:32 +08:00
new pbr::GeneratedClrTypeInfo(typeof(global::RoomTemplateResponse), global::RoomTemplateResponse.Parser, new[]{ "Id", "TemplateName", "CompanyId", "SceneId", "SubjectId", "Status", "IsTemplate", "CreateBy", "CreateTime", "UpdateBy", "UpdateTime", "Remark", "Mode", "DisasterLocation", "Firewall", "TaskOrmData", "SelectOrmData", "ObjectOrmData", "GamePosition", "InitFireRadius", "InitFireTime", "AddFireRadius", "AddFireValue", "MaxFirewall" }, null, null, null, null),
2024-11-23 14:08:04 +08:00
new pbr::GeneratedClrTypeInfo(typeof(global::TaskOrmData), global::TaskOrmData.Parser, new[]{ "Id", "TaskName", "GameName", "GameType", "GameDesc", "GamePlayScript", "GameTrigger", "GameTriggerLogic", "GameOverseeCond", "GameTimeLimit", "GameRole", "GameSelects", "GameTargetType", "GameTargetsFirst", "GameTargetsSecond", "GameTargetsSecondLogic", "GameExtraValue", "GameSort", "GameIsShow", "GameExclusive", "GameReward" }, null, null, null, null),
2024-11-29 15:13:32 +08:00
new pbr::GeneratedClrTypeInfo(typeof(global::SelectOrmData), global::SelectOrmData.Parser, new[]{ "Id", "Note", "Group", "ShowText", "Icon", "Preconditions", "Exclusive", "TaskTime", "TimeLimit", "NextSelect", "TaskLink", "TaskLinkDetails", "CallMode", "CallRecipient", "CorrectOption", "Reward", "Result", "Route", "TimingChange", "AppliedUI", "UIDetails", "Seq" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::ObjectOrmData), global::ObjectOrmData.Parser, new[]{ "Id", "ObjectId", "Note", "Type", "Name", "NameShowOffset", "ShowRadius", "Icon", "Role", "ItemDepend", "TakeTime", "NeedPlayers", "TaskStatus", "SelectList", "OnOff", "Status", "ResChange", "ParallelControl", "ExtraValue", "UserIds", "CreateTime", "UpdateTime", "RoomId" }, null, null, null, null)
2024-11-23 14:08:04 +08:00
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RoomTemplateResponse : pb::IMessage<RoomTemplateResponse>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<RoomTemplateResponse> _parser = new pb::MessageParser<RoomTemplateResponse>(() => new RoomTemplateResponse());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<RoomTemplateResponse> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RoomReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RoomTemplateResponse() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RoomTemplateResponse(RoomTemplateResponse other) : this() {
id_ = other.id_;
templateName_ = other.templateName_;
companyId_ = other.companyId_;
sceneId_ = other.sceneId_;
subjectId_ = other.subjectId_;
status_ = other.status_;
isTemplate_ = other.isTemplate_;
createBy_ = other.createBy_;
createTime_ = other.createTime_;
updateBy_ = other.updateBy_;
updateTime_ = other.updateTime_;
remark_ = other.remark_;
mode_ = other.mode_;
disasterLocation_ = other.disasterLocation_;
firewall_ = other.firewall_;
taskOrmData_ = other.taskOrmData_.Clone();
selectOrmData_ = other.selectOrmData_.Clone();
2024-11-29 15:13:32 +08:00
objectOrmData_ = other.objectOrmData_.Clone();
gamePosition_ = other.gamePosition_;
initFireRadius_ = other.initFireRadius_;
initFireTime_ = other.initFireTime_;
addFireRadius_ = other.addFireRadius_;
addFireValue_ = other.addFireValue_;
maxFirewall_ = other.maxFirewall_;
2024-11-23 14:08:04 +08:00
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RoomTemplateResponse Clone() {
return new RoomTemplateResponse(this);
}
/// <summary>Field number for the "Id" field.</summary>
public const int IdFieldNumber = 1;
private long id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "TemplateName" field.</summary>
public const int TemplateNameFieldNumber = 2;
private string templateName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TemplateName {
get { return templateName_; }
set {
templateName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CompanyId" field.</summary>
public const int CompanyIdFieldNumber = 3;
private string companyId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CompanyId {
get { return companyId_; }
set {
companyId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "SceneId" field.</summary>
public const int SceneIdFieldNumber = 4;
private string sceneId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SceneId {
get { return sceneId_; }
set {
sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "SubjectId" field.</summary>
public const int SubjectIdFieldNumber = 5;
private string subjectId_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SubjectId {
get { return subjectId_; }
set {
subjectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Status" field.</summary>
public const int StatusFieldNumber = 6;
private string status_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Status {
get { return status_; }
set {
status_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "IsTemplate" field.</summary>
public const int IsTemplateFieldNumber = 7;
private string isTemplate_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string IsTemplate {
get { return isTemplate_; }
set {
isTemplate_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CreateBy" field.</summary>
public const int CreateByFieldNumber = 8;
private string createBy_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CreateBy {
get { return createBy_; }
set {
createBy_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CreateTime" field.</summary>
public const int CreateTimeFieldNumber = 9;
private string createTime_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CreateTime {
get { return createTime_; }
set {
createTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UpdateBy" field.</summary>
public const int UpdateByFieldNumber = 10;
private string updateBy_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UpdateBy {
get { return updateBy_; }
set {
updateBy_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UpdateTime" field.</summary>
public const int UpdateTimeFieldNumber = 11;
private string updateTime_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UpdateTime {
get { return updateTime_; }
set {
updateTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Remark" field.</summary>
public const int RemarkFieldNumber = 12;
private string remark_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Remark {
get { return remark_; }
set {
remark_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Mode" field.</summary>
public const int ModeFieldNumber = 13;
private string mode_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Mode {
get { return mode_; }
set {
mode_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "DisasterLocation" field.</summary>
public const int DisasterLocationFieldNumber = 14;
private string disasterLocation_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string DisasterLocation {
get { return disasterLocation_; }
set {
disasterLocation_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Firewall" field.</summary>
public const int FirewallFieldNumber = 15;
private string firewall_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Firewall {
get { return firewall_; }
set {
firewall_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "taskOrmData" field.</summary>
public const int TaskOrmDataFieldNumber = 16;
private static readonly pb::FieldCodec<global::TaskOrmData> _repeated_taskOrmData_codec
= pb::FieldCodec.ForMessage(130, global::TaskOrmData.Parser);
private readonly pbc::RepeatedField<global::TaskOrmData> taskOrmData_ = new pbc::RepeatedField<global::TaskOrmData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::TaskOrmData> TaskOrmData {
get { return taskOrmData_; }
}
/// <summary>Field number for the "selectOrmData" field.</summary>
public const int SelectOrmDataFieldNumber = 17;
private static readonly pb::FieldCodec<global::SelectOrmData> _repeated_selectOrmData_codec
= pb::FieldCodec.ForMessage(138, global::SelectOrmData.Parser);
private readonly pbc::RepeatedField<global::SelectOrmData> selectOrmData_ = new pbc::RepeatedField<global::SelectOrmData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::SelectOrmData> SelectOrmData {
get { return selectOrmData_; }
}
2024-11-29 15:13:32 +08:00
/// <summary>Field number for the "objectOrmData" field.</summary>
public const int ObjectOrmDataFieldNumber = 18;
private static readonly pb::FieldCodec<global::ObjectOrmData> _repeated_objectOrmData_codec
= pb::FieldCodec.ForMessage(146, global::ObjectOrmData.Parser);
private readonly pbc::RepeatedField<global::ObjectOrmData> objectOrmData_ = new pbc::RepeatedField<global::ObjectOrmData>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField<global::ObjectOrmData> ObjectOrmData {
get { return objectOrmData_; }
}
/// <summary>Field number for the "GamePosition" field.</summary>
public const int GamePositionFieldNumber = 22;
private string gamePosition_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GamePosition {
get { return gamePosition_; }
set {
gamePosition_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "InitFireRadius" field.</summary>
public const int InitFireRadiusFieldNumber = 23;
private int initFireRadius_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int InitFireRadius {
get { return initFireRadius_; }
set {
initFireRadius_ = value;
}
}
/// <summary>Field number for the "InitFireTime" field.</summary>
public const int InitFireTimeFieldNumber = 24;
private int initFireTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int InitFireTime {
get { return initFireTime_; }
set {
initFireTime_ = value;
}
}
/// <summary>Field number for the "AddFireRadius" field.</summary>
public const int AddFireRadiusFieldNumber = 25;
private float addFireRadius_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float AddFireRadius {
get { return addFireRadius_; }
set {
addFireRadius_ = value;
}
}
/// <summary>Field number for the "AddFireValue" field.</summary>
public const int AddFireValueFieldNumber = 26;
private float addFireValue_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public float AddFireValue {
get { return addFireValue_; }
set {
addFireValue_ = value;
}
}
/// <summary>Field number for the "MaxFirewall" field.</summary>
public const int MaxFirewallFieldNumber = 27;
private int maxFirewall_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int MaxFirewall {
get { return maxFirewall_; }
set {
maxFirewall_ = value;
}
}
2024-11-23 14:08:04 +08:00
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RoomTemplateResponse);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RoomTemplateResponse other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (TemplateName != other.TemplateName) return false;
if (CompanyId != other.CompanyId) return false;
if (SceneId != other.SceneId) return false;
if (SubjectId != other.SubjectId) return false;
if (Status != other.Status) return false;
if (IsTemplate != other.IsTemplate) return false;
if (CreateBy != other.CreateBy) return false;
if (CreateTime != other.CreateTime) return false;
if (UpdateBy != other.UpdateBy) return false;
if (UpdateTime != other.UpdateTime) return false;
if (Remark != other.Remark) return false;
if (Mode != other.Mode) return false;
if (DisasterLocation != other.DisasterLocation) return false;
if (Firewall != other.Firewall) return false;
if(!taskOrmData_.Equals(other.taskOrmData_)) return false;
if(!selectOrmData_.Equals(other.selectOrmData_)) return false;
2024-11-29 15:13:32 +08:00
if(!objectOrmData_.Equals(other.objectOrmData_)) return false;
if (GamePosition != other.GamePosition) return false;
if (InitFireRadius != other.InitFireRadius) return false;
if (InitFireTime != other.InitFireTime) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AddFireRadius, other.AddFireRadius)) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AddFireValue, other.AddFireValue)) return false;
if (MaxFirewall != other.MaxFirewall) return false;
2024-11-23 14:08:04 +08:00
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Id != 0L) hash ^= Id.GetHashCode();
if (TemplateName.Length != 0) hash ^= TemplateName.GetHashCode();
if (CompanyId.Length != 0) hash ^= CompanyId.GetHashCode();
if (SceneId.Length != 0) hash ^= SceneId.GetHashCode();
if (SubjectId.Length != 0) hash ^= SubjectId.GetHashCode();
if (Status.Length != 0) hash ^= Status.GetHashCode();
if (IsTemplate.Length != 0) hash ^= IsTemplate.GetHashCode();
if (CreateBy.Length != 0) hash ^= CreateBy.GetHashCode();
if (CreateTime.Length != 0) hash ^= CreateTime.GetHashCode();
if (UpdateBy.Length != 0) hash ^= UpdateBy.GetHashCode();
if (UpdateTime.Length != 0) hash ^= UpdateTime.GetHashCode();
if (Remark.Length != 0) hash ^= Remark.GetHashCode();
if (Mode.Length != 0) hash ^= Mode.GetHashCode();
if (DisasterLocation.Length != 0) hash ^= DisasterLocation.GetHashCode();
if (Firewall.Length != 0) hash ^= Firewall.GetHashCode();
hash ^= taskOrmData_.GetHashCode();
hash ^= selectOrmData_.GetHashCode();
2024-11-29 15:13:32 +08:00
hash ^= objectOrmData_.GetHashCode();
if (GamePosition.Length != 0) hash ^= GamePosition.GetHashCode();
if (InitFireRadius != 0) hash ^= InitFireRadius.GetHashCode();
if (InitFireTime != 0) hash ^= InitFireTime.GetHashCode();
if (AddFireRadius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AddFireRadius);
if (AddFireValue != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AddFireValue);
if (MaxFirewall != 0) hash ^= MaxFirewall.GetHashCode();
2024-11-23 14:08:04 +08:00
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Id != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Id);
}
if (TemplateName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(TemplateName);
}
if (CompanyId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(CompanyId);
}
if (SceneId.Length != 0) {
output.WriteRawTag(34);
output.WriteString(SceneId);
}
if (SubjectId.Length != 0) {
output.WriteRawTag(42);
output.WriteString(SubjectId);
}
if (Status.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Status);
}
if (IsTemplate.Length != 0) {
output.WriteRawTag(58);
output.WriteString(IsTemplate);
}
if (CreateBy.Length != 0) {
output.WriteRawTag(66);
output.WriteString(CreateBy);
}
if (CreateTime.Length != 0) {
output.WriteRawTag(74);
output.WriteString(CreateTime);
}
if (UpdateBy.Length != 0) {
output.WriteRawTag(82);
output.WriteString(UpdateBy);
}
if (UpdateTime.Length != 0) {
output.WriteRawTag(90);
output.WriteString(UpdateTime);
}
if (Remark.Length != 0) {
output.WriteRawTag(98);
output.WriteString(Remark);
}
if (Mode.Length != 0) {
output.WriteRawTag(106);
output.WriteString(Mode);
}
if (DisasterLocation.Length != 0) {
output.WriteRawTag(114);
output.WriteString(DisasterLocation);
}
if (Firewall.Length != 0) {
output.WriteRawTag(122);
output.WriteString(Firewall);
}
taskOrmData_.WriteTo(output, _repeated_taskOrmData_codec);
selectOrmData_.WriteTo(output, _repeated_selectOrmData_codec);
2024-11-29 15:13:32 +08:00
objectOrmData_.WriteTo(output, _repeated_objectOrmData_codec);
if (GamePosition.Length != 0) {
output.WriteRawTag(178, 1);
output.WriteString(GamePosition);
}
if (InitFireRadius != 0) {
output.WriteRawTag(184, 1);
output.WriteInt32(InitFireRadius);
}
if (InitFireTime != 0) {
output.WriteRawTag(192, 1);
output.WriteInt32(InitFireTime);
}
if (AddFireRadius != 0F) {
output.WriteRawTag(205, 1);
output.WriteFloat(AddFireRadius);
}
if (AddFireValue != 0F) {
output.WriteRawTag(213, 1);
output.WriteFloat(AddFireValue);
}
if (MaxFirewall != 0) {
output.WriteRawTag(216, 1);
output.WriteInt32(MaxFirewall);
}
2024-11-23 14:08:04 +08:00
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Id != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Id);
}
if (TemplateName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(TemplateName);
}
if (CompanyId.Length != 0) {
output.WriteRawTag(26);
output.WriteString(CompanyId);
}
if (SceneId.Length != 0) {
output.WriteRawTag(34);
output.WriteString(SceneId);
}
if (SubjectId.Length != 0) {
output.WriteRawTag(42);
output.WriteString(SubjectId);
}
if (Status.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Status);
}
if (IsTemplate.Length != 0) {
output.WriteRawTag(58);
output.WriteString(IsTemplate);
}
if (CreateBy.Length != 0) {
output.WriteRawTag(66);
output.WriteString(CreateBy);
}
if (CreateTime.Length != 0) {
output.WriteRawTag(74);
output.WriteString(CreateTime);
}
if (UpdateBy.Length != 0) {
output.WriteRawTag(82);
output.WriteString(UpdateBy);
}
if (UpdateTime.Length != 0) {
output.WriteRawTag(90);
output.WriteString(UpdateTime);
}
if (Remark.Length != 0) {
output.WriteRawTag(98);
output.WriteString(Remark);
}
if (Mode.Length != 0) {
output.WriteRawTag(106);
output.WriteString(Mode);
}
if (DisasterLocation.Length != 0) {
output.WriteRawTag(114);
output.WriteString(DisasterLocation);
}
if (Firewall.Length != 0) {
output.WriteRawTag(122);
output.WriteString(Firewall);
}
taskOrmData_.WriteTo(ref output, _repeated_taskOrmData_codec);
selectOrmData_.WriteTo(ref output, _repeated_selectOrmData_codec);
2024-11-29 15:13:32 +08:00
objectOrmData_.WriteTo(ref output, _repeated_objectOrmData_codec);
if (GamePosition.Length != 0) {
output.WriteRawTag(178, 1);
output.WriteString(GamePosition);
}
if (InitFireRadius != 0) {
output.WriteRawTag(184, 1);
output.WriteInt32(InitFireRadius);
}
if (InitFireTime != 0) {
output.WriteRawTag(192, 1);
output.WriteInt32(InitFireTime);
}
if (AddFireRadius != 0F) {
output.WriteRawTag(205, 1);
output.WriteFloat(AddFireRadius);
}
if (AddFireValue != 0F) {
output.WriteRawTag(213, 1);
output.WriteFloat(AddFireValue);
}
if (MaxFirewall != 0) {
output.WriteRawTag(216, 1);
output.WriteInt32(MaxFirewall);
}
2024-11-23 14:08:04 +08:00
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Id != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
}
if (TemplateName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TemplateName);
}
if (CompanyId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CompanyId);
}
if (SceneId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId);
}
if (SubjectId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SubjectId);
}
if (Status.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Status);
}
if (IsTemplate.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(IsTemplate);
}
if (CreateBy.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CreateBy);
}
if (CreateTime.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CreateTime);
}
if (UpdateBy.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UpdateBy);
}
if (UpdateTime.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(UpdateTime);
}
if (Remark.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Remark);
}
if (Mode.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Mode);
}
if (DisasterLocation.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(DisasterLocation);
}
if (Firewall.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Firewall);
}
size += taskOrmData_.CalculateSize(_repeated_taskOrmData_codec);
size += selectOrmData_.CalculateSize(_repeated_selectOrmData_codec);
2024-11-29 15:13:32 +08:00
size += objectOrmData_.CalculateSize(_repeated_objectOrmData_codec);
if (GamePosition.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(GamePosition);
}
if (InitFireRadius != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(InitFireRadius);
}
if (InitFireTime != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(InitFireTime);
}
if (AddFireRadius != 0F) {
size += 2 + 4;
}
if (AddFireValue != 0F) {
size += 2 + 4;
}
if (MaxFirewall != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(MaxFirewall);
}
2024-11-23 14:08:04 +08:00
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RoomTemplateResponse other) {
if (other == null) {
return;
}
if (other.Id != 0L) {
Id = other.Id;
}
if (other.TemplateName.Length != 0) {
TemplateName = other.TemplateName;
}
if (other.CompanyId.Length != 0) {
CompanyId = other.CompanyId;
}
if (other.SceneId.Length != 0) {
SceneId = other.SceneId;
}
if (other.SubjectId.Length != 0) {
SubjectId = other.SubjectId;
}
if (other.Status.Length != 0) {
Status = other.Status;
}
if (other.IsTemplate.Length != 0) {
IsTemplate = other.IsTemplate;
}
if (other.CreateBy.Length != 0) {
CreateBy = other.CreateBy;
}
if (other.CreateTime.Length != 0) {
CreateTime = other.CreateTime;
}
if (other.UpdateBy.Length != 0) {
UpdateBy = other.UpdateBy;
}
if (other.UpdateTime.Length != 0) {
UpdateTime = other.UpdateTime;
}
if (other.Remark.Length != 0) {
Remark = other.Remark;
}
if (other.Mode.Length != 0) {
Mode = other.Mode;
}
if (other.DisasterLocation.Length != 0) {
DisasterLocation = other.DisasterLocation;
}
if (other.Firewall.Length != 0) {
Firewall = other.Firewall;
}
taskOrmData_.Add(other.taskOrmData_);
selectOrmData_.Add(other.selectOrmData_);
2024-11-29 15:13:32 +08:00
objectOrmData_.Add(other.objectOrmData_);
if (other.GamePosition.Length != 0) {
GamePosition = other.GamePosition;
}
if (other.InitFireRadius != 0) {
InitFireRadius = other.InitFireRadius;
}
if (other.InitFireTime != 0) {
InitFireTime = other.InitFireTime;
}
if (other.AddFireRadius != 0F) {
AddFireRadius = other.AddFireRadius;
}
if (other.AddFireValue != 0F) {
AddFireValue = other.AddFireValue;
}
if (other.MaxFirewall != 0) {
MaxFirewall = other.MaxFirewall;
}
2024-11-23 14:08:04 +08:00
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadInt64();
break;
}
case 18: {
TemplateName = input.ReadString();
break;
}
case 26: {
CompanyId = input.ReadString();
break;
}
case 34: {
SceneId = input.ReadString();
break;
}
case 42: {
SubjectId = input.ReadString();
break;
}
case 50: {
Status = input.ReadString();
break;
}
case 58: {
IsTemplate = input.ReadString();
break;
}
case 66: {
CreateBy = input.ReadString();
break;
}
case 74: {
CreateTime = input.ReadString();
break;
}
case 82: {
UpdateBy = input.ReadString();
break;
}
case 90: {
UpdateTime = input.ReadString();
break;
}
case 98: {
Remark = input.ReadString();
break;
}
case 106: {
Mode = input.ReadString();
break;
}
case 114: {
DisasterLocation = input.ReadString();
break;
}
case 122: {
Firewall = input.ReadString();
break;
}
case 130: {
taskOrmData_.AddEntriesFrom(input, _repeated_taskOrmData_codec);
break;
}
case 138: {
selectOrmData_.AddEntriesFrom(input, _repeated_selectOrmData_codec);
break;
}
2024-11-29 15:13:32 +08:00
case 146: {
objectOrmData_.AddEntriesFrom(input, _repeated_objectOrmData_codec);
break;
}
case 178: {
GamePosition = input.ReadString();
break;
}
case 184: {
InitFireRadius = input.ReadInt32();
break;
}
case 192: {
InitFireTime = input.ReadInt32();
break;
}
case 205: {
AddFireRadius = input.ReadFloat();
break;
}
case 213: {
AddFireValue = input.ReadFloat();
break;
}
case 216: {
MaxFirewall = input.ReadInt32();
break;
}
2024-11-23 14:08:04 +08:00
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Id = input.ReadInt64();
break;
}
case 18: {
TemplateName = input.ReadString();
break;
}
case 26: {
CompanyId = input.ReadString();
break;
}
case 34: {
SceneId = input.ReadString();
break;
}
case 42: {
SubjectId = input.ReadString();
break;
}
case 50: {
Status = input.ReadString();
break;
}
case 58: {
IsTemplate = input.ReadString();
break;
}
case 66: {
CreateBy = input.ReadString();
break;
}
case 74: {
CreateTime = input.ReadString();
break;
}
case 82: {
UpdateBy = input.ReadString();
break;
}
case 90: {
UpdateTime = input.ReadString();
break;
}
case 98: {
Remark = input.ReadString();
break;
}
case 106: {
Mode = input.ReadString();
break;
}
case 114: {
DisasterLocation = input.ReadString();
break;
}
case 122: {
Firewall = input.ReadString();
break;
}
case 130: {
taskOrmData_.AddEntriesFrom(ref input, _repeated_taskOrmData_codec);
break;
}
case 138: {
selectOrmData_.AddEntriesFrom(ref input, _repeated_selectOrmData_codec);
break;
}
2024-11-29 15:13:32 +08:00
case 146: {
objectOrmData_.AddEntriesFrom(ref input, _repeated_objectOrmData_codec);
break;
}
case 178: {
GamePosition = input.ReadString();
break;
}
case 184: {
InitFireRadius = input.ReadInt32();
break;
}
case 192: {
InitFireTime = input.ReadInt32();
break;
}
case 205: {
AddFireRadius = input.ReadFloat();
break;
}
case 213: {
AddFireValue = input.ReadFloat();
break;
}
case 216: {
MaxFirewall = input.ReadInt32();
break;
}
2024-11-23 14:08:04 +08:00
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class TaskOrmData : pb::IMessage<TaskOrmData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<TaskOrmData> _parser = new pb::MessageParser<TaskOrmData>(() => new TaskOrmData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<TaskOrmData> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RoomReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TaskOrmData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TaskOrmData(TaskOrmData other) : this() {
id_ = other.id_;
taskName_ = other.taskName_;
gameName_ = other.gameName_;
gameType_ = other.gameType_;
gameDesc_ = other.gameDesc_;
gamePlayScript_ = other.gamePlayScript_;
gameTrigger_ = other.gameTrigger_;
gameTriggerLogic_ = other.gameTriggerLogic_;
gameOverseeCond_ = other.gameOverseeCond_;
gameTimeLimit_ = other.gameTimeLimit_;
gameRole_ = other.gameRole_;
gameSelects_ = other.gameSelects_;
gameTargetType_ = other.gameTargetType_;
gameTargetsFirst_ = other.gameTargetsFirst_;
gameTargetsSecond_ = other.gameTargetsSecond_;
gameTargetsSecondLogic_ = other.gameTargetsSecondLogic_;
gameExtraValue_ = other.gameExtraValue_;
gameSort_ = other.gameSort_;
gameIsShow_ = other.gameIsShow_;
gameExclusive_ = other.gameExclusive_;
gameReward_ = other.gameReward_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public TaskOrmData Clone() {
return new TaskOrmData(this);
}
/// <summary>Field number for the "Id" field.</summary>
public const int IdFieldNumber = 1;
private long id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "TaskName" field.</summary>
public const int TaskNameFieldNumber = 2;
private string taskName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TaskName {
get { return taskName_; }
set {
taskName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameName" field.</summary>
public const int GameNameFieldNumber = 3;
private string gameName_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameName {
get { return gameName_; }
set {
gameName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameType" field.</summary>
public const int GameTypeFieldNumber = 4;
private int gameType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int GameType {
get { return gameType_; }
set {
gameType_ = value;
}
}
/// <summary>Field number for the "GameDesc" field.</summary>
public const int GameDescFieldNumber = 5;
private string gameDesc_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameDesc {
get { return gameDesc_; }
set {
gameDesc_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GamePlayScript" field.</summary>
public const int GamePlayScriptFieldNumber = 6;
private string gamePlayScript_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GamePlayScript {
get { return gamePlayScript_; }
set {
gamePlayScript_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameTrigger" field.</summary>
public const int GameTriggerFieldNumber = 7;
private string gameTrigger_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameTrigger {
get { return gameTrigger_; }
set {
gameTrigger_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameTriggerLogic" field.</summary>
public const int GameTriggerLogicFieldNumber = 8;
private string gameTriggerLogic_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameTriggerLogic {
get { return gameTriggerLogic_; }
set {
gameTriggerLogic_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameOverseeCond" field.</summary>
public const int GameOverseeCondFieldNumber = 9;
private string gameOverseeCond_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameOverseeCond {
get { return gameOverseeCond_; }
set {
gameOverseeCond_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameTimeLimit" field.</summary>
public const int GameTimeLimitFieldNumber = 10;
private string gameTimeLimit_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameTimeLimit {
get { return gameTimeLimit_; }
set {
gameTimeLimit_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameRole" field.</summary>
public const int GameRoleFieldNumber = 11;
private string gameRole_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameRole {
get { return gameRole_; }
set {
gameRole_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameSelects" field.</summary>
public const int GameSelectsFieldNumber = 12;
private string gameSelects_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameSelects {
get { return gameSelects_; }
set {
gameSelects_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameTargetType" field.</summary>
public const int GameTargetTypeFieldNumber = 13;
private string gameTargetType_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameTargetType {
get { return gameTargetType_; }
set {
gameTargetType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameTargetsFirst" field.</summary>
public const int GameTargetsFirstFieldNumber = 14;
private string gameTargetsFirst_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameTargetsFirst {
get { return gameTargetsFirst_; }
set {
gameTargetsFirst_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameTargetsSecond" field.</summary>
public const int GameTargetsSecondFieldNumber = 15;
private string gameTargetsSecond_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameTargetsSecond {
get { return gameTargetsSecond_; }
set {
gameTargetsSecond_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameTargetsSecondLogic" field.</summary>
public const int GameTargetsSecondLogicFieldNumber = 16;
private string gameTargetsSecondLogic_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameTargetsSecondLogic {
get { return gameTargetsSecondLogic_; }
set {
gameTargetsSecondLogic_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameExtraValue" field.</summary>
public const int GameExtraValueFieldNumber = 17;
private string gameExtraValue_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameExtraValue {
get { return gameExtraValue_; }
set {
gameExtraValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameSort" field.</summary>
public const int GameSortFieldNumber = 18;
private string gameSort_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameSort {
get { return gameSort_; }
set {
gameSort_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameIsShow" field.</summary>
public const int GameIsShowFieldNumber = 19;
private string gameIsShow_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameIsShow {
get { return gameIsShow_; }
set {
gameIsShow_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameExclusive" field.</summary>
public const int GameExclusiveFieldNumber = 20;
private string gameExclusive_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameExclusive {
get { return gameExclusive_; }
set {
gameExclusive_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "GameReward" field.</summary>
public const int GameRewardFieldNumber = 21;
private string gameReward_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string GameReward {
get { return gameReward_; }
set {
gameReward_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as TaskOrmData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(TaskOrmData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (TaskName != other.TaskName) return false;
if (GameName != other.GameName) return false;
if (GameType != other.GameType) return false;
if (GameDesc != other.GameDesc) return false;
if (GamePlayScript != other.GamePlayScript) return false;
if (GameTrigger != other.GameTrigger) return false;
if (GameTriggerLogic != other.GameTriggerLogic) return false;
if (GameOverseeCond != other.GameOverseeCond) return false;
if (GameTimeLimit != other.GameTimeLimit) return false;
if (GameRole != other.GameRole) return false;
if (GameSelects != other.GameSelects) return false;
if (GameTargetType != other.GameTargetType) return false;
if (GameTargetsFirst != other.GameTargetsFirst) return false;
if (GameTargetsSecond != other.GameTargetsSecond) return false;
if (GameTargetsSecondLogic != other.GameTargetsSecondLogic) return false;
if (GameExtraValue != other.GameExtraValue) return false;
if (GameSort != other.GameSort) return false;
if (GameIsShow != other.GameIsShow) return false;
if (GameExclusive != other.GameExclusive) return false;
if (GameReward != other.GameReward) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Id != 0L) hash ^= Id.GetHashCode();
if (TaskName.Length != 0) hash ^= TaskName.GetHashCode();
if (GameName.Length != 0) hash ^= GameName.GetHashCode();
if (GameType != 0) hash ^= GameType.GetHashCode();
if (GameDesc.Length != 0) hash ^= GameDesc.GetHashCode();
if (GamePlayScript.Length != 0) hash ^= GamePlayScript.GetHashCode();
if (GameTrigger.Length != 0) hash ^= GameTrigger.GetHashCode();
if (GameTriggerLogic.Length != 0) hash ^= GameTriggerLogic.GetHashCode();
if (GameOverseeCond.Length != 0) hash ^= GameOverseeCond.GetHashCode();
if (GameTimeLimit.Length != 0) hash ^= GameTimeLimit.GetHashCode();
if (GameRole.Length != 0) hash ^= GameRole.GetHashCode();
if (GameSelects.Length != 0) hash ^= GameSelects.GetHashCode();
if (GameTargetType.Length != 0) hash ^= GameTargetType.GetHashCode();
if (GameTargetsFirst.Length != 0) hash ^= GameTargetsFirst.GetHashCode();
if (GameTargetsSecond.Length != 0) hash ^= GameTargetsSecond.GetHashCode();
if (GameTargetsSecondLogic.Length != 0) hash ^= GameTargetsSecondLogic.GetHashCode();
if (GameExtraValue.Length != 0) hash ^= GameExtraValue.GetHashCode();
if (GameSort.Length != 0) hash ^= GameSort.GetHashCode();
if (GameIsShow.Length != 0) hash ^= GameIsShow.GetHashCode();
if (GameExclusive.Length != 0) hash ^= GameExclusive.GetHashCode();
if (GameReward.Length != 0) hash ^= GameReward.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Id != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Id);
}
if (TaskName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(TaskName);
}
if (GameName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(GameName);
}
if (GameType != 0) {
output.WriteRawTag(32);
output.WriteInt32(GameType);
}
if (GameDesc.Length != 0) {
output.WriteRawTag(42);
output.WriteString(GameDesc);
}
if (GamePlayScript.Length != 0) {
output.WriteRawTag(50);
output.WriteString(GamePlayScript);
}
if (GameTrigger.Length != 0) {
output.WriteRawTag(58);
output.WriteString(GameTrigger);
}
if (GameTriggerLogic.Length != 0) {
output.WriteRawTag(66);
output.WriteString(GameTriggerLogic);
}
if (GameOverseeCond.Length != 0) {
output.WriteRawTag(74);
output.WriteString(GameOverseeCond);
}
if (GameTimeLimit.Length != 0) {
output.WriteRawTag(82);
output.WriteString(GameTimeLimit);
}
if (GameRole.Length != 0) {
output.WriteRawTag(90);
output.WriteString(GameRole);
}
if (GameSelects.Length != 0) {
output.WriteRawTag(98);
output.WriteString(GameSelects);
}
if (GameTargetType.Length != 0) {
output.WriteRawTag(106);
output.WriteString(GameTargetType);
}
if (GameTargetsFirst.Length != 0) {
output.WriteRawTag(114);
output.WriteString(GameTargetsFirst);
}
if (GameTargetsSecond.Length != 0) {
output.WriteRawTag(122);
output.WriteString(GameTargetsSecond);
}
if (GameTargetsSecondLogic.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(GameTargetsSecondLogic);
}
if (GameExtraValue.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(GameExtraValue);
}
if (GameSort.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteString(GameSort);
}
if (GameIsShow.Length != 0) {
output.WriteRawTag(154, 1);
output.WriteString(GameIsShow);
}
if (GameExclusive.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(GameExclusive);
}
if (GameReward.Length != 0) {
output.WriteRawTag(170, 1);
output.WriteString(GameReward);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Id != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Id);
}
if (TaskName.Length != 0) {
output.WriteRawTag(18);
output.WriteString(TaskName);
}
if (GameName.Length != 0) {
output.WriteRawTag(26);
output.WriteString(GameName);
}
if (GameType != 0) {
output.WriteRawTag(32);
output.WriteInt32(GameType);
}
if (GameDesc.Length != 0) {
output.WriteRawTag(42);
output.WriteString(GameDesc);
}
if (GamePlayScript.Length != 0) {
output.WriteRawTag(50);
output.WriteString(GamePlayScript);
}
if (GameTrigger.Length != 0) {
output.WriteRawTag(58);
output.WriteString(GameTrigger);
}
if (GameTriggerLogic.Length != 0) {
output.WriteRawTag(66);
output.WriteString(GameTriggerLogic);
}
if (GameOverseeCond.Length != 0) {
output.WriteRawTag(74);
output.WriteString(GameOverseeCond);
}
if (GameTimeLimit.Length != 0) {
output.WriteRawTag(82);
output.WriteString(GameTimeLimit);
}
if (GameRole.Length != 0) {
output.WriteRawTag(90);
output.WriteString(GameRole);
}
if (GameSelects.Length != 0) {
output.WriteRawTag(98);
output.WriteString(GameSelects);
}
if (GameTargetType.Length != 0) {
output.WriteRawTag(106);
output.WriteString(GameTargetType);
}
if (GameTargetsFirst.Length != 0) {
output.WriteRawTag(114);
output.WriteString(GameTargetsFirst);
}
if (GameTargetsSecond.Length != 0) {
output.WriteRawTag(122);
output.WriteString(GameTargetsSecond);
}
if (GameTargetsSecondLogic.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(GameTargetsSecondLogic);
}
if (GameExtraValue.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(GameExtraValue);
}
if (GameSort.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteString(GameSort);
}
if (GameIsShow.Length != 0) {
output.WriteRawTag(154, 1);
output.WriteString(GameIsShow);
}
if (GameExclusive.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(GameExclusive);
}
if (GameReward.Length != 0) {
output.WriteRawTag(170, 1);
output.WriteString(GameReward);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Id != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
}
if (TaskName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskName);
}
if (GameName.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameName);
}
if (GameType != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameType);
}
if (GameDesc.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameDesc);
}
if (GamePlayScript.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GamePlayScript);
}
if (GameTrigger.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTrigger);
}
if (GameTriggerLogic.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTriggerLogic);
}
if (GameOverseeCond.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameOverseeCond);
}
if (GameTimeLimit.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTimeLimit);
}
if (GameRole.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameRole);
}
if (GameSelects.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameSelects);
}
if (GameTargetType.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTargetType);
}
if (GameTargetsFirst.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTargetsFirst);
}
if (GameTargetsSecond.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(GameTargetsSecond);
}
if (GameTargetsSecondLogic.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(GameTargetsSecondLogic);
}
if (GameExtraValue.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(GameExtraValue);
}
if (GameSort.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(GameSort);
}
if (GameIsShow.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(GameIsShow);
}
if (GameExclusive.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(GameExclusive);
}
if (GameReward.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(GameReward);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(TaskOrmData other) {
if (other == null) {
return;
}
if (other.Id != 0L) {
Id = other.Id;
}
if (other.TaskName.Length != 0) {
TaskName = other.TaskName;
}
if (other.GameName.Length != 0) {
GameName = other.GameName;
}
if (other.GameType != 0) {
GameType = other.GameType;
}
if (other.GameDesc.Length != 0) {
GameDesc = other.GameDesc;
}
if (other.GamePlayScript.Length != 0) {
GamePlayScript = other.GamePlayScript;
}
if (other.GameTrigger.Length != 0) {
GameTrigger = other.GameTrigger;
}
if (other.GameTriggerLogic.Length != 0) {
GameTriggerLogic = other.GameTriggerLogic;
}
if (other.GameOverseeCond.Length != 0) {
GameOverseeCond = other.GameOverseeCond;
}
if (other.GameTimeLimit.Length != 0) {
GameTimeLimit = other.GameTimeLimit;
}
if (other.GameRole.Length != 0) {
GameRole = other.GameRole;
}
if (other.GameSelects.Length != 0) {
GameSelects = other.GameSelects;
}
if (other.GameTargetType.Length != 0) {
GameTargetType = other.GameTargetType;
}
if (other.GameTargetsFirst.Length != 0) {
GameTargetsFirst = other.GameTargetsFirst;
}
if (other.GameTargetsSecond.Length != 0) {
GameTargetsSecond = other.GameTargetsSecond;
}
if (other.GameTargetsSecondLogic.Length != 0) {
GameTargetsSecondLogic = other.GameTargetsSecondLogic;
}
if (other.GameExtraValue.Length != 0) {
GameExtraValue = other.GameExtraValue;
}
if (other.GameSort.Length != 0) {
GameSort = other.GameSort;
}
if (other.GameIsShow.Length != 0) {
GameIsShow = other.GameIsShow;
}
if (other.GameExclusive.Length != 0) {
GameExclusive = other.GameExclusive;
}
if (other.GameReward.Length != 0) {
GameReward = other.GameReward;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadInt64();
break;
}
case 18: {
TaskName = input.ReadString();
break;
}
case 26: {
GameName = input.ReadString();
break;
}
case 32: {
GameType = input.ReadInt32();
break;
}
case 42: {
GameDesc = input.ReadString();
break;
}
case 50: {
GamePlayScript = input.ReadString();
break;
}
case 58: {
GameTrigger = input.ReadString();
break;
}
case 66: {
GameTriggerLogic = input.ReadString();
break;
}
case 74: {
GameOverseeCond = input.ReadString();
break;
}
case 82: {
GameTimeLimit = input.ReadString();
break;
}
case 90: {
GameRole = input.ReadString();
break;
}
case 98: {
GameSelects = input.ReadString();
break;
}
case 106: {
GameTargetType = input.ReadString();
break;
}
case 114: {
GameTargetsFirst = input.ReadString();
break;
}
case 122: {
GameTargetsSecond = input.ReadString();
break;
}
case 130: {
GameTargetsSecondLogic = input.ReadString();
break;
}
case 138: {
GameExtraValue = input.ReadString();
break;
}
case 146: {
GameSort = input.ReadString();
break;
}
case 154: {
GameIsShow = input.ReadString();
break;
}
case 162: {
GameExclusive = input.ReadString();
break;
}
case 170: {
GameReward = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Id = input.ReadInt64();
break;
}
case 18: {
TaskName = input.ReadString();
break;
}
case 26: {
GameName = input.ReadString();
break;
}
case 32: {
GameType = input.ReadInt32();
break;
}
case 42: {
GameDesc = input.ReadString();
break;
}
case 50: {
GamePlayScript = input.ReadString();
break;
}
case 58: {
GameTrigger = input.ReadString();
break;
}
case 66: {
GameTriggerLogic = input.ReadString();
break;
}
case 74: {
GameOverseeCond = input.ReadString();
break;
}
case 82: {
GameTimeLimit = input.ReadString();
break;
}
case 90: {
GameRole = input.ReadString();
break;
}
case 98: {
GameSelects = input.ReadString();
break;
}
case 106: {
GameTargetType = input.ReadString();
break;
}
case 114: {
GameTargetsFirst = input.ReadString();
break;
}
case 122: {
GameTargetsSecond = input.ReadString();
break;
}
case 130: {
GameTargetsSecondLogic = input.ReadString();
break;
}
case 138: {
GameExtraValue = input.ReadString();
break;
}
case 146: {
GameSort = input.ReadString();
break;
}
case 154: {
GameIsShow = input.ReadString();
break;
}
case 162: {
GameExclusive = input.ReadString();
break;
}
case 170: {
GameReward = input.ReadString();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class SelectOrmData : pb::IMessage<SelectOrmData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<SelectOrmData> _parser = new pb::MessageParser<SelectOrmData>(() => new SelectOrmData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<SelectOrmData> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RoomReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectOrmData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectOrmData(SelectOrmData other) : this() {
id_ = other.id_;
note_ = other.note_;
group_ = other.group_;
showText_ = other.showText_;
icon_ = other.icon_;
preconditions_ = other.preconditions_;
exclusive_ = other.exclusive_;
taskTime_ = other.taskTime_;
timeLimit_ = other.timeLimit_;
nextSelect_ = other.nextSelect_;
taskLink_ = other.taskLink_;
taskLinkDetails_ = other.taskLinkDetails_;
callMode_ = other.callMode_;
callRecipient_ = other.callRecipient_;
correctOption_ = other.correctOption_;
reward_ = other.reward_;
result_ = other.result_;
route_ = other.route_;
timingChange_ = other.timingChange_;
appliedUI_ = other.appliedUI_;
uIDetails_ = other.uIDetails_;
seq_ = other.seq_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public SelectOrmData Clone() {
return new SelectOrmData(this);
}
/// <summary>Field number for the "Id" field.</summary>
public const int IdFieldNumber = 1;
private long id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Id {
get { return id_; }
set {
id_ = value;
}
}
/// <summary>Field number for the "Note" field.</summary>
public const int NoteFieldNumber = 2;
private string note_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Note {
get { return note_; }
set {
note_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Group" field.</summary>
public const int GroupFieldNumber = 3;
private string group_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Group {
get { return group_; }
set {
group_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "ShowText" field.</summary>
public const int ShowTextFieldNumber = 4;
private string showText_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ShowText {
get { return showText_; }
set {
showText_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Icon" field.</summary>
public const int IconFieldNumber = 5;
private string icon_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Icon {
get { return icon_; }
set {
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Preconditions" field.</summary>
public const int PreconditionsFieldNumber = 6;
private string preconditions_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Preconditions {
get { return preconditions_; }
set {
preconditions_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Exclusive" field.</summary>
public const int ExclusiveFieldNumber = 7;
private string exclusive_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Exclusive {
get { return exclusive_; }
set {
exclusive_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TaskTime" field.</summary>
public const int TaskTimeFieldNumber = 8;
private long taskTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long TaskTime {
get { return taskTime_; }
set {
taskTime_ = value;
}
}
/// <summary>Field number for the "TimeLimit" field.</summary>
public const int TimeLimitFieldNumber = 9;
private long timeLimit_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long TimeLimit {
get { return timeLimit_; }
set {
timeLimit_ = value;
}
}
/// <summary>Field number for the "NextSelect" field.</summary>
public const int NextSelectFieldNumber = 10;
private string nextSelect_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string NextSelect {
get { return nextSelect_; }
set {
nextSelect_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TaskLink" field.</summary>
public const int TaskLinkFieldNumber = 11;
private string taskLink_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TaskLink {
get { return taskLink_; }
set {
taskLink_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TaskLinkDetails" field.</summary>
public const int TaskLinkDetailsFieldNumber = 12;
private string taskLinkDetails_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TaskLinkDetails {
get { return taskLinkDetails_; }
set {
taskLinkDetails_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CallMode" field.</summary>
public const int CallModeFieldNumber = 13;
private string callMode_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CallMode {
get { return callMode_; }
set {
callMode_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CallRecipient" field.</summary>
public const int CallRecipientFieldNumber = 14;
private string callRecipient_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CallRecipient {
get { return callRecipient_; }
set {
callRecipient_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CorrectOption" field.</summary>
public const int CorrectOptionFieldNumber = 15;
private string correctOption_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CorrectOption {
get { return correctOption_; }
set {
correctOption_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Reward" field.</summary>
public const int RewardFieldNumber = 16;
private string reward_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Reward {
get { return reward_; }
set {
reward_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Result" field.</summary>
public const int ResultFieldNumber = 17;
private string result_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Result {
get { return result_; }
set {
result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Route" field.</summary>
public const int RouteFieldNumber = 18;
private string route_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Route {
get { return route_; }
set {
route_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TimingChange" field.</summary>
public const int TimingChangeFieldNumber = 19;
private string timingChange_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TimingChange {
get { return timingChange_; }
set {
timingChange_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "AppliedUI" field.</summary>
public const int AppliedUIFieldNumber = 20;
private string appliedUI_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string AppliedUI {
get { return appliedUI_; }
set {
appliedUI_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UIDetails" field.</summary>
public const int UIDetailsFieldNumber = 21;
private string uIDetails_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UIDetails {
get { return uIDetails_; }
set {
uIDetails_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Seq" field.</summary>
public const int SeqFieldNumber = 22;
private string seq_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Seq {
get { return seq_; }
set {
seq_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as SelectOrmData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(SelectOrmData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (Note != other.Note) return false;
if (Group != other.Group) return false;
if (ShowText != other.ShowText) return false;
if (Icon != other.Icon) return false;
if (Preconditions != other.Preconditions) return false;
if (Exclusive != other.Exclusive) return false;
if (TaskTime != other.TaskTime) return false;
if (TimeLimit != other.TimeLimit) return false;
if (NextSelect != other.NextSelect) return false;
if (TaskLink != other.TaskLink) return false;
if (TaskLinkDetails != other.TaskLinkDetails) return false;
if (CallMode != other.CallMode) return false;
if (CallRecipient != other.CallRecipient) return false;
if (CorrectOption != other.CorrectOption) return false;
if (Reward != other.Reward) return false;
if (Result != other.Result) return false;
if (Route != other.Route) return false;
if (TimingChange != other.TimingChange) return false;
if (AppliedUI != other.AppliedUI) return false;
if (UIDetails != other.UIDetails) return false;
if (Seq != other.Seq) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Id != 0L) hash ^= Id.GetHashCode();
if (Note.Length != 0) hash ^= Note.GetHashCode();
if (Group.Length != 0) hash ^= Group.GetHashCode();
if (ShowText.Length != 0) hash ^= ShowText.GetHashCode();
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
if (Preconditions.Length != 0) hash ^= Preconditions.GetHashCode();
if (Exclusive.Length != 0) hash ^= Exclusive.GetHashCode();
if (TaskTime != 0L) hash ^= TaskTime.GetHashCode();
if (TimeLimit != 0L) hash ^= TimeLimit.GetHashCode();
if (NextSelect.Length != 0) hash ^= NextSelect.GetHashCode();
if (TaskLink.Length != 0) hash ^= TaskLink.GetHashCode();
if (TaskLinkDetails.Length != 0) hash ^= TaskLinkDetails.GetHashCode();
if (CallMode.Length != 0) hash ^= CallMode.GetHashCode();
if (CallRecipient.Length != 0) hash ^= CallRecipient.GetHashCode();
if (CorrectOption.Length != 0) hash ^= CorrectOption.GetHashCode();
if (Reward.Length != 0) hash ^= Reward.GetHashCode();
if (Result.Length != 0) hash ^= Result.GetHashCode();
if (Route.Length != 0) hash ^= Route.GetHashCode();
if (TimingChange.Length != 0) hash ^= TimingChange.GetHashCode();
if (AppliedUI.Length != 0) hash ^= AppliedUI.GetHashCode();
if (UIDetails.Length != 0) hash ^= UIDetails.GetHashCode();
if (Seq.Length != 0) hash ^= Seq.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Id != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Id);
}
if (Note.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Note);
}
if (Group.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Group);
}
if (ShowText.Length != 0) {
output.WriteRawTag(34);
output.WriteString(ShowText);
}
if (Icon.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Icon);
}
if (Preconditions.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Preconditions);
}
if (Exclusive.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Exclusive);
}
if (TaskTime != 0L) {
output.WriteRawTag(64);
output.WriteInt64(TaskTime);
}
if (TimeLimit != 0L) {
output.WriteRawTag(72);
output.WriteInt64(TimeLimit);
}
if (NextSelect.Length != 0) {
output.WriteRawTag(82);
output.WriteString(NextSelect);
}
if (TaskLink.Length != 0) {
output.WriteRawTag(90);
output.WriteString(TaskLink);
}
if (TaskLinkDetails.Length != 0) {
output.WriteRawTag(98);
output.WriteString(TaskLinkDetails);
}
if (CallMode.Length != 0) {
output.WriteRawTag(106);
output.WriteString(CallMode);
}
if (CallRecipient.Length != 0) {
output.WriteRawTag(114);
output.WriteString(CallRecipient);
}
if (CorrectOption.Length != 0) {
output.WriteRawTag(122);
output.WriteString(CorrectOption);
}
if (Reward.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(Reward);
}
if (Result.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(Result);
}
if (Route.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteString(Route);
}
if (TimingChange.Length != 0) {
output.WriteRawTag(154, 1);
output.WriteString(TimingChange);
}
if (AppliedUI.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(AppliedUI);
}
if (UIDetails.Length != 0) {
output.WriteRawTag(170, 1);
output.WriteString(UIDetails);
}
if (Seq.Length != 0) {
output.WriteRawTag(178, 1);
output.WriteString(Seq);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Id != 0L) {
output.WriteRawTag(8);
output.WriteInt64(Id);
}
if (Note.Length != 0) {
output.WriteRawTag(18);
output.WriteString(Note);
}
if (Group.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Group);
}
if (ShowText.Length != 0) {
output.WriteRawTag(34);
output.WriteString(ShowText);
}
if (Icon.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Icon);
}
if (Preconditions.Length != 0) {
output.WriteRawTag(50);
output.WriteString(Preconditions);
}
if (Exclusive.Length != 0) {
output.WriteRawTag(58);
output.WriteString(Exclusive);
}
if (TaskTime != 0L) {
output.WriteRawTag(64);
output.WriteInt64(TaskTime);
}
if (TimeLimit != 0L) {
output.WriteRawTag(72);
output.WriteInt64(TimeLimit);
}
if (NextSelect.Length != 0) {
output.WriteRawTag(82);
output.WriteString(NextSelect);
}
if (TaskLink.Length != 0) {
output.WriteRawTag(90);
output.WriteString(TaskLink);
}
if (TaskLinkDetails.Length != 0) {
output.WriteRawTag(98);
output.WriteString(TaskLinkDetails);
}
if (CallMode.Length != 0) {
output.WriteRawTag(106);
output.WriteString(CallMode);
}
if (CallRecipient.Length != 0) {
output.WriteRawTag(114);
output.WriteString(CallRecipient);
}
if (CorrectOption.Length != 0) {
output.WriteRawTag(122);
output.WriteString(CorrectOption);
}
if (Reward.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(Reward);
}
if (Result.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(Result);
}
if (Route.Length != 0) {
output.WriteRawTag(146, 1);
output.WriteString(Route);
}
if (TimingChange.Length != 0) {
output.WriteRawTag(154, 1);
output.WriteString(TimingChange);
}
if (AppliedUI.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(AppliedUI);
}
if (UIDetails.Length != 0) {
output.WriteRawTag(170, 1);
output.WriteString(UIDetails);
}
if (Seq.Length != 0) {
output.WriteRawTag(178, 1);
output.WriteString(Seq);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Id != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
}
if (Note.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Note);
}
if (Group.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Group);
}
if (ShowText.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ShowText);
}
if (Icon.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
}
if (Preconditions.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Preconditions);
}
if (Exclusive.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Exclusive);
}
if (TaskTime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(TaskTime);
}
if (TimeLimit != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeLimit);
}
if (NextSelect.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(NextSelect);
}
if (TaskLink.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskLink);
}
if (TaskLinkDetails.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskLinkDetails);
}
if (CallMode.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CallMode);
}
if (CallRecipient.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CallRecipient);
}
if (CorrectOption.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(CorrectOption);
}
if (Reward.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Reward);
}
if (Result.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Result);
}
if (Route.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Route);
}
if (TimingChange.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(TimingChange);
}
if (AppliedUI.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(AppliedUI);
}
if (UIDetails.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(UIDetails);
}
if (Seq.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Seq);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(SelectOrmData other) {
if (other == null) {
return;
}
if (other.Id != 0L) {
Id = other.Id;
}
if (other.Note.Length != 0) {
Note = other.Note;
}
if (other.Group.Length != 0) {
Group = other.Group;
}
if (other.ShowText.Length != 0) {
ShowText = other.ShowText;
}
if (other.Icon.Length != 0) {
Icon = other.Icon;
}
if (other.Preconditions.Length != 0) {
Preconditions = other.Preconditions;
}
if (other.Exclusive.Length != 0) {
Exclusive = other.Exclusive;
}
if (other.TaskTime != 0L) {
TaskTime = other.TaskTime;
}
if (other.TimeLimit != 0L) {
TimeLimit = other.TimeLimit;
}
if (other.NextSelect.Length != 0) {
NextSelect = other.NextSelect;
}
if (other.TaskLink.Length != 0) {
TaskLink = other.TaskLink;
}
if (other.TaskLinkDetails.Length != 0) {
TaskLinkDetails = other.TaskLinkDetails;
}
if (other.CallMode.Length != 0) {
CallMode = other.CallMode;
}
if (other.CallRecipient.Length != 0) {
CallRecipient = other.CallRecipient;
}
if (other.CorrectOption.Length != 0) {
CorrectOption = other.CorrectOption;
}
if (other.Reward.Length != 0) {
Reward = other.Reward;
}
if (other.Result.Length != 0) {
Result = other.Result;
}
if (other.Route.Length != 0) {
Route = other.Route;
}
if (other.TimingChange.Length != 0) {
TimingChange = other.TimingChange;
}
if (other.AppliedUI.Length != 0) {
AppliedUI = other.AppliedUI;
}
if (other.UIDetails.Length != 0) {
UIDetails = other.UIDetails;
}
if (other.Seq.Length != 0) {
Seq = other.Seq;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadInt64();
break;
}
case 18: {
Note = input.ReadString();
break;
}
case 26: {
Group = input.ReadString();
break;
}
case 34: {
ShowText = input.ReadString();
break;
}
case 42: {
Icon = input.ReadString();
break;
}
case 50: {
Preconditions = input.ReadString();
break;
}
case 58: {
Exclusive = input.ReadString();
break;
}
case 64: {
TaskTime = input.ReadInt64();
break;
}
case 72: {
TimeLimit = input.ReadInt64();
break;
}
case 82: {
NextSelect = input.ReadString();
break;
}
case 90: {
TaskLink = input.ReadString();
break;
}
case 98: {
TaskLinkDetails = input.ReadString();
break;
}
case 106: {
CallMode = input.ReadString();
break;
}
case 114: {
CallRecipient = input.ReadString();
break;
}
case 122: {
CorrectOption = input.ReadString();
break;
}
case 130: {
Reward = input.ReadString();
break;
}
case 138: {
Result = input.ReadString();
break;
}
case 146: {
Route = input.ReadString();
break;
}
case 154: {
TimingChange = input.ReadString();
break;
}
case 162: {
AppliedUI = input.ReadString();
break;
}
case 170: {
UIDetails = input.ReadString();
break;
}
case 178: {
Seq = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 8: {
Id = input.ReadInt64();
break;
}
case 18: {
Note = input.ReadString();
break;
}
case 26: {
Group = input.ReadString();
break;
}
case 34: {
ShowText = input.ReadString();
break;
}
case 42: {
Icon = input.ReadString();
break;
}
case 50: {
Preconditions = input.ReadString();
break;
}
case 58: {
Exclusive = input.ReadString();
break;
}
case 64: {
TaskTime = input.ReadInt64();
break;
}
case 72: {
TimeLimit = input.ReadInt64();
break;
}
case 82: {
NextSelect = input.ReadString();
break;
}
case 90: {
TaskLink = input.ReadString();
break;
}
case 98: {
TaskLinkDetails = input.ReadString();
break;
}
case 106: {
CallMode = input.ReadString();
break;
}
case 114: {
CallRecipient = input.ReadString();
break;
}
case 122: {
CorrectOption = input.ReadString();
break;
}
case 130: {
Reward = input.ReadString();
break;
}
case 138: {
Result = input.ReadString();
break;
}
case 146: {
Route = input.ReadString();
break;
}
case 154: {
TimingChange = input.ReadString();
break;
}
case 162: {
AppliedUI = input.ReadString();
break;
}
case 170: {
UIDetails = input.ReadString();
break;
}
case 178: {
Seq = input.ReadString();
break;
}
}
}
}
#endif
}
2024-11-29 15:13:32 +08:00
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class ObjectOrmData : pb::IMessage<ObjectOrmData>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<ObjectOrmData> _parser = new pb::MessageParser<ObjectOrmData>(() => new ObjectOrmData());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<ObjectOrmData> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::RoomReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ObjectOrmData() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ObjectOrmData(ObjectOrmData other) : this() {
id_ = other.id_;
objectId_ = other.objectId_;
note_ = other.note_;
type_ = other.type_;
name_ = other.name_;
nameShowOffset_ = other.nameShowOffset_;
showRadius_ = other.showRadius_;
icon_ = other.icon_;
role_ = other.role_;
itemDepend_ = other.itemDepend_;
takeTime_ = other.takeTime_;
needPlayers_ = other.needPlayers_;
taskStatus_ = other.taskStatus_;
selectList_ = other.selectList_;
onOff_ = other.onOff_;
status_ = other.status_;
resChange_ = other.resChange_;
parallelControl_ = other.parallelControl_;
extraValue_ = other.extraValue_;
userIds_ = other.userIds_;
createTime_ = other.createTime_;
updateTime_ = other.updateTime_;
roomId_ = other.roomId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public ObjectOrmData Clone() {
return new ObjectOrmData(this);
}
/// <summary>Field number for the "Id" field.</summary>
public const int IdFieldNumber = 1;
private string id_ = "";
/// <summary>
/// ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Id {
get { return id_; }
set {
id_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "ObjectId" field.</summary>
public const int ObjectIdFieldNumber = 2;
private string objectId_ = "";
/// <summary>
/// 对象ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ObjectId {
get { return objectId_; }
set {
objectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Note" field.</summary>
public const int NoteFieldNumber = 3;
private string note_ = "";
/// <summary>
/// 状态
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Note {
get { return note_; }
set {
note_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Type" field.</summary>
public const int TypeFieldNumber = 4;
private string type_ = "";
/// <summary>
/// 对象类型
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Type {
get { return type_; }
set {
type_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Name" field.</summary>
public const int NameFieldNumber = 5;
private string name_ = "";
/// <summary>
/// 对象文本Id
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Name {
get { return name_; }
set {
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "NameShowOffset" field.</summary>
public const int NameShowOffsetFieldNumber = 6;
private long nameShowOffset_;
/// <summary>
/// 对象文本显示偏移量
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long NameShowOffset {
get { return nameShowOffset_; }
set {
nameShowOffset_ = value;
}
}
/// <summary>Field number for the "ShowRadius" field.</summary>
public const int ShowRadiusFieldNumber = 7;
private long showRadius_;
/// <summary>
/// 对象显示半径
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long ShowRadius {
get { return showRadius_; }
set {
showRadius_ = value;
}
}
/// <summary>Field number for the "Icon" field.</summary>
public const int IconFieldNumber = 8;
private string icon_ = "";
/// <summary>
/// 对象图标
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Icon {
get { return icon_; }
set {
icon_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "Role" field.</summary>
public const int RoleFieldNumber = 9;
private string role_ = "";
/// <summary>
/// 对象角色
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Role {
get { return role_; }
set {
role_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "ItemDepend" field.</summary>
public const int ItemDependFieldNumber = 10;
private string itemDepend_ = "";
/// <summary>
/// 依赖物品
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ItemDepend {
get { return itemDepend_; }
set {
itemDepend_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TakeTime" field.</summary>
public const int TakeTimeFieldNumber = 11;
private long takeTime_;
/// <summary>
/// 交互、读条时间 -1 立即执行
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long TakeTime {
get { return takeTime_; }
set {
takeTime_ = value;
}
}
/// <summary>Field number for the "NeedPlayers" field.</summary>
public const int NeedPlayersFieldNumber = 12;
private string needPlayers_ = "";
/// <summary>
/// 判定范围,玩家数量,是否可操作(当人数不满足时)
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string NeedPlayers {
get { return needPlayers_; }
set {
needPlayers_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "TaskStatus" field.</summary>
public const int TaskStatusFieldNumber = 13;
private string taskStatus_ = "";
/// <summary>
/// 对应事件ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string TaskStatus {
get { return taskStatus_; }
set {
taskStatus_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "SelectList" field.</summary>
public const int SelectListFieldNumber = 14;
private string selectList_ = "";
/// <summary>
/// 选择列表
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string SelectList {
get { return selectList_; }
set {
selectList_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "OnOff" field.</summary>
public const int OnOffFieldNumber = 15;
private long onOff_;
/// <summary>
/// 操作状态 0不可操作 1 可操作
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long OnOff {
get { return onOff_; }
set {
onOff_ = value;
}
}
/// <summary>Field number for the "Status" field.</summary>
public const int StatusFieldNumber = 16;
private string status_ = "";
/// <summary>
/// 状态
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string Status {
get { return status_; }
set {
status_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "ResChange" field.</summary>
public const int ResChangeFieldNumber = 17;
private string resChange_ = "";
/// <summary>
/// 资源变化
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ResChange {
get { return resChange_; }
set {
resChange_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "ParallelControl" field.</summary>
public const int ParallelControlFieldNumber = 18;
private long parallelControl_;
/// <summary>
/// 是否支持多人操作
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long ParallelControl {
get { return parallelControl_; }
set {
parallelControl_ = value;
}
}
/// <summary>Field number for the "ExtraValue" field.</summary>
public const int ExtraValueFieldNumber = 19;
private string extraValue_ = "";
/// <summary>
/// 额外参数
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string ExtraValue {
get { return extraValue_; }
set {
extraValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UserIds" field.</summary>
public const int UserIdsFieldNumber = 20;
private string userIds_ = "";
/// <summary>
/// 玩家id列表 逗号分隔
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UserIds {
get { return userIds_; }
set {
userIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "CreateTime" field.</summary>
public const int CreateTimeFieldNumber = 21;
private string createTime_ = "";
/// <summary>
/// 创建时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string CreateTime {
get { return createTime_; }
set {
createTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "UpdateTime" field.</summary>
public const int UpdateTimeFieldNumber = 22;
private string updateTime_ = "";
/// <summary>
/// 更新时间
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string UpdateTime {
get { return updateTime_; }
set {
updateTime_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "RoomId" field.</summary>
public const int RoomIdFieldNumber = 23;
private string roomId_ = "";
/// <summary>
/// 房间ID
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string RoomId {
get { return roomId_; }
set {
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as ObjectOrmData);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(ObjectOrmData other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (ObjectId != other.ObjectId) return false;
if (Note != other.Note) return false;
if (Type != other.Type) return false;
if (Name != other.Name) return false;
if (NameShowOffset != other.NameShowOffset) return false;
if (ShowRadius != other.ShowRadius) return false;
if (Icon != other.Icon) return false;
if (Role != other.Role) return false;
if (ItemDepend != other.ItemDepend) return false;
if (TakeTime != other.TakeTime) return false;
if (NeedPlayers != other.NeedPlayers) return false;
if (TaskStatus != other.TaskStatus) return false;
if (SelectList != other.SelectList) return false;
if (OnOff != other.OnOff) return false;
if (Status != other.Status) return false;
if (ResChange != other.ResChange) return false;
if (ParallelControl != other.ParallelControl) return false;
if (ExtraValue != other.ExtraValue) return false;
if (UserIds != other.UserIds) return false;
if (CreateTime != other.CreateTime) return false;
if (UpdateTime != other.UpdateTime) return false;
if (RoomId != other.RoomId) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
if (Id.Length != 0) hash ^= Id.GetHashCode();
if (ObjectId.Length != 0) hash ^= ObjectId.GetHashCode();
if (Note.Length != 0) hash ^= Note.GetHashCode();
if (Type.Length != 0) hash ^= Type.GetHashCode();
if (Name.Length != 0) hash ^= Name.GetHashCode();
if (NameShowOffset != 0L) hash ^= NameShowOffset.GetHashCode();
if (ShowRadius != 0L) hash ^= ShowRadius.GetHashCode();
if (Icon.Length != 0) hash ^= Icon.GetHashCode();
if (Role.Length != 0) hash ^= Role.GetHashCode();
if (ItemDepend.Length != 0) hash ^= ItemDepend.GetHashCode();
if (TakeTime != 0L) hash ^= TakeTime.GetHashCode();
if (NeedPlayers.Length != 0) hash ^= NeedPlayers.GetHashCode();
if (TaskStatus.Length != 0) hash ^= TaskStatus.GetHashCode();
if (SelectList.Length != 0) hash ^= SelectList.GetHashCode();
if (OnOff != 0L) hash ^= OnOff.GetHashCode();
if (Status.Length != 0) hash ^= Status.GetHashCode();
if (ResChange.Length != 0) hash ^= ResChange.GetHashCode();
if (ParallelControl != 0L) hash ^= ParallelControl.GetHashCode();
if (ExtraValue.Length != 0) hash ^= ExtraValue.GetHashCode();
if (UserIds.Length != 0) hash ^= UserIds.GetHashCode();
if (CreateTime.Length != 0) hash ^= CreateTime.GetHashCode();
if (UpdateTime.Length != 0) hash ^= UpdateTime.GetHashCode();
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void WriteTo(pb::CodedOutputStream output) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output.WriteRawMessage(this);
#else
if (Id.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Id);
}
if (ObjectId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ObjectId);
}
if (Note.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Note);
}
if (Type.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Type);
}
if (Name.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Name);
}
if (NameShowOffset != 0L) {
output.WriteRawTag(48);
output.WriteInt64(NameShowOffset);
}
if (ShowRadius != 0L) {
output.WriteRawTag(56);
output.WriteInt64(ShowRadius);
}
if (Icon.Length != 0) {
output.WriteRawTag(66);
output.WriteString(Icon);
}
if (Role.Length != 0) {
output.WriteRawTag(74);
output.WriteString(Role);
}
if (ItemDepend.Length != 0) {
output.WriteRawTag(82);
output.WriteString(ItemDepend);
}
if (TakeTime != 0L) {
output.WriteRawTag(88);
output.WriteInt64(TakeTime);
}
if (NeedPlayers.Length != 0) {
output.WriteRawTag(98);
output.WriteString(NeedPlayers);
}
if (TaskStatus.Length != 0) {
output.WriteRawTag(106);
output.WriteString(TaskStatus);
}
if (SelectList.Length != 0) {
output.WriteRawTag(114);
output.WriteString(SelectList);
}
if (OnOff != 0L) {
output.WriteRawTag(120);
output.WriteInt64(OnOff);
}
if (Status.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(Status);
}
if (ResChange.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(ResChange);
}
if (ParallelControl != 0L) {
output.WriteRawTag(144, 1);
output.WriteInt64(ParallelControl);
}
if (ExtraValue.Length != 0) {
output.WriteRawTag(154, 1);
output.WriteString(ExtraValue);
}
if (UserIds.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(UserIds);
}
if (CreateTime.Length != 0) {
output.WriteRawTag(170, 1);
output.WriteString(CreateTime);
}
if (UpdateTime.Length != 0) {
output.WriteRawTag(178, 1);
output.WriteString(UpdateTime);
}
if (RoomId.Length != 0) {
output.WriteRawTag(186, 1);
output.WriteString(RoomId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
if (Id.Length != 0) {
output.WriteRawTag(10);
output.WriteString(Id);
}
if (ObjectId.Length != 0) {
output.WriteRawTag(18);
output.WriteString(ObjectId);
}
if (Note.Length != 0) {
output.WriteRawTag(26);
output.WriteString(Note);
}
if (Type.Length != 0) {
output.WriteRawTag(34);
output.WriteString(Type);
}
if (Name.Length != 0) {
output.WriteRawTag(42);
output.WriteString(Name);
}
if (NameShowOffset != 0L) {
output.WriteRawTag(48);
output.WriteInt64(NameShowOffset);
}
if (ShowRadius != 0L) {
output.WriteRawTag(56);
output.WriteInt64(ShowRadius);
}
if (Icon.Length != 0) {
output.WriteRawTag(66);
output.WriteString(Icon);
}
if (Role.Length != 0) {
output.WriteRawTag(74);
output.WriteString(Role);
}
if (ItemDepend.Length != 0) {
output.WriteRawTag(82);
output.WriteString(ItemDepend);
}
if (TakeTime != 0L) {
output.WriteRawTag(88);
output.WriteInt64(TakeTime);
}
if (NeedPlayers.Length != 0) {
output.WriteRawTag(98);
output.WriteString(NeedPlayers);
}
if (TaskStatus.Length != 0) {
output.WriteRawTag(106);
output.WriteString(TaskStatus);
}
if (SelectList.Length != 0) {
output.WriteRawTag(114);
output.WriteString(SelectList);
}
if (OnOff != 0L) {
output.WriteRawTag(120);
output.WriteInt64(OnOff);
}
if (Status.Length != 0) {
output.WriteRawTag(130, 1);
output.WriteString(Status);
}
if (ResChange.Length != 0) {
output.WriteRawTag(138, 1);
output.WriteString(ResChange);
}
if (ParallelControl != 0L) {
output.WriteRawTag(144, 1);
output.WriteInt64(ParallelControl);
}
if (ExtraValue.Length != 0) {
output.WriteRawTag(154, 1);
output.WriteString(ExtraValue);
}
if (UserIds.Length != 0) {
output.WriteRawTag(162, 1);
output.WriteString(UserIds);
}
if (CreateTime.Length != 0) {
output.WriteRawTag(170, 1);
output.WriteString(CreateTime);
}
if (UpdateTime.Length != 0) {
output.WriteRawTag(178, 1);
output.WriteString(UpdateTime);
}
if (RoomId.Length != 0) {
output.WriteRawTag(186, 1);
output.WriteString(RoomId);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(ref output);
}
}
#endif
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int CalculateSize() {
int size = 0;
if (Id.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Id);
}
if (ObjectId.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ObjectId);
}
if (Note.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Note);
}
if (Type.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Type);
}
if (Name.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
}
if (NameShowOffset != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(NameShowOffset);
}
if (ShowRadius != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(ShowRadius);
}
if (Icon.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon);
}
if (Role.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(Role);
}
if (ItemDepend.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(ItemDepend);
}
if (TakeTime != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(TakeTime);
}
if (NeedPlayers.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(NeedPlayers);
}
if (TaskStatus.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskStatus);
}
if (SelectList.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(SelectList);
}
if (OnOff != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(OnOff);
}
if (Status.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(Status);
}
if (ResChange.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(ResChange);
}
if (ParallelControl != 0L) {
size += 2 + pb::CodedOutputStream.ComputeInt64Size(ParallelControl);
}
if (ExtraValue.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(ExtraValue);
}
if (UserIds.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(UserIds);
}
if (CreateTime.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(CreateTime);
}
if (UpdateTime.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(UpdateTime);
}
if (RoomId.Length != 0) {
size += 2 + pb::CodedOutputStream.ComputeStringSize(RoomId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(ObjectOrmData other) {
if (other == null) {
return;
}
if (other.Id.Length != 0) {
Id = other.Id;
}
if (other.ObjectId.Length != 0) {
ObjectId = other.ObjectId;
}
if (other.Note.Length != 0) {
Note = other.Note;
}
if (other.Type.Length != 0) {
Type = other.Type;
}
if (other.Name.Length != 0) {
Name = other.Name;
}
if (other.NameShowOffset != 0L) {
NameShowOffset = other.NameShowOffset;
}
if (other.ShowRadius != 0L) {
ShowRadius = other.ShowRadius;
}
if (other.Icon.Length != 0) {
Icon = other.Icon;
}
if (other.Role.Length != 0) {
Role = other.Role;
}
if (other.ItemDepend.Length != 0) {
ItemDepend = other.ItemDepend;
}
if (other.TakeTime != 0L) {
TakeTime = other.TakeTime;
}
if (other.NeedPlayers.Length != 0) {
NeedPlayers = other.NeedPlayers;
}
if (other.TaskStatus.Length != 0) {
TaskStatus = other.TaskStatus;
}
if (other.SelectList.Length != 0) {
SelectList = other.SelectList;
}
if (other.OnOff != 0L) {
OnOff = other.OnOff;
}
if (other.Status.Length != 0) {
Status = other.Status;
}
if (other.ResChange.Length != 0) {
ResChange = other.ResChange;
}
if (other.ParallelControl != 0L) {
ParallelControl = other.ParallelControl;
}
if (other.ExtraValue.Length != 0) {
ExtraValue = other.ExtraValue;
}
if (other.UserIds.Length != 0) {
UserIds = other.UserIds;
}
if (other.CreateTime.Length != 0) {
CreateTime = other.CreateTime;
}
if (other.UpdateTime.Length != 0) {
UpdateTime = other.UpdateTime;
}
if (other.RoomId.Length != 0) {
RoomId = other.RoomId;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(pb::CodedInputStream input) {
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input.ReadRawMessage(this);
#else
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
Id = input.ReadString();
break;
}
case 18: {
ObjectId = input.ReadString();
break;
}
case 26: {
Note = input.ReadString();
break;
}
case 34: {
Type = input.ReadString();
break;
}
case 42: {
Name = input.ReadString();
break;
}
case 48: {
NameShowOffset = input.ReadInt64();
break;
}
case 56: {
ShowRadius = input.ReadInt64();
break;
}
case 66: {
Icon = input.ReadString();
break;
}
case 74: {
Role = input.ReadString();
break;
}
case 82: {
ItemDepend = input.ReadString();
break;
}
case 88: {
TakeTime = input.ReadInt64();
break;
}
case 98: {
NeedPlayers = input.ReadString();
break;
}
case 106: {
TaskStatus = input.ReadString();
break;
}
case 114: {
SelectList = input.ReadString();
break;
}
case 120: {
OnOff = input.ReadInt64();
break;
}
case 130: {
Status = input.ReadString();
break;
}
case 138: {
ResChange = input.ReadString();
break;
}
case 144: {
ParallelControl = input.ReadInt64();
break;
}
case 154: {
ExtraValue = input.ReadString();
break;
}
case 162: {
UserIds = input.ReadString();
break;
}
case 170: {
CreateTime = input.ReadString();
break;
}
case 178: {
UpdateTime = input.ReadString();
break;
}
case 186: {
RoomId = input.ReadString();
break;
}
}
}
#endif
}
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
if ((tag & 7) == 4) {
// Abort on any end group tag.
return;
}
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 10: {
Id = input.ReadString();
break;
}
case 18: {
ObjectId = input.ReadString();
break;
}
case 26: {
Note = input.ReadString();
break;
}
case 34: {
Type = input.ReadString();
break;
}
case 42: {
Name = input.ReadString();
break;
}
case 48: {
NameShowOffset = input.ReadInt64();
break;
}
case 56: {
ShowRadius = input.ReadInt64();
break;
}
case 66: {
Icon = input.ReadString();
break;
}
case 74: {
Role = input.ReadString();
break;
}
case 82: {
ItemDepend = input.ReadString();
break;
}
case 88: {
TakeTime = input.ReadInt64();
break;
}
case 98: {
NeedPlayers = input.ReadString();
break;
}
case 106: {
TaskStatus = input.ReadString();
break;
}
case 114: {
SelectList = input.ReadString();
break;
}
case 120: {
OnOff = input.ReadInt64();
break;
}
case 130: {
Status = input.ReadString();
break;
}
case 138: {
ResChange = input.ReadString();
break;
}
case 144: {
ParallelControl = input.ReadInt64();
break;
}
case 154: {
ExtraValue = input.ReadString();
break;
}
case 162: {
UserIds = input.ReadString();
break;
}
case 170: {
CreateTime = input.ReadString();
break;
}
case 178: {
UpdateTime = input.ReadString();
break;
}
case 186: {
RoomId = input.ReadString();
break;
}
}
}
}
#endif
}
2024-11-23 14:08:04 +08:00
#endregion
#endregion Designer generated code