| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: ecs/components/CameraModeArea.proto |
| | 4 | | // </auto-generated> |
| | 5 | | #pragma warning disable 1591, 0612, 3021 |
| | 6 | | #region Designer generated code |
| | 7 | |
|
| | 8 | | using pb = global::Google.Protobuf; |
| | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | 11 | | using scg = global::System.Collections.Generic; |
| | 12 | | namespace DCL.ECSComponents { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from ecs/components/CameraModeArea.proto</summary> |
| | 15 | | public static partial class CameraModeAreaReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for ecs/components/CameraModeArea.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static CameraModeAreaReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "CiNlY3MvY29tcG9uZW50cy9DYW1lcmFNb2RlQXJlYS5wcm90bxIQZGVjZW50", |
| | 28 | | "cmFsYW5kLmVjcxojZWNzL2NvbXBvbmVudHMvY29tbW9uL1ZlY3RvcjMucHJv", |
| | 29 | | "dG8aK2Vjcy9jb21wb25lbnRzL2NvbW1vbi9DYW1lcmFNb2RlVmFsdWUucHJv", |
| | 30 | | "dG8ibAoQUEJDYW1lcmFNb2RlQXJlYRInCgRhcmVhGAEgASgLMhkuZGVjZW50", |
| | 31 | | "cmFsYW5kLmVjcy5WZWN0b3IzEi8KBG1vZGUYAiABKA4yIS5kZWNlbnRyYWxh", |
| | 32 | | "bmQuZWNzLkNhbWVyYU1vZGVWYWx1ZUIUqgIRRENMLkVDU0NvbXBvbmVudHNi", |
| | 33 | | "BnByb3RvMw==")); |
| | 34 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 35 | | new pbr::FileDescriptor[] { global::DCL.ECSComponents.Vector3Reflection.Descriptor, global::DCL.ECSComponents. |
| | 36 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 37 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBCameraModeArea), global::DCL.ECSComponents. |
| | 38 | | })); |
| | 39 | | } |
| | 40 | | #endregion |
| | 41 | |
|
| | 42 | | } |
| | 43 | | #region Messages |
| | 44 | | public sealed partial class PBCameraModeArea : pb::IMessage<PBCameraModeArea> |
| | 45 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 46 | | , pb::IBufferMessage |
| | 47 | | #endif |
| | 48 | | { |
| 2 | 49 | | private static readonly pb::MessageParser<PBCameraModeArea> _parser = new pb::MessageParser<PBCameraModeArea>(() => |
| | 50 | | private pb::UnknownFieldSet _unknownFields; |
| | 51 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 52 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 53 | | public static pb::MessageParser<PBCameraModeArea> Parser { get { return _parser; } } |
| | 54 | |
|
| | 55 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 56 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 57 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 58 | | get { return global::DCL.ECSComponents.CameraModeAreaReflection.Descriptor.MessageTypes[0]; } |
| | 59 | | } |
| | 60 | |
|
| | 61 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 62 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 63 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 64 | | get { return Descriptor; } |
| | 65 | | } |
| | 66 | |
|
| | 67 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 68 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 6 | 69 | | public PBCameraModeArea() { |
| | 70 | | OnConstruction(); |
| 6 | 71 | | } |
| | 72 | |
|
| | 73 | | partial void OnConstruction(); |
| | 74 | |
|
| | 75 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 76 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 77 | | public PBCameraModeArea(PBCameraModeArea other) : this() { |
| 0 | 78 | | area_ = other.area_ != null ? other.area_.Clone() : null; |
| 0 | 79 | | mode_ = other.mode_; |
| 0 | 80 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 81 | | } |
| | 82 | |
|
| | 83 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 84 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 85 | | public PBCameraModeArea Clone() { |
| 0 | 86 | | return new PBCameraModeArea(this); |
| | 87 | | } |
| | 88 | |
|
| | 89 | | /// <summary>Field number for the "area" field.</summary> |
| | 90 | | public const int AreaFieldNumber = 1; |
| | 91 | | private global::DCL.ECSComponents.Vector3 area_; |
| | 92 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 93 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 94 | | public global::DCL.ECSComponents.Vector3 Area { |
| 18 | 95 | | get { return area_; } |
| | 96 | | set { |
| 6 | 97 | | area_ = value; |
| 6 | 98 | | } |
| | 99 | | } |
| | 100 | |
|
| | 101 | | /// <summary>Field number for the "mode" field.</summary> |
| | 102 | | public const int ModeFieldNumber = 2; |
| | 103 | | private global::DCL.ECSComponents.CameraModeValue mode_ = global::DCL.ECSComponents.CameraModeValue.FirstPerson; |
| | 104 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 105 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 106 | | public global::DCL.ECSComponents.CameraModeValue Mode { |
| 0 | 107 | | get { return mode_; } |
| | 108 | | set { |
| 6 | 109 | | mode_ = value; |
| 6 | 110 | | } |
| | 111 | | } |
| | 112 | |
|
| | 113 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 114 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 115 | | public override bool Equals(object other) { |
| 0 | 116 | | return Equals(other as PBCameraModeArea); |
| | 117 | | } |
| | 118 | |
|
| | 119 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 120 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 121 | | public bool Equals(PBCameraModeArea other) { |
| 0 | 122 | | if (ReferenceEquals(other, null)) { |
| 0 | 123 | | return false; |
| | 124 | | } |
| 0 | 125 | | if (ReferenceEquals(other, this)) { |
| 0 | 126 | | return true; |
| | 127 | | } |
| 0 | 128 | | if (!object.Equals(Area, other.Area)) return false; |
| 0 | 129 | | if (Mode != other.Mode) return false; |
| 0 | 130 | | return Equals(_unknownFields, other._unknownFields); |
| | 131 | | } |
| | 132 | |
|
| | 133 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 134 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 135 | | public override int GetHashCode() { |
| 0 | 136 | | int hash = 1; |
| 0 | 137 | | if (area_ != null) hash ^= Area.GetHashCode(); |
| 0 | 138 | | if (Mode != global::DCL.ECSComponents.CameraModeValue.FirstPerson) hash ^= Mode.GetHashCode(); |
| 0 | 139 | | if (_unknownFields != null) { |
| 0 | 140 | | hash ^= _unknownFields.GetHashCode(); |
| | 141 | | } |
| 0 | 142 | | return hash; |
| | 143 | | } |
| | 144 | |
|
| | 145 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 146 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 147 | | public override string ToString() { |
| 0 | 148 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 149 | | } |
| | 150 | |
|
| | 151 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 152 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 153 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 154 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 155 | | output.WriteRawMessage(this); |
| | 156 | | #else |
| 1 | 157 | | if (area_ != null) { |
| 1 | 158 | | output.WriteRawTag(10); |
| 1 | 159 | | output.WriteMessage(Area); |
| | 160 | | } |
| 1 | 161 | | if (Mode != global::DCL.ECSComponents.CameraModeValue.FirstPerson) { |
| 0 | 162 | | output.WriteRawTag(16); |
| 0 | 163 | | output.WriteEnum((int) Mode); |
| | 164 | | } |
| 1 | 165 | | if (_unknownFields != null) { |
| 0 | 166 | | _unknownFields.WriteTo(output); |
| | 167 | | } |
| | 168 | | #endif |
| 1 | 169 | | } |
| | 170 | |
|
| | 171 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 172 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 173 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 174 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 175 | | if (area_ != null) { |
| | 176 | | output.WriteRawTag(10); |
| | 177 | | output.WriteMessage(Area); |
| | 178 | | } |
| | 179 | | if (Mode != global::DCL.ECSComponents.CameraModeValue.FirstPerson) { |
| | 180 | | output.WriteRawTag(16); |
| | 181 | | output.WriteEnum((int) Mode); |
| | 182 | | } |
| | 183 | | if (_unknownFields != null) { |
| | 184 | | _unknownFields.WriteTo(ref output); |
| | 185 | | } |
| | 186 | | } |
| | 187 | | #endif |
| | 188 | |
|
| | 189 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 190 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 191 | | public int CalculateSize() { |
| 1 | 192 | | int size = 0; |
| 1 | 193 | | if (area_ != null) { |
| 1 | 194 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Area); |
| | 195 | | } |
| 1 | 196 | | if (Mode != global::DCL.ECSComponents.CameraModeValue.FirstPerson) { |
| 0 | 197 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Mode); |
| | 198 | | } |
| 1 | 199 | | if (_unknownFields != null) { |
| 0 | 200 | | size += _unknownFields.CalculateSize(); |
| | 201 | | } |
| 1 | 202 | | return size; |
| | 203 | | } |
| | 204 | |
|
| | 205 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 206 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 207 | | public void MergeFrom(PBCameraModeArea other) { |
| 0 | 208 | | if (other == null) { |
| 0 | 209 | | return; |
| | 210 | | } |
| 0 | 211 | | if (other.area_ != null) { |
| 0 | 212 | | if (area_ == null) { |
| 0 | 213 | | Area = new global::DCL.ECSComponents.Vector3(); |
| | 214 | | } |
| 0 | 215 | | Area.MergeFrom(other.Area); |
| | 216 | | } |
| 0 | 217 | | if (other.Mode != global::DCL.ECSComponents.CameraModeValue.FirstPerson) { |
| 0 | 218 | | Mode = other.Mode; |
| | 219 | | } |
| 0 | 220 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 221 | | } |
| | 222 | |
|
| | 223 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 224 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 225 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 226 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 227 | | input.ReadRawMessage(this); |
| | 228 | | #else |
| | 229 | | uint tag; |
| 2 | 230 | | while ((tag = input.ReadTag()) != 0) { |
| | 231 | | switch(tag) { |
| | 232 | | default: |
| 0 | 233 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 234 | | break; |
| | 235 | | case 10: { |
| 1 | 236 | | if (area_ == null) { |
| 1 | 237 | | Area = new global::DCL.ECSComponents.Vector3(); |
| | 238 | | } |
| 1 | 239 | | input.ReadMessage(Area); |
| 1 | 240 | | break; |
| | 241 | | } |
| | 242 | | case 16: { |
| 0 | 243 | | Mode = (global::DCL.ECSComponents.CameraModeValue) input.ReadEnum(); |
| | 244 | | break; |
| | 245 | | } |
| | 246 | | } |
| | 247 | | } |
| | 248 | | #endif |
| 1 | 249 | | } |
| | 250 | |
|
| | 251 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 252 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 253 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 254 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 255 | | uint tag; |
| | 256 | | while ((tag = input.ReadTag()) != 0) { |
| | 257 | | switch(tag) { |
| | 258 | | default: |
| | 259 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 260 | | break; |
| | 261 | | case 10: { |
| | 262 | | if (area_ == null) { |
| | 263 | | Area = new global::DCL.ECSComponents.Vector3(); |
| | 264 | | } |
| | 265 | | input.ReadMessage(Area); |
| | 266 | | break; |
| | 267 | | } |
| | 268 | | case 16: { |
| | 269 | | Mode = (global::DCL.ECSComponents.CameraModeValue) input.ReadEnum(); |
| | 270 | | break; |
| | 271 | | } |
| | 272 | | } |
| | 273 | | } |
| | 274 | | } |
| | 275 | | #endif |
| | 276 | |
|
| | 277 | | } |
| | 278 | |
|
| | 279 | | #endregion |
| | 280 | |
|
| | 281 | | } |
| | 282 | |
|
| | 283 | | #endregion Designer generated code |