| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: PointerLock.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 PointerLock.proto</summary> |
| | 15 | | public static partial class PointerLockReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for PointerLock.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static PointerLockReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "ChFQb2ludGVyTG9jay5wcm90bxIQZGVjZW50cmFsYW5kLmVjcyIoCg1QQlBv", |
| | 28 | | "aW50ZXJMb2NrEhcKD2lzUG9pbnRlckxvY2tlZBgBIAEoCEIUqgIRRENMLkVD", |
| | 29 | | "U0NvbXBvbmVudHNiBnByb3RvMw==")); |
| | 30 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 31 | | new pbr::FileDescriptor[] { }, |
| | 32 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 33 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBPointerLock), global::DCL.ECSComponents.PBP |
| | 34 | | })); |
| | 35 | | } |
| | 36 | | #endregion |
| | 37 | |
|
| | 38 | | } |
| | 39 | | #region Messages |
| | 40 | | public sealed partial class PBPointerLock : pb::IMessage<PBPointerLock> |
| | 41 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 42 | | , pb::IBufferMessage |
| | 43 | | #endif |
| | 44 | | { |
| 1 | 45 | | private static readonly pb::MessageParser<PBPointerLock> _parser = new pb::MessageParser<PBPointerLock>(() => new PB |
| | 46 | | private pb::UnknownFieldSet _unknownFields; |
| | 47 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 48 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 49 | | public static pb::MessageParser<PBPointerLock> Parser { get { return _parser; } } |
| | 50 | |
|
| | 51 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 52 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 53 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 54 | | get { return global::DCL.ECSComponents.PointerLockReflection.Descriptor.MessageTypes[0]; } |
| | 55 | | } |
| | 56 | |
|
| | 57 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 58 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 59 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 60 | | get { return Descriptor; } |
| | 61 | | } |
| | 62 | |
|
| | 63 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 64 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 1 | 65 | | public PBPointerLock() { |
| | 66 | | OnConstruction(); |
| 1 | 67 | | } |
| | 68 | |
|
| | 69 | | partial void OnConstruction(); |
| | 70 | |
|
| | 71 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 72 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 73 | | public PBPointerLock(PBPointerLock other) : this() { |
| 0 | 74 | | isPointerLocked_ = other.isPointerLocked_; |
| 0 | 75 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 76 | | } |
| | 77 | |
|
| | 78 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 79 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 80 | | public PBPointerLock Clone() { |
| 0 | 81 | | return new PBPointerLock(this); |
| | 82 | | } |
| | 83 | |
|
| | 84 | | /// <summary>Field number for the "isPointerLocked" field.</summary> |
| | 85 | | public const int IsPointerLockedFieldNumber = 1; |
| | 86 | | private bool isPointerLocked_; |
| | 87 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 88 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 89 | | public bool IsPointerLocked { |
| 0 | 90 | | get { return isPointerLocked_; } |
| | 91 | | set { |
| 0 | 92 | | isPointerLocked_ = value; |
| 0 | 93 | | } |
| | 94 | | } |
| | 95 | |
|
| | 96 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 97 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 98 | | public override bool Equals(object other) { |
| 0 | 99 | | return Equals(other as PBPointerLock); |
| | 100 | | } |
| | 101 | |
|
| | 102 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 103 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 104 | | public bool Equals(PBPointerLock other) { |
| 0 | 105 | | if (ReferenceEquals(other, null)) { |
| 0 | 106 | | return false; |
| | 107 | | } |
| 0 | 108 | | if (ReferenceEquals(other, this)) { |
| 0 | 109 | | return true; |
| | 110 | | } |
| 0 | 111 | | if (IsPointerLocked != other.IsPointerLocked) return false; |
| 0 | 112 | | return Equals(_unknownFields, other._unknownFields); |
| | 113 | | } |
| | 114 | |
|
| | 115 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 116 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 117 | | public override int GetHashCode() { |
| 0 | 118 | | int hash = 1; |
| 0 | 119 | | if (IsPointerLocked != false) hash ^= IsPointerLocked.GetHashCode(); |
| 0 | 120 | | if (_unknownFields != null) { |
| 0 | 121 | | hash ^= _unknownFields.GetHashCode(); |
| | 122 | | } |
| 0 | 123 | | return hash; |
| | 124 | | } |
| | 125 | |
|
| | 126 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 127 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 128 | | public override string ToString() { |
| 0 | 129 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 130 | | } |
| | 131 | |
|
| | 132 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 133 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 134 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 135 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 136 | | output.WriteRawMessage(this); |
| | 137 | | #else |
| 0 | 138 | | if (IsPointerLocked != false) { |
| 0 | 139 | | output.WriteRawTag(8); |
| 0 | 140 | | output.WriteBool(IsPointerLocked); |
| | 141 | | } |
| 0 | 142 | | if (_unknownFields != null) { |
| 0 | 143 | | _unknownFields.WriteTo(output); |
| | 144 | | } |
| | 145 | | #endif |
| 0 | 146 | | } |
| | 147 | |
|
| | 148 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 149 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 150 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 151 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 152 | | if (IsPointerLocked != false) { |
| | 153 | | output.WriteRawTag(8); |
| | 154 | | output.WriteBool(IsPointerLocked); |
| | 155 | | } |
| | 156 | | if (_unknownFields != null) { |
| | 157 | | _unknownFields.WriteTo(ref output); |
| | 158 | | } |
| | 159 | | } |
| | 160 | | #endif |
| | 161 | |
|
| | 162 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 163 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 164 | | public int CalculateSize() { |
| 0 | 165 | | int size = 0; |
| 0 | 166 | | if (IsPointerLocked != false) { |
| 0 | 167 | | size += 1 + 1; |
| | 168 | | } |
| 0 | 169 | | if (_unknownFields != null) { |
| 0 | 170 | | size += _unknownFields.CalculateSize(); |
| | 171 | | } |
| 0 | 172 | | return size; |
| | 173 | | } |
| | 174 | |
|
| | 175 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 176 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 177 | | public void MergeFrom(PBPointerLock other) { |
| 0 | 178 | | if (other == null) { |
| 0 | 179 | | return; |
| | 180 | | } |
| 0 | 181 | | if (other.IsPointerLocked != false) { |
| 0 | 182 | | IsPointerLocked = other.IsPointerLocked; |
| | 183 | | } |
| 0 | 184 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 185 | | } |
| | 186 | |
|
| | 187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 189 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 190 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 191 | | input.ReadRawMessage(this); |
| | 192 | | #else |
| | 193 | | uint tag; |
| 0 | 194 | | while ((tag = input.ReadTag()) != 0) { |
| | 195 | | switch(tag) { |
| | 196 | | default: |
| 0 | 197 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 198 | | break; |
| | 199 | | case 8: { |
| 0 | 200 | | IsPointerLocked = input.ReadBool(); |
| | 201 | | break; |
| | 202 | | } |
| | 203 | | } |
| | 204 | | } |
| | 205 | | #endif |
| 0 | 206 | | } |
| | 207 | |
|
| | 208 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 209 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 210 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 211 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 212 | | uint tag; |
| | 213 | | while ((tag = input.ReadTag()) != 0) { |
| | 214 | | switch(tag) { |
| | 215 | | default: |
| | 216 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 217 | | break; |
| | 218 | | case 8: { |
| | 219 | | IsPointerLocked = input.ReadBool(); |
| | 220 | | break; |
| | 221 | | } |
| | 222 | | } |
| | 223 | | } |
| | 224 | | } |
| | 225 | | #endif |
| | 226 | |
|
| | 227 | | } |
| | 228 | |
|
| | 229 | | #endregion |
| | 230 | |
|
| | 231 | | } |
| | 232 | |
|
| | 233 | | #endregion Designer generated code |