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