From 7496a6effda5fc850905a58e6e98d7917daad129 Mon Sep 17 00:00:00 2001 From: huyulong <1838407198@qq.com> Date: Thu, 5 Dec 2024 16:31:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0common=E6=96=87=E4=BB=B6?= =?UTF-8?q?=EF=BC=8C=E5=B0=86=E7=9B=B8=E5=85=B3proto=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=A7=BB=E5=88=B0=E9=A1=B9=E7=9B=AE=E4=B8=AD=EF=BC=8C=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E7=B3=BB=E7=BB=9FUI=E5=92=8Cjson=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaofang/Assets/HYLjson/Language.json | 22 + xiaofang/Assets/HYLjson/Language.json.meta | 7 + xiaofang/Assets/Prefabs/HYLPrefabs.meta | 8 + .../Assets/Prefabs/HYLPrefabs/Task.prefab | 216 + .../Prefabs/HYLPrefabs/Task.prefab.meta | 7 + xiaofang/Assets/ProtoBuf/Proto.meta | 8 + xiaofang/Assets/ProtoBuf/Proto/Common.cs | 281 + xiaofang/Assets/ProtoBuf/Proto/Common.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/Config.cs | 83 + xiaofang/Assets/ProtoBuf/Proto/Config.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/Fps.cs | 1099 ++++ xiaofang/Assets/ProtoBuf/Proto/Fps.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/Hall.cs | 4875 +++++++++++++++ xiaofang/Assets/ProtoBuf/Proto/Hall.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/Join.cs | 2837 +++++++++ xiaofang/Assets/ProtoBuf/Proto/Join.cs.meta | 11 + .../Assets/ProtoBuf/Proto/MessageBroadcast.cs | 525 ++ .../ProtoBuf/Proto/MessageBroadcast.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/Move.cs | 2008 ++++++ xiaofang/Assets/ProtoBuf/Proto/Move.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/Object.cs | 1497 +++++ xiaofang/Assets/ProtoBuf/Proto/Object.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/Prop.cs | 1936 ++++++ xiaofang/Assets/ProtoBuf/Proto/Prop.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/Room.cs | 4094 +++++++++++++ xiaofang/Assets/ProtoBuf/Proto/Room.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/Task.cs | 2867 +++++++++ xiaofang/Assets/ProtoBuf/Proto/Task.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/User.cs | 1031 ++++ xiaofang/Assets/ProtoBuf/Proto/User.cs.meta | 11 + xiaofang/Assets/ProtoBuf/Proto/Ws.cs | 726 +++ xiaofang/Assets/ProtoBuf/Proto/Ws.cs.meta | 11 + xiaofang/Assets/Res/HYLUI.meta | 8 + xiaofang/Assets/Res/HYLUI/AutoResize.cs | 19 + xiaofang/Assets/Res/HYLUI/AutoResize.cs.meta | 11 + xiaofang/Assets/Res/HYLUI/TaskPanel.cs | 42 + xiaofang/Assets/Res/HYLUI/TaskPanel.cs.meta | 11 + xiaofang/Assets/Res/HYLUI/btn_pullright.png | Bin 0 -> 866 bytes .../Assets/Res/HYLUI/btn_pullright.png.meta | 123 + .../Assets/Res/HYLUI/frame_commontxtbox02.png | Bin 0 -> 568 bytes .../Res/HYLUI/frame_commontxtbox02.png.meta | 123 + .../Assets/Res/HYLUI/img_pullright_bg.png | Bin 0 -> 18817 bytes .../Res/HYLUI/img_pullright_bg.png.meta | 123 + .../mipmap-xxxhdpi/{预定演练10.png => 10.png} | Bin .../{预定演练10.png.meta => 10.png.meta} | 0 .../{预定演练07-3.png => 07-3.png} | Bin .../{预定演练07-3.png.meta => 07-3.png.meta} | 0 .../mipmap-xxxhdpi/{预定演练09.png => 09.png} | Bin .../{预定演练09.png.meta => 09.png.meta} | 0 .../{主持人02 (1).png => host.png} | Bin .../{主持人02 (1).png.meta => host.png.meta} | 0 .../Panel_host02/{主持人01.png => host02.png} | Bin .../{主持人01.png.meta => host02.png.meta} | 0 xiaofang/Assets/Scenes/Tmap 1.unity | 5365 ++++++++++++++++- xiaofang/Assets/UnityCommon | 2 +- 55 files changed, 30095 insertions(+), 2 deletions(-) create mode 100644 xiaofang/Assets/HYLjson/Language.json create mode 100644 xiaofang/Assets/HYLjson/Language.json.meta create mode 100644 xiaofang/Assets/Prefabs/HYLPrefabs.meta create mode 100644 xiaofang/Assets/Prefabs/HYLPrefabs/Task.prefab create mode 100644 xiaofang/Assets/Prefabs/HYLPrefabs/Task.prefab.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Common.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Common.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Config.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Config.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Fps.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Fps.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Hall.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Hall.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Join.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Join.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/MessageBroadcast.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/MessageBroadcast.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Move.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Move.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Object.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Object.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Prop.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Prop.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Room.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Room.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Task.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Task.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/User.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/User.cs.meta create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Ws.cs create mode 100644 xiaofang/Assets/ProtoBuf/Proto/Ws.cs.meta create mode 100644 xiaofang/Assets/Res/HYLUI.meta create mode 100644 xiaofang/Assets/Res/HYLUI/AutoResize.cs create mode 100644 xiaofang/Assets/Res/HYLUI/AutoResize.cs.meta create mode 100644 xiaofang/Assets/Res/HYLUI/TaskPanel.cs create mode 100644 xiaofang/Assets/Res/HYLUI/TaskPanel.cs.meta create mode 100644 xiaofang/Assets/Res/HYLUI/btn_pullright.png create mode 100644 xiaofang/Assets/Res/HYLUI/btn_pullright.png.meta create mode 100644 xiaofang/Assets/Res/HYLUI/frame_commontxtbox02.png create mode 100644 xiaofang/Assets/Res/HYLUI/frame_commontxtbox02.png.meta create mode 100644 xiaofang/Assets/Res/HYLUI/img_pullright_bg.png create mode 100644 xiaofang/Assets/Res/HYLUI/img_pullright_bg.png.meta rename xiaofang/Assets/Res/UIPanel/Panel_10/mipmap-xxxhdpi/{预定演练10.png => 10.png} (100%) rename xiaofang/Assets/Res/UIPanel/Panel_10/mipmap-xxxhdpi/{预定演练10.png.meta => 10.png.meta} (100%) rename xiaofang/Assets/Res/UIPanel/Panel_7-3/mipmap-xxxhdpi/{预定演练07-3.png => 07-3.png} (100%) rename xiaofang/Assets/Res/UIPanel/Panel_7-3/mipmap-xxxhdpi/{预定演练07-3.png.meta => 07-3.png.meta} (100%) rename xiaofang/Assets/Res/UIPanel/Panel_9/mipmap-xxxhdpi/{预定演练09.png => 09.png} (100%) rename xiaofang/Assets/Res/UIPanel/Panel_9/mipmap-xxxhdpi/{预定演练09.png.meta => 09.png.meta} (100%) rename xiaofang/Assets/Res/UIPanel/Panel_host02/{主持人02 (1).png => host.png} (100%) rename xiaofang/Assets/Res/UIPanel/Panel_host02/{主持人02 (1).png.meta => host.png.meta} (100%) rename xiaofang/Assets/Res/UIPanel/Panel_host02/{主持人01.png => host02.png} (100%) rename xiaofang/Assets/Res/UIPanel/Panel_host02/{主持人01.png.meta => host02.png.meta} (100%) diff --git a/xiaofang/Assets/HYLjson/Language.json b/xiaofang/Assets/HYLjson/Language.json new file mode 100644 index 00000000..e0d25f0e --- /dev/null +++ b/xiaofang/Assets/HYLjson/Language.json @@ -0,0 +1,22 @@ +[ + { + "ID": "11001", + "Text": "测试任务1", + "Note": "测试任务" + }, + { + "ID": "11002", + "Text": "测试任务2", + "Note": "测试任务" + }, + { + "ID": "11003", + "Text": "测试任务3", + "Note": "测试任务" + }, + { + "ID": "11004", + "Text": "测试任务4", + "Note": "测试任务" + } +] \ No newline at end of file diff --git a/xiaofang/Assets/HYLjson/Language.json.meta b/xiaofang/Assets/HYLjson/Language.json.meta new file mode 100644 index 00000000..ef91c10b --- /dev/null +++ b/xiaofang/Assets/HYLjson/Language.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d5e54aa3c34f90f48ac60f40191f2532 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/Prefabs/HYLPrefabs.meta b/xiaofang/Assets/Prefabs/HYLPrefabs.meta new file mode 100644 index 00000000..f9332447 --- /dev/null +++ b/xiaofang/Assets/Prefabs/HYLPrefabs.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5fd268d80617b344aa905e2e2d9b15fd +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/Prefabs/HYLPrefabs/Task.prefab b/xiaofang/Assets/Prefabs/HYLPrefabs/Task.prefab new file mode 100644 index 00000000..d91fc219 --- /dev/null +++ b/xiaofang/Assets/Prefabs/HYLPrefabs/Task.prefab @@ -0,0 +1,216 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &3645880154395566478 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3645880154395566479} + - component: {fileID: 3645880154395566473} + - component: {fileID: 3645880154395566472} + - component: {fileID: 2583487535111146080} + m_Layer: 5 + m_Name: Text (Legacy) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3645880154395566479 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3645880154395566478} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 3645880154619645307} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 164, y: -14} + m_SizeDelta: {x: 328, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3645880154395566473 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3645880154395566478} + m_CullTransparentMesh: 1 +--- !u!114 &3645880154395566472 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3645880154395566478} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 25 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 0 + m_MaxSize: 52 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 1 + m_LineSpacing: 1.2 + m_Text: +--- !u!114 &2583487535111146080 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3645880154395566478} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!1 &3645880154619645306 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3645880154619645307} + - component: {fileID: 3645880154619645285} + - component: {fileID: 3645880154619645284} + - component: {fileID: 557942137187336893} + - component: {fileID: 6218000086705861260} + m_Layer: 5 + m_Name: Task + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3645880154619645307 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3645880154619645306} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 3645880154395566479} + m_Father: {fileID: 0} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 164, y: -25} + m_SizeDelta: {x: 328, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3645880154619645285 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3645880154619645306} + m_CullTransparentMesh: 1 +--- !u!114 &3645880154619645284 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3645880154619645306} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: d92dedb6bb0aa524cab9a45697d1f393, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &557942137187336893 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3645880154619645306} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 0 + m_VerticalFit: 2 +--- !u!114 &6218000086705861260 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3645880154619645306} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 0 + m_Spacing: 0 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 1 + m_ChildControlWidth: 1 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 diff --git a/xiaofang/Assets/Prefabs/HYLPrefabs/Task.prefab.meta b/xiaofang/Assets/Prefabs/HYLPrefabs/Task.prefab.meta new file mode 100644 index 00000000..c21eeae2 --- /dev/null +++ b/xiaofang/Assets/Prefabs/HYLPrefabs/Task.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 1a0185fc1549da647943a21145debe29 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto.meta b/xiaofang/Assets/ProtoBuf/Proto.meta new file mode 100644 index 00000000..e4a46fc9 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ba933e54a4c5cfa408443ed45c497e0a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Common.cs b/xiaofang/Assets/ProtoBuf/Proto/Common.cs new file mode 100644 index 00000000..4e106243 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Common.cs @@ -0,0 +1,281 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: common.proto +// +#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; +/// Holder for reflection information generated from common.proto +public static partial class CommonReflection { + + #region Descriptor + /// File descriptor for common.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static CommonReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cgxjb21tb24ucHJvdG8iLgoNUmVzdWx0TWVzc2FnZRIMCgRjb2RlGAEgASgF", + "Eg8KB21lc3NhZ2UYAiABKAlCB1oFLi87cGJiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::ResultMessage), global::ResultMessage.Parser, new[]{ "Code", "Message" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ResultMessage : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResultMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::CommonReflection.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 ResultMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResultMessage(ResultMessage other) : this() { + code_ = other.code_; + message_ = other.message_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResultMessage Clone() { + return new ResultMessage(this); + } + + /// Field number for the "code" field. + public const int CodeFieldNumber = 1; + private int code_; + /// + /// 错误码 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Code { + get { return code_; } + set { + code_ = value; + } + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 2; + private string message_ = ""; + /// + /// 错误信息 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = 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 ResultMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResultMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Code != other.Code) return false; + if (Message != other.Message) 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 (Code != 0) hash ^= Code.GetHashCode(); + if (Message.Length != 0) hash ^= Message.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 (Code != 0) { + output.WriteRawTag(8); + output.WriteInt32(Code); + } + if (Message.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Message); + } + 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 (Code != 0) { + output.WriteRawTag(8); + output.WriteInt32(Code); + } + if (Message.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Message); + } + 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 (Code != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); + } + if (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ResultMessage other) { + if (other == null) { + return; + } + if (other.Code != 0) { + Code = other.Code; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + _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: { + Code = input.ReadInt32(); + break; + } + case 18: { + Message = 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: { + Code = input.ReadInt32(); + break; + } + case 18: { + Message = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Common.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Common.cs.meta new file mode 100644 index 00000000..1f62f667 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Common.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8f08a6ce1ce72944ab924e71bac47c6f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Config.cs b/xiaofang/Assets/ProtoBuf/Proto/Config.cs new file mode 100644 index 00000000..4b9a1401 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Config.cs @@ -0,0 +1,83 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: config.proto +// +#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; +/// Holder for reflection information generated from config.proto +public static partial class ConfigReflection { + + #region Descriptor + /// File descriptor for config.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ConfigReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cgxjb25maWcucHJvdG8qnQEKCkVSUk9SX0NPREUSCgoGRVJSX09rEAASEAoM", + "RVJSX05vUGxheWVyEAESDgoKRVJSX05vUm9vbRACEg0KCUVSUl9Ub2tlbhAE", + "Eg0KCUVSUl9Mb2dpbhAFEg4KCkVSUl9BY3Rpb24QBhIOCgpFUlJfUGFyYW1z", + "EAcSDgoKRVJSX1NlcnZlchAIEhMKD0VSUl9Ob0F1dGhvcml0eRAJQgdaBS4v", + "O3BiYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::ERROR_CODE), }, null, null)); + } + #endregion + +} +#region Enums +/// +///错误码 +/// +public enum ERROR_CODE { + /// + ///OK + /// + [pbr::OriginalName("ERR_Ok")] ErrOk = 0, + /// + ///没有这个玩家 + /// + [pbr::OriginalName("ERR_NoPlayer")] ErrNoPlayer = 1, + /// + ///加入房间失败 + /// + [pbr::OriginalName("ERR_NoRoom")] ErrNoRoom = 2, + /// + ///Token验证失败 + /// + [pbr::OriginalName("ERR_Token")] ErrToken = 4, + /// + ///登录失败 + /// + [pbr::OriginalName("ERR_Login")] ErrLogin = 5, + /// + ///操作失败 + /// + [pbr::OriginalName("ERR_Action")] ErrAction = 6, + /// + ///参数错误 + /// + [pbr::OriginalName("ERR_Params")] ErrParams = 7, + /// + ///服务器内部错误 + /// + [pbr::OriginalName("ERR_Server")] ErrServer = 8, + /// + ///没有权限 + /// + [pbr::OriginalName("ERR_NoAuthority")] ErrNoAuthority = 9, +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Config.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Config.cs.meta new file mode 100644 index 00000000..40d31e9f --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Config.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6249125b6bd7a964aa825c041b9cab82 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Fps.cs b/xiaofang/Assets/ProtoBuf/Proto/Fps.cs new file mode 100644 index 00000000..b2a64f5d --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Fps.cs @@ -0,0 +1,1099 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: fps.proto +// +#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; +/// Holder for reflection information generated from fps.proto +public static partial class FpsReflection { + + #region Descriptor + /// File descriptor for fps.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static FpsReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CglmcHMucHJvdG8iNgoRQnJvYWRjYXN0RnJhbWVNc2cSIQoGZnJhbWVzGAEg", + "AygLMhEuRnJhbWVEYXRhUmVxdWVzdCJPChBGcmFtZURhdGFSZXF1ZXN0EhQK", + "B2ZyYW1lSUQYASABKA1IAIgBARIZCgVpbnB1dBgCIAMoCzIKLklucHV0RGF0", + "YUIKCghfZnJhbWVJRCJpCglJbnB1dERhdGESCgoCaWQYASABKAkSCwoDc0lk", + "GAIgASgJEgkKAXgYAyABKAISCQoBeRgEIAEoAhISCgpyb29tU2VhdElkGAUg", + "ASgFEgkKAXoYBiABKAISDgoGcm9vbUlkGAggASgJIg8KDUVtcHR5UmVzcG9u", + "c2VCB1oFLi87cGJiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::BroadcastFrameMsg), global::BroadcastFrameMsg.Parser, new[]{ "Frames" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::FrameDataRequest), global::FrameDataRequest.Parser, new[]{ "FrameID", "Input" }, new[]{ "FrameID" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::InputData), global::InputData.Parser, new[]{ "Id", "SId", "X", "Y", "RoomSeatId", "Z", "RoomId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::EmptyResponse), global::EmptyResponse.Parser, null, null, null, null, null) + })); + } + #endregion + +} +#region Messages +/// +///广播帧消息 +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class BroadcastFrameMsg : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BroadcastFrameMsg()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::FpsReflection.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 BroadcastFrameMsg() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BroadcastFrameMsg(BroadcastFrameMsg other) : this() { + frames_ = other.frames_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BroadcastFrameMsg Clone() { + return new BroadcastFrameMsg(this); + } + + /// Field number for the "frames" field. + public const int FramesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_frames_codec + = pb::FieldCodec.ForMessage(10, global::FrameDataRequest.Parser); + private readonly pbc::RepeatedField frames_ = new pbc::RepeatedField(); + /// + ///帧数据 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Frames { + get { return frames_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as BroadcastFrameMsg); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BroadcastFrameMsg other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!frames_.Equals(other.frames_)) 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; + hash ^= frames_.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 + frames_.WriteTo(output, _repeated_frames_codec); + 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) { + frames_.WriteTo(ref output, _repeated_frames_codec); + 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; + size += frames_.CalculateSize(_repeated_frames_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BroadcastFrameMsg other) { + if (other == null) { + return; + } + frames_.Add(other.frames_); + _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: { + frames_.AddEntriesFrom(input, _repeated_frames_codec); + 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: { + frames_.AddEntriesFrom(ref input, _repeated_frames_codec); + break; + } + } + } + } + #endif + +} + +/// +///帧数据 +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class FrameDataRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FrameDataRequest()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::FpsReflection.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 FrameDataRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameDataRequest(FrameDataRequest other) : this() { + _hasBits0 = other._hasBits0; + frameID_ = other.frameID_; + input_ = other.input_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameDataRequest Clone() { + return new FrameDataRequest(this); + } + + /// Field number for the "frameID" field. + public const int FrameIDFieldNumber = 1; + private readonly static uint FrameIDDefaultValue = 0; + + private uint frameID_; + /// + ///帧ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FrameID { + get { if ((_hasBits0 & 1) != 0) { return frameID_; } else { return FrameIDDefaultValue; } } + set { + _hasBits0 |= 1; + frameID_ = value; + } + } + /// Gets whether the "frameID" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFrameID { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "frameID" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFrameID() { + _hasBits0 &= ~1; + } + + /// Field number for the "input" field. + public const int InputFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_input_codec + = pb::FieldCodec.ForMessage(18, global::InputData.Parser); + private readonly pbc::RepeatedField input_ = new pbc::RepeatedField(); + /// + ///操作输入 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Input { + get { return input_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FrameDataRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FrameDataRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FrameID != other.FrameID) return false; + if(!input_.Equals(other.input_)) 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 (HasFrameID) hash ^= FrameID.GetHashCode(); + hash ^= input_.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 (HasFrameID) { + output.WriteRawTag(8); + output.WriteUInt32(FrameID); + } + input_.WriteTo(output, _repeated_input_codec); + 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 (HasFrameID) { + output.WriteRawTag(8); + output.WriteUInt32(FrameID); + } + input_.WriteTo(ref output, _repeated_input_codec); + 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 (HasFrameID) { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FrameID); + } + size += input_.CalculateSize(_repeated_input_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FrameDataRequest other) { + if (other == null) { + return; + } + if (other.HasFrameID) { + FrameID = other.FrameID; + } + input_.Add(other.input_); + _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: { + FrameID = input.ReadUInt32(); + break; + } + case 18: { + input_.AddEntriesFrom(input, _repeated_input_codec); + 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: { + FrameID = input.ReadUInt32(); + break; + } + case 18: { + input_.AddEntriesFrom(ref input, _repeated_input_codec); + break; + } + } + } + } + #endif + +} + +/// +///帧存储操作输入 +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class InputData : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new InputData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::FpsReflection.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 InputData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InputData(InputData other) : this() { + id_ = other.id_; + sId_ = other.sId_; + x_ = other.x_; + y_ = other.y_; + roomSeatId_ = other.roomSeatId_; + z_ = other.z_; + roomId_ = other.roomId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public InputData Clone() { + return new InputData(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + /// + ///id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "sId" field. + public const int SIdFieldNumber = 2; + private string sId_ = ""; + /// + ///操作id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SId { + get { return sId_; } + set { + sId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "x" field. + public const int XFieldNumber = 3; + private float x_; + /// + ///操作位置x + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float X { + get { return x_; } + set { + x_ = value; + } + } + + /// Field number for the "y" field. + public const int YFieldNumber = 4; + private float y_; + /// + ///操作位置y + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Y { + get { return y_; } + set { + y_ = value; + } + } + + /// Field number for the "roomSeatId" field. + public const int RoomSeatIdFieldNumber = 5; + private int roomSeatId_; + /// + ///操作者的位置索引id(1~N) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoomSeatId { + get { return roomSeatId_; } + set { + roomSeatId_ = value; + } + } + + /// Field number for the "z" field. + public const int ZFieldNumber = 6; + private float z_; + /// + ///操作位置z + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Z { + get { return z_; } + set { + z_ = value; + } + } + + /// Field number for the "roomId" field. + public const int RoomIdFieldNumber = 8; + private string roomId_ = ""; + /// + ///房间id + /// + [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 InputData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(InputData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (SId != other.SId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; + if (RoomSeatId != other.RoomSeatId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) 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 (SId.Length != 0) hash ^= SId.GetHashCode(); + if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); + if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); + if (RoomSeatId != 0) hash ^= RoomSeatId.GetHashCode(); + if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); + 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 (SId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SId); + } + if (X != 0F) { + output.WriteRawTag(29); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(37); + output.WriteFloat(Y); + } + if (RoomSeatId != 0) { + output.WriteRawTag(40); + output.WriteInt32(RoomSeatId); + } + if (Z != 0F) { + output.WriteRawTag(53); + output.WriteFloat(Z); + } + if (RoomId.Length != 0) { + output.WriteRawTag(66); + 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 (SId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(SId); + } + if (X != 0F) { + output.WriteRawTag(29); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(37); + output.WriteFloat(Y); + } + if (RoomSeatId != 0) { + output.WriteRawTag(40); + output.WriteInt32(RoomSeatId); + } + if (Z != 0F) { + output.WriteRawTag(53); + output.WriteFloat(Z); + } + if (RoomId.Length != 0) { + output.WriteRawTag(66); + 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 (SId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SId); + } + if (X != 0F) { + size += 1 + 4; + } + if (Y != 0F) { + size += 1 + 4; + } + if (RoomSeatId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomSeatId); + } + if (Z != 0F) { + size += 1 + 4; + } + if (RoomId.Length != 0) { + size += 1 + 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(InputData other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.SId.Length != 0) { + SId = other.SId; + } + if (other.X != 0F) { + X = other.X; + } + if (other.Y != 0F) { + Y = other.Y; + } + if (other.RoomSeatId != 0) { + RoomSeatId = other.RoomSeatId; + } + if (other.Z != 0F) { + Z = other.Z; + } + 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: { + SId = input.ReadString(); + break; + } + case 29: { + X = input.ReadFloat(); + break; + } + case 37: { + Y = input.ReadFloat(); + break; + } + case 40: { + RoomSeatId = input.ReadInt32(); + break; + } + case 53: { + Z = input.ReadFloat(); + break; + } + case 66: { + 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: { + SId = input.ReadString(); + break; + } + case 29: { + X = input.ReadFloat(); + break; + } + case 37: { + Y = input.ReadFloat(); + break; + } + case 40: { + RoomSeatId = input.ReadInt32(); + break; + } + case 53: { + Z = input.ReadFloat(); + break; + } + case 66: { + RoomId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +/// +/// 空白消息 +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class EmptyResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new EmptyResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::FpsReflection.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 EmptyResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmptyResponse(EmptyResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public EmptyResponse Clone() { + return new EmptyResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as EmptyResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(EmptyResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + 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 (_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 (_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 (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(EmptyResponse other) { + if (other == null) { + return; + } + _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; + } + } + #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; + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Fps.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Fps.cs.meta new file mode 100644 index 00000000..3c5e24a9 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Fps.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 013d659005f08544cafe01b5a18e6072 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Hall.cs b/xiaofang/Assets/ProtoBuf/Proto/Hall.cs new file mode 100644 index 00000000..88f09750 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Hall.cs @@ -0,0 +1,4875 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: hall.proto +// +#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; +/// Holder for reflection information generated from hall.proto +public static partial class HallReflection { + + #region Descriptor + /// File descriptor for hall.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static HallReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CgpoYWxsLnByb3RvIi8KDExvZ2luUmVxdWVzdBIOCgZ1c2VySWQYASABKAkS", + "DwoHYWNjb3VudBgCIAEoCSIuCg1Mb2dpblJlc3BvbnNlEg8KB21lc3NhZ2UY", + "ASABKAkSDAoEY29kZRgCIAEoBSIfCgxIZWxsb1JlcXVlc3QSDwoHbWVzc2Fn", + "ZRgBIAEoCSIgCg1IZWxsb1Jlc3BvbnNlEg8KB21lc3NhZ2UYASABKAkiIQoP", + "Sm9pblJvb21SZXF1ZXN0Eg4KBnJvb21JZBgBIAEoCSJUChBKb2luUm9vbVJl", + "c3BvbnNlEg8KB21lc3NhZ2UYASABKAkSDAoEY29kZRgCIAEoBRIhCgRkYXRh", + "GAMgASgLMhMuUGxheWVySm9pblJlc3BvbnNlIrcDChJQbGF5ZXJKb2luUmVz", + "cG9uc2USEAoIVXNlck5hbWUYASABKAkSDgoGUm9vbUlkGAIgASgJEg4KBlN0", + "YXR1cxgDIAEoBRIQCghSb2xlTmFtZRgEIAEoCRIUCgxJc0xlYWRpbmdOUEMY", + "BSABKAUSDgoGT25saW5lGAYgASgIEg4KBlJvbGVJZBgHIAEoBRITCgtHcm91", + "cExlYWRlchgIIAEoBRISCgpBY3Rpb25Nb2RlGAkgASgFEg0KBUdyb3VwGAog", + "ASgFEgkKAVgYCyABKAISCQoBWRgMIAEoAhIJCgFaGA0gASgCEhMKC092ZXJz", + "ZWVDb25kGA4gASgJEhYKDlNlbmRGcmFtZUNvdW50GA8gASgFEhYKDk1vdmVT", + "cGVlZEZpcnN0GBAgASgFEhcKD01vdmVTcGVlZFNlY29uZBgRIAEoBRIWCg5N", + "b3ZlU3BlZWRUaGlyZBgSIAEoBRIQCghCZWFyTG9hZBgTIAEoBRISCgpQcm90", + "ZWN0aW9uGBQgASgFEg4KBkhlYWx0aBgVIAEoBRISCgpSb2xlU3RhdHVzGBYg", + "ASgFEg4KBlVzZXJJZBgXIAEoAyIpChNQcm9wVGVtcGxhdGVSZXF1ZXN0EhIK", + "CnRlbXBsYXRlSWQYASABKAMiSwoUUHJvcFRlbXBsYXRlUmVzcG9uc2USEgoK", + "VGVtcGxhdGVJZBgBIAEoAxILCgNOdW0YAiABKAMSEgoKTWF0ZXJpYWxJZBgD", + "IAEoAyI7Cg9QcGNQcm9wUmVzcG9uc2USKAoJcmVzcG9uc2VzGAEgAygLMhUu", + "UHJvcFRlbXBsYXRlUmVzcG9uc2UiWgoTUnBjUm9vbUluZm9SZXNwb25zZRIK", + "CgJJZBgBIAEoAxISCgpUZW1wbGF0ZUlkGAIgASgDEg4KBlN0YXR1cxgDIAEo", + "AxITCgtSZXNlcnZlRGF0ZRgEIAEoAyI5ChNVc2VyVGVtcGxhdGVSZXF1ZXN0", + "EhIKCnRlbXBsYXRlSWQYASABKAMSDgoGUm9vbUlkGAIgASgJIjgKDFVzZXJU", + "ZW1wbGF0ZRIoCglyZXNwb25zZXMYASADKAsyFS5Vc2VyVGVtcGxhdGVSZXNw", + "b25zZSKVAQoUVXNlclRlbXBsYXRlUmVzcG9uc2USDgoGUm9vbUlkGAEgASgD", + "Eg4KBlVzZXJJZBgCIAEoAxIOCgZTdGF0dXMYAyABKAUSEgoKVGVtcGxhdGVJ", + "ZBgEIAEoAxIOCgZSb2xlSWQYBSABKAMSEwoLQmlydGhBcmVhSWQYBiABKAMS", + "FAoMQ2hhcmdlQXJlYUlkGAcgASgDImIKD1VzZXJJbmZvUmVxdWVzdBIOCgZV", + "c2VySWQYASABKAMSDgoGU3RhdHVzGAIgASgFEg4KBlJvb21JZBgDIAEoCRIJ", + "CgF4GAQgASgCEgkKAXkYBSABKAISCQoBehgGIAEoAiISChBVc2VySW5mb1Jl", + "c3BvbnNlQgdaBS4vO3BiYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::LoginRequest), global::LoginRequest.Parser, new[]{ "UserId", "Account" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::LoginResponse), global::LoginResponse.Parser, new[]{ "Message", "Code" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::HelloRequest), global::HelloRequest.Parser, new[]{ "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::HelloResponse), global::HelloResponse.Parser, new[]{ "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::JoinRoomRequest), global::JoinRoomRequest.Parser, new[]{ "RoomId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::JoinRoomResponse), global::JoinRoomResponse.Parser, new[]{ "Message", "Code", "Data" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::PlayerJoinResponse), global::PlayerJoinResponse.Parser, new[]{ "UserName", "RoomId", "Status", "RoleName", "IsLeadingNPC", "Online", "RoleId", "GroupLeader", "ActionMode", "Group", "X", "Y", "Z", "OverseeCond", "SendFrameCount", "MoveSpeedFirst", "MoveSpeedSecond", "MoveSpeedThird", "BearLoad", "Protection", "Health", "RoleStatus", "UserId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::PropTemplateRequest), global::PropTemplateRequest.Parser, new[]{ "TemplateId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::PropTemplateResponse), global::PropTemplateResponse.Parser, new[]{ "TemplateId", "Num", "MaterialId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::PpcPropResponse), global::PpcPropResponse.Parser, new[]{ "Responses" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::RpcRoomInfoResponse), global::RpcRoomInfoResponse.Parser, new[]{ "Id", "TemplateId", "Status", "ReserveDate" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::UserTemplateRequest), global::UserTemplateRequest.Parser, new[]{ "TemplateId", "RoomId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::UserTemplate), global::UserTemplate.Parser, new[]{ "Responses" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::UserTemplateResponse), global::UserTemplateResponse.Parser, new[]{ "RoomId", "UserId", "Status", "TemplateId", "RoleId", "BirthAreaId", "ChargeAreaId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::UserInfoRequest), global::UserInfoRequest.Parser, new[]{ "UserId", "Status", "RoomId", "X", "Y", "Z" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::UserInfoResponse), global::UserInfoResponse.Parser, null, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class LoginRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoginRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.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 LoginRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginRequest(LoginRequest other) : this() { + userId_ = other.userId_; + account_ = other.account_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginRequest Clone() { + return new LoginRequest(this); + } + + /// Field number for the "userId" field. + public const int UserIdFieldNumber = 1; + private string userId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return userId_; } + set { + userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "account" field. + public const int AccountFieldNumber = 2; + private string account_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Account { + get { return account_; } + set { + account_ = 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 LoginRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoginRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserId != other.UserId) return false; + if (Account != other.Account) 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 (UserId.Length != 0) hash ^= UserId.GetHashCode(); + if (Account.Length != 0) hash ^= Account.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 (UserId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserId); + } + if (Account.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Account); + } + 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 (UserId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserId); + } + if (Account.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Account); + } + 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 (UserId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (Account.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Account); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoginRequest other) { + if (other == null) { + return; + } + if (other.UserId.Length != 0) { + UserId = other.UserId; + } + if (other.Account.Length != 0) { + Account = other.Account; + } + _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: { + UserId = input.ReadString(); + break; + } + case 18: { + Account = 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: { + UserId = input.ReadString(); + break; + } + case 18: { + Account = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class LoginResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LoginResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.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 LoginResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginResponse(LoginResponse other) : this() { + message_ = other.message_; + code_ = other.code_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public LoginResponse Clone() { + return new LoginResponse(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private string message_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "code" field. + public const int CodeFieldNumber = 2; + private int code_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Code { + get { return code_; } + set { + code_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as LoginResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(LoginResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Message != other.Message) return false; + if (Code != other.Code) 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 (Message.Length != 0) hash ^= Message.GetHashCode(); + if (Code != 0) hash ^= Code.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 (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + if (Code != 0) { + output.WriteRawTag(16); + output.WriteInt32(Code); + } + 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 (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + if (Code != 0) { + output.WriteRawTag(16); + output.WriteInt32(Code); + } + 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 (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + if (Code != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(LoginResponse other) { + if (other == null) { + return; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + if (other.Code != 0) { + Code = other.Code; + } + _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: { + Message = input.ReadString(); + break; + } + case 16: { + Code = input.ReadInt32(); + 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: { + Message = input.ReadString(); + break; + } + case 16: { + Code = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class HelloRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HelloRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.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 HelloRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HelloRequest(HelloRequest other) : this() { + message_ = other.message_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HelloRequest Clone() { + return new HelloRequest(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private string message_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = 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 HelloRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HelloRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Message != other.Message) 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 (Message.Length != 0) hash ^= Message.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 (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + 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 (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + 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 (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HelloRequest other) { + if (other == null) { + return; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + _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: { + Message = 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: { + Message = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class HelloResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new HelloResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.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 HelloResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HelloResponse(HelloResponse other) : this() { + message_ = other.message_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public HelloResponse Clone() { + return new HelloResponse(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private string message_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = 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 HelloResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(HelloResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Message != other.Message) 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 (Message.Length != 0) hash ^= Message.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 (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + 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 (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + 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 (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(HelloResponse other) { + if (other == null) { + return; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + _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: { + Message = 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: { + Message = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class JoinRoomRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new JoinRoomRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[4]; } + } + + [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 JoinRoomRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public JoinRoomRequest(JoinRoomRequest other) : this() { + roomId_ = other.roomId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public JoinRoomRequest Clone() { + return new JoinRoomRequest(this); + } + + /// Field number for the "roomId" field. + public const int RoomIdFieldNumber = 1; + private string roomId_ = ""; + [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 JoinRoomRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(JoinRoomRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + 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 (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 (RoomId.Length != 0) { + output.WriteRawTag(10); + 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 (RoomId.Length != 0) { + output.WriteRawTag(10); + 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 (RoomId.Length != 0) { + size += 1 + 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(JoinRoomRequest other) { + if (other == null) { + return; + } + 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: { + 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: { + RoomId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class JoinRoomResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new JoinRoomResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[5]; } + } + + [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 JoinRoomResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public JoinRoomResponse(JoinRoomResponse other) : this() { + message_ = other.message_; + code_ = other.code_; + data_ = other.data_ != null ? other.data_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public JoinRoomResponse Clone() { + return new JoinRoomResponse(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private string message_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "code" field. + public const int CodeFieldNumber = 2; + private int code_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Code { + get { return code_; } + set { + code_ = value; + } + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 3; + private global::PlayerJoinResponse data_; + /// + /// 玩家加入房间返回数据 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::PlayerJoinResponse Data { + get { return data_; } + set { + data_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as JoinRoomResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(JoinRoomResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Message != other.Message) return false; + if (Code != other.Code) return false; + if (!object.Equals(Data, other.Data)) 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 (Message.Length != 0) hash ^= Message.GetHashCode(); + if (Code != 0) hash ^= Code.GetHashCode(); + if (data_ != null) hash ^= Data.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 (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + if (Code != 0) { + output.WriteRawTag(16); + output.WriteInt32(Code); + } + if (data_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Data); + } + 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 (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + if (Code != 0) { + output.WriteRawTag(16); + output.WriteInt32(Code); + } + if (data_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Data); + } + 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 (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + if (Code != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); + } + if (data_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Data); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(JoinRoomResponse other) { + if (other == null) { + return; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + if (other.Code != 0) { + Code = other.Code; + } + if (other.data_ != null) { + if (data_ == null) { + Data = new global::PlayerJoinResponse(); + } + Data.MergeFrom(other.Data); + } + _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: { + Message = input.ReadString(); + break; + } + case 16: { + Code = input.ReadInt32(); + break; + } + case 26: { + if (data_ == null) { + Data = new global::PlayerJoinResponse(); + } + input.ReadMessage(Data); + 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: { + Message = input.ReadString(); + break; + } + case 16: { + Code = input.ReadInt32(); + break; + } + case 26: { + if (data_ == null) { + Data = new global::PlayerJoinResponse(); + } + input.ReadMessage(Data); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PlayerJoinResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerJoinResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[6]; } + } + + [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 PlayerJoinResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerJoinResponse(PlayerJoinResponse other) : this() { + userName_ = other.userName_; + roomId_ = other.roomId_; + status_ = other.status_; + roleName_ = other.roleName_; + isLeadingNPC_ = other.isLeadingNPC_; + online_ = other.online_; + roleId_ = other.roleId_; + groupLeader_ = other.groupLeader_; + actionMode_ = other.actionMode_; + group_ = other.group_; + x_ = other.x_; + y_ = other.y_; + z_ = other.z_; + overseeCond_ = other.overseeCond_; + sendFrameCount_ = other.sendFrameCount_; + moveSpeedFirst_ = other.moveSpeedFirst_; + moveSpeedSecond_ = other.moveSpeedSecond_; + moveSpeedThird_ = other.moveSpeedThird_; + bearLoad_ = other.bearLoad_; + protection_ = other.protection_; + health_ = other.health_; + roleStatus_ = other.roleStatus_; + userId_ = other.userId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PlayerJoinResponse Clone() { + return new PlayerJoinResponse(this); + } + + /// Field number for the "UserName" field. + public const int UserNameFieldNumber = 1; + private string userName_ = ""; + /// + /// 用户名 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserName { + get { return userName_; } + set { + userName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 2; + private string roomId_ = ""; + /// + /// 房间Id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 3; + private int status_; + /// + /// 状态 0 待加入 1进行中 2已结束 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Status { + get { return status_; } + set { + status_ = value; + } + } + + /// Field number for the "RoleName" field. + public const int RoleNameFieldNumber = 4; + private string roleName_ = ""; + /// + /// 角色名 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoleName { + get { return roleName_; } + set { + roleName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "IsLeadingNPC" field. + public const int IsLeadingNPCFieldNumber = 5; + private int isLeadingNPC_; + /// + /// 1=此职业有分管NPC的功能 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IsLeadingNPC { + get { return isLeadingNPC_; } + set { + isLeadingNPC_ = value; + } + } + + /// Field number for the "Online" field. + public const int OnlineFieldNumber = 6; + private bool online_; + /// + /// 判断是否在线 true 在线 false 离线 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Online { + get { return online_; } + set { + online_ = value; + } + } + + /// Field number for the "RoleId" field. + public const int RoleIdFieldNumber = 7; + private int roleId_; + /// + /// 角色id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoleId { + get { return roleId_; } + set { + roleId_ = value; + } + } + + /// Field number for the "GroupLeader" field. + public const int GroupLeaderFieldNumber = 8; + private int groupLeader_; + /// + /// 是否是组长 0 组员 1 组长 2 总指挥 3 主持人 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GroupLeader { + get { return groupLeader_; } + set { + groupLeader_ = value; + } + } + + /// Field number for the "ActionMode" field. + public const int ActionModeFieldNumber = 9; + private int actionMode_; + /// + /// 0=主持人 1=指令式行动 2=自由行动 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ActionMode { + get { return actionMode_; } + set { + actionMode_ = value; + } + } + + /// Field number for the "Group" field. + public const int GroupFieldNumber = 10; + private int group_; + /// + /// 小组归属 -1 无归属 有值有归属 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Group { + get { return group_; } + set { + group_ = value; + } + } + + /// Field number for the "X" field. + public const int XFieldNumber = 11; + private float x_; + /// + /// 坐标x + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float X { + get { return x_; } + set { + x_ = value; + } + } + + /// Field number for the "Y" field. + public const int YFieldNumber = 12; + private float y_; + /// + /// 坐标y + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Y { + get { return y_; } + set { + y_ = value; + } + } + + /// Field number for the "Z" field. + public const int ZFieldNumber = 13; + private float z_; + /// + /// 坐标z + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Z { + get { return z_; } + set { + z_ = value; + } + } + + /// Field number for the "OverseeCond" field. + public const int OverseeCondFieldNumber = 14; + private string overseeCond_ = ""; + /// + /// 分管区域Id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string OverseeCond { + get { return overseeCond_; } + set { + overseeCond_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "SendFrameCount" field. + public const int SendFrameCountFieldNumber = 15; + private int sendFrameCount_; + /// + /// 玩家发送的帧数 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SendFrameCount { + get { return sendFrameCount_; } + set { + sendFrameCount_ = value; + } + } + + /// Field number for the "MoveSpeedFirst" field. + public const int MoveSpeedFirstFieldNumber = 16; + private int moveSpeedFirst_; + /// + /// 移动速度1 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MoveSpeedFirst { + get { return moveSpeedFirst_; } + set { + moveSpeedFirst_ = value; + } + } + + /// Field number for the "MoveSpeedSecond" field. + public const int MoveSpeedSecondFieldNumber = 17; + private int moveSpeedSecond_; + /// + /// 移动速度2 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MoveSpeedSecond { + get { return moveSpeedSecond_; } + set { + moveSpeedSecond_ = value; + } + } + + /// Field number for the "MoveSpeedThird" field. + public const int MoveSpeedThirdFieldNumber = 18; + private int moveSpeedThird_; + /// + /// 移动速度3 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MoveSpeedThird { + get { return moveSpeedThird_; } + set { + moveSpeedThird_ = value; + } + } + + /// Field number for the "BearLoad" field. + public const int BearLoadFieldNumber = 19; + private int bearLoad_; + /// + /// 负重 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int BearLoad { + get { return bearLoad_; } + set { + bearLoad_ = value; + } + } + + /// Field number for the "Protection" field. + public const int ProtectionFieldNumber = 20; + private int protection_; + /// + /// 防护值 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Protection { + get { return protection_; } + set { + protection_ = value; + } + } + + /// Field number for the "Health" field. + public const int HealthFieldNumber = 21; + private int health_; + /// + /// 健康值 100 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Health { + get { return health_; } + set { + health_ = value; + } + } + + /// Field number for the "RoleStatus" field. + public const int RoleStatusFieldNumber = 22; + private int roleStatus_; + /// + /// 角色状态 0正常 1行动受限 2负伤 3昏迷 4手受伤 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoleStatus { + get { return roleStatus_; } + set { + roleStatus_ = value; + } + } + + /// Field number for the "UserId" field. + public const int UserIdFieldNumber = 23; + private long userId_; + /// + /// 用户id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long UserId { + get { return userId_; } + set { + userId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PlayerJoinResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PlayerJoinResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserName != other.UserName) return false; + if (RoomId != other.RoomId) return false; + if (Status != other.Status) return false; + if (RoleName != other.RoleName) return false; + if (IsLeadingNPC != other.IsLeadingNPC) return false; + if (Online != other.Online) return false; + if (RoleId != other.RoleId) return false; + if (GroupLeader != other.GroupLeader) return false; + if (ActionMode != other.ActionMode) return false; + if (Group != other.Group) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; + if (OverseeCond != other.OverseeCond) return false; + if (SendFrameCount != other.SendFrameCount) return false; + if (MoveSpeedFirst != other.MoveSpeedFirst) return false; + if (MoveSpeedSecond != other.MoveSpeedSecond) return false; + if (MoveSpeedThird != other.MoveSpeedThird) return false; + if (BearLoad != other.BearLoad) return false; + if (Protection != other.Protection) return false; + if (Health != other.Health) return false; + if (RoleStatus != other.RoleStatus) return false; + if (UserId != other.UserId) 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 (UserName.Length != 0) hash ^= UserName.GetHashCode(); + if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (Status != 0) hash ^= Status.GetHashCode(); + if (RoleName.Length != 0) hash ^= RoleName.GetHashCode(); + if (IsLeadingNPC != 0) hash ^= IsLeadingNPC.GetHashCode(); + if (Online != false) hash ^= Online.GetHashCode(); + if (RoleId != 0) hash ^= RoleId.GetHashCode(); + if (GroupLeader != 0) hash ^= GroupLeader.GetHashCode(); + if (ActionMode != 0) hash ^= ActionMode.GetHashCode(); + if (Group != 0) hash ^= Group.GetHashCode(); + if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); + if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); + if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); + if (OverseeCond.Length != 0) hash ^= OverseeCond.GetHashCode(); + if (SendFrameCount != 0) hash ^= SendFrameCount.GetHashCode(); + if (MoveSpeedFirst != 0) hash ^= MoveSpeedFirst.GetHashCode(); + if (MoveSpeedSecond != 0) hash ^= MoveSpeedSecond.GetHashCode(); + if (MoveSpeedThird != 0) hash ^= MoveSpeedThird.GetHashCode(); + if (BearLoad != 0) hash ^= BearLoad.GetHashCode(); + if (Protection != 0) hash ^= Protection.GetHashCode(); + if (Health != 0) hash ^= Health.GetHashCode(); + if (RoleStatus != 0) hash ^= RoleStatus.GetHashCode(); + if (UserId != 0L) hash ^= UserId.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 (UserName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserName); + } + if (RoomId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(RoomId); + } + if (Status != 0) { + output.WriteRawTag(24); + output.WriteInt32(Status); + } + if (RoleName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(RoleName); + } + if (IsLeadingNPC != 0) { + output.WriteRawTag(40); + output.WriteInt32(IsLeadingNPC); + } + if (Online != false) { + output.WriteRawTag(48); + output.WriteBool(Online); + } + if (RoleId != 0) { + output.WriteRawTag(56); + output.WriteInt32(RoleId); + } + if (GroupLeader != 0) { + output.WriteRawTag(64); + output.WriteInt32(GroupLeader); + } + if (ActionMode != 0) { + output.WriteRawTag(72); + output.WriteInt32(ActionMode); + } + if (Group != 0) { + output.WriteRawTag(80); + output.WriteInt32(Group); + } + if (X != 0F) { + output.WriteRawTag(93); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(101); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(109); + output.WriteFloat(Z); + } + if (OverseeCond.Length != 0) { + output.WriteRawTag(114); + output.WriteString(OverseeCond); + } + if (SendFrameCount != 0) { + output.WriteRawTag(120); + output.WriteInt32(SendFrameCount); + } + if (MoveSpeedFirst != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(MoveSpeedFirst); + } + if (MoveSpeedSecond != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(MoveSpeedSecond); + } + if (MoveSpeedThird != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(MoveSpeedThird); + } + if (BearLoad != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(BearLoad); + } + if (Protection != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Protection); + } + if (Health != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(Health); + } + if (RoleStatus != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(RoleStatus); + } + if (UserId != 0L) { + output.WriteRawTag(184, 1); + output.WriteInt64(UserId); + } + 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 (UserName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserName); + } + if (RoomId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(RoomId); + } + if (Status != 0) { + output.WriteRawTag(24); + output.WriteInt32(Status); + } + if (RoleName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(RoleName); + } + if (IsLeadingNPC != 0) { + output.WriteRawTag(40); + output.WriteInt32(IsLeadingNPC); + } + if (Online != false) { + output.WriteRawTag(48); + output.WriteBool(Online); + } + if (RoleId != 0) { + output.WriteRawTag(56); + output.WriteInt32(RoleId); + } + if (GroupLeader != 0) { + output.WriteRawTag(64); + output.WriteInt32(GroupLeader); + } + if (ActionMode != 0) { + output.WriteRawTag(72); + output.WriteInt32(ActionMode); + } + if (Group != 0) { + output.WriteRawTag(80); + output.WriteInt32(Group); + } + if (X != 0F) { + output.WriteRawTag(93); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(101); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(109); + output.WriteFloat(Z); + } + if (OverseeCond.Length != 0) { + output.WriteRawTag(114); + output.WriteString(OverseeCond); + } + if (SendFrameCount != 0) { + output.WriteRawTag(120); + output.WriteInt32(SendFrameCount); + } + if (MoveSpeedFirst != 0) { + output.WriteRawTag(128, 1); + output.WriteInt32(MoveSpeedFirst); + } + if (MoveSpeedSecond != 0) { + output.WriteRawTag(136, 1); + output.WriteInt32(MoveSpeedSecond); + } + if (MoveSpeedThird != 0) { + output.WriteRawTag(144, 1); + output.WriteInt32(MoveSpeedThird); + } + if (BearLoad != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(BearLoad); + } + if (Protection != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(Protection); + } + if (Health != 0) { + output.WriteRawTag(168, 1); + output.WriteInt32(Health); + } + if (RoleStatus != 0) { + output.WriteRawTag(176, 1); + output.WriteInt32(RoleStatus); + } + if (UserId != 0L) { + output.WriteRawTag(184, 1); + output.WriteInt64(UserId); + } + 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 (UserName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserName); + } + if (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (Status != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status); + } + if (RoleName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleName); + } + if (IsLeadingNPC != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IsLeadingNPC); + } + if (Online != false) { + size += 1 + 1; + } + if (RoleId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoleId); + } + if (GroupLeader != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupLeader); + } + if (ActionMode != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActionMode); + } + if (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + } + if (X != 0F) { + size += 1 + 4; + } + if (Y != 0F) { + size += 1 + 4; + } + if (Z != 0F) { + size += 1 + 4; + } + if (OverseeCond.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(OverseeCond); + } + if (SendFrameCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SendFrameCount); + } + if (MoveSpeedFirst != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MoveSpeedFirst); + } + if (MoveSpeedSecond != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MoveSpeedSecond); + } + if (MoveSpeedThird != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(MoveSpeedThird); + } + if (BearLoad != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(BearLoad); + } + if (Protection != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Protection); + } + if (Health != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(Health); + } + if (RoleStatus != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RoleStatus); + } + if (UserId != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(UserId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PlayerJoinResponse other) { + if (other == null) { + return; + } + if (other.UserName.Length != 0) { + UserName = other.UserName; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.Status != 0) { + Status = other.Status; + } + if (other.RoleName.Length != 0) { + RoleName = other.RoleName; + } + if (other.IsLeadingNPC != 0) { + IsLeadingNPC = other.IsLeadingNPC; + } + if (other.Online != false) { + Online = other.Online; + } + if (other.RoleId != 0) { + RoleId = other.RoleId; + } + if (other.GroupLeader != 0) { + GroupLeader = other.GroupLeader; + } + if (other.ActionMode != 0) { + ActionMode = other.ActionMode; + } + if (other.Group != 0) { + Group = other.Group; + } + if (other.X != 0F) { + X = other.X; + } + if (other.Y != 0F) { + Y = other.Y; + } + if (other.Z != 0F) { + Z = other.Z; + } + if (other.OverseeCond.Length != 0) { + OverseeCond = other.OverseeCond; + } + if (other.SendFrameCount != 0) { + SendFrameCount = other.SendFrameCount; + } + if (other.MoveSpeedFirst != 0) { + MoveSpeedFirst = other.MoveSpeedFirst; + } + if (other.MoveSpeedSecond != 0) { + MoveSpeedSecond = other.MoveSpeedSecond; + } + if (other.MoveSpeedThird != 0) { + MoveSpeedThird = other.MoveSpeedThird; + } + if (other.BearLoad != 0) { + BearLoad = other.BearLoad; + } + if (other.Protection != 0) { + Protection = other.Protection; + } + if (other.Health != 0) { + Health = other.Health; + } + if (other.RoleStatus != 0) { + RoleStatus = other.RoleStatus; + } + if (other.UserId != 0L) { + UserId = other.UserId; + } + _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: { + UserName = input.ReadString(); + break; + } + case 18: { + RoomId = input.ReadString(); + break; + } + case 24: { + Status = input.ReadInt32(); + break; + } + case 34: { + RoleName = input.ReadString(); + break; + } + case 40: { + IsLeadingNPC = input.ReadInt32(); + break; + } + case 48: { + Online = input.ReadBool(); + break; + } + case 56: { + RoleId = input.ReadInt32(); + break; + } + case 64: { + GroupLeader = input.ReadInt32(); + break; + } + case 72: { + ActionMode = input.ReadInt32(); + break; + } + case 80: { + Group = input.ReadInt32(); + break; + } + case 93: { + X = input.ReadFloat(); + break; + } + case 101: { + Y = input.ReadFloat(); + break; + } + case 109: { + Z = input.ReadFloat(); + break; + } + case 114: { + OverseeCond = input.ReadString(); + break; + } + case 120: { + SendFrameCount = input.ReadInt32(); + break; + } + case 128: { + MoveSpeedFirst = input.ReadInt32(); + break; + } + case 136: { + MoveSpeedSecond = input.ReadInt32(); + break; + } + case 144: { + MoveSpeedThird = input.ReadInt32(); + break; + } + case 152: { + BearLoad = input.ReadInt32(); + break; + } + case 160: { + Protection = input.ReadInt32(); + break; + } + case 168: { + Health = input.ReadInt32(); + break; + } + case 176: { + RoleStatus = input.ReadInt32(); + break; + } + case 184: { + UserId = input.ReadInt64(); + 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: { + UserName = input.ReadString(); + break; + } + case 18: { + RoomId = input.ReadString(); + break; + } + case 24: { + Status = input.ReadInt32(); + break; + } + case 34: { + RoleName = input.ReadString(); + break; + } + case 40: { + IsLeadingNPC = input.ReadInt32(); + break; + } + case 48: { + Online = input.ReadBool(); + break; + } + case 56: { + RoleId = input.ReadInt32(); + break; + } + case 64: { + GroupLeader = input.ReadInt32(); + break; + } + case 72: { + ActionMode = input.ReadInt32(); + break; + } + case 80: { + Group = input.ReadInt32(); + break; + } + case 93: { + X = input.ReadFloat(); + break; + } + case 101: { + Y = input.ReadFloat(); + break; + } + case 109: { + Z = input.ReadFloat(); + break; + } + case 114: { + OverseeCond = input.ReadString(); + break; + } + case 120: { + SendFrameCount = input.ReadInt32(); + break; + } + case 128: { + MoveSpeedFirst = input.ReadInt32(); + break; + } + case 136: { + MoveSpeedSecond = input.ReadInt32(); + break; + } + case 144: { + MoveSpeedThird = input.ReadInt32(); + break; + } + case 152: { + BearLoad = input.ReadInt32(); + break; + } + case 160: { + Protection = input.ReadInt32(); + break; + } + case 168: { + Health = input.ReadInt32(); + break; + } + case 176: { + RoleStatus = input.ReadInt32(); + break; + } + case 184: { + UserId = input.ReadInt64(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PropTemplateRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PropTemplateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[7]; } + } + + [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 PropTemplateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropTemplateRequest(PropTemplateRequest other) : this() { + templateId_ = other.templateId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropTemplateRequest Clone() { + return new PropTemplateRequest(this); + } + + /// Field number for the "templateId" field. + public const int TemplateIdFieldNumber = 1; + private long templateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PropTemplateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PropTemplateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TemplateId != other.TemplateId) 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 (TemplateId != 0L) hash ^= TemplateId.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 (TemplateId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(TemplateId); + } + 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 (TemplateId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(TemplateId); + } + 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 (TemplateId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PropTemplateRequest other) { + if (other == null) { + return; + } + if (other.TemplateId != 0L) { + TemplateId = other.TemplateId; + } + _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: { + TemplateId = input.ReadInt64(); + 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: { + TemplateId = input.ReadInt64(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PropTemplateResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PropTemplateResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[8]; } + } + + [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 PropTemplateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropTemplateResponse(PropTemplateResponse other) : this() { + templateId_ = other.templateId_; + num_ = other.num_; + materialId_ = other.materialId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropTemplateResponse Clone() { + return new PropTemplateResponse(this); + } + + /// Field number for the "TemplateId" field. + public const int TemplateIdFieldNumber = 1; + private long templateId_; + /// + /// 道具模板id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + /// Field number for the "Num" field. + public const int NumFieldNumber = 2; + private long num_; + /// + /// 道具数量 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Num { + get { return num_; } + set { + num_ = value; + } + } + + /// Field number for the "MaterialId" field. + public const int MaterialIdFieldNumber = 3; + private long materialId_; + /// + /// 材料id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long MaterialId { + get { return materialId_; } + set { + materialId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PropTemplateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PropTemplateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TemplateId != other.TemplateId) return false; + if (Num != other.Num) return false; + if (MaterialId != other.MaterialId) 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 (TemplateId != 0L) hash ^= TemplateId.GetHashCode(); + if (Num != 0L) hash ^= Num.GetHashCode(); + if (MaterialId != 0L) hash ^= MaterialId.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 (TemplateId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(TemplateId); + } + if (Num != 0L) { + output.WriteRawTag(16); + output.WriteInt64(Num); + } + if (MaterialId != 0L) { + output.WriteRawTag(24); + output.WriteInt64(MaterialId); + } + 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 (TemplateId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(TemplateId); + } + if (Num != 0L) { + output.WriteRawTag(16); + output.WriteInt64(Num); + } + if (MaterialId != 0L) { + output.WriteRawTag(24); + output.WriteInt64(MaterialId); + } + 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 (TemplateId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId); + } + if (Num != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Num); + } + if (MaterialId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(MaterialId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PropTemplateResponse other) { + if (other == null) { + return; + } + if (other.TemplateId != 0L) { + TemplateId = other.TemplateId; + } + if (other.Num != 0L) { + Num = other.Num; + } + if (other.MaterialId != 0L) { + MaterialId = other.MaterialId; + } + _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: { + TemplateId = input.ReadInt64(); + break; + } + case 16: { + Num = input.ReadInt64(); + break; + } + case 24: { + MaterialId = input.ReadInt64(); + 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: { + TemplateId = input.ReadInt64(); + break; + } + case 16: { + Num = input.ReadInt64(); + break; + } + case 24: { + MaterialId = input.ReadInt64(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PpcPropResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PpcPropResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[9]; } + } + + [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 PpcPropResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PpcPropResponse(PpcPropResponse other) : this() { + responses_ = other.responses_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PpcPropResponse Clone() { + return new PpcPropResponse(this); + } + + /// Field number for the "responses" field. + public const int ResponsesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_responses_codec + = pb::FieldCodec.ForMessage(10, global::PropTemplateResponse.Parser); + private readonly pbc::RepeatedField responses_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Responses { + get { return responses_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PpcPropResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PpcPropResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!responses_.Equals(other.responses_)) 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; + hash ^= responses_.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 + responses_.WriteTo(output, _repeated_responses_codec); + 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) { + responses_.WriteTo(ref output, _repeated_responses_codec); + 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; + size += responses_.CalculateSize(_repeated_responses_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PpcPropResponse other) { + if (other == null) { + return; + } + responses_.Add(other.responses_); + _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: { + responses_.AddEntriesFrom(input, _repeated_responses_codec); + 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: { + responses_.AddEntriesFrom(ref input, _repeated_responses_codec); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class RpcRoomInfoResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RpcRoomInfoResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[10]; } + } + + [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 RpcRoomInfoResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcRoomInfoResponse(RpcRoomInfoResponse other) : this() { + id_ = other.id_; + templateId_ = other.templateId_; + status_ = other.status_; + reserveDate_ = other.reserveDate_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RpcRoomInfoResponse Clone() { + return new RpcRoomInfoResponse(this); + } + + /// Field number for the "Id" field. + 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; + } + } + + /// Field number for the "TemplateId" field. + public const int TemplateIdFieldNumber = 2; + private long templateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 3; + private long status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Status { + get { return status_; } + set { + status_ = value; + } + } + + /// Field number for the "ReserveDate" field. + public const int ReserveDateFieldNumber = 4; + private long reserveDate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ReserveDate { + get { return reserveDate_; } + set { + reserveDate_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RpcRoomInfoResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RpcRoomInfoResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (TemplateId != other.TemplateId) return false; + if (Status != other.Status) return false; + if (ReserveDate != other.ReserveDate) 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 (TemplateId != 0L) hash ^= TemplateId.GetHashCode(); + if (Status != 0L) hash ^= Status.GetHashCode(); + if (ReserveDate != 0L) hash ^= ReserveDate.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 (TemplateId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(TemplateId); + } + if (Status != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Status); + } + if (ReserveDate != 0L) { + output.WriteRawTag(32); + output.WriteInt64(ReserveDate); + } + 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 (TemplateId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(TemplateId); + } + if (Status != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Status); + } + if (ReserveDate != 0L) { + output.WriteRawTag(32); + output.WriteInt64(ReserveDate); + } + 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 (TemplateId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId); + } + if (Status != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Status); + } + if (ReserveDate != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ReserveDate); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RpcRoomInfoResponse other) { + if (other == null) { + return; + } + if (other.Id != 0L) { + Id = other.Id; + } + if (other.TemplateId != 0L) { + TemplateId = other.TemplateId; + } + if (other.Status != 0L) { + Status = other.Status; + } + if (other.ReserveDate != 0L) { + ReserveDate = other.ReserveDate; + } + _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 16: { + TemplateId = input.ReadInt64(); + break; + } + case 24: { + Status = input.ReadInt64(); + break; + } + case 32: { + ReserveDate = input.ReadInt64(); + 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 16: { + TemplateId = input.ReadInt64(); + break; + } + case 24: { + Status = input.ReadInt64(); + break; + } + case 32: { + ReserveDate = input.ReadInt64(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UserTemplateRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserTemplateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[11]; } + } + + [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 UserTemplateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserTemplateRequest(UserTemplateRequest other) : this() { + templateId_ = other.templateId_; + roomId_ = other.roomId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserTemplateRequest Clone() { + return new UserTemplateRequest(this); + } + + /// Field number for the "templateId" field. + public const int TemplateIdFieldNumber = 1; + private long templateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 2; + private string roomId_ = ""; + [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 UserTemplateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserTemplateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TemplateId != other.TemplateId) 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 (TemplateId != 0L) hash ^= TemplateId.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 (TemplateId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(TemplateId); + } + if (RoomId.Length != 0) { + output.WriteRawTag(18); + 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 (TemplateId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(TemplateId); + } + if (RoomId.Length != 0) { + output.WriteRawTag(18); + 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 (TemplateId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId); + } + if (RoomId.Length != 0) { + size += 1 + 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(UserTemplateRequest other) { + if (other == null) { + return; + } + if (other.TemplateId != 0L) { + TemplateId = other.TemplateId; + } + 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 8: { + TemplateId = input.ReadInt64(); + break; + } + case 18: { + 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 8: { + TemplateId = input.ReadInt64(); + break; + } + case 18: { + RoomId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UserTemplate : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserTemplate()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[12]; } + } + + [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 UserTemplate() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserTemplate(UserTemplate other) : this() { + responses_ = other.responses_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserTemplate Clone() { + return new UserTemplate(this); + } + + /// Field number for the "responses" field. + public const int ResponsesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_responses_codec + = pb::FieldCodec.ForMessage(10, global::UserTemplateResponse.Parser); + private readonly pbc::RepeatedField responses_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Responses { + get { return responses_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserTemplate); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserTemplate other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!responses_.Equals(other.responses_)) 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; + hash ^= responses_.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 + responses_.WriteTo(output, _repeated_responses_codec); + 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) { + responses_.WriteTo(ref output, _repeated_responses_codec); + 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; + size += responses_.CalculateSize(_repeated_responses_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserTemplate other) { + if (other == null) { + return; + } + responses_.Add(other.responses_); + _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: { + responses_.AddEntriesFrom(input, _repeated_responses_codec); + 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: { + responses_.AddEntriesFrom(ref input, _repeated_responses_codec); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UserTemplateResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserTemplateResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[13]; } + } + + [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 UserTemplateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserTemplateResponse(UserTemplateResponse other) : this() { + roomId_ = other.roomId_; + userId_ = other.userId_; + status_ = other.status_; + templateId_ = other.templateId_; + roleId_ = other.roleId_; + birthAreaId_ = other.birthAreaId_; + chargeAreaId_ = other.chargeAreaId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserTemplateResponse Clone() { + return new UserTemplateResponse(this); + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 1; + private long roomId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RoomId { + get { return roomId_; } + set { + roomId_ = value; + } + } + + /// Field number for the "UserId" field. + public const int UserIdFieldNumber = 2; + private long userId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long UserId { + get { return userId_; } + set { + userId_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 3; + private int status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Status { + get { return status_; } + set { + status_ = value; + } + } + + /// Field number for the "TemplateId" field. + public const int TemplateIdFieldNumber = 4; + private long templateId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + /// Field number for the "RoleId" field. + public const int RoleIdFieldNumber = 5; + private long roleId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RoleId { + get { return roleId_; } + set { + roleId_ = value; + } + } + + /// Field number for the "BirthAreaId" field. + public const int BirthAreaIdFieldNumber = 6; + private long birthAreaId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long BirthAreaId { + get { return birthAreaId_; } + set { + birthAreaId_ = value; + } + } + + /// Field number for the "ChargeAreaId" field. + public const int ChargeAreaIdFieldNumber = 7; + private long chargeAreaId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ChargeAreaId { + get { return chargeAreaId_; } + set { + chargeAreaId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserTemplateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserTemplateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (UserId != other.UserId) return false; + if (Status != other.Status) return false; + if (TemplateId != other.TemplateId) return false; + if (RoleId != other.RoleId) return false; + if (BirthAreaId != other.BirthAreaId) return false; + if (ChargeAreaId != other.ChargeAreaId) 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 (RoomId != 0L) hash ^= RoomId.GetHashCode(); + if (UserId != 0L) hash ^= UserId.GetHashCode(); + if (Status != 0) hash ^= Status.GetHashCode(); + if (TemplateId != 0L) hash ^= TemplateId.GetHashCode(); + if (RoleId != 0L) hash ^= RoleId.GetHashCode(); + if (BirthAreaId != 0L) hash ^= BirthAreaId.GetHashCode(); + if (ChargeAreaId != 0L) hash ^= ChargeAreaId.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 (RoomId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(RoomId); + } + if (UserId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(UserId); + } + if (Status != 0) { + output.WriteRawTag(24); + output.WriteInt32(Status); + } + if (TemplateId != 0L) { + output.WriteRawTag(32); + output.WriteInt64(TemplateId); + } + if (RoleId != 0L) { + output.WriteRawTag(40); + output.WriteInt64(RoleId); + } + if (BirthAreaId != 0L) { + output.WriteRawTag(48); + output.WriteInt64(BirthAreaId); + } + if (ChargeAreaId != 0L) { + output.WriteRawTag(56); + output.WriteInt64(ChargeAreaId); + } + 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 (RoomId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(RoomId); + } + if (UserId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(UserId); + } + if (Status != 0) { + output.WriteRawTag(24); + output.WriteInt32(Status); + } + if (TemplateId != 0L) { + output.WriteRawTag(32); + output.WriteInt64(TemplateId); + } + if (RoleId != 0L) { + output.WriteRawTag(40); + output.WriteInt64(RoleId); + } + if (BirthAreaId != 0L) { + output.WriteRawTag(48); + output.WriteInt64(BirthAreaId); + } + if (ChargeAreaId != 0L) { + output.WriteRawTag(56); + output.WriteInt64(ChargeAreaId); + } + 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 (RoomId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RoomId); + } + if (UserId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId); + } + if (Status != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status); + } + if (TemplateId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId); + } + if (RoleId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RoleId); + } + if (BirthAreaId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(BirthAreaId); + } + if (ChargeAreaId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ChargeAreaId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserTemplateResponse other) { + if (other == null) { + return; + } + if (other.RoomId != 0L) { + RoomId = other.RoomId; + } + if (other.UserId != 0L) { + UserId = other.UserId; + } + if (other.Status != 0) { + Status = other.Status; + } + if (other.TemplateId != 0L) { + TemplateId = other.TemplateId; + } + if (other.RoleId != 0L) { + RoleId = other.RoleId; + } + if (other.BirthAreaId != 0L) { + BirthAreaId = other.BirthAreaId; + } + if (other.ChargeAreaId != 0L) { + ChargeAreaId = other.ChargeAreaId; + } + _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: { + RoomId = input.ReadInt64(); + break; + } + case 16: { + UserId = input.ReadInt64(); + break; + } + case 24: { + Status = input.ReadInt32(); + break; + } + case 32: { + TemplateId = input.ReadInt64(); + break; + } + case 40: { + RoleId = input.ReadInt64(); + break; + } + case 48: { + BirthAreaId = input.ReadInt64(); + break; + } + case 56: { + ChargeAreaId = input.ReadInt64(); + 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: { + RoomId = input.ReadInt64(); + break; + } + case 16: { + UserId = input.ReadInt64(); + break; + } + case 24: { + Status = input.ReadInt32(); + break; + } + case 32: { + TemplateId = input.ReadInt64(); + break; + } + case 40: { + RoleId = input.ReadInt64(); + break; + } + case 48: { + BirthAreaId = input.ReadInt64(); + break; + } + case 56: { + ChargeAreaId = input.ReadInt64(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UserInfoRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserInfoRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[14]; } + } + + [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 UserInfoRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserInfoRequest(UserInfoRequest other) : this() { + userId_ = other.userId_; + status_ = other.status_; + roomId_ = other.roomId_; + x_ = other.x_; + y_ = other.y_; + z_ = other.z_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserInfoRequest Clone() { + return new UserInfoRequest(this); + } + + /// Field number for the "UserId" field. + public const int UserIdFieldNumber = 1; + private long userId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long UserId { + get { return userId_; } + set { + userId_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 2; + private int status_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Status { + get { return status_; } + set { + status_ = value; + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 3; + private string roomId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "x" field. + public const int XFieldNumber = 4; + private float x_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float X { + get { return x_; } + set { + x_ = value; + } + } + + /// Field number for the "y" field. + public const int YFieldNumber = 5; + private float y_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Y { + get { return y_; } + set { + y_ = value; + } + } + + /// Field number for the "z" field. + public const int ZFieldNumber = 6; + private float z_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Z { + get { return z_; } + set { + z_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserInfoRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserInfoRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserId != other.UserId) return false; + if (Status != other.Status) return false; + if (RoomId != other.RoomId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) 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 (UserId != 0L) hash ^= UserId.GetHashCode(); + if (Status != 0) hash ^= Status.GetHashCode(); + if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); + if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); + if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); + 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 (UserId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(UserId); + } + if (Status != 0) { + output.WriteRawTag(16); + output.WriteInt32(Status); + } + if (RoomId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoomId); + } + if (X != 0F) { + output.WriteRawTag(37); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(45); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(53); + output.WriteFloat(Z); + } + 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 (UserId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(UserId); + } + if (Status != 0) { + output.WriteRawTag(16); + output.WriteInt32(Status); + } + if (RoomId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoomId); + } + if (X != 0F) { + output.WriteRawTag(37); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(45); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(53); + output.WriteFloat(Z); + } + 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 (UserId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId); + } + if (Status != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status); + } + if (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (X != 0F) { + size += 1 + 4; + } + if (Y != 0F) { + size += 1 + 4; + } + if (Z != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserInfoRequest other) { + if (other == null) { + return; + } + if (other.UserId != 0L) { + UserId = other.UserId; + } + if (other.Status != 0) { + Status = other.Status; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.X != 0F) { + X = other.X; + } + if (other.Y != 0F) { + Y = other.Y; + } + if (other.Z != 0F) { + Z = other.Z; + } + _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: { + UserId = input.ReadInt64(); + break; + } + case 16: { + Status = input.ReadInt32(); + break; + } + case 26: { + RoomId = input.ReadString(); + break; + } + case 37: { + X = input.ReadFloat(); + break; + } + case 45: { + Y = input.ReadFloat(); + break; + } + case 53: { + Z = input.ReadFloat(); + 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: { + UserId = input.ReadInt64(); + break; + } + case 16: { + Status = input.ReadInt32(); + break; + } + case 26: { + RoomId = input.ReadString(); + break; + } + case 37: { + X = input.ReadFloat(); + break; + } + case 45: { + Y = input.ReadFloat(); + break; + } + case 53: { + Z = input.ReadFloat(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UserInfoResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserInfoResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::HallReflection.Descriptor.MessageTypes[15]; } + } + + [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 UserInfoResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserInfoResponse(UserInfoResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserInfoResponse Clone() { + return new UserInfoResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserInfoResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserInfoResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + 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 (_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 (_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 (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserInfoResponse other) { + if (other == null) { + return; + } + _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; + } + } + #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; + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Hall.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Hall.cs.meta new file mode 100644 index 00000000..949acf0b --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Hall.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8fd26537609bdf14b8eb7d5150ef5262 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Join.cs b/xiaofang/Assets/ProtoBuf/Proto/Join.cs new file mode 100644 index 00000000..a72b8e1a --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Join.cs @@ -0,0 +1,2837 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: join.proto +// +#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; +/// Holder for reflection information generated from join.proto +public static partial class JoinReflection { + + #region Descriptor + /// File descriptor for join.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static JoinReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cgpqb2luLnByb3RvIp8CChBVc2VySm9pblJlc3BvbnNlEg4KBnVzZXJJZBgB", + "IAEoAxIQCghuaWNrTmFtZRgCIAEoCRIQCghyb2xlTmFtZRgDIAEoCRIOCgZy", + "b29tSWQYBCABKAkSDgoGb25saW5lGAUgASgIEhMKC21lc3NhZ2VUeXBlGAYg", + "ASgFEgsKA2NtZBgHIAEoCRIYChBpbmNpZGVudFBvc2l0aW9uGAggASgJEhIK", + "CmZpcmVSYWRpdXMYCSABKAISEQoJZmlyZVZhbHVlGAogASgFEicKDHRhc2tS", + "ZXNwb25zZRgLIAEoCzIRLlRhc2tJbmZvUmVzcG9uc2USKwoOb2JqZWN0UmVz", + "cG9uc2UYDCABKAsyEy5PYmplY3RJbmZvUmVzcG9uc2UiNwoQUm9vbVVzZXJS", + "ZXNwb25zZRIjCgh1c2VyTGlzdBgBIAMoCzIRLlVzZXJKb2luUmVzcG9uc2Ui", + "ogIKEFRhc2tJbmZvUmVzcG9uc2USDgoGVGFza0lkGAEgASgJEg4KBlN0YXR1", + "cxgCIAEoCRIOCgZSb29tSWQYAyABKAkSCQoBWBgEIAEoAhIJCgFZGAUgASgC", + "EgkKAVoYBiABKAISDAoEVHlwZRgHIAEoCRIRCglUaW1lTGltaXQYCCABKAMS", + "DAoERGVzYxgJIAEoCRIPCgdUcmlnZ2VyGAogASgJEhEKCU5leHRUYXNrcxgL", + "IAEoCRISCgpUYXJnZXRUeXBlGAwgASgJEg4KBlJld2FyZBgNIAEoCRIMCgRO", + "b3RlGA4gASgJEhIKCkNyZWF0ZVRpbWUYDyABKAkSEgoKVXBkYXRlVGltZRgQ", + "IAEoCRIQCghUb1VzZXJJZBgRIAEoCSKvAwoST2JqZWN0SW5mb1Jlc3BvbnNl", + "Eg4KBlJvb21JZBgBIAEoCRIKCgJJZBgCIAEoCRIQCghPYmplY3RJZBgDIAEo", + "CRIMCgROb3RlGAQgASgJEgwKBFR5cGUYBSABKAkSDAoETmFtZRgGIAEoCRIW", + "Cg5OYW1lU2hvd09mZnNldBgHIAEoAxISCgpTaG93UmFkaXVzGAggASgDEgwK", + "BEljb24YCSABKAkSDAoEUm9sZRgKIAEoCRISCgpJdGVtRGVwZW5kGAsgASgJ", + "EhAKCFRha2VUaW1lGAwgASgDEhMKC05lZWRQbGF5ZXJzGA0gASgJEhIKClRh", + "c2tTdGF0dXMYDiABKAkSEgoKU2VsZWN0TGlzdBgPIAEoCRINCgVPbk9mZhgQ", + "IAEoAxIOCgZTdGF0dXMYESABKAkSEQoJUmVzQ2hhbmdlGBIgASgJEhcKD1Bh", + "cmFsbGVsQ29udHJvbBgTIAEoAxISCgpFeHRyYVZhbHVlGBQgASgJEg8KB1Vz", + "ZXJJZHMYFSABKAkSEgoKQ3JlYXRlVGltZRgWIAEoCRISCgpVcGRhdGVUaW1l", + "GBcgASgJQgdaBS4vO3BiYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::UserJoinResponse), global::UserJoinResponse.Parser, new[]{ "UserId", "NickName", "RoleName", "RoomId", "Online", "MessageType", "Cmd", "IncidentPosition", "FireRadius", "FireValue", "TaskResponse", "ObjectResponse" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::RoomUserResponse), global::RoomUserResponse.Parser, new[]{ "UserList" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::TaskInfoResponse), global::TaskInfoResponse.Parser, new[]{ "TaskId", "Status", "RoomId", "X", "Y", "Z", "Type", "TimeLimit", "Desc", "Trigger", "NextTasks", "TargetType", "Reward", "Note", "CreateTime", "UpdateTime", "ToUserId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ObjectInfoResponse), global::ObjectInfoResponse.Parser, new[]{ "RoomId", "Id", "ObjectId", "Note", "Type", "Name", "NameShowOffset", "ShowRadius", "Icon", "Role", "ItemDepend", "TakeTime", "NeedPlayers", "TaskStatus", "SelectList", "OnOff", "Status", "ResChange", "ParallelControl", "ExtraValue", "UserIds", "CreateTime", "UpdateTime" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UserJoinResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserJoinResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::JoinReflection.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 UserJoinResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserJoinResponse(UserJoinResponse other) : this() { + userId_ = other.userId_; + nickName_ = other.nickName_; + roleName_ = other.roleName_; + roomId_ = other.roomId_; + online_ = other.online_; + messageType_ = other.messageType_; + cmd_ = other.cmd_; + incidentPosition_ = other.incidentPosition_; + fireRadius_ = other.fireRadius_; + fireValue_ = other.fireValue_; + taskResponse_ = other.taskResponse_ != null ? other.taskResponse_.Clone() : null; + objectResponse_ = other.objectResponse_ != null ? other.objectResponse_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserJoinResponse Clone() { + return new UserJoinResponse(this); + } + + /// Field number for the "userId" field. + public const int UserIdFieldNumber = 1; + private long userId_; + /// + /// 用户id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long UserId { + get { return userId_; } + set { + userId_ = value; + } + } + + /// Field number for the "nickName" field. + public const int NickNameFieldNumber = 2; + private string nickName_ = ""; + /// + /// 用户名 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NickName { + get { return nickName_; } + set { + nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "roleName" field. + public const int RoleNameFieldNumber = 3; + private string roleName_ = ""; + /// + /// 用户角色 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoleName { + get { return roleName_; } + set { + roleName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "roomId" field. + public const int RoomIdFieldNumber = 4; + private string roomId_ = ""; + /// + ///房间号 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "online" field. + public const int OnlineFieldNumber = 5; + private bool online_; + /// + ///状态 接收这个用户是不是掉线了 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Online { + get { return online_; } + set { + online_ = value; + } + } + + /// Field number for the "messageType" field. + public const int MessageTypeFieldNumber = 6; + private int messageType_; + /// + ///事件状态 1 用户上线 2用户下线 3 用户加入房间 4 事故发生 5 火势 6 任务 7 对象操作 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MessageType { + get { return messageType_; } + set { + messageType_ = value; + } + } + + /// Field number for the "cmd" field. + public const int CmdFieldNumber = 7; + private string cmd_ = ""; + /// + ///操作指令 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Cmd { + get { return cmd_; } + set { + cmd_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "incidentPosition" field. + public const int IncidentPositionFieldNumber = 8; + private string incidentPosition_ = ""; + /// + ///事件发生位置 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IncidentPosition { + get { return incidentPosition_; } + set { + incidentPosition_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "fireRadius" field. + public const int FireRadiusFieldNumber = 9; + private float fireRadius_; + /// + ///火势半径 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float FireRadius { + get { return fireRadius_; } + set { + fireRadius_ = value; + } + } + + /// Field number for the "fireValue" field. + public const int FireValueFieldNumber = 10; + private int fireValue_; + /// + ///火势值 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int FireValue { + get { return fireValue_; } + set { + fireValue_ = value; + } + } + + /// Field number for the "taskResponse" field. + public const int TaskResponseFieldNumber = 11; + private global::TaskInfoResponse taskResponse_; + /// + ///任务信息 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::TaskInfoResponse TaskResponse { + get { return taskResponse_; } + set { + taskResponse_ = value; + } + } + + /// Field number for the "objectResponse" field. + public const int ObjectResponseFieldNumber = 12; + private global::ObjectInfoResponse objectResponse_; + /// + ///对象信息 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::ObjectInfoResponse ObjectResponse { + get { return objectResponse_; } + set { + objectResponse_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserJoinResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserJoinResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserId != other.UserId) return false; + if (NickName != other.NickName) return false; + if (RoleName != other.RoleName) return false; + if (RoomId != other.RoomId) return false; + if (Online != other.Online) return false; + if (MessageType != other.MessageType) return false; + if (Cmd != other.Cmd) return false; + if (IncidentPosition != other.IncidentPosition) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FireRadius, other.FireRadius)) return false; + if (FireValue != other.FireValue) return false; + if (!object.Equals(TaskResponse, other.TaskResponse)) return false; + if (!object.Equals(ObjectResponse, other.ObjectResponse)) 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 (UserId != 0L) hash ^= UserId.GetHashCode(); + if (NickName.Length != 0) hash ^= NickName.GetHashCode(); + if (RoleName.Length != 0) hash ^= RoleName.GetHashCode(); + if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (Online != false) hash ^= Online.GetHashCode(); + if (MessageType != 0) hash ^= MessageType.GetHashCode(); + if (Cmd.Length != 0) hash ^= Cmd.GetHashCode(); + if (IncidentPosition.Length != 0) hash ^= IncidentPosition.GetHashCode(); + if (FireRadius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FireRadius); + if (FireValue != 0) hash ^= FireValue.GetHashCode(); + if (taskResponse_ != null) hash ^= TaskResponse.GetHashCode(); + if (objectResponse_ != null) hash ^= ObjectResponse.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 (UserId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(UserId); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (RoleName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoleName); + } + if (RoomId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(RoomId); + } + if (Online != false) { + output.WriteRawTag(40); + output.WriteBool(Online); + } + if (MessageType != 0) { + output.WriteRawTag(48); + output.WriteInt32(MessageType); + } + if (Cmd.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Cmd); + } + if (IncidentPosition.Length != 0) { + output.WriteRawTag(66); + output.WriteString(IncidentPosition); + } + if (FireRadius != 0F) { + output.WriteRawTag(77); + output.WriteFloat(FireRadius); + } + if (FireValue != 0) { + output.WriteRawTag(80); + output.WriteInt32(FireValue); + } + if (taskResponse_ != null) { + output.WriteRawTag(90); + output.WriteMessage(TaskResponse); + } + if (objectResponse_ != null) { + output.WriteRawTag(98); + output.WriteMessage(ObjectResponse); + } + 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 (UserId != 0L) { + output.WriteRawTag(8); + output.WriteInt64(UserId); + } + if (NickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(NickName); + } + if (RoleName.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoleName); + } + if (RoomId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(RoomId); + } + if (Online != false) { + output.WriteRawTag(40); + output.WriteBool(Online); + } + if (MessageType != 0) { + output.WriteRawTag(48); + output.WriteInt32(MessageType); + } + if (Cmd.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Cmd); + } + if (IncidentPosition.Length != 0) { + output.WriteRawTag(66); + output.WriteString(IncidentPosition); + } + if (FireRadius != 0F) { + output.WriteRawTag(77); + output.WriteFloat(FireRadius); + } + if (FireValue != 0) { + output.WriteRawTag(80); + output.WriteInt32(FireValue); + } + if (taskResponse_ != null) { + output.WriteRawTag(90); + output.WriteMessage(TaskResponse); + } + if (objectResponse_ != null) { + output.WriteRawTag(98); + output.WriteMessage(ObjectResponse); + } + 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 (UserId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId); + } + if (NickName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName); + } + if (RoleName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleName); + } + if (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (Online != false) { + size += 1 + 1; + } + if (MessageType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MessageType); + } + if (Cmd.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Cmd); + } + if (IncidentPosition.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IncidentPosition); + } + if (FireRadius != 0F) { + size += 1 + 4; + } + if (FireValue != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(FireValue); + } + if (taskResponse_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TaskResponse); + } + if (objectResponse_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ObjectResponse); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserJoinResponse other) { + if (other == null) { + return; + } + if (other.UserId != 0L) { + UserId = other.UserId; + } + if (other.NickName.Length != 0) { + NickName = other.NickName; + } + if (other.RoleName.Length != 0) { + RoleName = other.RoleName; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.Online != false) { + Online = other.Online; + } + if (other.MessageType != 0) { + MessageType = other.MessageType; + } + if (other.Cmd.Length != 0) { + Cmd = other.Cmd; + } + if (other.IncidentPosition.Length != 0) { + IncidentPosition = other.IncidentPosition; + } + if (other.FireRadius != 0F) { + FireRadius = other.FireRadius; + } + if (other.FireValue != 0) { + FireValue = other.FireValue; + } + if (other.taskResponse_ != null) { + if (taskResponse_ == null) { + TaskResponse = new global::TaskInfoResponse(); + } + TaskResponse.MergeFrom(other.TaskResponse); + } + if (other.objectResponse_ != null) { + if (objectResponse_ == null) { + ObjectResponse = new global::ObjectInfoResponse(); + } + ObjectResponse.MergeFrom(other.ObjectResponse); + } + _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: { + UserId = input.ReadInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 26: { + RoleName = input.ReadString(); + break; + } + case 34: { + RoomId = input.ReadString(); + break; + } + case 40: { + Online = input.ReadBool(); + break; + } + case 48: { + MessageType = input.ReadInt32(); + break; + } + case 58: { + Cmd = input.ReadString(); + break; + } + case 66: { + IncidentPosition = input.ReadString(); + break; + } + case 77: { + FireRadius = input.ReadFloat(); + break; + } + case 80: { + FireValue = input.ReadInt32(); + break; + } + case 90: { + if (taskResponse_ == null) { + TaskResponse = new global::TaskInfoResponse(); + } + input.ReadMessage(TaskResponse); + break; + } + case 98: { + if (objectResponse_ == null) { + ObjectResponse = new global::ObjectInfoResponse(); + } + input.ReadMessage(ObjectResponse); + 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: { + UserId = input.ReadInt64(); + break; + } + case 18: { + NickName = input.ReadString(); + break; + } + case 26: { + RoleName = input.ReadString(); + break; + } + case 34: { + RoomId = input.ReadString(); + break; + } + case 40: { + Online = input.ReadBool(); + break; + } + case 48: { + MessageType = input.ReadInt32(); + break; + } + case 58: { + Cmd = input.ReadString(); + break; + } + case 66: { + IncidentPosition = input.ReadString(); + break; + } + case 77: { + FireRadius = input.ReadFloat(); + break; + } + case 80: { + FireValue = input.ReadInt32(); + break; + } + case 90: { + if (taskResponse_ == null) { + TaskResponse = new global::TaskInfoResponse(); + } + input.ReadMessage(TaskResponse); + break; + } + case 98: { + if (objectResponse_ == null) { + ObjectResponse = new global::ObjectInfoResponse(); + } + input.ReadMessage(ObjectResponse); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class RoomUserResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomUserResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::JoinReflection.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 RoomUserResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoomUserResponse(RoomUserResponse other) : this() { + userList_ = other.userList_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoomUserResponse Clone() { + return new RoomUserResponse(this); + } + + /// Field number for the "userList" field. + public const int UserListFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_userList_codec + = pb::FieldCodec.ForMessage(10, global::UserJoinResponse.Parser); + private readonly pbc::RepeatedField userList_ = new pbc::RepeatedField(); + /// + ///用户列表 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField UserList { + get { return userList_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RoomUserResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RoomUserResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!userList_.Equals(other.userList_)) 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; + hash ^= userList_.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 + userList_.WriteTo(output, _repeated_userList_codec); + 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) { + userList_.WriteTo(ref output, _repeated_userList_codec); + 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; + size += userList_.CalculateSize(_repeated_userList_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RoomUserResponse other) { + if (other == null) { + return; + } + userList_.Add(other.userList_); + _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: { + userList_.AddEntriesFrom(input, _repeated_userList_codec); + 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: { + userList_.AddEntriesFrom(ref input, _repeated_userList_codec); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class TaskInfoResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskInfoResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::JoinReflection.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 TaskInfoResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskInfoResponse(TaskInfoResponse other) : this() { + taskId_ = other.taskId_; + status_ = other.status_; + roomId_ = other.roomId_; + x_ = other.x_; + y_ = other.y_; + z_ = other.z_; + type_ = other.type_; + timeLimit_ = other.timeLimit_; + desc_ = other.desc_; + trigger_ = other.trigger_; + nextTasks_ = other.nextTasks_; + targetType_ = other.targetType_; + reward_ = other.reward_; + note_ = other.note_; + createTime_ = other.createTime_; + updateTime_ = other.updateTime_; + toUserId_ = other.toUserId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskInfoResponse Clone() { + return new TaskInfoResponse(this); + } + + /// Field number for the "TaskId" field. + public const int TaskIdFieldNumber = 1; + private string taskId_ = ""; + /// + /// 任务id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TaskId { + get { return taskId_; } + set { + taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 2; + 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"); + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 3; + private string roomId_ = ""; + /// + /// 房间id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "X" field. + public const int XFieldNumber = 4; + private float x_; + /// + /// x坐标 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float X { + get { return x_; } + set { + x_ = value; + } + } + + /// Field number for the "Y" field. + public const int YFieldNumber = 5; + private float y_; + /// + /// y坐标 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Y { + get { return y_; } + set { + y_ = value; + } + } + + /// Field number for the "Z" field. + public const int ZFieldNumber = 6; + private float z_; + /// + /// z坐标 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Z { + get { return z_; } + set { + z_ = value; + } + } + + /// Field number for the "Type" field. + public const int TypeFieldNumber = 7; + private string type_ = ""; + /// + /// 类型 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TimeLimit" field. + public const int TimeLimitFieldNumber = 8; + private long timeLimit_; + /// + /// 时间限制 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TimeLimit { + get { return timeLimit_; } + set { + timeLimit_ = value; + } + } + + /// Field number for the "Desc" field. + public const int DescFieldNumber = 9; + private string desc_ = ""; + /// + /// 描述 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc { + get { return desc_; } + set { + desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Trigger" field. + public const int TriggerFieldNumber = 10; + private string trigger_ = ""; + /// + /// 触发条件 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Trigger { + get { return trigger_; } + set { + trigger_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextTasks" field. + public const int NextTasksFieldNumber = 11; + private string nextTasks_ = ""; + /// + /// 下一步任务 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextTasks { + get { return nextTasks_; } + set { + nextTasks_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TargetType" field. + public const int TargetTypeFieldNumber = 12; + private string targetType_ = ""; + /// + /// 目标类型 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetType { + get { return targetType_; } + set { + targetType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Reward" field. + public const int RewardFieldNumber = 13; + 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"); + } + } + + /// Field number for the "Note" field. + public const int NoteFieldNumber = 14; + 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"); + } + } + + /// Field number for the "CreateTime" field. + public const int CreateTimeFieldNumber = 15; + 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"); + } + } + + /// Field number for the "UpdateTime" field. + public const int UpdateTimeFieldNumber = 16; + 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"); + } + } + + /// Field number for the "ToUserId" field. + public const int ToUserIdFieldNumber = 17; + private string toUserId_ = ""; + /// + /// 目标用户id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ToUserId { + get { return toUserId_; } + set { + toUserId_ = 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 TaskInfoResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TaskInfoResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TaskId != other.TaskId) return false; + if (Status != other.Status) return false; + if (RoomId != other.RoomId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; + if (Type != other.Type) return false; + if (TimeLimit != other.TimeLimit) return false; + if (Desc != other.Desc) return false; + if (Trigger != other.Trigger) return false; + if (NextTasks != other.NextTasks) return false; + if (TargetType != other.TargetType) return false; + if (Reward != other.Reward) return false; + if (Note != other.Note) return false; + if (CreateTime != other.CreateTime) return false; + if (UpdateTime != other.UpdateTime) return false; + if (ToUserId != other.ToUserId) 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 (TaskId.Length != 0) hash ^= TaskId.GetHashCode(); + if (Status.Length != 0) hash ^= Status.GetHashCode(); + if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); + if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); + if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); + if (Type.Length != 0) hash ^= Type.GetHashCode(); + if (TimeLimit != 0L) hash ^= TimeLimit.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Trigger.Length != 0) hash ^= Trigger.GetHashCode(); + if (NextTasks.Length != 0) hash ^= NextTasks.GetHashCode(); + if (TargetType.Length != 0) hash ^= TargetType.GetHashCode(); + if (Reward.Length != 0) hash ^= Reward.GetHashCode(); + if (Note.Length != 0) hash ^= Note.GetHashCode(); + if (CreateTime.Length != 0) hash ^= CreateTime.GetHashCode(); + if (UpdateTime.Length != 0) hash ^= UpdateTime.GetHashCode(); + if (ToUserId.Length != 0) hash ^= ToUserId.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 (TaskId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TaskId); + } + if (Status.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Status); + } + if (RoomId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoomId); + } + if (X != 0F) { + output.WriteRawTag(37); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(45); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(53); + output.WriteFloat(Z); + } + if (Type.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Type); + } + if (TimeLimit != 0L) { + output.WriteRawTag(64); + output.WriteInt64(TimeLimit); + } + if (Desc.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc); + } + if (Trigger.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Trigger); + } + if (NextTasks.Length != 0) { + output.WriteRawTag(90); + output.WriteString(NextTasks); + } + if (TargetType.Length != 0) { + output.WriteRawTag(98); + output.WriteString(TargetType); + } + if (Reward.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Reward); + } + if (Note.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Note); + } + if (CreateTime.Length != 0) { + output.WriteRawTag(122); + output.WriteString(CreateTime); + } + if (UpdateTime.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(UpdateTime); + } + if (ToUserId.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(ToUserId); + } + 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 (TaskId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TaskId); + } + if (Status.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Status); + } + if (RoomId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoomId); + } + if (X != 0F) { + output.WriteRawTag(37); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(45); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(53); + output.WriteFloat(Z); + } + if (Type.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Type); + } + if (TimeLimit != 0L) { + output.WriteRawTag(64); + output.WriteInt64(TimeLimit); + } + if (Desc.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc); + } + if (Trigger.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Trigger); + } + if (NextTasks.Length != 0) { + output.WriteRawTag(90); + output.WriteString(NextTasks); + } + if (TargetType.Length != 0) { + output.WriteRawTag(98); + output.WriteString(TargetType); + } + if (Reward.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Reward); + } + if (Note.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Note); + } + if (CreateTime.Length != 0) { + output.WriteRawTag(122); + output.WriteString(CreateTime); + } + if (UpdateTime.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(UpdateTime); + } + if (ToUserId.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(ToUserId); + } + 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 (TaskId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskId); + } + if (Status.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); + } + if (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (X != 0F) { + size += 1 + 4; + } + if (Y != 0F) { + size += 1 + 4; + } + if (Z != 0F) { + size += 1 + 4; + } + if (Type.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); + } + if (TimeLimit != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeLimit); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Trigger.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Trigger); + } + if (NextTasks.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextTasks); + } + if (TargetType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetType); + } + if (Reward.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Reward); + } + if (Note.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); + } + if (CreateTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CreateTime); + } + if (UpdateTime.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(UpdateTime); + } + if (ToUserId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ToUserId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TaskInfoResponse other) { + if (other == null) { + return; + } + if (other.TaskId.Length != 0) { + TaskId = other.TaskId; + } + if (other.Status.Length != 0) { + Status = other.Status; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.X != 0F) { + X = other.X; + } + if (other.Y != 0F) { + Y = other.Y; + } + if (other.Z != 0F) { + Z = other.Z; + } + if (other.Type.Length != 0) { + Type = other.Type; + } + if (other.TimeLimit != 0L) { + TimeLimit = other.TimeLimit; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Trigger.Length != 0) { + Trigger = other.Trigger; + } + if (other.NextTasks.Length != 0) { + NextTasks = other.NextTasks; + } + if (other.TargetType.Length != 0) { + TargetType = other.TargetType; + } + if (other.Reward.Length != 0) { + Reward = other.Reward; + } + if (other.Note.Length != 0) { + Note = other.Note; + } + if (other.CreateTime.Length != 0) { + CreateTime = other.CreateTime; + } + if (other.UpdateTime.Length != 0) { + UpdateTime = other.UpdateTime; + } + if (other.ToUserId.Length != 0) { + ToUserId = other.ToUserId; + } + _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: { + TaskId = input.ReadString(); + break; + } + case 18: { + Status = input.ReadString(); + break; + } + case 26: { + RoomId = input.ReadString(); + break; + } + case 37: { + X = input.ReadFloat(); + break; + } + case 45: { + Y = input.ReadFloat(); + break; + } + case 53: { + Z = input.ReadFloat(); + break; + } + case 58: { + Type = input.ReadString(); + break; + } + case 64: { + TimeLimit = input.ReadInt64(); + break; + } + case 74: { + Desc = input.ReadString(); + break; + } + case 82: { + Trigger = input.ReadString(); + break; + } + case 90: { + NextTasks = input.ReadString(); + break; + } + case 98: { + TargetType = input.ReadString(); + break; + } + case 106: { + Reward = input.ReadString(); + break; + } + case 114: { + Note = input.ReadString(); + break; + } + case 122: { + CreateTime = input.ReadString(); + break; + } + case 130: { + UpdateTime = input.ReadString(); + break; + } + case 138: { + ToUserId = 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: { + TaskId = input.ReadString(); + break; + } + case 18: { + Status = input.ReadString(); + break; + } + case 26: { + RoomId = input.ReadString(); + break; + } + case 37: { + X = input.ReadFloat(); + break; + } + case 45: { + Y = input.ReadFloat(); + break; + } + case 53: { + Z = input.ReadFloat(); + break; + } + case 58: { + Type = input.ReadString(); + break; + } + case 64: { + TimeLimit = input.ReadInt64(); + break; + } + case 74: { + Desc = input.ReadString(); + break; + } + case 82: { + Trigger = input.ReadString(); + break; + } + case 90: { + NextTasks = input.ReadString(); + break; + } + case 98: { + TargetType = input.ReadString(); + break; + } + case 106: { + Reward = input.ReadString(); + break; + } + case 114: { + Note = input.ReadString(); + break; + } + case 122: { + CreateTime = input.ReadString(); + break; + } + case 130: { + UpdateTime = input.ReadString(); + break; + } + case 138: { + ToUserId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ObjectInfoResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ObjectInfoResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::JoinReflection.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 ObjectInfoResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ObjectInfoResponse(ObjectInfoResponse other) : this() { + roomId_ = other.roomId_; + 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_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ObjectInfoResponse Clone() { + return new ObjectInfoResponse(this); + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 1; + private string roomId_ = ""; + /// + /// 对象id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 2; + private string id_ = ""; + /// + /// ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ObjectId" field. + public const int ObjectIdFieldNumber = 3; + private string objectId_ = ""; + /// + /// 对象ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObjectId { + get { return objectId_; } + set { + objectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Note" field. + public const int NoteFieldNumber = 4; + 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"); + } + } + + /// Field number for the "Type" field. + public const int TypeFieldNumber = 5; + private string type_ = ""; + /// + /// 对象类型 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Name" field. + public const int NameFieldNumber = 6; + private string name_ = ""; + /// + /// 对象文本Id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NameShowOffset" field. + public const int NameShowOffsetFieldNumber = 7; + private long nameShowOffset_; + /// + /// 对象文本显示偏移量 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NameShowOffset { + get { return nameShowOffset_; } + set { + nameShowOffset_ = value; + } + } + + /// Field number for the "ShowRadius" field. + public const int ShowRadiusFieldNumber = 8; + private long showRadius_; + /// + /// 对象显示半径 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ShowRadius { + get { return showRadius_; } + set { + showRadius_ = value; + } + } + + /// Field number for the "Icon" field. + public const int IconFieldNumber = 9; + 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"); + } + } + + /// Field number for the "Role" field. + public const int RoleFieldNumber = 10; + private string role_ = ""; + /// + /// 对象角色 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Role { + get { return role_; } + set { + role_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ItemDepend" field. + public const int ItemDependFieldNumber = 11; + private string itemDepend_ = ""; + /// + /// 依赖物品 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ItemDepend { + get { return itemDepend_; } + set { + itemDepend_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TakeTime" field. + public const int TakeTimeFieldNumber = 12; + private long takeTime_; + /// + /// 交互、读条时间 -1 立即执行 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TakeTime { + get { return takeTime_; } + set { + takeTime_ = value; + } + } + + /// Field number for the "NeedPlayers" field. + public const int NeedPlayersFieldNumber = 13; + private string needPlayers_ = ""; + /// + /// 判定范围,玩家数量,是否可操作(当人数不满足时) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NeedPlayers { + get { return needPlayers_; } + set { + needPlayers_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TaskStatus" field. + public const int TaskStatusFieldNumber = 14; + private string taskStatus_ = ""; + /// + /// 对应事件ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TaskStatus { + get { return taskStatus_; } + set { + taskStatus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "SelectList" field. + public const int SelectListFieldNumber = 15; + private string selectList_ = ""; + /// + /// 选择列表 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SelectList { + get { return selectList_; } + set { + selectList_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "OnOff" field. + public const int OnOffFieldNumber = 16; + private long onOff_; + /// + /// 操作状态 0不可操作 1 可操作 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long OnOff { + get { return onOff_; } + set { + onOff_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 17; + 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"); + } + } + + /// Field number for the "ResChange" field. + public const int ResChangeFieldNumber = 18; + private string resChange_ = ""; + /// + /// 资源变化 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ResChange { + get { return resChange_; } + set { + resChange_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ParallelControl" field. + public const int ParallelControlFieldNumber = 19; + private long parallelControl_; + /// + /// 是否支持多人操作 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ParallelControl { + get { return parallelControl_; } + set { + parallelControl_ = value; + } + } + + /// Field number for the "ExtraValue" field. + public const int ExtraValueFieldNumber = 20; + private string extraValue_ = ""; + /// + /// 额外参数 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ExtraValue { + get { return extraValue_; } + set { + extraValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "UserIds" field. + public const int UserIdsFieldNumber = 21; + private string userIds_ = ""; + /// + /// 玩家id列表 逗号分隔 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserIds { + get { return userIds_; } + set { + userIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "CreateTime" field. + public const int CreateTimeFieldNumber = 22; + 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"); + } + } + + /// Field number for the "UpdateTime" field. + public const int UpdateTimeFieldNumber = 23; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ObjectInfoResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ObjectInfoResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + 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; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + 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 (_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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (Id.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Id); + } + if (ObjectId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ObjectId); + } + if (Note.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Note); + } + if (Type.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Type); + } + if (Name.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Name); + } + if (NameShowOffset != 0L) { + output.WriteRawTag(56); + output.WriteInt64(NameShowOffset); + } + if (ShowRadius != 0L) { + output.WriteRawTag(64); + output.WriteInt64(ShowRadius); + } + if (Icon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Icon); + } + if (Role.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Role); + } + if (ItemDepend.Length != 0) { + output.WriteRawTag(90); + output.WriteString(ItemDepend); + } + if (TakeTime != 0L) { + output.WriteRawTag(96); + output.WriteInt64(TakeTime); + } + if (NeedPlayers.Length != 0) { + output.WriteRawTag(106); + output.WriteString(NeedPlayers); + } + if (TaskStatus.Length != 0) { + output.WriteRawTag(114); + output.WriteString(TaskStatus); + } + if (SelectList.Length != 0) { + output.WriteRawTag(122); + output.WriteString(SelectList); + } + if (OnOff != 0L) { + output.WriteRawTag(128, 1); + output.WriteInt64(OnOff); + } + if (Status.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Status); + } + if (ResChange.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(ResChange); + } + if (ParallelControl != 0L) { + output.WriteRawTag(152, 1); + output.WriteInt64(ParallelControl); + } + if (ExtraValue.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(ExtraValue); + } + if (UserIds.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(UserIds); + } + if (CreateTime.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(CreateTime); + } + if (UpdateTime.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(UpdateTime); + } + 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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (Id.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Id); + } + if (ObjectId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ObjectId); + } + if (Note.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Note); + } + if (Type.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Type); + } + if (Name.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Name); + } + if (NameShowOffset != 0L) { + output.WriteRawTag(56); + output.WriteInt64(NameShowOffset); + } + if (ShowRadius != 0L) { + output.WriteRawTag(64); + output.WriteInt64(ShowRadius); + } + if (Icon.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Icon); + } + if (Role.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Role); + } + if (ItemDepend.Length != 0) { + output.WriteRawTag(90); + output.WriteString(ItemDepend); + } + if (TakeTime != 0L) { + output.WriteRawTag(96); + output.WriteInt64(TakeTime); + } + if (NeedPlayers.Length != 0) { + output.WriteRawTag(106); + output.WriteString(NeedPlayers); + } + if (TaskStatus.Length != 0) { + output.WriteRawTag(114); + output.WriteString(TaskStatus); + } + if (SelectList.Length != 0) { + output.WriteRawTag(122); + output.WriteString(SelectList); + } + if (OnOff != 0L) { + output.WriteRawTag(128, 1); + output.WriteInt64(OnOff); + } + if (Status.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(Status); + } + if (ResChange.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(ResChange); + } + if (ParallelControl != 0L) { + output.WriteRawTag(152, 1); + output.WriteInt64(ParallelControl); + } + if (ExtraValue.Length != 0) { + output.WriteRawTag(162, 1); + output.WriteString(ExtraValue); + } + if (UserIds.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(UserIds); + } + if (CreateTime.Length != 0) { + output.WriteRawTag(178, 1); + output.WriteString(CreateTime); + } + if (UpdateTime.Length != 0) { + output.WriteRawTag(186, 1); + output.WriteString(UpdateTime); + } + 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 (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + 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 += 2 + 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 (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ObjectInfoResponse other) { + if (other == null) { + return; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + 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; + } + _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: { + RoomId = input.ReadString(); + break; + } + case 18: { + Id = input.ReadString(); + break; + } + case 26: { + ObjectId = input.ReadString(); + break; + } + case 34: { + Note = input.ReadString(); + break; + } + case 42: { + Type = input.ReadString(); + break; + } + case 50: { + Name = input.ReadString(); + break; + } + case 56: { + NameShowOffset = input.ReadInt64(); + break; + } + case 64: { + ShowRadius = input.ReadInt64(); + break; + } + case 74: { + Icon = input.ReadString(); + break; + } + case 82: { + Role = input.ReadString(); + break; + } + case 90: { + ItemDepend = input.ReadString(); + break; + } + case 96: { + TakeTime = input.ReadInt64(); + break; + } + case 106: { + NeedPlayers = input.ReadString(); + break; + } + case 114: { + TaskStatus = input.ReadString(); + break; + } + case 122: { + SelectList = input.ReadString(); + break; + } + case 128: { + OnOff = input.ReadInt64(); + break; + } + case 138: { + Status = input.ReadString(); + break; + } + case 146: { + ResChange = input.ReadString(); + break; + } + case 152: { + ParallelControl = input.ReadInt64(); + break; + } + case 162: { + ExtraValue = input.ReadString(); + break; + } + case 170: { + UserIds = input.ReadString(); + break; + } + case 178: { + CreateTime = input.ReadString(); + break; + } + case 186: { + UpdateTime = 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: { + RoomId = input.ReadString(); + break; + } + case 18: { + Id = input.ReadString(); + break; + } + case 26: { + ObjectId = input.ReadString(); + break; + } + case 34: { + Note = input.ReadString(); + break; + } + case 42: { + Type = input.ReadString(); + break; + } + case 50: { + Name = input.ReadString(); + break; + } + case 56: { + NameShowOffset = input.ReadInt64(); + break; + } + case 64: { + ShowRadius = input.ReadInt64(); + break; + } + case 74: { + Icon = input.ReadString(); + break; + } + case 82: { + Role = input.ReadString(); + break; + } + case 90: { + ItemDepend = input.ReadString(); + break; + } + case 96: { + TakeTime = input.ReadInt64(); + break; + } + case 106: { + NeedPlayers = input.ReadString(); + break; + } + case 114: { + TaskStatus = input.ReadString(); + break; + } + case 122: { + SelectList = input.ReadString(); + break; + } + case 128: { + OnOff = input.ReadInt64(); + break; + } + case 138: { + Status = input.ReadString(); + break; + } + case 146: { + ResChange = input.ReadString(); + break; + } + case 152: { + ParallelControl = input.ReadInt64(); + break; + } + case 162: { + ExtraValue = input.ReadString(); + break; + } + case 170: { + UserIds = input.ReadString(); + break; + } + case 178: { + CreateTime = input.ReadString(); + break; + } + case 186: { + UpdateTime = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Join.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Join.cs.meta new file mode 100644 index 00000000..1b6c2aaf --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Join.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 63abcfa0f6080534d8642cfb5eae1ac0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/MessageBroadcast.cs b/xiaofang/Assets/ProtoBuf/Proto/MessageBroadcast.cs new file mode 100644 index 00000000..090d9636 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/MessageBroadcast.cs @@ -0,0 +1,525 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: message_broadcast.proto +// +#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; +/// Holder for reflection information generated from message_broadcast.proto +public static partial class MessageBroadcastReflection { + + #region Descriptor + /// File descriptor for message_broadcast.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MessageBroadcastReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "ChdtZXNzYWdlX2Jyb2FkY2FzdC5wcm90byJUChdNZXNzYWdlQnJvYWRjYXN0", + "UmVxdWVzdBIOCgZyb29tSWQYASABKAkSDAoEdHlwZRgCIAEoBRIOCgZyb2xl", + "SWQYAyABKAkSCwoDY21kGAQgASgJIhoKGE1lc3NhZ2VCcm9hZGNhc3RSZXNw", + "b25zZUIHWgUuLztwYmIGcHJvdG8z")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::MessageBroadcastRequest), global::MessageBroadcastRequest.Parser, new[]{ "RoomId", "Type", "RoleId", "Cmd" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MessageBroadcastResponse), global::MessageBroadcastResponse.Parser, null, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class MessageBroadcastRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageBroadcastRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MessageBroadcastReflection.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 MessageBroadcastRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MessageBroadcastRequest(MessageBroadcastRequest other) : this() { + roomId_ = other.roomId_; + type_ = other.type_; + roleId_ = other.roleId_; + cmd_ = other.cmd_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MessageBroadcastRequest Clone() { + return new MessageBroadcastRequest(this); + } + + /// Field number for the "roomId" field. + public const int RoomIdFieldNumber = 1; + private string roomId_ = ""; + /// + /// 房间id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 2; + private int type_; + /// + /// 消息类型 1. 文本 2. 图片 3. 语音 4. 视频 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "roleId" field. + public const int RoleIdFieldNumber = 3; + private string roleId_ = ""; + /// + /// 角色Id 如果为空就是给所有人发 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoleId { + get { return roleId_; } + set { + roleId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "cmd" field. + public const int CmdFieldNumber = 4; + private string cmd_ = ""; + /// + /// 自定义命令 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Cmd { + get { return cmd_; } + set { + cmd_ = 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 MessageBroadcastRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MessageBroadcastRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (Type != other.Type) return false; + if (RoleId != other.RoleId) return false; + if (Cmd != other.Cmd) 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 (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (RoleId.Length != 0) hash ^= RoleId.GetHashCode(); + if (Cmd.Length != 0) hash ^= Cmd.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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + if (RoleId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoleId); + } + if (Cmd.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Cmd); + } + 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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (Type != 0) { + output.WriteRawTag(16); + output.WriteInt32(Type); + } + if (RoleId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoleId); + } + if (Cmd.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Cmd); + } + 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 (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (RoleId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleId); + } + if (Cmd.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Cmd); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MessageBroadcastRequest other) { + if (other == null) { + return; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.RoleId.Length != 0) { + RoleId = other.RoleId; + } + if (other.Cmd.Length != 0) { + Cmd = other.Cmd; + } + _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: { + RoomId = input.ReadString(); + break; + } + case 16: { + Type = input.ReadInt32(); + break; + } + case 26: { + RoleId = input.ReadString(); + break; + } + case 34: { + Cmd = 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: { + RoomId = input.ReadString(); + break; + } + case 16: { + Type = input.ReadInt32(); + break; + } + case 26: { + RoleId = input.ReadString(); + break; + } + case 34: { + Cmd = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class MessageBroadcastResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageBroadcastResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MessageBroadcastReflection.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 MessageBroadcastResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MessageBroadcastResponse(MessageBroadcastResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MessageBroadcastResponse Clone() { + return new MessageBroadcastResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MessageBroadcastResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MessageBroadcastResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + 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 (_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 (_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 (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MessageBroadcastResponse other) { + if (other == null) { + return; + } + _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; + } + } + #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; + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/MessageBroadcast.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/MessageBroadcast.cs.meta new file mode 100644 index 00000000..fab2149e --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/MessageBroadcast.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 061900a49550cc74582eb8e4598a886b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Move.cs b/xiaofang/Assets/ProtoBuf/Proto/Move.cs new file mode 100644 index 00000000..3bee5ef9 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Move.cs @@ -0,0 +1,2008 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: move.proto +// +#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; +/// Holder for reflection information generated from move.proto +public static partial class MoveReflection { + + #region Descriptor + /// File descriptor for move.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static MoveReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cgptb3ZlLnByb3RvIkcKEE5wY0NyZWF0ZVJlcXVlc3QSDgoGcm9vbUlkGAEg", + "ASgJEhIKCnRlbXBsYXRlSWQYAiABKAMSDwoHc2NlbmVJZBgDIAEoCSITChFO", + "cGNDcmVhdGVSZXNwb25zZSIvCgtNb3ZlUmVxdWVzdBIOCgZyb29tSWQYASAB", + "KAkSEAoIbW92ZVR5cGUYAiABKAUiSgoMTW92ZVJlc3BvbnNlEg4KBnVzZXJJ", + "ZBgCIAEoCRIOCgZyb29tSWQYAyABKAkSGgoIbW92ZURhdGEYASADKAsyCC5O", + "cGNEYXRhInwKB05wY0RhdGESCQoBeBgBIAEoAhIJCgF5GAIgASgCEgkKAXoY", + "AyABKAISDgoGdXNlcklkGAQgASgJEhAKCG5pY2tOYW1lGAggASgJEgwKBHR5", + "cGUYBSABKAUSEQoJZm9ybWF0aW9uGAYgASgFEg0KBWV2ZW50GAcgASgFIlUK", + "Ek1vdmVSb29tQW9pUmVxdWVzdBIOCgZyb29tSWQYASABKAkSDgoGdXNlcklk", + "GAIgASgDEgkKAXgYAyABKAISCQoBeRgEIAEoAhIJCgF6GAUgASgCIhUKE01v", + "dmVSb29tQW9pUmVzcG9uc2VCB1oFLi87cGJiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::NpcCreateRequest), global::NpcCreateRequest.Parser, new[]{ "RoomId", "TemplateId", "SceneId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::NpcCreateResponse), global::NpcCreateResponse.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MoveRequest), global::MoveRequest.Parser, new[]{ "RoomId", "MoveType" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MoveResponse), global::MoveResponse.Parser, new[]{ "UserId", "RoomId", "MoveData" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::NpcData), global::NpcData.Parser, new[]{ "X", "Y", "Z", "UserId", "NickName", "Type", "Formation", "Event" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MoveRoomAoiRequest), global::MoveRoomAoiRequest.Parser, new[]{ "RoomId", "UserId", "X", "Y", "Z" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::MoveRoomAoiResponse), global::MoveRoomAoiResponse.Parser, null, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class NpcCreateRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NpcCreateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MoveReflection.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 NpcCreateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NpcCreateRequest(NpcCreateRequest other) : this() { + roomId_ = other.roomId_; + templateId_ = other.templateId_; + sceneId_ = other.sceneId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NpcCreateRequest Clone() { + return new NpcCreateRequest(this); + } + + /// Field number for the "roomId" field. + public const int RoomIdFieldNumber = 1; + private string roomId_ = ""; + /// + /// 房间id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "templateId" field. + public const int TemplateIdFieldNumber = 2; + private long templateId_; + /// + /// 演练模板id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TemplateId { + get { return templateId_; } + set { + templateId_ = value; + } + } + + /// Field number for the "sceneId" field. + public const int SceneIdFieldNumber = 3; + private string sceneId_ = ""; + /// + /// 场景Id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SceneId { + get { return sceneId_; } + set { + sceneId_ = 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 NpcCreateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NpcCreateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (TemplateId != other.TemplateId) return false; + if (SceneId != other.SceneId) 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 (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (TemplateId != 0L) hash ^= TemplateId.GetHashCode(); + if (SceneId.Length != 0) hash ^= SceneId.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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (TemplateId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(TemplateId); + } + if (SceneId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(SceneId); + } + 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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (TemplateId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(TemplateId); + } + if (SceneId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(SceneId); + } + 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 (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (TemplateId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TemplateId); + } + if (SceneId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NpcCreateRequest other) { + if (other == null) { + return; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.TemplateId != 0L) { + TemplateId = other.TemplateId; + } + if (other.SceneId.Length != 0) { + SceneId = other.SceneId; + } + _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: { + RoomId = input.ReadString(); + break; + } + case 16: { + TemplateId = input.ReadInt64(); + break; + } + case 26: { + SceneId = 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: { + RoomId = input.ReadString(); + break; + } + case 16: { + TemplateId = input.ReadInt64(); + break; + } + case 26: { + SceneId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class NpcCreateResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NpcCreateResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MoveReflection.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 NpcCreateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NpcCreateResponse(NpcCreateResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NpcCreateResponse Clone() { + return new NpcCreateResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NpcCreateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NpcCreateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + 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 (_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 (_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 (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NpcCreateResponse other) { + if (other == null) { + return; + } + _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; + } + } + #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; + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class MoveRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MoveRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MoveReflection.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 MoveRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MoveRequest(MoveRequest other) : this() { + roomId_ = other.roomId_; + moveType_ = other.moveType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MoveRequest Clone() { + return new MoveRequest(this); + } + + /// Field number for the "roomId" field. + public const int RoomIdFieldNumber = 1; + private string roomId_ = ""; + /// + /// 房间id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "moveType" field. + public const int MoveTypeFieldNumber = 2; + private int moveType_; + /// + /// 移动类型 1.窗子边的移动 2. 门边的移动 3. 一起移动 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MoveType { + get { return moveType_; } + set { + moveType_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MoveRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MoveRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (MoveType != other.MoveType) 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 (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (MoveType != 0) hash ^= MoveType.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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (MoveType != 0) { + output.WriteRawTag(16); + output.WriteInt32(MoveType); + } + 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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (MoveType != 0) { + output.WriteRawTag(16); + output.WriteInt32(MoveType); + } + 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 (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (MoveType != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MoveType); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MoveRequest other) { + if (other == null) { + return; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.MoveType != 0) { + MoveType = other.MoveType; + } + _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: { + RoomId = input.ReadString(); + break; + } + case 16: { + MoveType = input.ReadInt32(); + 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: { + RoomId = input.ReadString(); + break; + } + case 16: { + MoveType = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class MoveResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MoveResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MoveReflection.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 MoveResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MoveResponse(MoveResponse other) : this() { + userId_ = other.userId_; + roomId_ = other.roomId_; + moveData_ = other.moveData_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MoveResponse Clone() { + return new MoveResponse(this); + } + + /// Field number for the "userId" field. + public const int UserIdFieldNumber = 2; + private string userId_ = ""; + /// + /// 用户id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return userId_; } + set { + userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "roomId" field. + public const int RoomIdFieldNumber = 3; + private string roomId_ = ""; + /// + /// 房间id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "moveData" field. + public const int MoveDataFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_moveData_codec + = pb::FieldCodec.ForMessage(10, global::NpcData.Parser); + private readonly pbc::RepeatedField moveData_ = new pbc::RepeatedField(); + /// + /// 移动数据 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField MoveData { + get { return moveData_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MoveResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MoveResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserId != other.UserId) return false; + if (RoomId != other.RoomId) return false; + if(!moveData_.Equals(other.moveData_)) 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 (UserId.Length != 0) hash ^= UserId.GetHashCode(); + if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + hash ^= moveData_.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 + moveData_.WriteTo(output, _repeated_moveData_codec); + if (UserId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(UserId); + } + if (RoomId.Length != 0) { + output.WriteRawTag(26); + 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) { + moveData_.WriteTo(ref output, _repeated_moveData_codec); + if (UserId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(UserId); + } + if (RoomId.Length != 0) { + output.WriteRawTag(26); + 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 (UserId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + size += moveData_.CalculateSize(_repeated_moveData_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MoveResponse other) { + if (other == null) { + return; + } + if (other.UserId.Length != 0) { + UserId = other.UserId; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + moveData_.Add(other.moveData_); + _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: { + moveData_.AddEntriesFrom(input, _repeated_moveData_codec); + break; + } + case 18: { + UserId = input.ReadString(); + break; + } + case 26: { + 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: { + moveData_.AddEntriesFrom(ref input, _repeated_moveData_codec); + break; + } + case 18: { + UserId = input.ReadString(); + break; + } + case 26: { + RoomId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class NpcData : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new NpcData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MoveReflection.Descriptor.MessageTypes[4]; } + } + + [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 NpcData() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NpcData(NpcData other) : this() { + x_ = other.x_; + y_ = other.y_; + z_ = other.z_; + userId_ = other.userId_; + nickName_ = other.nickName_; + type_ = other.type_; + formation_ = other.formation_; + event_ = other.event_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public NpcData Clone() { + return new NpcData(this); + } + + /// Field number for the "x" field. + public const int XFieldNumber = 1; + private float x_; + /// + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float X { + get { return x_; } + set { + x_ = value; + } + } + + /// Field number for the "y" field. + public const int YFieldNumber = 2; + private float y_; + /// + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Y { + get { return y_; } + set { + y_ = value; + } + } + + /// Field number for the "z" field. + public const int ZFieldNumber = 3; + private float z_; + /// + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Z { + get { return z_; } + set { + z_ = value; + } + } + + /// Field number for the "userId" field. + public const int UserIdFieldNumber = 4; + private string userId_ = ""; + /// + /// 移动的npc的id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return userId_; } + set { + userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "nickName" field. + public const int NickNameFieldNumber = 8; + private string nickName_ = ""; + /// + /// 昵称 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NickName { + get { return nickName_; } + set { + nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 5; + private int type_; + /// + /// 类型 1 玩家 2 NPC + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "formation" field. + public const int FormationFieldNumber = 6; + private int formation_; + /// + /// 下楼对应的阵型 1-靠两侧 2-并排 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Formation { + get { return formation_; } + set { + formation_ = value; + } + } + + /// Field number for the "event" field. + public const int EventFieldNumber = 7; + private int event_; + /// + /// 1 进入 2 保持 3 离开 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Event { + get { return event_; } + set { + event_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as NpcData); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(NpcData other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; + if (UserId != other.UserId) return false; + if (NickName != other.NickName) return false; + if (Type != other.Type) return false; + if (Formation != other.Formation) return false; + if (Event != other.Event) 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 (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); + if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); + if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); + if (UserId.Length != 0) hash ^= UserId.GetHashCode(); + if (NickName.Length != 0) hash ^= NickName.GetHashCode(); + if (Type != 0) hash ^= Type.GetHashCode(); + if (Formation != 0) hash ^= Formation.GetHashCode(); + if (Event != 0) hash ^= Event.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 (X != 0F) { + output.WriteRawTag(13); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(29); + output.WriteFloat(Z); + } + if (UserId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(UserId); + } + if (Type != 0) { + output.WriteRawTag(40); + output.WriteInt32(Type); + } + if (Formation != 0) { + output.WriteRawTag(48); + output.WriteInt32(Formation); + } + if (Event != 0) { + output.WriteRawTag(56); + output.WriteInt32(Event); + } + if (NickName.Length != 0) { + output.WriteRawTag(66); + output.WriteString(NickName); + } + 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 (X != 0F) { + output.WriteRawTag(13); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(21); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(29); + output.WriteFloat(Z); + } + if (UserId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(UserId); + } + if (Type != 0) { + output.WriteRawTag(40); + output.WriteInt32(Type); + } + if (Formation != 0) { + output.WriteRawTag(48); + output.WriteInt32(Formation); + } + if (Event != 0) { + output.WriteRawTag(56); + output.WriteInt32(Event); + } + if (NickName.Length != 0) { + output.WriteRawTag(66); + output.WriteString(NickName); + } + 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 (X != 0F) { + size += 1 + 4; + } + if (Y != 0F) { + size += 1 + 4; + } + if (Z != 0F) { + size += 1 + 4; + } + if (UserId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (NickName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName); + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (Formation != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Formation); + } + if (Event != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Event); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(NpcData other) { + if (other == null) { + return; + } + if (other.X != 0F) { + X = other.X; + } + if (other.Y != 0F) { + Y = other.Y; + } + if (other.Z != 0F) { + Z = other.Z; + } + if (other.UserId.Length != 0) { + UserId = other.UserId; + } + if (other.NickName.Length != 0) { + NickName = other.NickName; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.Formation != 0) { + Formation = other.Formation; + } + if (other.Event != 0) { + Event = other.Event; + } + _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 13: { + X = input.ReadFloat(); + break; + } + case 21: { + Y = input.ReadFloat(); + break; + } + case 29: { + Z = input.ReadFloat(); + break; + } + case 34: { + UserId = input.ReadString(); + break; + } + case 40: { + Type = input.ReadInt32(); + break; + } + case 48: { + Formation = input.ReadInt32(); + break; + } + case 56: { + Event = input.ReadInt32(); + break; + } + case 66: { + NickName = 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 13: { + X = input.ReadFloat(); + break; + } + case 21: { + Y = input.ReadFloat(); + break; + } + case 29: { + Z = input.ReadFloat(); + break; + } + case 34: { + UserId = input.ReadString(); + break; + } + case 40: { + Type = input.ReadInt32(); + break; + } + case 48: { + Formation = input.ReadInt32(); + break; + } + case 56: { + Event = input.ReadInt32(); + break; + } + case 66: { + NickName = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class MoveRoomAoiRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MoveRoomAoiRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MoveReflection.Descriptor.MessageTypes[5]; } + } + + [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 MoveRoomAoiRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MoveRoomAoiRequest(MoveRoomAoiRequest other) : this() { + roomId_ = other.roomId_; + userId_ = other.userId_; + x_ = other.x_; + y_ = other.y_; + z_ = other.z_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MoveRoomAoiRequest Clone() { + return new MoveRoomAoiRequest(this); + } + + /// Field number for the "roomId" field. + public const int RoomIdFieldNumber = 1; + private string roomId_ = ""; + /// + /// 房间Id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "userId" field. + public const int UserIdFieldNumber = 2; + private long userId_; + /// + /// 用户Id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long UserId { + get { return userId_; } + set { + userId_ = value; + } + } + + /// Field number for the "x" field. + public const int XFieldNumber = 3; + private float x_; + /// + /// x + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float X { + get { return x_; } + set { + x_ = value; + } + } + + /// Field number for the "y" field. + public const int YFieldNumber = 4; + private float y_; + /// + /// y + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Y { + get { return y_; } + set { + y_ = value; + } + } + + /// Field number for the "z" field. + public const int ZFieldNumber = 5; + private float z_; + /// + /// z + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Z { + get { return z_; } + set { + z_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MoveRoomAoiRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MoveRoomAoiRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (UserId != other.UserId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) 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 (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (UserId != 0L) hash ^= UserId.GetHashCode(); + if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); + if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); + if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); + 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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (UserId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(UserId); + } + if (X != 0F) { + output.WriteRawTag(29); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(37); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(45); + output.WriteFloat(Z); + } + 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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (UserId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(UserId); + } + if (X != 0F) { + output.WriteRawTag(29); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(37); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(45); + output.WriteFloat(Z); + } + 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 (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (UserId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId); + } + if (X != 0F) { + size += 1 + 4; + } + if (Y != 0F) { + size += 1 + 4; + } + if (Z != 0F) { + size += 1 + 4; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MoveRoomAoiRequest other) { + if (other == null) { + return; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.UserId != 0L) { + UserId = other.UserId; + } + if (other.X != 0F) { + X = other.X; + } + if (other.Y != 0F) { + Y = other.Y; + } + if (other.Z != 0F) { + Z = other.Z; + } + _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: { + RoomId = input.ReadString(); + break; + } + case 16: { + UserId = input.ReadInt64(); + break; + } + case 29: { + X = input.ReadFloat(); + break; + } + case 37: { + Y = input.ReadFloat(); + break; + } + case 45: { + Z = input.ReadFloat(); + 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: { + RoomId = input.ReadString(); + break; + } + case 16: { + UserId = input.ReadInt64(); + break; + } + case 29: { + X = input.ReadFloat(); + break; + } + case 37: { + Y = input.ReadFloat(); + break; + } + case 45: { + Z = input.ReadFloat(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class MoveRoomAoiResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MoveRoomAoiResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::MoveReflection.Descriptor.MessageTypes[6]; } + } + + [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 MoveRoomAoiResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MoveRoomAoiResponse(MoveRoomAoiResponse other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MoveRoomAoiResponse Clone() { + return new MoveRoomAoiResponse(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as MoveRoomAoiResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(MoveRoomAoiResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + 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 (_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 (_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 (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(MoveRoomAoiResponse other) { + if (other == null) { + return; + } + _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; + } + } + #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; + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Move.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Move.cs.meta new file mode 100644 index 00000000..aaef8006 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Move.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3b549e9113344b542a6f785f98166927 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Object.cs b/xiaofang/Assets/ProtoBuf/Proto/Object.cs new file mode 100644 index 00000000..30c4e469 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Object.cs @@ -0,0 +1,1497 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: object.proto +// +#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; +/// Holder for reflection information generated from object.proto +public static partial class ObjectReflection { + + #region Descriptor + /// File descriptor for object.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ObjectReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CgxvYmplY3QucHJvdG8iXgoNUmVxdWVzdE9iamVjdBIKCgJJZBgBIAEoCRIQ", + "CghPYmplY3RJZBgCIAEoCRIOCgZTdGF0dXMYAyABKAkSDwoHVXNlcklkcxgE", + "IAEoCRIOCgZSb29tSWQYBSABKAkiqwMKDlJlc3BvbnNlT2JqZWN0EgoKAklk", + "GAEgASgJEhAKCE9iamVjdElkGAIgASgJEgwKBE5vdGUYAyABKAkSDAoEVHlw", + "ZRgEIAEoCRIMCgROYW1lGAUgASgJEhYKDk5hbWVTaG93T2Zmc2V0GAYgASgD", + "EhIKClNob3dSYWRpdXMYByABKAMSDAoESWNvbhgIIAEoCRIMCgRSb2xlGAkg", + "ASgJEhIKCkl0ZW1EZXBlbmQYCiABKAkSEAoIVGFrZVRpbWUYCyABKAMSEwoL", + "TmVlZFBsYXllcnMYDCABKAkSEgoKVGFza1N0YXR1cxgNIAEoCRISCgpTZWxl", + "Y3RMaXN0GA4gASgJEg0KBU9uT2ZmGA8gASgDEg4KBlN0YXR1cxgQIAEoCRIR", + "CglSZXNDaGFuZ2UYESABKAkSFwoPUGFyYWxsZWxDb250cm9sGBIgASgDEhIK", + "CkV4dHJhVmFsdWUYEyABKAkSDwoHVXNlcklkcxgUIAEoCRISCgpDcmVhdGVU", + "aW1lGBUgASgJEhIKClVwZGF0ZVRpbWUYFiABKAkSDgoGUm9vbUlkGBcgASgJ", + "QgdaBS4vO3BiYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::RequestObject), global::RequestObject.Parser, new[]{ "Id", "ObjectId", "Status", "UserIds", "RoomId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::ResponseObject), global::ResponseObject.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) + })); + } + #endregion + +} +#region Messages +/// +/// 定义请求和响应的消息类型 +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class RequestObject : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RequestObject()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ObjectReflection.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 RequestObject() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RequestObject(RequestObject other) : this() { + id_ = other.id_; + objectId_ = other.objectId_; + status_ = other.status_; + userIds_ = other.userIds_; + roomId_ = other.roomId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RequestObject Clone() { + return new RequestObject(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + /// + /// ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ObjectId" field. + public const int ObjectIdFieldNumber = 2; + private string objectId_ = ""; + /// + /// 对象ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObjectId { + get { return objectId_; } + set { + objectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 3; + private string status_ = ""; + /// + /// 状态 0 未使用/关闭 1 已使用/开启 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Status { + get { return status_; } + set { + status_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "UserIds" field. + public const int UserIdsFieldNumber = 4; + private string userIds_ = ""; + /// + /// 用户ID "1,2,3" 多个用户用逗号分隔 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserIds { + get { return userIds_; } + set { + userIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 5; + private string roomId_ = ""; + /// + /// 房间ID + /// + [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 RequestObject); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RequestObject 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 (Status != other.Status) return false; + if (UserIds != other.UserIds) 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 (Status.Length != 0) hash ^= Status.GetHashCode(); + if (UserIds.Length != 0) hash ^= UserIds.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 (Status.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Status); + } + if (UserIds.Length != 0) { + output.WriteRawTag(34); + output.WriteString(UserIds); + } + if (RoomId.Length != 0) { + output.WriteRawTag(42); + 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 (Status.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Status); + } + if (UserIds.Length != 0) { + output.WriteRawTag(34); + output.WriteString(UserIds); + } + if (RoomId.Length != 0) { + output.WriteRawTag(42); + 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 (Status.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); + } + if (UserIds.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserIds); + } + if (RoomId.Length != 0) { + size += 1 + 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(RequestObject other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.ObjectId.Length != 0) { + ObjectId = other.ObjectId; + } + if (other.Status.Length != 0) { + Status = other.Status; + } + if (other.UserIds.Length != 0) { + UserIds = other.UserIds; + } + 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: { + Status = input.ReadString(); + break; + } + case 34: { + UserIds = input.ReadString(); + break; + } + case 42: { + 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: { + Status = input.ReadString(); + break; + } + case 34: { + UserIds = input.ReadString(); + break; + } + case 42: { + RoomId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ResponseObject : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ResponseObject()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::ObjectReflection.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 ResponseObject() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ResponseObject(ResponseObject 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 ResponseObject Clone() { + return new ResponseObject(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + /// + /// ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ObjectId" field. + public const int ObjectIdFieldNumber = 2; + private string objectId_ = ""; + /// + /// 对象ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObjectId { + get { return objectId_; } + set { + objectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Note" field. + public const int NoteFieldNumber = 3; + 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"); + } + } + + /// Field number for the "Type" field. + public const int TypeFieldNumber = 4; + private string type_ = ""; + /// + /// 对象类型 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Name" field. + public const int NameFieldNumber = 5; + private string name_ = ""; + /// + /// 对象文本Id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NameShowOffset" field. + public const int NameShowOffsetFieldNumber = 6; + private long nameShowOffset_; + /// + /// 对象文本显示偏移量 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NameShowOffset { + get { return nameShowOffset_; } + set { + nameShowOffset_ = value; + } + } + + /// Field number for the "ShowRadius" field. + public const int ShowRadiusFieldNumber = 7; + private long showRadius_; + /// + /// 对象显示半径 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ShowRadius { + get { return showRadius_; } + set { + showRadius_ = value; + } + } + + /// Field number for the "Icon" field. + public const int IconFieldNumber = 8; + 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"); + } + } + + /// Field number for the "Role" field. + public const int RoleFieldNumber = 9; + private string role_ = ""; + /// + /// 对象角色 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Role { + get { return role_; } + set { + role_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ItemDepend" field. + public const int ItemDependFieldNumber = 10; + private string itemDepend_ = ""; + /// + /// 依赖物品 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ItemDepend { + get { return itemDepend_; } + set { + itemDepend_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TakeTime" field. + public const int TakeTimeFieldNumber = 11; + private long takeTime_; + /// + /// 交互、读条时间 -1 立即执行 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TakeTime { + get { return takeTime_; } + set { + takeTime_ = value; + } + } + + /// Field number for the "NeedPlayers" field. + public const int NeedPlayersFieldNumber = 12; + private string needPlayers_ = ""; + /// + /// 判定范围,玩家数量,是否可操作(当人数不满足时) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NeedPlayers { + get { return needPlayers_; } + set { + needPlayers_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TaskStatus" field. + public const int TaskStatusFieldNumber = 13; + private string taskStatus_ = ""; + /// + /// 对应事件ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TaskStatus { + get { return taskStatus_; } + set { + taskStatus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "SelectList" field. + public const int SelectListFieldNumber = 14; + private string selectList_ = ""; + /// + /// 选择列表 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SelectList { + get { return selectList_; } + set { + selectList_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "OnOff" field. + public const int OnOffFieldNumber = 15; + private long onOff_; + /// + /// 操作状态 0不可操作 1 可操作 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long OnOff { + get { return onOff_; } + set { + onOff_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 16; + 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"); + } + } + + /// Field number for the "ResChange" field. + public const int ResChangeFieldNumber = 17; + private string resChange_ = ""; + /// + /// 资源变化 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ResChange { + get { return resChange_; } + set { + resChange_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ParallelControl" field. + public const int ParallelControlFieldNumber = 18; + private long parallelControl_; + /// + /// 是否支持多人操作 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ParallelControl { + get { return parallelControl_; } + set { + parallelControl_ = value; + } + } + + /// Field number for the "ExtraValue" field. + public const int ExtraValueFieldNumber = 19; + private string extraValue_ = ""; + /// + /// 额外参数 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ExtraValue { + get { return extraValue_; } + set { + extraValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "UserIds" field. + public const int UserIdsFieldNumber = 20; + private string userIds_ = ""; + /// + /// 玩家id列表 逗号分隔 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserIds { + get { return userIds_; } + set { + userIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "CreateTime" field. + public const int CreateTimeFieldNumber = 21; + 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"); + } + } + + /// Field number for the "UpdateTime" field. + public const int UpdateTimeFieldNumber = 22; + 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"); + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 23; + private string roomId_ = ""; + /// + /// 房间ID + /// + [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 ResponseObject); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ResponseObject 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(ResponseObject 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 + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Object.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Object.cs.meta new file mode 100644 index 00000000..296e13e1 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Object.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7a2dfd72791480141a3dca377b5196d1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Prop.cs b/xiaofang/Assets/ProtoBuf/Proto/Prop.cs new file mode 100644 index 00000000..11c7ee85 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Prop.cs @@ -0,0 +1,1936 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: prop.proto +// +#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; +/// Holder for reflection information generated from prop.proto +public static partial class PropReflection { + + #region Descriptor + /// File descriptor for prop.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static PropReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cgpwcm9wLnByb3RvIlMKC1Byb3BSZXF1ZXN0Eg4KBnByb3BJZBgBIAEoBRIO", + "CgZhY3Rpb24YAiABKAUSFAoMcHJvcFNlcnZlcklkGAMgASgJEg4KBnJvb21J", + "ZBgEIAEoCSJhCgxQcm9wUmVzcG9uc2USDgoGcHJvcElkGAEgASgFEhQKDHBy", + "b3BTZXJ2ZXJJZBgFIAEoCRIMCgRuYW1lGAIgASgJEgwKBGNvZGUYAyABKAUS", + "DwoHbWVzc2FnZRgEIAEoCSIeChBQcm9wTW9kZWxSZXF1ZXN0EgoKAmlkGAEg", + "ASgFIvYCChFQcm9wTW9kZWxSZXNwb25zZRIKCgJpZBgBIAEoCRIQCghjYXRl", + "Z29yeRgCIAEoCRIMCgROb3RlGAMgASgJEgwKBE5hbWUYBCABKAkSDgoGV2Vp", + "Z2h0GAUgASgJEg0KBVNjZW5lGAYgASgJEgwKBEljb24YByABKAkSDwoHUmVz", + "UGF0aBgIIAEoCRIWCg5Db25zdW1hYmxlVHlwZRgJIAEoCRIRCglEdXJhdGlv", + "bnMYCiABKAkSEAoISXNQaWNrdXAYCyABKAkSCwoDTnVtGAwgASgFEhMKC0Nh", + "bGN1bGF0aW9uGA0gASgIEhAKCExvc3NUaW1lGA4gASgFEhQKDFByb3BTZXJ2", + "ZXJJZBgPIAEoCRIMCgRVc2VkGBAgASgIEg4KBlVzZXJJZBgRIAEoCRIOCgZS", + "b29tSWQYEiABKAkSEAoIVG90YWxOdW0YEyABKAUSDwoHUmVzdE51bRgUIAEo", + "BRIRCglBdHRyaWJ1dGUYFSABKAlCB1oFLi87cGJiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::PropRequest), global::PropRequest.Parser, new[]{ "PropId", "Action", "PropServerId", "RoomId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::PropResponse), global::PropResponse.Parser, new[]{ "PropId", "PropServerId", "Name", "Code", "Message" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::PropModelRequest), global::PropModelRequest.Parser, new[]{ "Id" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::PropModelResponse), global::PropModelResponse.Parser, new[]{ "Id", "Category", "Note", "Name", "Weight", "Scene", "Icon", "ResPath", "ConsumableType", "Durations", "IsPickup", "Num", "Calculation", "LossTime", "PropServerId", "Used", "UserId", "RoomId", "TotalNum", "RestNum", "Attribute" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PropRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PropRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::PropReflection.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 PropRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropRequest(PropRequest other) : this() { + propId_ = other.propId_; + action_ = other.action_; + propServerId_ = other.propServerId_; + roomId_ = other.roomId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropRequest Clone() { + return new PropRequest(this); + } + + /// Field number for the "propId" field. + public const int PropIdFieldNumber = 1; + private int propId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PropId { + get { return propId_; } + set { + propId_ = value; + } + } + + /// Field number for the "action" field. + public const int ActionFieldNumber = 2; + private int action_; + /// + /// 1 使用 2 丢弃 3 转交 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Action { + get { return action_; } + set { + action_ = value; + } + } + + /// Field number for the "propServerId" field. + public const int PropServerIdFieldNumber = 3; + private string propServerId_ = ""; + /// + /// 服务端ID 不存在这个id的时候为-1 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PropServerId { + get { return propServerId_; } + set { + propServerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "roomId" field. + public const int RoomIdFieldNumber = 4; + private string roomId_ = ""; + /// + /// 房间ID + /// + [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 PropRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PropRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PropId != other.PropId) return false; + if (Action != other.Action) return false; + if (PropServerId != other.PropServerId) 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 (PropId != 0) hash ^= PropId.GetHashCode(); + if (Action != 0) hash ^= Action.GetHashCode(); + if (PropServerId.Length != 0) hash ^= PropServerId.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 (PropId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PropId); + } + if (Action != 0) { + output.WriteRawTag(16); + output.WriteInt32(Action); + } + if (PropServerId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PropServerId); + } + if (RoomId.Length != 0) { + output.WriteRawTag(34); + 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 (PropId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PropId); + } + if (Action != 0) { + output.WriteRawTag(16); + output.WriteInt32(Action); + } + if (PropServerId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(PropServerId); + } + if (RoomId.Length != 0) { + output.WriteRawTag(34); + 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 (PropId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropId); + } + if (Action != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Action); + } + if (PropServerId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PropServerId); + } + if (RoomId.Length != 0) { + size += 1 + 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(PropRequest other) { + if (other == null) { + return; + } + if (other.PropId != 0) { + PropId = other.PropId; + } + if (other.Action != 0) { + Action = other.Action; + } + if (other.PropServerId.Length != 0) { + PropServerId = other.PropServerId; + } + 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 8: { + PropId = input.ReadInt32(); + break; + } + case 16: { + Action = input.ReadInt32(); + break; + } + case 26: { + PropServerId = input.ReadString(); + break; + } + case 34: { + 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 8: { + PropId = input.ReadInt32(); + break; + } + case 16: { + Action = input.ReadInt32(); + break; + } + case 26: { + PropServerId = input.ReadString(); + break; + } + case 34: { + RoomId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PropResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PropResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::PropReflection.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 PropResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropResponse(PropResponse other) : this() { + propId_ = other.propId_; + propServerId_ = other.propServerId_; + name_ = other.name_; + code_ = other.code_; + message_ = other.message_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropResponse Clone() { + return new PropResponse(this); + } + + /// Field number for the "propId" field. + public const int PropIdFieldNumber = 1; + private int propId_; + /// + /// 道具ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PropId { + get { return propId_; } + set { + propId_ = value; + } + } + + /// Field number for the "propServerId" field. + public const int PropServerIdFieldNumber = 5; + private string propServerId_ = ""; + /// + /// 服务端ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PropServerId { + get { return propServerId_; } + set { + propServerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 2; + private string name_ = ""; + /// + /// 道具名称 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "code" field. + public const int CodeFieldNumber = 3; + private int code_; + /// + /// 道具编码 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Code { + get { return code_; } + set { + code_ = value; + } + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 4; + private string message_ = ""; + /// + /// 道具提示信息 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = 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 PropResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PropResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PropId != other.PropId) return false; + if (PropServerId != other.PropServerId) return false; + if (Name != other.Name) return false; + if (Code != other.Code) return false; + if (Message != other.Message) 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 (PropId != 0) hash ^= PropId.GetHashCode(); + if (PropServerId.Length != 0) hash ^= PropServerId.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Code != 0) hash ^= Code.GetHashCode(); + if (Message.Length != 0) hash ^= Message.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 (PropId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PropId); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Code != 0) { + output.WriteRawTag(24); + output.WriteInt32(Code); + } + if (Message.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Message); + } + if (PropServerId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(PropServerId); + } + 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 (PropId != 0) { + output.WriteRawTag(8); + output.WriteInt32(PropId); + } + if (Name.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Name); + } + if (Code != 0) { + output.WriteRawTag(24); + output.WriteInt32(Code); + } + if (Message.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Message); + } + if (PropServerId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(PropServerId); + } + 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 (PropId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropId); + } + if (PropServerId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PropServerId); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Code != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); + } + if (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PropResponse other) { + if (other == null) { + return; + } + if (other.PropId != 0) { + PropId = other.PropId; + } + if (other.PropServerId.Length != 0) { + PropServerId = other.PropServerId; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Code != 0) { + Code = other.Code; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + _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: { + PropId = input.ReadInt32(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + Code = input.ReadInt32(); + break; + } + case 34: { + Message = input.ReadString(); + break; + } + case 42: { + PropServerId = 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: { + PropId = input.ReadInt32(); + break; + } + case 18: { + Name = input.ReadString(); + break; + } + case 24: { + Code = input.ReadInt32(); + break; + } + case 34: { + Message = input.ReadString(); + break; + } + case 42: { + PropServerId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PropModelRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PropModelRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::PropReflection.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 PropModelRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropModelRequest(PropModelRequest other) : this() { + id_ = other.id_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropModelRequest Clone() { + return new PropModelRequest(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private int id_; + /// + /// 道具ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Id { + get { return id_; } + set { + id_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as PropModelRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PropModelRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) 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 != 0) hash ^= Id.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 != 0) { + output.WriteRawTag(8); + output.WriteInt32(Id); + } + 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 != 0) { + output.WriteRawTag(8); + output.WriteInt32(Id); + } + 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 != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PropModelRequest other) { + if (other == null) { + return; + } + if (other.Id != 0) { + Id = other.Id; + } + _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.ReadInt32(); + 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.ReadInt32(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class PropModelResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PropModelResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::PropReflection.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 PropModelResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropModelResponse(PropModelResponse other) : this() { + id_ = other.id_; + category_ = other.category_; + note_ = other.note_; + name_ = other.name_; + weight_ = other.weight_; + scene_ = other.scene_; + icon_ = other.icon_; + resPath_ = other.resPath_; + consumableType_ = other.consumableType_; + durations_ = other.durations_; + isPickup_ = other.isPickup_; + num_ = other.num_; + calculation_ = other.calculation_; + lossTime_ = other.lossTime_; + propServerId_ = other.propServerId_; + used_ = other.used_; + userId_ = other.userId_; + roomId_ = other.roomId_; + totalNum_ = other.totalNum_; + restNum_ = other.restNum_; + attribute_ = other.attribute_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public PropModelResponse Clone() { + return new PropModelResponse(this); + } + + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + /// + /// 物资id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "category" field. + public const int CategoryFieldNumber = 2; + private string category_ = ""; + /// + /// 物资分类 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Category { + get { return category_; } + set { + category_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Note" field. + public const int NoteFieldNumber = 3; + 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"); + } + } + + /// Field number for the "Name" field. + public const int NameFieldNumber = 4; + private string name_ = ""; + /// + /// 关联到文本表ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Weight" field. + public const int WeightFieldNumber = 5; + private string weight_ = ""; + /// + /// 重量 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Weight { + get { return weight_; } + set { + weight_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Scene" field. + public const int SceneFieldNumber = 6; + private string scene_ = ""; + /// + /// 使用场景 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Scene { + get { return scene_; } + set { + scene_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Icon" field. + public const int IconFieldNumber = 7; + 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"); + } + } + + /// Field number for the "ResPath" field. + public const int ResPathFieldNumber = 8; + private string resPath_ = ""; + /// + /// 图片资源 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ResPath { + get { return resPath_; } + set { + resPath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ConsumableType" field. + public const int ConsumableTypeFieldNumber = 9; + private string consumableType_ = ""; + /// + /// 是否消耗品 0=非消耗品 1=消耗品 2=穿戴类 3=可穿戴消耗品 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ConsumableType { + get { return consumableType_; } + set { + consumableType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Durations" field. + public const int DurationsFieldNumber = 10; + private string durations_ = ""; + /// + /// 有效时间 -1 无限制 单位 秒 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Durations { + get { return durations_; } + set { + durations_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "IsPickup" field. + public const int IsPickupFieldNumber = 11; + private string isPickup_ = ""; + /// + /// 可被拾取 职业ID1,是否可拾取1|职业ID2,是否可拾取2 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string IsPickup { + get { return isPickup_; } + set { + isPickup_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Num" field. + public const int NumFieldNumber = 12; + private int num_; + /// + /// 道具数量 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Num { + get { return num_; } + set { + num_ = value; + } + } + + /// Field number for the "Calculation" field. + public const int CalculationFieldNumber = 13; + private bool calculation_; + /// + /// 是否计算属性 true=计算 false=不计算 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Calculation { + get { return calculation_; } + set { + calculation_ = value; + } + } + + /// Field number for the "LossTime" field. + public const int LossTimeFieldNumber = 14; + private int lossTime_; + /// + /// 剩余时间 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LossTime { + get { return lossTime_; } + set { + lossTime_ = value; + } + } + + /// Field number for the "PropServerId" field. + public const int PropServerIdFieldNumber = 15; + private string propServerId_ = ""; + /// + /// 道具服务器ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PropServerId { + get { return propServerId_; } + set { + propServerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Used" field. + public const int UsedFieldNumber = 16; + private bool used_; + /// + /// 是否正在使用 true=正在使用 false=未使用 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Used { + get { return used_; } + set { + used_ = value; + } + } + + /// Field number for the "UserId" field. + public const int UserIdFieldNumber = 17; + private string userId_ = ""; + /// + /// 用户ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return userId_; } + set { + userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 18; + private string roomId_ = ""; + /// + /// 房间ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TotalNum" field. + public const int TotalNumFieldNumber = 19; + private int totalNum_; + /// + /// 总数量 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TotalNum { + get { return totalNum_; } + set { + totalNum_ = value; + } + } + + /// Field number for the "RestNum" field. + public const int RestNumFieldNumber = 20; + private int restNum_; + /// + /// 剩余数量 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RestNum { + get { return restNum_; } + set { + restNum_ = value; + } + } + + /// Field number for the "Attribute" field. + public const int AttributeFieldNumber = 21; + private string attribute_ = ""; + /// + /// 属性种类,属性值 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Attribute { + get { return attribute_; } + set { + attribute_ = 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 PropModelResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(PropModelResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (Category != other.Category) return false; + if (Note != other.Note) return false; + if (Name != other.Name) return false; + if (Weight != other.Weight) return false; + if (Scene != other.Scene) return false; + if (Icon != other.Icon) return false; + if (ResPath != other.ResPath) return false; + if (ConsumableType != other.ConsumableType) return false; + if (Durations != other.Durations) return false; + if (IsPickup != other.IsPickup) return false; + if (Num != other.Num) return false; + if (Calculation != other.Calculation) return false; + if (LossTime != other.LossTime) return false; + if (PropServerId != other.PropServerId) return false; + if (Used != other.Used) return false; + if (UserId != other.UserId) return false; + if (RoomId != other.RoomId) return false; + if (TotalNum != other.TotalNum) return false; + if (RestNum != other.RestNum) return false; + if (Attribute != other.Attribute) 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 (Category.Length != 0) hash ^= Category.GetHashCode(); + if (Note.Length != 0) hash ^= Note.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Weight.Length != 0) hash ^= Weight.GetHashCode(); + if (Scene.Length != 0) hash ^= Scene.GetHashCode(); + if (Icon.Length != 0) hash ^= Icon.GetHashCode(); + if (ResPath.Length != 0) hash ^= ResPath.GetHashCode(); + if (ConsumableType.Length != 0) hash ^= ConsumableType.GetHashCode(); + if (Durations.Length != 0) hash ^= Durations.GetHashCode(); + if (IsPickup.Length != 0) hash ^= IsPickup.GetHashCode(); + if (Num != 0) hash ^= Num.GetHashCode(); + if (Calculation != false) hash ^= Calculation.GetHashCode(); + if (LossTime != 0) hash ^= LossTime.GetHashCode(); + if (PropServerId.Length != 0) hash ^= PropServerId.GetHashCode(); + if (Used != false) hash ^= Used.GetHashCode(); + if (UserId.Length != 0) hash ^= UserId.GetHashCode(); + if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (TotalNum != 0) hash ^= TotalNum.GetHashCode(); + if (RestNum != 0) hash ^= RestNum.GetHashCode(); + if (Attribute.Length != 0) hash ^= Attribute.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 (Category.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Category); + } + if (Note.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Note); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Weight.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Weight); + } + if (Scene.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Scene); + } + if (Icon.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Icon); + } + if (ResPath.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ResPath); + } + if (ConsumableType.Length != 0) { + output.WriteRawTag(74); + output.WriteString(ConsumableType); + } + if (Durations.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Durations); + } + if (IsPickup.Length != 0) { + output.WriteRawTag(90); + output.WriteString(IsPickup); + } + if (Num != 0) { + output.WriteRawTag(96); + output.WriteInt32(Num); + } + if (Calculation != false) { + output.WriteRawTag(104); + output.WriteBool(Calculation); + } + if (LossTime != 0) { + output.WriteRawTag(112); + output.WriteInt32(LossTime); + } + if (PropServerId.Length != 0) { + output.WriteRawTag(122); + output.WriteString(PropServerId); + } + if (Used != false) { + output.WriteRawTag(128, 1); + output.WriteBool(Used); + } + if (UserId.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(UserId); + } + if (RoomId.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(RoomId); + } + if (TotalNum != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(TotalNum); + } + if (RestNum != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(RestNum); + } + if (Attribute.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Attribute); + } + 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 (Category.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Category); + } + if (Note.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Note); + } + if (Name.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Name); + } + if (Weight.Length != 0) { + output.WriteRawTag(42); + output.WriteString(Weight); + } + if (Scene.Length != 0) { + output.WriteRawTag(50); + output.WriteString(Scene); + } + if (Icon.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Icon); + } + if (ResPath.Length != 0) { + output.WriteRawTag(66); + output.WriteString(ResPath); + } + if (ConsumableType.Length != 0) { + output.WriteRawTag(74); + output.WriteString(ConsumableType); + } + if (Durations.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Durations); + } + if (IsPickup.Length != 0) { + output.WriteRawTag(90); + output.WriteString(IsPickup); + } + if (Num != 0) { + output.WriteRawTag(96); + output.WriteInt32(Num); + } + if (Calculation != false) { + output.WriteRawTag(104); + output.WriteBool(Calculation); + } + if (LossTime != 0) { + output.WriteRawTag(112); + output.WriteInt32(LossTime); + } + if (PropServerId.Length != 0) { + output.WriteRawTag(122); + output.WriteString(PropServerId); + } + if (Used != false) { + output.WriteRawTag(128, 1); + output.WriteBool(Used); + } + if (UserId.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(UserId); + } + if (RoomId.Length != 0) { + output.WriteRawTag(146, 1); + output.WriteString(RoomId); + } + if (TotalNum != 0) { + output.WriteRawTag(152, 1); + output.WriteInt32(TotalNum); + } + if (RestNum != 0) { + output.WriteRawTag(160, 1); + output.WriteInt32(RestNum); + } + if (Attribute.Length != 0) { + output.WriteRawTag(170, 1); + output.WriteString(Attribute); + } + 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 (Category.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Category); + } + if (Note.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Weight.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Weight); + } + if (Scene.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Scene); + } + if (Icon.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon); + } + if (ResPath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ResPath); + } + if (ConsumableType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ConsumableType); + } + if (Durations.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Durations); + } + if (IsPickup.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(IsPickup); + } + if (Num != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Num); + } + if (Calculation != false) { + size += 1 + 1; + } + if (LossTime != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LossTime); + } + if (PropServerId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PropServerId); + } + if (Used != false) { + size += 2 + 1; + } + if (UserId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (RoomId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (TotalNum != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(TotalNum); + } + if (RestNum != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(RestNum); + } + if (Attribute.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(Attribute); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(PropModelResponse other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.Category.Length != 0) { + Category = other.Category; + } + if (other.Note.Length != 0) { + Note = other.Note; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Weight.Length != 0) { + Weight = other.Weight; + } + if (other.Scene.Length != 0) { + Scene = other.Scene; + } + if (other.Icon.Length != 0) { + Icon = other.Icon; + } + if (other.ResPath.Length != 0) { + ResPath = other.ResPath; + } + if (other.ConsumableType.Length != 0) { + ConsumableType = other.ConsumableType; + } + if (other.Durations.Length != 0) { + Durations = other.Durations; + } + if (other.IsPickup.Length != 0) { + IsPickup = other.IsPickup; + } + if (other.Num != 0) { + Num = other.Num; + } + if (other.Calculation != false) { + Calculation = other.Calculation; + } + if (other.LossTime != 0) { + LossTime = other.LossTime; + } + if (other.PropServerId.Length != 0) { + PropServerId = other.PropServerId; + } + if (other.Used != false) { + Used = other.Used; + } + if (other.UserId.Length != 0) { + UserId = other.UserId; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.TotalNum != 0) { + TotalNum = other.TotalNum; + } + if (other.RestNum != 0) { + RestNum = other.RestNum; + } + if (other.Attribute.Length != 0) { + Attribute = other.Attribute; + } + _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: { + Category = input.ReadString(); + break; + } + case 26: { + Note = input.ReadString(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Weight = input.ReadString(); + break; + } + case 50: { + Scene = input.ReadString(); + break; + } + case 58: { + Icon = input.ReadString(); + break; + } + case 66: { + ResPath = input.ReadString(); + break; + } + case 74: { + ConsumableType = input.ReadString(); + break; + } + case 82: { + Durations = input.ReadString(); + break; + } + case 90: { + IsPickup = input.ReadString(); + break; + } + case 96: { + Num = input.ReadInt32(); + break; + } + case 104: { + Calculation = input.ReadBool(); + break; + } + case 112: { + LossTime = input.ReadInt32(); + break; + } + case 122: { + PropServerId = input.ReadString(); + break; + } + case 128: { + Used = input.ReadBool(); + break; + } + case 138: { + UserId = input.ReadString(); + break; + } + case 146: { + RoomId = input.ReadString(); + break; + } + case 152: { + TotalNum = input.ReadInt32(); + break; + } + case 160: { + RestNum = input.ReadInt32(); + break; + } + case 170: { + Attribute = 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: { + Category = input.ReadString(); + break; + } + case 26: { + Note = input.ReadString(); + break; + } + case 34: { + Name = input.ReadString(); + break; + } + case 42: { + Weight = input.ReadString(); + break; + } + case 50: { + Scene = input.ReadString(); + break; + } + case 58: { + Icon = input.ReadString(); + break; + } + case 66: { + ResPath = input.ReadString(); + break; + } + case 74: { + ConsumableType = input.ReadString(); + break; + } + case 82: { + Durations = input.ReadString(); + break; + } + case 90: { + IsPickup = input.ReadString(); + break; + } + case 96: { + Num = input.ReadInt32(); + break; + } + case 104: { + Calculation = input.ReadBool(); + break; + } + case 112: { + LossTime = input.ReadInt32(); + break; + } + case 122: { + PropServerId = input.ReadString(); + break; + } + case 128: { + Used = input.ReadBool(); + break; + } + case 138: { + UserId = input.ReadString(); + break; + } + case 146: { + RoomId = input.ReadString(); + break; + } + case 152: { + TotalNum = input.ReadInt32(); + break; + } + case 160: { + RestNum = input.ReadInt32(); + break; + } + case 170: { + Attribute = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Prop.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Prop.cs.meta new file mode 100644 index 00000000..c8ce4cfa --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Prop.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 66a0cd6fc174b4042b409c9030c08516 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Room.cs b/xiaofang/Assets/ProtoBuf/Proto/Room.cs new file mode 100644 index 00000000..25ba0064 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Room.cs @@ -0,0 +1,4094 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: room.proto +// +#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; +/// Holder for reflection information generated from room.proto +public static partial class RoomReflection { + + #region Descriptor + /// File descriptor for room.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static RoomReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cgpyb29tLnByb3RvIqAEChRSb29tVGVtcGxhdGVSZXNwb25zZRIKCgJJZBgB", + "IAEoAxIUCgxUZW1wbGF0ZU5hbWUYAiABKAkSEQoJQ29tcGFueUlkGAMgASgJ", + "Eg8KB1NjZW5lSWQYBCABKAkSEQoJU3ViamVjdElkGAUgASgJEg4KBlN0YXR1", + "cxgGIAEoCRISCgpJc1RlbXBsYXRlGAcgASgJEhAKCENyZWF0ZUJ5GAggASgJ", + "EhIKCkNyZWF0ZVRpbWUYCSABKAkSEAoIVXBkYXRlQnkYCiABKAkSEgoKVXBk", + "YXRlVGltZRgLIAEoCRIOCgZSZW1hcmsYDCABKAkSDAoETW9kZRgNIAEoCRIY", + "ChBEaXNhc3RlckxvY2F0aW9uGA4gASgJEhAKCEZpcmV3YWxsGA8gASgJEiEK", + "C3Rhc2tPcm1EYXRhGBAgAygLMgwuVGFza09ybURhdGESJQoNc2VsZWN0T3Jt", + "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==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + 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), + 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), + 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) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class RoomTemplateResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RoomTemplateResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser 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(); + objectOrmData_ = other.objectOrmData_.Clone(); + gamePosition_ = other.gamePosition_; + initFireRadius_ = other.initFireRadius_; + initFireTime_ = other.initFireTime_; + addFireRadius_ = other.addFireRadius_; + addFireValue_ = other.addFireValue_; + maxFirewall_ = other.maxFirewall_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RoomTemplateResponse Clone() { + return new RoomTemplateResponse(this); + } + + /// Field number for the "Id" field. + 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; + } + } + + /// Field number for the "TemplateName" field. + 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"); + } + } + + /// Field number for the "CompanyId" field. + 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"); + } + } + + /// Field number for the "SceneId" field. + 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"); + } + } + + /// Field number for the "SubjectId" field. + 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"); + } + } + + /// Field number for the "Status" field. + 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"); + } + } + + /// Field number for the "IsTemplate" field. + 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"); + } + } + + /// Field number for the "CreateBy" field. + 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"); + } + } + + /// Field number for the "CreateTime" field. + 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"); + } + } + + /// Field number for the "UpdateBy" field. + 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"); + } + } + + /// Field number for the "UpdateTime" field. + 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"); + } + } + + /// Field number for the "Remark" field. + 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"); + } + } + + /// Field number for the "Mode" field. + 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"); + } + } + + /// Field number for the "DisasterLocation" field. + 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"); + } + } + + /// Field number for the "Firewall" field. + 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"); + } + } + + /// Field number for the "taskOrmData" field. + public const int TaskOrmDataFieldNumber = 16; + private static readonly pb::FieldCodec _repeated_taskOrmData_codec + = pb::FieldCodec.ForMessage(130, global::TaskOrmData.Parser); + private readonly pbc::RepeatedField taskOrmData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField TaskOrmData { + get { return taskOrmData_; } + } + + /// Field number for the "selectOrmData" field. + public const int SelectOrmDataFieldNumber = 17; + private static readonly pb::FieldCodec _repeated_selectOrmData_codec + = pb::FieldCodec.ForMessage(138, global::SelectOrmData.Parser); + private readonly pbc::RepeatedField selectOrmData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SelectOrmData { + get { return selectOrmData_; } + } + + /// Field number for the "objectOrmData" field. + public const int ObjectOrmDataFieldNumber = 18; + private static readonly pb::FieldCodec _repeated_objectOrmData_codec + = pb::FieldCodec.ForMessage(146, global::ObjectOrmData.Parser); + private readonly pbc::RepeatedField objectOrmData_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ObjectOrmData { + get { return objectOrmData_; } + } + + /// Field number for the "GamePosition" field. + 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"); + } + } + + /// Field number for the "InitFireRadius" field. + 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; + } + } + + /// Field number for the "InitFireTime" field. + 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; + } + } + + /// Field number for the "AddFireRadius" field. + 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; + } + } + + /// Field number for the "AddFireValue" field. + 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; + } + } + + /// Field number for the "MaxFirewall" field. + 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; + } + } + + [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; + 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; + 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(); + 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(); + 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); + 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); + } + 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); + 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); + } + 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); + 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); + } + 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_); + 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; + } + _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; + } + 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; + } + } + } + #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; + } + 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; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class TaskOrmData : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskOrmData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser 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); + } + + /// Field number for the "Id" field. + 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; + } + } + + /// Field number for the "TaskName" field. + 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"); + } + } + + /// Field number for the "GameName" field. + 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"); + } + } + + /// Field number for the "GameType" field. + 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; + } + } + + /// Field number for the "GameDesc" field. + 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"); + } + } + + /// Field number for the "GamePlayScript" field. + 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"); + } + } + + /// Field number for the "GameTrigger" field. + 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"); + } + } + + /// Field number for the "GameTriggerLogic" field. + 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"); + } + } + + /// Field number for the "GameOverseeCond" field. + 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"); + } + } + + /// Field number for the "GameTimeLimit" field. + 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"); + } + } + + /// Field number for the "GameRole" field. + 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"); + } + } + + /// Field number for the "GameSelects" field. + 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"); + } + } + + /// Field number for the "GameTargetType" field. + 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"); + } + } + + /// Field number for the "GameTargetsFirst" field. + 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"); + } + } + + /// Field number for the "GameTargetsSecond" field. + 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"); + } + } + + /// Field number for the "GameTargetsSecondLogic" field. + 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"); + } + } + + /// Field number for the "GameExtraValue" field. + 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"); + } + } + + /// Field number for the "GameSort" field. + 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"); + } + } + + /// Field number for the "GameIsShow" field. + 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"); + } + } + + /// Field number for the "GameExclusive" field. + 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"); + } + } + + /// Field number for the "GameReward" field. + 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 +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SelectOrmData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser 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); + } + + /// Field number for the "Id" field. + 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; + } + } + + /// Field number for the "Note" field. + 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"); + } + } + + /// Field number for the "Group" field. + 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"); + } + } + + /// Field number for the "ShowText" field. + 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"); + } + } + + /// Field number for the "Icon" field. + 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"); + } + } + + /// Field number for the "Preconditions" field. + 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"); + } + } + + /// Field number for the "Exclusive" field. + 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"); + } + } + + /// Field number for the "TaskTime" field. + 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; + } + } + + /// Field number for the "TimeLimit" field. + 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; + } + } + + /// Field number for the "NextSelect" field. + 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"); + } + } + + /// Field number for the "TaskLink" field. + 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"); + } + } + + /// Field number for the "TaskLinkDetails" field. + 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"); + } + } + + /// Field number for the "CallMode" field. + 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"); + } + } + + /// Field number for the "CallRecipient" field. + 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"); + } + } + + /// Field number for the "CorrectOption" field. + 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"); + } + } + + /// Field number for the "Reward" field. + 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"); + } + } + + /// Field number for the "Result" field. + 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"); + } + } + + /// Field number for the "Route" field. + 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"); + } + } + + /// Field number for the "TimingChange" field. + 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"); + } + } + + /// Field number for the "AppliedUI" field. + 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"); + } + } + + /// Field number for the "UIDetails" field. + 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"); + } + } + + /// Field number for the "Seq" field. + 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 + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class ObjectOrmData : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ObjectOrmData()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser 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); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + /// + /// ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ObjectId" field. + public const int ObjectIdFieldNumber = 2; + private string objectId_ = ""; + /// + /// 对象ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ObjectId { + get { return objectId_; } + set { + objectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Note" field. + public const int NoteFieldNumber = 3; + 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"); + } + } + + /// Field number for the "Type" field. + public const int TypeFieldNumber = 4; + private string type_ = ""; + /// + /// 对象类型 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Name" field. + public const int NameFieldNumber = 5; + private string name_ = ""; + /// + /// 对象文本Id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NameShowOffset" field. + public const int NameShowOffsetFieldNumber = 6; + private long nameShowOffset_; + /// + /// 对象文本显示偏移量 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long NameShowOffset { + get { return nameShowOffset_; } + set { + nameShowOffset_ = value; + } + } + + /// Field number for the "ShowRadius" field. + public const int ShowRadiusFieldNumber = 7; + private long showRadius_; + /// + /// 对象显示半径 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ShowRadius { + get { return showRadius_; } + set { + showRadius_ = value; + } + } + + /// Field number for the "Icon" field. + public const int IconFieldNumber = 8; + 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"); + } + } + + /// Field number for the "Role" field. + public const int RoleFieldNumber = 9; + private string role_ = ""; + /// + /// 对象角色 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Role { + get { return role_; } + set { + role_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ItemDepend" field. + public const int ItemDependFieldNumber = 10; + private string itemDepend_ = ""; + /// + /// 依赖物品 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ItemDepend { + get { return itemDepend_; } + set { + itemDepend_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TakeTime" field. + public const int TakeTimeFieldNumber = 11; + private long takeTime_; + /// + /// 交互、读条时间 -1 立即执行 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TakeTime { + get { return takeTime_; } + set { + takeTime_ = value; + } + } + + /// Field number for the "NeedPlayers" field. + public const int NeedPlayersFieldNumber = 12; + private string needPlayers_ = ""; + /// + /// 判定范围,玩家数量,是否可操作(当人数不满足时) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NeedPlayers { + get { return needPlayers_; } + set { + needPlayers_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TaskStatus" field. + public const int TaskStatusFieldNumber = 13; + private string taskStatus_ = ""; + /// + /// 对应事件ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TaskStatus { + get { return taskStatus_; } + set { + taskStatus_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "SelectList" field. + public const int SelectListFieldNumber = 14; + private string selectList_ = ""; + /// + /// 选择列表 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SelectList { + get { return selectList_; } + set { + selectList_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "OnOff" field. + public const int OnOffFieldNumber = 15; + private long onOff_; + /// + /// 操作状态 0不可操作 1 可操作 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long OnOff { + get { return onOff_; } + set { + onOff_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 16; + 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"); + } + } + + /// Field number for the "ResChange" field. + public const int ResChangeFieldNumber = 17; + private string resChange_ = ""; + /// + /// 资源变化 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ResChange { + get { return resChange_; } + set { + resChange_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ParallelControl" field. + public const int ParallelControlFieldNumber = 18; + private long parallelControl_; + /// + /// 是否支持多人操作 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ParallelControl { + get { return parallelControl_; } + set { + parallelControl_ = value; + } + } + + /// Field number for the "ExtraValue" field. + public const int ExtraValueFieldNumber = 19; + private string extraValue_ = ""; + /// + /// 额外参数 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ExtraValue { + get { return extraValue_; } + set { + extraValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "UserIds" field. + public const int UserIdsFieldNumber = 20; + private string userIds_ = ""; + /// + /// 玩家id列表 逗号分隔 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserIds { + get { return userIds_; } + set { + userIds_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "CreateTime" field. + public const int CreateTimeFieldNumber = 21; + 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"); + } + } + + /// Field number for the "UpdateTime" field. + public const int UpdateTimeFieldNumber = 22; + 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"); + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 23; + private string roomId_ = ""; + /// + /// 房间ID + /// + [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 + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Room.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Room.cs.meta new file mode 100644 index 00000000..8b4ed676 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Room.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: efe7f33d728ac2948956f9a0bcf43259 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Task.cs b/xiaofang/Assets/ProtoBuf/Proto/Task.cs new file mode 100644 index 00000000..a0998dbe --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Task.cs @@ -0,0 +1,2867 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: task.proto +// +#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; +/// Holder for reflection information generated from task.proto +public static partial class TaskReflection { + + #region Descriptor + /// File descriptor for task.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static TaskReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cgp0YXNrLnByb3RvIiMKEVRhc2tDcmVhdGVSZXF1ZXN0Eg4KBnJvb21JZBgB", + "IAEoCSIWCghCYXNlVGFzaxIKCgJJZBgBIAEoCSJvChJUYXNrQ3JlYXRlUmVz", + "cG9uc2USCgoCSWQYASABKAkSCQoBWBgCIAEoAhIJCgFZGAMgASgCEgkKAVoY", + "BCABKAISDAoEVHlwZRgFIAEoBRIOCgZSb29tSWQYBiABKAkSDgoGVXNlcklk", + "GAcgASgJIrwBChFUYXNrVXBkYXRlUmVxdWVzdBIOCgZSb29tSWQYASABKAkS", + "DgoGVGFza0lkGAIgASgJEg4KBlVzZXJJZBgDIAEoCRIQCghTZWxlY3RJZBgE", + "IAEoCRIQCghUb1VzZXJJZBgFIAEoCRIQCghVc2VyTmFtZRgGIAEoCRIOCgZQ", + "cm9wSWQYByABKAkSEAoIUHJvcE5hbWUYCCABKAkSDwoHUHJvcE51bRgJIAEo", + "BRIOCgZTdGF0dXMYCiABKAkingIKDFRhc2tSZXNwb25zZRIOCgZUYXNrSWQY", + "ASABKAkSDgoGU3RhdHVzGAIgASgJEg4KBlJvb21JZBgDIAEoCRIJCgFYGAQg", + "ASgCEgkKAVkYBSABKAISCQoBWhgGIAEoAhIMCgRUeXBlGAcgASgJEhEKCVRp", + "bWVMaW1pdBgIIAEoAxIMCgREZXNjGAkgASgJEg8KB1RyaWdnZXIYCiABKAkS", + "EQoJTmV4dFRhc2tzGAsgASgJEhIKClRhcmdldFR5cGUYDCABKAkSDgoGUmV3", + "YXJkGA0gASgJEgwKBE5vdGUYDiABKAkSEgoKQ3JlYXRlVGltZRgPIAEoCRIS", + "CgpVcGRhdGVUaW1lGBAgASgJEhAKCFRvVXNlcklkGBEgASgJImMKC1Rhc2tU", + "cmlnZ2VyEg4KBlVzZXJJZBgCIAEoCRIOCgZSb29tSWQYAyABKAkSEQoJVHJp", + "Z2dlcklkGAQgASgJEg8KB1R5cGVTdHIYBSABKAkSEAoIVGFyZ2V0SWQYBiAB", + "KAkiIwoOVGFza09ybVJlcXVlc3QSEQoJc3ViamVjdElkGAEgASgJQgdaBS4v", + "O3BiYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::TaskCreateRequest), global::TaskCreateRequest.Parser, new[]{ "RoomId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::BaseTask), global::BaseTask.Parser, new[]{ "Id" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::TaskCreateResponse), global::TaskCreateResponse.Parser, new[]{ "Id", "X", "Y", "Z", "Type", "RoomId", "UserId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::TaskUpdateRequest), global::TaskUpdateRequest.Parser, new[]{ "RoomId", "TaskId", "UserId", "SelectId", "ToUserId", "UserName", "PropId", "PropName", "PropNum", "Status" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::TaskResponse), global::TaskResponse.Parser, new[]{ "TaskId", "Status", "RoomId", "X", "Y", "Z", "Type", "TimeLimit", "Desc", "Trigger", "NextTasks", "TargetType", "Reward", "Note", "CreateTime", "UpdateTime", "ToUserId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::TaskTrigger), global::TaskTrigger.Parser, new[]{ "UserId", "RoomId", "TriggerId", "TypeStr", "TargetId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::TaskOrmRequest), global::TaskOrmRequest.Parser, new[]{ "SubjectId" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class TaskCreateRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskCreateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::TaskReflection.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 TaskCreateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskCreateRequest(TaskCreateRequest other) : this() { + roomId_ = other.roomId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskCreateRequest Clone() { + return new TaskCreateRequest(this); + } + + /// Field number for the "roomId" field. + public const int RoomIdFieldNumber = 1; + private string roomId_ = ""; + /// + /// 房间id + /// + [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 TaskCreateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TaskCreateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + 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 (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 (RoomId.Length != 0) { + output.WriteRawTag(10); + 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 (RoomId.Length != 0) { + output.WriteRawTag(10); + 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 (RoomId.Length != 0) { + size += 1 + 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(TaskCreateRequest other) { + if (other == null) { + return; + } + 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: { + 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: { + RoomId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class BaseTask : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BaseTask()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::TaskReflection.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 BaseTask() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BaseTask(BaseTask other) : this() { + id_ = other.id_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public BaseTask Clone() { + return new BaseTask(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + /// + /// 任务id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = 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 BaseTask); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(BaseTask other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) 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 (_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 (_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 (_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 (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(BaseTask other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + _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; + } + } + } + #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; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class TaskCreateResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskCreateResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::TaskReflection.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 TaskCreateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskCreateResponse(TaskCreateResponse other) : this() { + id_ = other.id_; + x_ = other.x_; + y_ = other.y_; + z_ = other.z_; + type_ = other.type_; + roomId_ = other.roomId_; + userId_ = other.userId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskCreateResponse Clone() { + return new TaskCreateResponse(this); + } + + /// Field number for the "Id" field. + public const int IdFieldNumber = 1; + private string id_ = ""; + /// + /// 任务id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Id { + get { return id_; } + set { + id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "X" field. + public const int XFieldNumber = 2; + private float x_; + /// + /// x坐标 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float X { + get { return x_; } + set { + x_ = value; + } + } + + /// Field number for the "Y" field. + public const int YFieldNumber = 3; + private float y_; + /// + /// y坐标 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Y { + get { return y_; } + set { + y_ = value; + } + } + + /// Field number for the "Z" field. + public const int ZFieldNumber = 4; + private float z_; + /// + /// z坐标 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Z { + get { return z_; } + set { + z_ = value; + } + } + + /// Field number for the "Type" field. + public const int TypeFieldNumber = 5; + private int type_; + /// + /// 类型 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 6; + private string roomId_ = ""; + /// + /// 房间id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "UserId" field. + public const int UserIdFieldNumber = 7; + private string userId_ = ""; + /// + /// 用户id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return userId_; } + set { + userId_ = 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 TaskCreateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TaskCreateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Id != other.Id) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; + if (Type != other.Type) return false; + if (RoomId != other.RoomId) return false; + if (UserId != other.UserId) 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 (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); + if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); + if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); + if (Type != 0) hash ^= Type.GetHashCode(); + if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (UserId.Length != 0) hash ^= UserId.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 (X != 0F) { + output.WriteRawTag(21); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(29); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(37); + output.WriteFloat(Z); + } + if (Type != 0) { + output.WriteRawTag(40); + output.WriteInt32(Type); + } + if (RoomId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(RoomId); + } + if (UserId.Length != 0) { + output.WriteRawTag(58); + output.WriteString(UserId); + } + 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 (X != 0F) { + output.WriteRawTag(21); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(29); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(37); + output.WriteFloat(Z); + } + if (Type != 0) { + output.WriteRawTag(40); + output.WriteInt32(Type); + } + if (RoomId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(RoomId); + } + if (UserId.Length != 0) { + output.WriteRawTag(58); + output.WriteString(UserId); + } + 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 (X != 0F) { + size += 1 + 4; + } + if (Y != 0F) { + size += 1 + 4; + } + if (Z != 0F) { + size += 1 + 4; + } + if (Type != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Type); + } + if (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (UserId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TaskCreateResponse other) { + if (other == null) { + return; + } + if (other.Id.Length != 0) { + Id = other.Id; + } + if (other.X != 0F) { + X = other.X; + } + if (other.Y != 0F) { + Y = other.Y; + } + if (other.Z != 0F) { + Z = other.Z; + } + if (other.Type != 0) { + Type = other.Type; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.UserId.Length != 0) { + UserId = other.UserId; + } + _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 21: { + X = input.ReadFloat(); + break; + } + case 29: { + Y = input.ReadFloat(); + break; + } + case 37: { + Z = input.ReadFloat(); + break; + } + case 40: { + Type = input.ReadInt32(); + break; + } + case 50: { + RoomId = input.ReadString(); + break; + } + case 58: { + UserId = 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 21: { + X = input.ReadFloat(); + break; + } + case 29: { + Y = input.ReadFloat(); + break; + } + case 37: { + Z = input.ReadFloat(); + break; + } + case 40: { + Type = input.ReadInt32(); + break; + } + case 50: { + RoomId = input.ReadString(); + break; + } + case 58: { + UserId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class TaskUpdateRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskUpdateRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::TaskReflection.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 TaskUpdateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskUpdateRequest(TaskUpdateRequest other) : this() { + roomId_ = other.roomId_; + taskId_ = other.taskId_; + userId_ = other.userId_; + selectId_ = other.selectId_; + toUserId_ = other.toUserId_; + userName_ = other.userName_; + propId_ = other.propId_; + propName_ = other.propName_; + propNum_ = other.propNum_; + status_ = other.status_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskUpdateRequest Clone() { + return new TaskUpdateRequest(this); + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 1; + private string roomId_ = ""; + /// + /// 房间id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TaskId" field. + public const int TaskIdFieldNumber = 2; + private string taskId_ = ""; + /// + /// 任务id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TaskId { + get { return taskId_; } + set { + taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "UserId" field. + public const int UserIdFieldNumber = 3; + private string userId_ = ""; + /// + /// 用户id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return userId_; } + set { + userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "SelectId" field. + public const int SelectIdFieldNumber = 4; + private string selectId_ = ""; + /// + /// 选项ID 界面按钮 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SelectId { + get { return selectId_; } + set { + selectId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ToUserId" field. + public const int ToUserIdFieldNumber = 5; + private string toUserId_ = ""; + /// + /// 目标用户id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ToUserId { + get { return toUserId_; } + set { + toUserId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "UserName" field. + public const int UserNameFieldNumber = 6; + private string userName_ = ""; + /// + /// 用户名 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserName { + get { return userName_; } + set { + userName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "PropId" field. + public const int PropIdFieldNumber = 7; + private string propId_ = ""; + /// + ///道具id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PropId { + get { return propId_; } + set { + propId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "PropName" field. + public const int PropNameFieldNumber = 8; + private string propName_ = ""; + /// + ///道具名称 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PropName { + get { return propName_; } + set { + propName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "PropNum" field. + public const int PropNumFieldNumber = 9; + private int propNum_; + /// + ///道具数量 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int PropNum { + get { return propNum_; } + set { + propNum_ = value; + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 10; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TaskUpdateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TaskUpdateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoomId != other.RoomId) return false; + if (TaskId != other.TaskId) return false; + if (UserId != other.UserId) return false; + if (SelectId != other.SelectId) return false; + if (ToUserId != other.ToUserId) return false; + if (UserName != other.UserName) return false; + if (PropId != other.PropId) return false; + if (PropName != other.PropName) return false; + if (PropNum != other.PropNum) return false; + if (Status != other.Status) 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 (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (TaskId.Length != 0) hash ^= TaskId.GetHashCode(); + if (UserId.Length != 0) hash ^= UserId.GetHashCode(); + if (SelectId.Length != 0) hash ^= SelectId.GetHashCode(); + if (ToUserId.Length != 0) hash ^= ToUserId.GetHashCode(); + if (UserName.Length != 0) hash ^= UserName.GetHashCode(); + if (PropId.Length != 0) hash ^= PropId.GetHashCode(); + if (PropName.Length != 0) hash ^= PropName.GetHashCode(); + if (PropNum != 0) hash ^= PropNum.GetHashCode(); + if (Status.Length != 0) hash ^= Status.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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (TaskId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TaskId); + } + if (UserId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(UserId); + } + if (SelectId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(SelectId); + } + if (ToUserId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(ToUserId); + } + if (UserName.Length != 0) { + output.WriteRawTag(50); + output.WriteString(UserName); + } + if (PropId.Length != 0) { + output.WriteRawTag(58); + output.WriteString(PropId); + } + if (PropName.Length != 0) { + output.WriteRawTag(66); + output.WriteString(PropName); + } + if (PropNum != 0) { + output.WriteRawTag(72); + output.WriteInt32(PropNum); + } + if (Status.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Status); + } + 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 (RoomId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(RoomId); + } + if (TaskId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TaskId); + } + if (UserId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(UserId); + } + if (SelectId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(SelectId); + } + if (ToUserId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(ToUserId); + } + if (UserName.Length != 0) { + output.WriteRawTag(50); + output.WriteString(UserName); + } + if (PropId.Length != 0) { + output.WriteRawTag(58); + output.WriteString(PropId); + } + if (PropName.Length != 0) { + output.WriteRawTag(66); + output.WriteString(PropName); + } + if (PropNum != 0) { + output.WriteRawTag(72); + output.WriteInt32(PropNum); + } + if (Status.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Status); + } + 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 (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (TaskId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskId); + } + if (UserId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (SelectId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SelectId); + } + if (ToUserId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ToUserId); + } + if (UserName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserName); + } + if (PropId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PropId); + } + if (PropName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PropName); + } + if (PropNum != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PropNum); + } + if (Status.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TaskUpdateRequest other) { + if (other == null) { + return; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.TaskId.Length != 0) { + TaskId = other.TaskId; + } + if (other.UserId.Length != 0) { + UserId = other.UserId; + } + if (other.SelectId.Length != 0) { + SelectId = other.SelectId; + } + if (other.ToUserId.Length != 0) { + ToUserId = other.ToUserId; + } + if (other.UserName.Length != 0) { + UserName = other.UserName; + } + if (other.PropId.Length != 0) { + PropId = other.PropId; + } + if (other.PropName.Length != 0) { + PropName = other.PropName; + } + if (other.PropNum != 0) { + PropNum = other.PropNum; + } + if (other.Status.Length != 0) { + Status = other.Status; + } + _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: { + RoomId = input.ReadString(); + break; + } + case 18: { + TaskId = input.ReadString(); + break; + } + case 26: { + UserId = input.ReadString(); + break; + } + case 34: { + SelectId = input.ReadString(); + break; + } + case 42: { + ToUserId = input.ReadString(); + break; + } + case 50: { + UserName = input.ReadString(); + break; + } + case 58: { + PropId = input.ReadString(); + break; + } + case 66: { + PropName = input.ReadString(); + break; + } + case 72: { + PropNum = input.ReadInt32(); + break; + } + case 82: { + Status = 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: { + RoomId = input.ReadString(); + break; + } + case 18: { + TaskId = input.ReadString(); + break; + } + case 26: { + UserId = input.ReadString(); + break; + } + case 34: { + SelectId = input.ReadString(); + break; + } + case 42: { + ToUserId = input.ReadString(); + break; + } + case 50: { + UserName = input.ReadString(); + break; + } + case 58: { + PropId = input.ReadString(); + break; + } + case 66: { + PropName = input.ReadString(); + break; + } + case 72: { + PropNum = input.ReadInt32(); + break; + } + case 82: { + Status = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class TaskResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::TaskReflection.Descriptor.MessageTypes[4]; } + } + + [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 TaskResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskResponse(TaskResponse other) : this() { + taskId_ = other.taskId_; + status_ = other.status_; + roomId_ = other.roomId_; + x_ = other.x_; + y_ = other.y_; + z_ = other.z_; + type_ = other.type_; + timeLimit_ = other.timeLimit_; + desc_ = other.desc_; + trigger_ = other.trigger_; + nextTasks_ = other.nextTasks_; + targetType_ = other.targetType_; + reward_ = other.reward_; + note_ = other.note_; + createTime_ = other.createTime_; + updateTime_ = other.updateTime_; + toUserId_ = other.toUserId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskResponse Clone() { + return new TaskResponse(this); + } + + /// Field number for the "TaskId" field. + public const int TaskIdFieldNumber = 1; + private string taskId_ = ""; + /// + /// 任务id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TaskId { + get { return taskId_; } + set { + taskId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Status" field. + public const int StatusFieldNumber = 2; + 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"); + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 3; + private string roomId_ = ""; + /// + /// 房间id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "X" field. + public const int XFieldNumber = 4; + private float x_; + /// + /// x坐标 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float X { + get { return x_; } + set { + x_ = value; + } + } + + /// Field number for the "Y" field. + public const int YFieldNumber = 5; + private float y_; + /// + /// y坐标 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Y { + get { return y_; } + set { + y_ = value; + } + } + + /// Field number for the "Z" field. + public const int ZFieldNumber = 6; + private float z_; + /// + /// z坐标 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float Z { + get { return z_; } + set { + z_ = value; + } + } + + /// Field number for the "Type" field. + public const int TypeFieldNumber = 7; + private string type_ = ""; + /// + /// 类型 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Type { + get { return type_; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TimeLimit" field. + public const int TimeLimitFieldNumber = 8; + private long timeLimit_; + /// + /// 时间限制 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long TimeLimit { + get { return timeLimit_; } + set { + timeLimit_ = value; + } + } + + /// Field number for the "Desc" field. + public const int DescFieldNumber = 9; + private string desc_ = ""; + /// + /// 描述 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Desc { + get { return desc_; } + set { + desc_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Trigger" field. + public const int TriggerFieldNumber = 10; + private string trigger_ = ""; + /// + /// 触发条件 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Trigger { + get { return trigger_; } + set { + trigger_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "NextTasks" field. + public const int NextTasksFieldNumber = 11; + private string nextTasks_ = ""; + /// + /// 下一步任务 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string NextTasks { + get { return nextTasks_; } + set { + nextTasks_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TargetType" field. + public const int TargetTypeFieldNumber = 12; + private string targetType_ = ""; + /// + /// 目标类型 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetType { + get { return targetType_; } + set { + targetType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "Reward" field. + public const int RewardFieldNumber = 13; + 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"); + } + } + + /// Field number for the "Note" field. + public const int NoteFieldNumber = 14; + 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"); + } + } + + /// Field number for the "CreateTime" field. + public const int CreateTimeFieldNumber = 15; + 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"); + } + } + + /// Field number for the "UpdateTime" field. + public const int UpdateTimeFieldNumber = 16; + 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"); + } + } + + /// Field number for the "ToUserId" field. + public const int ToUserIdFieldNumber = 17; + private string toUserId_ = ""; + /// + /// 目标用户id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ToUserId { + get { return toUserId_; } + set { + toUserId_ = 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 TaskResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TaskResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TaskId != other.TaskId) return false; + if (Status != other.Status) return false; + if (RoomId != other.RoomId) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; + if (Type != other.Type) return false; + if (TimeLimit != other.TimeLimit) return false; + if (Desc != other.Desc) return false; + if (Trigger != other.Trigger) return false; + if (NextTasks != other.NextTasks) return false; + if (TargetType != other.TargetType) return false; + if (Reward != other.Reward) return false; + if (Note != other.Note) return false; + if (CreateTime != other.CreateTime) return false; + if (UpdateTime != other.UpdateTime) return false; + if (ToUserId != other.ToUserId) 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 (TaskId.Length != 0) hash ^= TaskId.GetHashCode(); + if (Status.Length != 0) hash ^= Status.GetHashCode(); + if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); + if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); + if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); + if (Type.Length != 0) hash ^= Type.GetHashCode(); + if (TimeLimit != 0L) hash ^= TimeLimit.GetHashCode(); + if (Desc.Length != 0) hash ^= Desc.GetHashCode(); + if (Trigger.Length != 0) hash ^= Trigger.GetHashCode(); + if (NextTasks.Length != 0) hash ^= NextTasks.GetHashCode(); + if (TargetType.Length != 0) hash ^= TargetType.GetHashCode(); + if (Reward.Length != 0) hash ^= Reward.GetHashCode(); + if (Note.Length != 0) hash ^= Note.GetHashCode(); + if (CreateTime.Length != 0) hash ^= CreateTime.GetHashCode(); + if (UpdateTime.Length != 0) hash ^= UpdateTime.GetHashCode(); + if (ToUserId.Length != 0) hash ^= ToUserId.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 (TaskId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TaskId); + } + if (Status.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Status); + } + if (RoomId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoomId); + } + if (X != 0F) { + output.WriteRawTag(37); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(45); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(53); + output.WriteFloat(Z); + } + if (Type.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Type); + } + if (TimeLimit != 0L) { + output.WriteRawTag(64); + output.WriteInt64(TimeLimit); + } + if (Desc.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc); + } + if (Trigger.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Trigger); + } + if (NextTasks.Length != 0) { + output.WriteRawTag(90); + output.WriteString(NextTasks); + } + if (TargetType.Length != 0) { + output.WriteRawTag(98); + output.WriteString(TargetType); + } + if (Reward.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Reward); + } + if (Note.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Note); + } + if (CreateTime.Length != 0) { + output.WriteRawTag(122); + output.WriteString(CreateTime); + } + if (UpdateTime.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(UpdateTime); + } + if (ToUserId.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(ToUserId); + } + 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 (TaskId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(TaskId); + } + if (Status.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Status); + } + if (RoomId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoomId); + } + if (X != 0F) { + output.WriteRawTag(37); + output.WriteFloat(X); + } + if (Y != 0F) { + output.WriteRawTag(45); + output.WriteFloat(Y); + } + if (Z != 0F) { + output.WriteRawTag(53); + output.WriteFloat(Z); + } + if (Type.Length != 0) { + output.WriteRawTag(58); + output.WriteString(Type); + } + if (TimeLimit != 0L) { + output.WriteRawTag(64); + output.WriteInt64(TimeLimit); + } + if (Desc.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Desc); + } + if (Trigger.Length != 0) { + output.WriteRawTag(82); + output.WriteString(Trigger); + } + if (NextTasks.Length != 0) { + output.WriteRawTag(90); + output.WriteString(NextTasks); + } + if (TargetType.Length != 0) { + output.WriteRawTag(98); + output.WriteString(TargetType); + } + if (Reward.Length != 0) { + output.WriteRawTag(106); + output.WriteString(Reward); + } + if (Note.Length != 0) { + output.WriteRawTag(114); + output.WriteString(Note); + } + if (CreateTime.Length != 0) { + output.WriteRawTag(122); + output.WriteString(CreateTime); + } + if (UpdateTime.Length != 0) { + output.WriteRawTag(130, 1); + output.WriteString(UpdateTime); + } + if (ToUserId.Length != 0) { + output.WriteRawTag(138, 1); + output.WriteString(ToUserId); + } + 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 (TaskId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TaskId); + } + if (Status.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Status); + } + if (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (X != 0F) { + size += 1 + 4; + } + if (Y != 0F) { + size += 1 + 4; + } + if (Z != 0F) { + size += 1 + 4; + } + if (Type.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); + } + if (TimeLimit != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(TimeLimit); + } + if (Desc.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Desc); + } + if (Trigger.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Trigger); + } + if (NextTasks.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(NextTasks); + } + if (TargetType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetType); + } + if (Reward.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Reward); + } + if (Note.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Note); + } + if (CreateTime.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(CreateTime); + } + if (UpdateTime.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(UpdateTime); + } + if (ToUserId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeStringSize(ToUserId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TaskResponse other) { + if (other == null) { + return; + } + if (other.TaskId.Length != 0) { + TaskId = other.TaskId; + } + if (other.Status.Length != 0) { + Status = other.Status; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.X != 0F) { + X = other.X; + } + if (other.Y != 0F) { + Y = other.Y; + } + if (other.Z != 0F) { + Z = other.Z; + } + if (other.Type.Length != 0) { + Type = other.Type; + } + if (other.TimeLimit != 0L) { + TimeLimit = other.TimeLimit; + } + if (other.Desc.Length != 0) { + Desc = other.Desc; + } + if (other.Trigger.Length != 0) { + Trigger = other.Trigger; + } + if (other.NextTasks.Length != 0) { + NextTasks = other.NextTasks; + } + if (other.TargetType.Length != 0) { + TargetType = other.TargetType; + } + if (other.Reward.Length != 0) { + Reward = other.Reward; + } + if (other.Note.Length != 0) { + Note = other.Note; + } + if (other.CreateTime.Length != 0) { + CreateTime = other.CreateTime; + } + if (other.UpdateTime.Length != 0) { + UpdateTime = other.UpdateTime; + } + if (other.ToUserId.Length != 0) { + ToUserId = other.ToUserId; + } + _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: { + TaskId = input.ReadString(); + break; + } + case 18: { + Status = input.ReadString(); + break; + } + case 26: { + RoomId = input.ReadString(); + break; + } + case 37: { + X = input.ReadFloat(); + break; + } + case 45: { + Y = input.ReadFloat(); + break; + } + case 53: { + Z = input.ReadFloat(); + break; + } + case 58: { + Type = input.ReadString(); + break; + } + case 64: { + TimeLimit = input.ReadInt64(); + break; + } + case 74: { + Desc = input.ReadString(); + break; + } + case 82: { + Trigger = input.ReadString(); + break; + } + case 90: { + NextTasks = input.ReadString(); + break; + } + case 98: { + TargetType = input.ReadString(); + break; + } + case 106: { + Reward = input.ReadString(); + break; + } + case 114: { + Note = input.ReadString(); + break; + } + case 122: { + CreateTime = input.ReadString(); + break; + } + case 130: { + UpdateTime = input.ReadString(); + break; + } + case 138: { + ToUserId = 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: { + TaskId = input.ReadString(); + break; + } + case 18: { + Status = input.ReadString(); + break; + } + case 26: { + RoomId = input.ReadString(); + break; + } + case 37: { + X = input.ReadFloat(); + break; + } + case 45: { + Y = input.ReadFloat(); + break; + } + case 53: { + Z = input.ReadFloat(); + break; + } + case 58: { + Type = input.ReadString(); + break; + } + case 64: { + TimeLimit = input.ReadInt64(); + break; + } + case 74: { + Desc = input.ReadString(); + break; + } + case 82: { + Trigger = input.ReadString(); + break; + } + case 90: { + NextTasks = input.ReadString(); + break; + } + case 98: { + TargetType = input.ReadString(); + break; + } + case 106: { + Reward = input.ReadString(); + break; + } + case 114: { + Note = input.ReadString(); + break; + } + case 122: { + CreateTime = input.ReadString(); + break; + } + case 130: { + UpdateTime = input.ReadString(); + break; + } + case 138: { + ToUserId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class TaskTrigger : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskTrigger()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::TaskReflection.Descriptor.MessageTypes[5]; } + } + + [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 TaskTrigger() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskTrigger(TaskTrigger other) : this() { + userId_ = other.userId_; + roomId_ = other.roomId_; + triggerId_ = other.triggerId_; + typeStr_ = other.typeStr_; + targetId_ = other.targetId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskTrigger Clone() { + return new TaskTrigger(this); + } + + /// Field number for the "UserId" field. + public const int UserIdFieldNumber = 2; + private string userId_ = ""; + /// + /// 用户id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return userId_; } + set { + userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "RoomId" field. + public const int RoomIdFieldNumber = 3; + private string roomId_ = ""; + /// + /// 房间id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoomId { + get { return roomId_; } + set { + roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TriggerId" field. + public const int TriggerIdFieldNumber = 4; + private string triggerId_ = ""; + /// + /// 触发器id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TriggerId { + get { return triggerId_; } + set { + triggerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TypeStr" field. + public const int TypeStrFieldNumber = 5; + private string typeStr_ = ""; + /// + /// 触发器类型 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TypeStr { + get { return typeStr_; } + set { + typeStr_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "TargetId" field. + public const int TargetIdFieldNumber = 6; + private string targetId_ = ""; + /// + /// 目标id 例如消防栓ID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TargetId { + get { return targetId_; } + set { + targetId_ = 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 TaskTrigger); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TaskTrigger other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserId != other.UserId) return false; + if (RoomId != other.RoomId) return false; + if (TriggerId != other.TriggerId) return false; + if (TypeStr != other.TypeStr) return false; + if (TargetId != other.TargetId) 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 (UserId.Length != 0) hash ^= UserId.GetHashCode(); + if (RoomId.Length != 0) hash ^= RoomId.GetHashCode(); + if (TriggerId.Length != 0) hash ^= TriggerId.GetHashCode(); + if (TypeStr.Length != 0) hash ^= TypeStr.GetHashCode(); + if (TargetId.Length != 0) hash ^= TargetId.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 (UserId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(UserId); + } + if (RoomId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoomId); + } + if (TriggerId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(TriggerId); + } + if (TypeStr.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TypeStr); + } + if (TargetId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TargetId); + } + 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 (UserId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(UserId); + } + if (RoomId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(RoomId); + } + if (TriggerId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(TriggerId); + } + if (TypeStr.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TypeStr); + } + if (TargetId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TargetId); + } + 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 (UserId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (RoomId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId); + } + if (TriggerId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TriggerId); + } + if (TypeStr.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeStr); + } + if (TargetId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TargetId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TaskTrigger other) { + if (other == null) { + return; + } + if (other.UserId.Length != 0) { + UserId = other.UserId; + } + if (other.RoomId.Length != 0) { + RoomId = other.RoomId; + } + if (other.TriggerId.Length != 0) { + TriggerId = other.TriggerId; + } + if (other.TypeStr.Length != 0) { + TypeStr = other.TypeStr; + } + if (other.TargetId.Length != 0) { + TargetId = other.TargetId; + } + _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 18: { + UserId = input.ReadString(); + break; + } + case 26: { + RoomId = input.ReadString(); + break; + } + case 34: { + TriggerId = input.ReadString(); + break; + } + case 42: { + TypeStr = input.ReadString(); + break; + } + case 50: { + TargetId = 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 18: { + UserId = input.ReadString(); + break; + } + case 26: { + RoomId = input.ReadString(); + break; + } + case 34: { + TriggerId = input.ReadString(); + break; + } + case 42: { + TypeStr = input.ReadString(); + break; + } + case 50: { + TargetId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class TaskOrmRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TaskOrmRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::TaskReflection.Descriptor.MessageTypes[6]; } + } + + [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 TaskOrmRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskOrmRequest(TaskOrmRequest other) : this() { + subjectId_ = other.subjectId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TaskOrmRequest Clone() { + return new TaskOrmRequest(this); + } + + /// Field number for the "subjectId" field. + public const int SubjectIdFieldNumber = 1; + 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"); + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as TaskOrmRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TaskOrmRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SubjectId != other.SubjectId) 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 (SubjectId.Length != 0) hash ^= SubjectId.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 (SubjectId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SubjectId); + } + 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 (SubjectId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SubjectId); + } + 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 (SubjectId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SubjectId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TaskOrmRequest other) { + if (other == null) { + return; + } + if (other.SubjectId.Length != 0) { + SubjectId = other.SubjectId; + } + _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: { + SubjectId = 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: { + SubjectId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Task.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Task.cs.meta new file mode 100644 index 00000000..823f2628 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Task.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7dc2c5b09fa1821438dbc817a6f5cb74 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/User.cs b/xiaofang/Assets/ProtoBuf/Proto/User.cs new file mode 100644 index 00000000..a818a57a --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/User.cs @@ -0,0 +1,1031 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: user.proto +// +#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; +/// Holder for reflection information generated from user.proto +public static partial class UserReflection { + + #region Descriptor + /// File descriptor for user.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static UserReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cgp1c2VyLnByb3RvIiQKElVzZXJPZmZsaW5lUmVxdWVzdBIOCgZ1c2VySWQY", + "ASABKAkiJQoTVXNlck9mZmxpbmVSZXNwb25zZRIOCgZ1c2VySWQYASABKAki", + "IQoPVXNlclJvbGVSZXF1ZXN0Eg4KBnJvbGVJZBgBIAEoBSKCAQoQVXNlclJv", + "bGVSZXNwb25zZRIOCgZyb2xlSWQYASABKAUSEAoIcm9sZU5hbWUYAiABKAkS", + "EgoKYWN0aW9uTW9kZRgDIAEoBRINCgVncm91cBgEIAEoBRITCgtncm91cExl", + "YWRlchgFIAEoBRIUCgxpc0xlYWRpbmdOUEMYBiABKAVCB1oFLi87cGJiBnBy", + "b3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::UserOfflineRequest), global::UserOfflineRequest.Parser, new[]{ "UserId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::UserOfflineResponse), global::UserOfflineResponse.Parser, new[]{ "UserId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::UserRoleRequest), global::UserRoleRequest.Parser, new[]{ "RoleId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::UserRoleResponse), global::UserRoleResponse.Parser, new[]{ "RoleId", "RoleName", "ActionMode", "Group", "GroupLeader", "IsLeadingNPC" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UserOfflineRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserOfflineRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::UserReflection.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 UserOfflineRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserOfflineRequest(UserOfflineRequest other) : this() { + userId_ = other.userId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserOfflineRequest Clone() { + return new UserOfflineRequest(this); + } + + /// Field number for the "userId" field. + public const int UserIdFieldNumber = 1; + private string userId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return userId_; } + set { + userId_ = 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 UserOfflineRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserOfflineRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserId != other.UserId) 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 (UserId.Length != 0) hash ^= UserId.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 (UserId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserId); + } + 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 (UserId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserId); + } + 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 (UserId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserOfflineRequest other) { + if (other == null) { + return; + } + if (other.UserId.Length != 0) { + UserId = other.UserId; + } + _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: { + UserId = 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: { + UserId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UserOfflineResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserOfflineResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::UserReflection.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 UserOfflineResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserOfflineResponse(UserOfflineResponse other) : this() { + userId_ = other.userId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserOfflineResponse Clone() { + return new UserOfflineResponse(this); + } + + /// Field number for the "userId" field. + public const int UserIdFieldNumber = 1; + private string userId_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string UserId { + get { return userId_; } + set { + userId_ = 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 UserOfflineResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserOfflineResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (UserId != other.UserId) 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 (UserId.Length != 0) hash ^= UserId.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 (UserId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserId); + } + 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 (UserId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(UserId); + } + 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 (UserId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserOfflineResponse other) { + if (other == null) { + return; + } + if (other.UserId.Length != 0) { + UserId = other.UserId; + } + _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: { + UserId = 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: { + UserId = input.ReadString(); + break; + } + } + } + } + #endif + +} + +/// +/// 角色信息请求 +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UserRoleRequest : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserRoleRequest()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::UserReflection.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 UserRoleRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserRoleRequest(UserRoleRequest other) : this() { + roleId_ = other.roleId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserRoleRequest Clone() { + return new UserRoleRequest(this); + } + + /// Field number for the "roleId" field. + public const int RoleIdFieldNumber = 1; + private int roleId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoleId { + get { return roleId_; } + set { + roleId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserRoleRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserRoleRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoleId != other.RoleId) 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 (RoleId != 0) hash ^= RoleId.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 (RoleId != 0) { + output.WriteRawTag(8); + output.WriteInt32(RoleId); + } + 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 (RoleId != 0) { + output.WriteRawTag(8); + output.WriteInt32(RoleId); + } + 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 (RoleId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoleId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserRoleRequest other) { + if (other == null) { + return; + } + if (other.RoleId != 0) { + RoleId = other.RoleId; + } + _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: { + RoleId = input.ReadInt32(); + 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: { + RoleId = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +/// +/// 角色信息响应 +/// +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class UserRoleResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserRoleResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::UserReflection.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 UserRoleResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserRoleResponse(UserRoleResponse other) : this() { + roleId_ = other.roleId_; + roleName_ = other.roleName_; + actionMode_ = other.actionMode_; + group_ = other.group_; + groupLeader_ = other.groupLeader_; + isLeadingNPC_ = other.isLeadingNPC_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UserRoleResponse Clone() { + return new UserRoleResponse(this); + } + + /// Field number for the "roleId" field. + public const int RoleIdFieldNumber = 1; + private int roleId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RoleId { + get { return roleId_; } + set { + roleId_ = value; + } + } + + /// Field number for the "roleName" field. + public const int RoleNameFieldNumber = 2; + private string roleName_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string RoleName { + get { return roleName_; } + set { + roleName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "actionMode" field. + public const int ActionModeFieldNumber = 3; + private int actionMode_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ActionMode { + get { return actionMode_; } + set { + actionMode_ = value; + } + } + + /// Field number for the "group" field. + public const int GroupFieldNumber = 4; + private int group_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Group { + get { return group_; } + set { + group_ = value; + } + } + + /// Field number for the "groupLeader" field. + public const int GroupLeaderFieldNumber = 5; + private int groupLeader_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int GroupLeader { + get { return groupLeader_; } + set { + groupLeader_ = value; + } + } + + /// Field number for the "isLeadingNPC" field. + public const int IsLeadingNPCFieldNumber = 6; + private int isLeadingNPC_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int IsLeadingNPC { + get { return isLeadingNPC_; } + set { + isLeadingNPC_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as UserRoleResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UserRoleResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (RoleId != other.RoleId) return false; + if (RoleName != other.RoleName) return false; + if (ActionMode != other.ActionMode) return false; + if (Group != other.Group) return false; + if (GroupLeader != other.GroupLeader) return false; + if (IsLeadingNPC != other.IsLeadingNPC) 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 (RoleId != 0) hash ^= RoleId.GetHashCode(); + if (RoleName.Length != 0) hash ^= RoleName.GetHashCode(); + if (ActionMode != 0) hash ^= ActionMode.GetHashCode(); + if (Group != 0) hash ^= Group.GetHashCode(); + if (GroupLeader != 0) hash ^= GroupLeader.GetHashCode(); + if (IsLeadingNPC != 0) hash ^= IsLeadingNPC.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 (RoleId != 0) { + output.WriteRawTag(8); + output.WriteInt32(RoleId); + } + if (RoleName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(RoleName); + } + if (ActionMode != 0) { + output.WriteRawTag(24); + output.WriteInt32(ActionMode); + } + if (Group != 0) { + output.WriteRawTag(32); + output.WriteInt32(Group); + } + if (GroupLeader != 0) { + output.WriteRawTag(40); + output.WriteInt32(GroupLeader); + } + if (IsLeadingNPC != 0) { + output.WriteRawTag(48); + output.WriteInt32(IsLeadingNPC); + } + 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 (RoleId != 0) { + output.WriteRawTag(8); + output.WriteInt32(RoleId); + } + if (RoleName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(RoleName); + } + if (ActionMode != 0) { + output.WriteRawTag(24); + output.WriteInt32(ActionMode); + } + if (Group != 0) { + output.WriteRawTag(32); + output.WriteInt32(Group); + } + if (GroupLeader != 0) { + output.WriteRawTag(40); + output.WriteInt32(GroupLeader); + } + if (IsLeadingNPC != 0) { + output.WriteRawTag(48); + output.WriteInt32(IsLeadingNPC); + } + 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 (RoleId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoleId); + } + if (RoleName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(RoleName); + } + if (ActionMode != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActionMode); + } + if (Group != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Group); + } + if (GroupLeader != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(GroupLeader); + } + if (IsLeadingNPC != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(IsLeadingNPC); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UserRoleResponse other) { + if (other == null) { + return; + } + if (other.RoleId != 0) { + RoleId = other.RoleId; + } + if (other.RoleName.Length != 0) { + RoleName = other.RoleName; + } + if (other.ActionMode != 0) { + ActionMode = other.ActionMode; + } + if (other.Group != 0) { + Group = other.Group; + } + if (other.GroupLeader != 0) { + GroupLeader = other.GroupLeader; + } + if (other.IsLeadingNPC != 0) { + IsLeadingNPC = other.IsLeadingNPC; + } + _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: { + RoleId = input.ReadInt32(); + break; + } + case 18: { + RoleName = input.ReadString(); + break; + } + case 24: { + ActionMode = input.ReadInt32(); + break; + } + case 32: { + Group = input.ReadInt32(); + break; + } + case 40: { + GroupLeader = input.ReadInt32(); + break; + } + case 48: { + IsLeadingNPC = input.ReadInt32(); + 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: { + RoleId = input.ReadInt32(); + break; + } + case 18: { + RoleName = input.ReadString(); + break; + } + case 24: { + ActionMode = input.ReadInt32(); + break; + } + case 32: { + Group = input.ReadInt32(); + break; + } + case 40: { + GroupLeader = input.ReadInt32(); + break; + } + case 48: { + IsLeadingNPC = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/User.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/User.cs.meta new file mode 100644 index 00000000..19dd7dfd --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/User.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 89dab302d915deb4ba459f561a2a9f15 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/ProtoBuf/Proto/Ws.cs b/xiaofang/Assets/ProtoBuf/Proto/Ws.cs new file mode 100644 index 00000000..a7ce9133 --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Ws.cs @@ -0,0 +1,726 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ws.proto +// +#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; +/// Holder for reflection information generated from ws.proto +public static partial class WsReflection { + + #region Descriptor + /// File descriptor for ws.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static WsReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cgh3cy5wcm90byJNCglXU01lc3NhZ2USDgoGbW9kdWxlGAEgASgJEhMKC3Nl", + "cnZpY2VOYW1lGAIgASgJEgwKBGRhdGEYAyABKAwSDQoFcmVxSWQYBCABKAUi", + "WQoKV1NSZXNwb25zZRITCgttZXNzYWdlVHlwZRgBIAEoCRIMCgRkYXRhGAIg", + "ASgMEg0KBXJlcUlkGAMgASgFEgwKBGNvZGUYBCABKAUSCwoDemlwGAUgASgI", + "QgdaBS4vO3BiYgZwcm90bzM=")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::WSMessage), global::WSMessage.Parser, new[]{ "Module", "ServiceName", "Data", "ReqId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::WSResponse), global::WSResponse.Parser, new[]{ "MessageType", "Data", "ReqId", "Code", "Zip" }, null, null, null, null) + })); + } + #endregion + +} +#region Messages +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class WSMessage : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WSMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::WsReflection.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 WSMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WSMessage(WSMessage other) : this() { + module_ = other.module_; + serviceName_ = other.serviceName_; + data_ = other.data_; + reqId_ = other.reqId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WSMessage Clone() { + return new WSMessage(this); + } + + /// Field number for the "module" field. + public const int ModuleFieldNumber = 1; + private string module_ = ""; + /// + ///模块名称 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Module { + get { return module_; } + set { + module_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "serviceName" field. + public const int ServiceNameFieldNumber = 2; + private string serviceName_ = ""; + /// + ///服务名称 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ServiceName { + get { return serviceName_; } + set { + serviceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 3; + private pb::ByteString data_ = pb::ByteString.Empty; + /// + ///请求数据 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Data { + get { return data_; } + set { + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "reqId" field. + public const int ReqIdFieldNumber = 4; + private int reqId_; + /// + ///请求id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ReqId { + get { return reqId_; } + set { + reqId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as WSMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WSMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Module != other.Module) return false; + if (ServiceName != other.ServiceName) return false; + if (Data != other.Data) return false; + if (ReqId != other.ReqId) 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 (Module.Length != 0) hash ^= Module.GetHashCode(); + if (ServiceName.Length != 0) hash ^= ServiceName.GetHashCode(); + if (Data.Length != 0) hash ^= Data.GetHashCode(); + if (ReqId != 0) hash ^= ReqId.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 (Module.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Module); + } + if (ServiceName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ServiceName); + } + if (Data.Length != 0) { + output.WriteRawTag(26); + output.WriteBytes(Data); + } + if (ReqId != 0) { + output.WriteRawTag(32); + output.WriteInt32(ReqId); + } + 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 (Module.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Module); + } + if (ServiceName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ServiceName); + } + if (Data.Length != 0) { + output.WriteRawTag(26); + output.WriteBytes(Data); + } + if (ReqId != 0) { + output.WriteRawTag(32); + output.WriteInt32(ReqId); + } + 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 (Module.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Module); + } + if (ServiceName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ServiceName); + } + if (Data.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); + } + if (ReqId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReqId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WSMessage other) { + if (other == null) { + return; + } + if (other.Module.Length != 0) { + Module = other.Module; + } + if (other.ServiceName.Length != 0) { + ServiceName = other.ServiceName; + } + if (other.Data.Length != 0) { + Data = other.Data; + } + if (other.ReqId != 0) { + ReqId = other.ReqId; + } + _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: { + Module = input.ReadString(); + break; + } + case 18: { + ServiceName = input.ReadString(); + break; + } + case 26: { + Data = input.ReadBytes(); + break; + } + case 32: { + ReqId = input.ReadInt32(); + 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: { + Module = input.ReadString(); + break; + } + case 18: { + ServiceName = input.ReadString(); + break; + } + case 26: { + Data = input.ReadBytes(); + break; + } + case 32: { + ReqId = input.ReadInt32(); + break; + } + } + } + } + #endif + +} + +[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] +public sealed partial class WSResponse : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif +{ + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new WSResponse()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::WsReflection.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 WSResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WSResponse(WSResponse other) : this() { + messageType_ = other.messageType_; + data_ = other.data_; + reqId_ = other.reqId_; + code_ = other.code_; + zip_ = other.zip_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public WSResponse Clone() { + return new WSResponse(this); + } + + /// Field number for the "messageType" field. + public const int MessageTypeFieldNumber = 1; + private string messageType_ = ""; + /// + ///响应消息 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string MessageType { + get { return messageType_; } + set { + messageType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "data" field. + public const int DataFieldNumber = 2; + private pb::ByteString data_ = pb::ByteString.Empty; + /// + ///响应数据 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Data { + get { return data_; } + set { + data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "reqId" field. + public const int ReqIdFieldNumber = 3; + private int reqId_; + /// + ///请求id + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ReqId { + get { return reqId_; } + set { + reqId_ = value; + } + } + + /// Field number for the "code" field. + public const int CodeFieldNumber = 4; + private int code_; + /// + ///响应状态码 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Code { + get { return code_; } + set { + code_ = value; + } + } + + /// Field number for the "zip" field. + public const int ZipFieldNumber = 5; + private bool zip_; + /// + ///是否压缩 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Zip { + get { return zip_; } + set { + zip_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as WSResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(WSResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MessageType != other.MessageType) return false; + if (Data != other.Data) return false; + if (ReqId != other.ReqId) return false; + if (Code != other.Code) return false; + if (Zip != other.Zip) 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 (MessageType.Length != 0) hash ^= MessageType.GetHashCode(); + if (Data.Length != 0) hash ^= Data.GetHashCode(); + if (ReqId != 0) hash ^= ReqId.GetHashCode(); + if (Code != 0) hash ^= Code.GetHashCode(); + if (Zip != false) hash ^= Zip.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 (MessageType.Length != 0) { + output.WriteRawTag(10); + output.WriteString(MessageType); + } + if (Data.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Data); + } + if (ReqId != 0) { + output.WriteRawTag(24); + output.WriteInt32(ReqId); + } + if (Code != 0) { + output.WriteRawTag(32); + output.WriteInt32(Code); + } + if (Zip != false) { + output.WriteRawTag(40); + output.WriteBool(Zip); + } + 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 (MessageType.Length != 0) { + output.WriteRawTag(10); + output.WriteString(MessageType); + } + if (Data.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Data); + } + if (ReqId != 0) { + output.WriteRawTag(24); + output.WriteInt32(ReqId); + } + if (Code != 0) { + output.WriteRawTag(32); + output.WriteInt32(Code); + } + if (Zip != false) { + output.WriteRawTag(40); + output.WriteBool(Zip); + } + 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 (MessageType.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(MessageType); + } + if (Data.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Data); + } + if (ReqId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReqId); + } + if (Code != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); + } + if (Zip != false) { + size += 1 + 1; + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(WSResponse other) { + if (other == null) { + return; + } + if (other.MessageType.Length != 0) { + MessageType = other.MessageType; + } + if (other.Data.Length != 0) { + Data = other.Data; + } + if (other.ReqId != 0) { + ReqId = other.ReqId; + } + if (other.Code != 0) { + Code = other.Code; + } + if (other.Zip != false) { + Zip = other.Zip; + } + _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: { + MessageType = input.ReadString(); + break; + } + case 18: { + Data = input.ReadBytes(); + break; + } + case 24: { + ReqId = input.ReadInt32(); + break; + } + case 32: { + Code = input.ReadInt32(); + break; + } + case 40: { + Zip = input.ReadBool(); + 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: { + MessageType = input.ReadString(); + break; + } + case 18: { + Data = input.ReadBytes(); + break; + } + case 24: { + ReqId = input.ReadInt32(); + break; + } + case 32: { + Code = input.ReadInt32(); + break; + } + case 40: { + Zip = input.ReadBool(); + break; + } + } + } + } + #endif + +} + +#endregion + + +#endregion Designer generated code diff --git a/xiaofang/Assets/ProtoBuf/Proto/Ws.cs.meta b/xiaofang/Assets/ProtoBuf/Proto/Ws.cs.meta new file mode 100644 index 00000000..f2e9d98e --- /dev/null +++ b/xiaofang/Assets/ProtoBuf/Proto/Ws.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6d54b057f10017a4d98893bdbd8509e0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/Res/HYLUI.meta b/xiaofang/Assets/Res/HYLUI.meta new file mode 100644 index 00000000..86238fa3 --- /dev/null +++ b/xiaofang/Assets/Res/HYLUI.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8764fb9724c658949b243c0c427304aa +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/Res/HYLUI/AutoResize.cs b/xiaofang/Assets/Res/HYLUI/AutoResize.cs new file mode 100644 index 00000000..3b8b65a7 --- /dev/null +++ b/xiaofang/Assets/Res/HYLUI/AutoResize.cs @@ -0,0 +1,19 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class AutoResize : MonoBehaviour +{ + public RectTransform parentRect; // RectTransform + public Text taskText; // Text + + void Update() + { + //ȡıԤڸ߶ + float textHeight = taskText.preferredHeight; + + //¸ĸ߶ + parentRect.sizeDelta = new Vector2(parentRect.sizeDelta.x, textHeight); + } +} diff --git a/xiaofang/Assets/Res/HYLUI/AutoResize.cs.meta b/xiaofang/Assets/Res/HYLUI/AutoResize.cs.meta new file mode 100644 index 00000000..369a1309 --- /dev/null +++ b/xiaofang/Assets/Res/HYLUI/AutoResize.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1dde16ae264195748800510330542345 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/Res/HYLUI/TaskPanel.cs b/xiaofang/Assets/Res/HYLUI/TaskPanel.cs new file mode 100644 index 00000000..9a0cba77 --- /dev/null +++ b/xiaofang/Assets/Res/HYLUI/TaskPanel.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; +using DG.Tweening; + +public class TaskPanel : Base +{ + public Button closeBtn; + + private bool isOpen = false; + + // Start is called before the first frame update + void Start() + { + + closeBtn.onClick.AddListener(CloseBtn); + } + + public void CloseBtn() + { + if (isOpen)//ر + { + + + isOpen = false; + } + else// + { + + + isOpen = true; + } + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/xiaofang/Assets/Res/HYLUI/TaskPanel.cs.meta b/xiaofang/Assets/Res/HYLUI/TaskPanel.cs.meta new file mode 100644 index 00000000..5e11df49 --- /dev/null +++ b/xiaofang/Assets/Res/HYLUI/TaskPanel.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 896229b2da4cc204aae01b62e5129e22 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/Res/HYLUI/btn_pullright.png b/xiaofang/Assets/Res/HYLUI/btn_pullright.png new file mode 100644 index 0000000000000000000000000000000000000000..914342c4c027cb89ff6ba33e4a522e21d0b06e2a GIT binary patch literal 866 zcmV-o1D*VdP)Px&97#k$RA@u(nN3dh`@A!&P$-U6l>r_D_7w8NOWyQcTfdFGvW&N=rE zD1ZY2WTp_hRZlHcI#jxj0--%Zdw5}wbiVwWSeq~sIB1okwcHOFhczB$K%kL~d{exRY{3%Y-(JsP--L$4K8ei1Wy zzRSe3MAT7jkIEAOtw%JNH_jp33UJ5vkT9!1xd+T|iRkKyJ*sT8$BcWa1l~6r+!eHh zN$0qOAZ86cGFth4lnPG<13b+!ZOQ?JWoUk3!nhuS#O-40}x)pyM|8Z%d`7&ZE^r8 zRYR;5IKf4pXHfq?aG*tvG19A};01UC(1M9+DO$wvwM*EohR9~Q{a2@$0b|St?gxOO zWE?B1;Eh2aMcs--Fld*XGdUh(@QjVmi_DlZbeaZGopoH@hYGX|w96XIR1C}3sC9fU zr!JJDxPPk)d#-4YC#yos%an*PY3P`<0@U?6Q&tF=ecf1h3+@Rt2v3qaWQqT0d@OM1 z*%EIM(Zw2Y^MC`n3mg$Fs&)?1U{4FhYWsoin2#}Za=O)wiXu&yt&EI!!9wyjB%R+ zvn>F#FNRNU{A)MYwWn(Ztm|LDE22yP3L<`yjB8JQ?LDl}b^LpJyF9yonut~^h2uQF ztNPayPX})2lF9KE2EY5$JM`G?5sC1?&>{QkrVhv1qwa2;>1*T+hECmXyw+ij9|x0; zmHw|zn3`(d8W(Rw>A;PZ!6K zinzDeHu4?{5MXtTQBd72^NPVSjq%{Ie3?bwdGE517Je2~aA-K--}w0N>z@_(ehPqi zp$-arIha^D{s;6lPD)WMXM! zVJUiXBTN;jh9l*(k#EC+2@MW>vbR^UaF{SQ=EN=I6p#=SII%D}dMZPsn!<#$r%f1{ zoSB#`OLA5VDO_M-*;F}G%^|_VL7}}bHbP0l+XkK DkR-f9 literal 0 HcmV?d00001 diff --git a/xiaofang/Assets/Res/HYLUI/frame_commontxtbox02.png.meta b/xiaofang/Assets/Res/HYLUI/frame_commontxtbox02.png.meta new file mode 100644 index 00000000..d1dcac7a --- /dev/null +++ b/xiaofang/Assets/Res/HYLUI/frame_commontxtbox02.png.meta @@ -0,0 +1,123 @@ +fileFormatVersion: 2 +guid: d92dedb6bb0aa524cab9a45697d1f393 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMasterTextureLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 0 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Android + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + spritePackingTag: + pSDRemoveMatte: 0 + pSDShowRemoveMatteOption: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/xiaofang/Assets/Res/HYLUI/img_pullright_bg.png b/xiaofang/Assets/Res/HYLUI/img_pullright_bg.png new file mode 100644 index 0000000000000000000000000000000000000000..ee5667da390fd8078197d2dfbfb5625ef495b477 GIT binary patch literal 18817 zcmZ_02Q*yY_dYyGbb~}UI*BL=A&gFRK@dZfDABvodkKjWMv0o}qKzIx^cF_%z4uRz&YGEX?kT%G``P;nQc{%0!=}In004NhG7>5P016EG2f;)~esXe& z8IHW5*sDlC2NZOJ)&KxnfUJa=s*BE6B33n(Wc2mRne#{hJ$5jcU-oQB_I+dYxH?h5 z7_TzM5kffoVqoh%nbAAGDfHi3N#0@k`ZHP58P4b&-N9ts znLcxeuREwaLXNl2zx|4tIS+iYGrhgOJpftJsVlid7Z+J0{~gY<6t!X{v`mEjrOO% zl?Gtev_l(AcH8AOU{;jsrY~{`(+*UCwAONC!=GOQ0$yQsSM07;0fqEp8K%rrH)$-H zFKtd~g=E&k7Tr%ZAJJch)yZrID7bqKT;U}ys-1FXUXLf%lqNd z_>2n4%&QW!c14-Bg%h10@{j$zA0D+-uwC*JK6CIL6Z*wDE%bu?ED56d0mQKM%lYEd zrB%Vm5G@=Ue{^-i<=K@~z$j0W z{WnLOduJ3LU4uuF9@heAN_kR>xrP?s#P^4?6ElsUsnB#zm@-Q` zy5Gk;52;KldSh9<=XEMxi+hbYZZUEiR3P_IY#gz=H*`{xSxj|Z6k4$fqqr7GbvzR= zK)bSnJ-rr5X(D>;s1a+HdoKF8JoSK6n_5I9Iitgd1wPWb-{v?vjCODt-?O=;6v=ot zS@0pP3uEv=AP-8Xt=1(->D`mOi&%cW??kle|XP*BPS#qE1;H*^Ijvwn?o_F5d33;GMCGVSZ8RYYmM{0!dZQDxAB2|sU&HTa4N?p9wIZnv)4Gd1Jf!2Ri4*m&$szS$@&A7w;kNZ|E6r&Bm z0iyO9N{ps%zP{tE!~n-%7v-YzXlZ6CZxv$R`CpSLS@NVTH@w`Zr=w7^2N?MN)GbDf zHMhin22@8=U1%Cr6pXveDxfkk(~B57;X85NERoIfXK!^H+^U~#t#3?IJy&+MKF_F^ z;y2JH(e>-;w-V!LQ}t{TbPba+@T$+a)`Bznsa%))uSe0Q3qHnKipEhFH~@(1V5qL z%Eg1GziK$N^WAfhtvPAAWvx1NI&DzGYWKXT=8dvZzpbPi&zF|Ab#%)rD+-w)lpv?} zvaI&925N$)FX2D|LePIPuzb+=;B=|9#N%*CY z!FC_0sm2KXJ(xl5kq7NWdOE`^0!uYdT}`9-fO-3q(+oUvC1X9V5gsEGHeyvBqLVc%u^$WBJx5l-kYUPN53M=4E+L(A0#is7eTAD z@l9K!HC%r!;GVnO+@g&x{s2Olqe&=3hG|CoEadF|k|DoxCa1-o`&7)GF}RIHw5o;ZFg_vk#^qF6tw|%aKgQ|gz7CvxgA-z7iBA- z`E_Hmd9+g#)1%LG?4YXX0nZK`nIxiFXrvv%<`Oeb*u=T!cVtw)FcKLw$ypaF6ht2; zg$xiF6&2{W4+_~qM-`2_+#G?b6*2Y<-{CA<#A`)SC=BYBTS^s#P_p-S9 z?-sh)MjU1?S*(0bSFThyHxdcZA`6ZgRKpw-&Vp8cr=a=re!SFRVY*b#G(Yskt_f<% zV6ld&tf^=M?F>M`d&<2O_S#QbRlkugRYCx`^@AMs=(UqP+KDEJx}@EQsw7(_-)U5l zpU7~U_WFx^o=4J!>D`o$?r|)dZn^g&bHDD>7g9cY0r9Ix5Fp8w&i8l}`$JjWMq%UsQq{g8-Ckh0Ic#t22#aVH7i zQCJ9iO|*3X(N}vqj%eGwL4`*z*25fT85#3?%3(U<65|C}TuOf8%DCu9SVu`?r}h;W z-ESn@hgcxA6q;pRnF96?K+I|pik}JB?qTz0n1zoiir1-usJZj9bZh4wD_4W7R{IcH z#`zD-Gk&b`WQ+MVjia5I@QXiw;xsh+*Z?9sO|reg6{fA0yr~sbeSbzqpK## zd?MZ{^k=5=47qw&KhS=`RiKZI9P_e+iIWz%k7CfVDIq^0Cb9wV9sj8 zaRVb5wh{?k^~w$GhtuNSZDQgSO)m|41CJzdMA)*Nsve+$1wX#0Wy>U}N3j)!E}qq~ zM{y8I2l-L+829G~Q2p2_UXvka71l7Dj8&)TE3jS*07wrWDS`5v#J2n&Z59ohUN@_g zz?PbrU!+i^fC=E{kLC_h*wHYyoFd)#c2V(UrS@v<%ne)!xu?&aqb$$Egia&mcB~9) zCJ!Guze=3gc7%g;m*U`|a5)VlgeqU%Pz_OZ-_*v@*ZuaSntpp}V6fAuJz`Cy3TnNy zzh@Lc*xLDUaVNhSheaL4ci3-H^Y#m`ut(>oa*)%kwQl>vFWAxO;s&!ZUt{Xz1`pj9 z&7oZCR=v^IBFuR;{Wa<7Sus)SXOM>2_bZ0FQ8`9We%!P0DCi5;{49i?%Hj`~Cx(Yl z^aU(MHuXt3`eRo}krc)lOX$z`CH8c>>SsvXRYzt`f-&$YF9*8w@n#G2BXKZ_<8-BNZfV?KN-VWGZKWu;$8w<0t#aEDzKt9g!`d9##Qi!vAu z*%(N5p4(M_eoD^c)*sh|KYrLT)bz^xMO)eRqBujE;tSJn`k$l#81;lfws9=vJCJ2@ zF2(Soci1v-tOy_xp9c0gK)mzl9H8>gCfg0t$fYcE8zoT0rTjizd?7u` zvg$=Px5`IE5-uNb5uA4y088l2na!gr3DRP#Lt2@d~+Ud!^`nw2EEf2tgk_cLP<(dk?wcq7-lnSkwJD)Zyo~_Vwa- zY0$R`S=S8Ci$>i68k!I>18F(oBG#NSe1e)cDcl6`;97PzySNR7+tI8a$-rzFk87d9 zMy4Li;Zur{LYRvzE7~rUQ|Ge-gc)?bF5#KJ)cnARaPdYKNa)QlqSILti0t&4y(Kg-Ue$)FDN}%6uO+`fs^#1WKm9dys?8q!ZP6WZ$d3>_} zN+CWs0O*4@3jhOP+JmX=yi@x?#Rh#Fc0j;~mV&R#g7OE$d)q>Qo4L{wnh?U?=seKPFZr5^_q#riFgW`pCnHzB z_otNN607_1cS+#Gab<`KFLK)A0?~2eK_957q^VD=SJ0S&$Ofy;08iq5zFkz{kS`1C zFiB2o$Pe8!Q<)%oQ;OR6d_toKLVALg0MNS{LpgOpQP-X^wPBvD@F zoT}}BE!gZZZ2_PyzC8ucQXg^cJAalJkQEWWz@aZ?N%iGfNYMU8{KC1uDnt-SuAt4p zw`~;^43ZX`r%r|Eaozi{sx43YNPQDgoWmsfaYG?)MD^mELlOfW>c8FC6F*J?3r78- z57_2ELCQP|@|MVpGMw*9usoH~3DIs)*Yg%Ng$%b1%7~btT=Q3kXe99R6lOv^8`pmb zvC%?21RjG=vM*7P%El4Kpn`$a>@B6{$e(e5(Ygl!;fCNQa!!EljX>W@9Gxlz?v)hR z#0Rt7?nFrz=n|l|fN0q3sYY|&S%!l9;`9>CP17cEJ>&sDv*D&(>(4k@+|w6U$eJ5~ zzTRkm1nNetGT7Wb%KYJ-`WRl+!3?2Gl`(!u;WT|l*xhoq;KyPYWN%4Dne$Qxc1$tH zX-yIa|3(<-ze?-F5J?vL-c%E_yT8Ks=F}HLwjMniu?UJ-cpjjpO-91kdH#$MF#sfv zTuAlq!3Va|^o^(?JROY1hkhu$rm_1~CkhpX>N!pp0g;;}tzpv(&!BJX9jV`K#mxm< zR)H5~eoHjagfm`^j{ghMJ~8_;)CG6VV%Eh}Di*GsMvQUo%v_Ju!DXn#I^gzXrN=q0 zxNABV!S|5CY_Gnq4{|NPTPwa0V*Ll~gPWdaEPUt=NFu;{*Fjfbzi0PdpM(so>O%zG zlvm)$TB<&Vs1-%$LcJi2Bq`k)H?Q)VSRG10wd;*?BbmP&?B0i|^L~CII9%;Tpttvt z>7S`0FU%+ip(h0cd@#2u%xs1*6!1UIyk~piw64iy?w1~>D`?GZ2O37*C9f}Vl`}ad z)~vDp$@>8CSrBjpLL@EJlFF^byJAU;yk9M!xDjM5U2kI@WXUWVg}E4q_iT2doM zSI9su%a)7jVHp1eF$F9~gs@4{$h8N7;BV`x&zHDv^fiH6XN)<{(gRZpV)RM3NG+O| zuyyTHy5;^-2t+lkXvGDe($aBau^ghpWe+B!MI-}|7~*e>s$b8PwaKkS$55_`>5YAP z=f5kOJXzEV_Ela`il#qXmo=gPEuUgk^^pu3)ZnrMyT^PW@>xCM#yj!J0JhKiR3-b#!KlHENxAM7hroUUd1T@6MF!U|jkfU9~s{4%4Z%=#s<$b`% zHfS4~O}3j*DhiMGq2CV5e-wc!c%kupT8YY$E6k4=5$5$vYVn`$S)(*GE;Ctkfl*{``LK9q!|84wR+XTA_mKqw2hX?_4 ztT(niH(Kz|y31y-OP3d@;^M;8p>`MZ`YV5r^5#nPX#s<`K($(mxRAT4ec_uu;IB|4 z?|83ymj?Oe)6>EnqBpKr75{f3dbZq@!Rvz5vG*$1QU5zpWVbD4)&ot5n~e2yhr{Xr>!<{vo+qm;%IbqJ83(j*h(;Qr(`3_>M+LwCd{gnU~gSS6MmiOY+;0N zR);gAa8f@>zUMABrn^=q-e7hW${&O8EQHtYY)L2+GwB@RZn2{&`5WIm6R*TK9!E?= zi7|ph6ZTM<)Q|0UGQM)nu-5XgtrN3xAN2SD(>P5+}OY>kjFor$u1^zT2`VE2#Ul4_%@xfT=DoX<*ChUcF z?A_0k77)7MRtu*!%Z-2fh-oFn4f30VlFWHrhh3gOQMlp~5}DKgpJAcp-`;DU$hR0& z%o!SNlda+L*{67B2EyutXM9{u6_C0+&UiYi{55l`*z5E&&%F*NzNMobx|kEo^e7G# zN(YAE7vgq;3JDerbbODEIULd3pcWYASYtZwU#HHNu`zt&8pyYB!&}<}6NoE#x%Ntb zJrn__l(WLpA8S<#F|~!|$X+W-_<`^1h*)ETW@*>q60+QT6}qf2Yd;HDB?eeTjC@deye z%SUaE({b8@mhR2(^}*J)1LWaPHhoEe#N8lcb0|_aVTb#0%A?IE+SMKbQYEe|5&S{- zC|Zf5H<)ujN-*(b)ta|G*W_5Z`CV!Ok0Jg%vb4^Pbv4pq=w z_PJM<+6eV5t$mBpkP*%O;>J;>`oI<$IT5yG&#}iX?Qge<+n>W2aEggWTo%DkC%|Qx zaMx`Ce>edgKI_MGLMNS2<&tGA#K)e~7kgil%55;%uzG7q?XiX^j_wz^{Y+wj!I!Z6 zR?YP;5vHfPl+4O>uLDuGz*(ev_x1NCwHa6E;#ZbcuP_Mjave z`mcRb@9KC)@%xg9k$dnjd}I#-8VGYT={3JwqOgCy0(H3`#`i+;M&Cu|latXD*XzCS zo1E3_Xf~!_LZo|8avxzdD_>B&)kj+~Wkl>#y+wipFFoAN*ST<$0*GVp`xn=>>0;ut zIZxJzd##w|_Q?1HiVcO?6Ltl=!cZ69kdV2gBNrIQpFn*`Ry;o7IxnU$ebFn8Tl# z>oH0^ll*FK{5oHbC|{@AheY1{14);QFq`vijFi5qo}i7der!X&2Px&MXb8OheF!$H z-Fs-|CJtM!PLz*zR(X77c751V)(?T0!fbQt}0+No(jardzJTd0c z3=ScIPof%*oqH|CLys1AFw)^XUDgKK3KlmvD=wGydcsxbyS0}y*AV*gVOE=xd_0cnL*B3a z$z}DgXGF&y@YDRq!XMd#Fp{d`)VW?R=ox?46vxRhb$H&E=uL5UCBQqgMC6Sbh2HWo zXx&c+3N|NZ4beG5`yDNy*p}kM(7H7eP{od#Xfp~PMo;ecl21&tGiA<>T2jhQAIqkV zi>k2dGH5=_jqPi!cylYSNV}5mX}jsI_^@Yx_~AIjLgcu2ZQ@G!rC(Qoc8Y@xoX3YK zEL>Bl>KGO6_cV)0S`~ml1z|EpH2YxG0BAj5B7a81tNJfrSLX&qW)GWq1)SzTB8xQ4t3+E%+xP|Jpcc5sNqkgoC8 zM^3hZ` zG;X*fDi0_PMZXWQpMG9Xcb|v4eF+%|%M@68rbO&3Og$3Hgk5T}peWyjr#A>S`hZ`v zVQ{yowxmm;1Zn8*Dh!W5nml9N7%X+eux>kLQhzu7cDqLP(CQpNcJW8W6QA4Z>_A zf{P+vO;4O(bR^V*OlHZ?qHH&`cS0^$&b;1lV$F`e#78{q2>w;zd8!Oi0!{VZVJ`|* zf;=vd#IGUlphpIqg<+6{ieeM(oaNdk+esNegzaQ~`mP}GP0ps}joZ3uuu`ClHXJnv zR~Zv>IHwE&!R4wL6w(5Ekj5gDbo_;`IMkm6)5t?HK|n}|8D`6FIb&u*0-x_p1wSQd zX_WG%Zjw^Wx1&18UvLE(bBc$+gH=;pR!X8ZI_jjeku1jus-mZibXoIypmT!Xlp3cE zrPuRpIP(m^Rzd)3q+?m9pBQXUnUH73EE%S!3K`T^0xj|5y2D5h*C%8{-uCPczRxno zF^ku%B<66`uMk@vwV$+U<#Sg(vd2iQdfl_o>u$|WEab05Tpv*`s&8e7`heX6^c-SV z_&Cz1+s#AL>3OzXqccEy`Z$)mHuM?jShR+};3*|9VV`&$;3i&ItYzXt|FEFemSw0< z!-zPywY%_{`{)QuH{J)~Cza&~Ji$eTo)Ij9OYf$D`-7F@q>)Bz_+6tbu1@95RAet* zxt7Y^Ksr_859{v~Q*}kO(1D8{Y9M~TY3`l%hE#yGE4TM$T*Q8PSy6i-tDumZdAtLA ztv4Ird=rPrH>}|FcO_1S=tR=GYM>^PT+JzK!ihWJV6_bMp6}&8FO*)pXCR~zKSu6= z7lqEcSvwdF<>;pye`6zx7WHeE#JcyDEQ=Y_OtOktV@;6iS zwt{&P3>Re)C$a;1f)UW{LDAGT3PEGZGcyviN9_jV0R zLnO^D|4s?Qr^snv%?uh;d`rZIcvTbmnH`iDuF0RQ69jqQ3Br#Rvj1Y|{AnQ|v0S1D zwBp=rhzuP8AXgk(KI=QkcvD|BdW7d}HyhrQP%iP3V#F0j(N~jIJ!5}A4nWox{k_$* z{37CM(k|dnEdamm&#kq1m&kz)DWaL@Z5c>1B=&hhf4TzKg%U`^rKea@p6@5^rf3BR z?|f)scDPOPu5(?@Pa-`I2SDyZncdrDKJOr%MWsTBq=Yx%HZV@Bxyua0?xtvho+H(b zp_@0A}cyF5sX2odn?o-SI3&j7UbHeBKfSO zRlg($0DIS9aU&hAP*tptOO3in_ND7Py!O{VQ!u5(z&3*OC}3ybgHZ}1NjF0uZ8gJA_$l7^kyk5uG#^1$>!)_+fz_;R^~Vu2+s_gH(_Gz-_C+ znH5D^1Gx43I|T4O*)8dH4>to5m@UCO^|j~F*nFNCk?)cL#_9fWGLW0E_=f=c%6*Yk za5$((Bc*8BNEf;GMR4T8B{QGb=28dI3h!&^piEz39sZ4ANiW|?{Q2y6tY^e#JGt~C zT8+|)8nFey`2FD$V+!ca4bE;sy*{gZL2NT`I3IyEwRc@6W+(U#7y@S*(f>nMieN)L z58I7`O>FbtjC^$qUCrG2!!uw)#`t}VhKlptI_Z*JhU}X6c~7Ks{96*LpCQ?x02>rW z1fDc9^13m42EK*5HQJ8PHW`8Rl~-Dr5V1cDhhaW|lJBnYF69W@h!$ec8#kP?7Vo!m z+=Q^4FHJ?xhaFjoKKZ3Xs!Pwl&qyH2;XhCbN%pj*t1(ZXh7n_g6;v)${*8N)rkZF?$|35Ukx?=k0ajej{D&*F~F!tGPHX_a4#I#fOm=94x)hp?$Q9? zhmB$1(kS9DLK4W4jQhmTF@LmksG$X5`HkG}QA4~rmOyT5T27ijZ@U-BWV(X?jh+7- zC+e)vJf^v;a^C%O=+~HHB`gNgh~;FAaC^*KGAmMdqi+`MzPauo0)%Pc39L{3r4=%P zdJ*Dmc4Qm8!0V|E_*icr%ccEr#Ep5b%RZiJSrJoDtHG6Hqfzf0z(_?G`L1qDBLkzP z3BFZ2@eM@VF5z)?L43n~K*gJcs|xm1DAW>+UB_ z|9qr*Mw*D1bzdmRo?7@7Cl%1Ryg08lIs!_?xy74b3lk#u|5nCc(0IIh!bi^syB0io z^GAM3pwKjBrYVdN_){ml`Y@a^4I-gpBCy| z3`2)0yU>;M6%P_G%l?v>GQ|E|cTjJZ7jn0Nx?JiZ;_#?g_W8q|a=yQ$bHv?8QW$lPImsMxm3Yu?l6pe?}MM^2c6J1=*7e|Qm`XR0Cq@=M0;aLHb|_K4$92Aqo-{W zq}39CtQh}Z>>m<}ctiY4kG1Ezl@MI65u!Uyh1_$W`EX#F1r{5h3KLrlj<*pfN1@95 zIsPZK%Lm&{C)yM)9WR%HnqPe4J~0s^`w~LB!Q^5?%?GP~b#XXg!&+9(3|qKzCHTYN z-%x1M#q%d!To$hTA~lPc4_m{=h;Q%WGhgJ0bOmo6C*#CH=NFnKYS9YeG&LQff8f7RuNMMe0&h*rjr+bifB0Lw$>VnZ#D(51Mmm0nhyRzBoV=D(ugvC0TPzCu&v;m1 zBwx*n2icXV7Z)D>4~vJ~$>v3u)$fmMK7O)XbeNq%Mf!uk4arqTkjKyKxqyBt|BV7} zspoVq7Y5*d(>~u31~_fF@!LAm+I(AottRA`Z-A2rF_NNMI)59nv@tN6g7-j5)!bg21aWX9R!b0--zP0W>Io zpzz&oMxNiz9GQ;OCH4rq1mjA#8%AF~_Tb$*;3#K@r3W+)t;+VogXsud&g4>|dfnPBD$C3NEk}qNq0-y>4N+&=F z*aQi5PJZr|P-s%Q<=x4*l0k9uM7Ej^^>2;7e-z0@)F0s`6 zO}M3_`+{|>GL4S$4lN_W)-Z!A6Qfm*^;5s|vg4P?oRq7$+tX)HIJknP*X?r&)}^o@ zLY(EP$Dr8cniO!F4$Um{h&~x48t3#Y9*7Snv-z--l#e)@0IWk)*l6v4Mx}>QABqO! zd!U-(O+<)PXF^)kwp$h|+wM?6Uf-)-v?#G#Tuo{*kIYXCI6i7RtM{nqU=|1Wl)w(O z5frW`UNTZJbiHG8F*h zMvqStMT(_!`&cz*5khr|Cp-@TnLP4cBrPlb`k47rE@Qo4oL_U#5L8!y7?B|C7ZwGm zyN7yW-x9WI^3mWyHm}VD!2$;HwOwqI{aI^uTu1kQe_qYV^*NqJ0vr&h;ws1ae!4HIr$~$ijvir zbCKh%(68(Sd@$PvzogREISC+S_rKP;a(K( z0yFU8710N7Lb#n2nHcmywwVt9y)xuqM;Vy99IWFT!|yos7S5I43FrhM`4Te*dN6 z3+Tgw&hj=}ZC4DW+x<`Kcl==zxG+bBQ6H6d8CuFz&H-n!FN#Cx8)}ejv#SC*50|s~ zm|?3euy`AITItuf%f#vg39X?{xfEgzK%b#T!5dWb`j)lAPD{UW>2v_t9X^HpHO|@a zu0I%b(%%msya?75U}uJ1mGBo>Q#qLqZPVnr3Qo+&VXb#f9Ley^EJZn-9>UEt5j3RH zguk)Dt$szVfL%m@CW4Qbk-^{}P@LbOPmHl|fX|E+%kTx}Fn#?9aYjVRNtMCJ(z(UR zq6T{JZc&^ku&}uwVwzx-H*WN23XG;mYBMv5*xdVtn{FEIVf4Uzd(VTACl={b;{o`8#bx3bsZ;AhPFO zjZ2okFd~G1g+lWJ)U}1>dfNV+ADM_wcz6@^5|i*rz?y9CUb38t9)X z#)L$FfG5QbD6y6MQ;Q1|u>d98pxj%$SUGk6yu5cy-+@xp zx@k3qvZPB=^1q-V0|(l(dx~Ij7{m8lC`X3F0XCE%=8Z?s>Dk^-g}LtmUH0ijUbXQg z)53>j^Ywf>tvjTTTm5eRtnGP)8=_h}!tGI2df(6`ARI~Nstp=c&O;}PkM4_vIX57Ee=CWJfq6aC*n}OIH~Wz;$FMeBI--=~Aa$;w3forZVn!v_4_*VhFTk zDC@q82|(1}iqBe${?5dRjX zU;Nky^=|@qmy9to>c6Q49M*!qG;+<>D08w4NtXt%-4!r8!wJDNWdg&ra#V|jO-QzXC~KaONwy$WZ?j6w}VG+o5fk;3Y>Z`C>zf>axz}Ai-Lh=Sl<5@ zp@0Fb=%0EuO+6XSn03D|_OslOgzK+kewydOnKk^e)HEXT)b5rlcW8I)0DFy@cQOA8 zLh)JyoqDxr|3tDWBX?9Fj3Lb}J;z~GPE{s7)pWVjmHR5F?cn4GnP^#x;RZ5mc1Wo5 zLYGmKGgQXP@Gk0K7*K6L8_qiObS^)U;``!(@vF;RmBEHz99Rw+#DUZ;0`}Ajap3qC z1fak8F4M%OMClOlYfOzyX@Wg%Xz2aAe=;%cYTHT`LVZ0v^DJ_aTczthMKC|b@NvmK zeIE|_<<9t*pB^ZtK5P*of0t@tf0Gwo6~YaV4T>p29jgcYlT0@tcu~>ou=O)lj#L&e zabm9}+!qxun!qvtmBh2OF|L(?#jNDipqD=Z-{SAK!jLn0UV0IYhe7ZU{H*wjZ?BT# z=Z~ezI>6-yWxF0zwC)SLh&d;sDF+Wb5_ahp`6MOpffPU@bgHz6V(7Fxm)Rcz-rnus z)T|>Q`MbA$_6>B-PHmSK!t#TH8M$J*>d4%&SvPCE1E;7ZnZ?}2d+x)rmDL<9CcqqC z20sJW(1aM)zs~!}&MsF%Hr6wYj@ZuzdB0%c&3|=OkM#|_au)APyNk0n=f0Eiet+dI zSmt+iTB%>quh;(;aqJ_$eXv<=If#!2Pb1E4=+UDb2;h9gu*WyJb!8OuBlfTynEG&!I?ZO^xK5g z;DhWCS)rbnh10KV?S9saeMx>@=sajhjTu(^`QWFE+g@?NWGS_p}?U?9YV>$OutL(fLcn)35<0t7#eo)6;S1^EDwBo$9}){G3()vwIx;C;|j-(TY&rEg5&bBGuf=36V(!7mu#>enWU z;bKrCbPk@#uo>oNFYivd=8sI+;DV|VjzCVrgkp^R2VtY_Th6gX{>Fn4SD@2t;U9eYU_wsg*H>rl$RRe z6!1^!)K}#;Y`G3YSn;Ave9yK;@Pa>UY|+QXbzpAidRSc@@Gn~m0JqmS@BuUA?W$vXg>KmG8!idCkXC4vtskty zFi3^RxUCK5p7PgG0$?h(+U@D^dqSsAlqKqD{#8HTzF}GfuSaIUb-2W#loAIR|D{{x zp&-vTmFPjkd=|;$kh6Gam%ZY28HK9!yujg^@0?N3+)OuEe}*xW@oRnucY?w~>TXHd z+ZUm;{tW)+26xy#+f4?4{SMMB89Jsk?#++3wwVd)llI0vtOG=C_-!#(%B=h}i59Bo z>n5VAGVVLPNdUxuY1D)?du|#$(Moff81*-~hQiR=pntcA#V4JO+kVsN#rIJ?Yg-sv z6Eqck(XFL{&$$uP%>PNJ1BZX}bUSTAgB|NN$FXT1Pm|+g}w>%*< zJ2PYwQO=et_jHl|9C$5NrDwNqvIEv(2qVJpv%yhpGQx; zQQf%Ii~Z4_ev4fipXl(beY?P8!fyl$ZdA;$xO<$oc<*NQO$AL5n?1b+-CEXE51`Y@ z*DRNIAGbM&f{TwgA*tB)r9yZ+?R_5NY|vTWZ}dyZI$4d$RjLzMgK{p@H+Qzs8VclT zBl&_nG-42Q`Rjt@5XgQ;?{gCRCY6Ir9v{1J3-3VA9}FJyocQgwWm z@!s80W>$pM^U2_rnD(?gekPGf5_M3bv^~K#6DJ(b!TSyrki#s7jnlSUde_rv@hOrs zG-*9OW@otJjDI&Iuigxue-gX9?5$eP2m5kO`aj8)tKa>e8{{&r!XSB2>UXWt#ez z#&iPPSIP=~7tTcLnkQ`I;umC}&s?;`H>5w@z`;iv0?dnoSC7U+n6!Ae!8x<{7uNTq z4j*gWd3`Na@(KXUdqrs0``Yenwt(q5Rc+V!N6%79^RYXK8IE1{X04Xb5fF)$>rH;Q zwG47f66)I{3$za6zo*-)>Z^+WVyYUO=q=_;{P(;2f|+VRNX5-&p!BLk<>C;7Bo8gw zxZs(?wD&JoD=D`#V|6}P%+3CZx#sRa4h2;9b2?!Tbgd|5lXSVJraw|k)F6*2p+6>3 zF0#(uw&6l}J1h-^ZP%W6C&$oLeCO}GIQ_UbuIxPUkrMm&RFL3BdL6^fGdnnW5mD!M z)+cm_nqM}_)J5BK>$RJ{c>V1&5Vw_fTC=lRe21Ug!nRIx5|3rg<^256V)mCE`wI(d zzUa6VGg^K(WKp(%U$5s9bnc1`cOz|F} zmv#nF$^W}16x#y@+h4EnsGb>3>bT=hYuQn&GJF;(|0Jd3$*bT=mnq2dpZQcF#}?Q> zd$e#gZU1W;R4~6J^V+L3aYXj|yrX#P)&JHvgN`9GHI|+gGGWq_cpRf_ohNGCwe~fl z4)mg@oU-g+z;GrEKEd+lUyg^Kzh0tq4I8uPU$grlEuhbe6oT7aVY;`EU$Wh3+@r9a zl96tAEO6;w+>~tW<@{r}t7eS`Q~2VgUyyl)|G(T(pLc!3OMZ{eD1=DOakqO0mi^OT zKMvYamm&iGJ=D-why0De{4#P-F8?`wLBNP_d|s4Df9~ue8Rw|I-+zJN)JEH(^To|Icghx{Way^(nKFn{GOUi;M8lfIQi1V z{Q0+cmH+@2!_EH%SW7TNs~VTczE*s@!=Tb;|Kw>42{L`ONb1(MvNChAc~WysA^6i# z2RH16H)l-J$0fn(I~L*&KWt!LZCFj^{|UuuDJ3FQv%+ju%%2#cfR>wjtQNZ_;} zd?UDr+|KtLE6S7SF!ee(US%ZYCMzN|LLRLB?Q3;^A$BdB;KOs&;HFV}58l+>8(&k@ zs?YSY!VLJo!89P@?`O|al%x=iU6BCbt7H!WJ&i-; zqi35$5bQsXp5dVN9(`Y&?#P4=3GJ|uA`>b+zrvHBy8uAbI1(_1mDzF26eUn2hO}n} z&mHh&3wm?k{-_w~#o5@yqbZADNt0Nr?fwO1)FO570@k~`x5-kpa9KYkKaSm%@`_avoU1U=UYN9J*y)ZJgx?s8{7xf-_Ne?M7mA(dJY(jQWldQ zc<rI`unDO~yr>3C-yxZ=5kuFc2yI$hhNrnr|jcD~q!^j|OETXehNyn)iX; zs3AvW!9D?5GSqddoki)9=jl+3Z(n^HfP7A$7-zTU*&^N2*rtuW_cGtfgUx~ay00Eb z3EOl7gM|DGXO!fgun*W$e{C>&7*y;0rrJ}-D?{5jjp*5yy*+t#+PC?hgZ(cU!-%zW zE}od!^lLR^LIq)|O%^8^^X2nW0AKVB7mdwEbiU@<_#3=h410FZC&LAB^9h0KZ=7%#5RdMg-2XZH6Vt%_V;SqkmcpWrOU3Jkz&i! zCzTi4XOnK3?uTW4Wq7+@f*v3wgBI1(C#*5fW%I1-NV)w3aWwfO(_~$m^$V@`n6fAx z_I!1ZTF)t!tRI$UpN_y~vVJ=+2pwh7B9Ckevo`Xro($iOJNv>saP*~x=S}9^Dvj{N zL#i_Cbrb#ThM8wUKNQ!$RV1yhH)h1`G$U-M7R#b2p2u2QCvA(O;jf9}iSLI(|FQDWFo)SA_4YlNW5Bvt^#Q)qjOfbt_u z?n0OShsmgf8>^tKo~6o>5n8>hu~Oop3g?0ZyK48aZ4;H95POo<_;26N+n9|#LO){|hy=*TAO8#2HkaA) z_MsJ49#vHhzJ@exCj#XsEU9CV;~OlY&LC@~VZ=B9QS`QTm(b&yWZEOt!HVD2x@JEq zrzeJYd0g?1*erWbp|6F2Gaj+{p4w+US|%S%4xBv=W#<*rk!DpMOQ5E#WV?*;u7flU|mPg zwWV7WR6vPG4V#R3Z&ZjQk7n~fEq_xPn#(5UQ=|wy;2-tH{`xg*hu_2Zvq$WshxR?% zeWOlm#~$u!Dw|wu!R?OYW|(FbYtChTSYS)PrEdwaI#(wPQe{GIC%>wLZckILHIoh> z{k{Yqki|D5>oboS;~?nf@L=Y{&#%b$5)bw!fdO8O8=$YBnB|%$W1&751wW)&4kdMa zp|;~sG;P-QYXt#s#s$db`@vT`RyFEpGeGSfAVm`o2JXzRcXU*HZ)QAcNmP`4HWlx^H}{- zTN=k^t??RA{E_~asCxTOkll(iqFXyxYQS}YMh)enyg*$co#(*aG;U?qDGP;Vq`&>= zg?@W?eHYa|vt(@@(qxM}b-Rx$+gbCUHyh`1J5Ul&i$PC@7U+GYC8xg%Y2+wX$T2jV z{#w)vKOEg>X;S?$7%x!cM|4lkH}DlH6D>@;k-cF5ST!I^MgF~QDxIRt@fDMU5plS8 zC>vW#XcDXb^4C{PR)Zg2!45k6e}!0i+`HHB%qS$JETQ&@?7cpKzJ_gqOQ9#$y*aJh zp{ZCxhHlNp*y{ci^V7IB`#jHsFU1HPrB^bev8>52R_Gl$js$mk|G)kEZPJq{v#LbM z=lb0_3JwqUtL!=4*L2t_W?DUV5b&!$Zc6TWnD()rh7GN$S4b7gOB;>&Nakzj6p zn3lLaF=hSwtIdlGOe|!cE|}VRpw~G{C~b4ul)k^B7J_hW&#f2Gdd2i%Y@d+q!Zk4y)T>ZIj)_n7OK zS!XX=lB@bUtDyYUimDywQ7Z7vaXhi|X4ZG#35fC)|Dz za<