| | | 1 | | // <auto-generated> |
| | | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | | 3 | | // source: decentraland/renderer/renderer_services/restricted_actions.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 Decentraland.Renderer.RendererServices { |
| | | 13 | | |
| | | 14 | | /// <summary>Holder for reflection information generated from decentraland/renderer/renderer_services/restricted_actio |
| | | 15 | | public static partial class RestrictedActionsReflection { |
| | | 16 | | |
| | | 17 | | #region Descriptor |
| | | 18 | | /// <summary>File descriptor for decentraland/renderer/renderer_services/restricted_actions.proto</summary> |
| | | 19 | | public static pbr::FileDescriptor Descriptor { |
| | | 20 | | get { return descriptor; } |
| | | 21 | | } |
| | | 22 | | private static pbr::FileDescriptor descriptor; |
| | | 23 | | |
| | | 24 | | static RestrictedActionsReflection() { |
| | | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | | 26 | | string.Concat( |
| | | 27 | | "CkBkZWNlbnRyYWxhbmQvcmVuZGVyZXIvcmVuZGVyZXJfc2VydmljZXMvcmVz", |
| | | 28 | | "dHJpY3RlZF9hY3Rpb25zLnByb3RvEidkZWNlbnRyYWxhbmQucmVuZGVyZXIu", |
| | | 29 | | "cmVuZGVyZXJfc2VydmljZXMaIWRlY2VudHJhbGFuZC9jb21tb24vdmVjdG9y", |
| | | 30 | | "cy5wcm90byJiChFUZWxlcG9ydFRvUmVxdWVzdBI3ChF3b3JsZF9jb29yZGlu", |
| | | 31 | | "YXRlcxgBIAEoCzIcLmRlY2VudHJhbGFuZC5jb21tb24uVmVjdG9yMhIUCgxz", |
| | | 32 | | "Y2VuZV9udW1iZXIYAiABKAUiOwoWT3BlbkV4dGVybmFsVXJsUmVxdWVzdBIL", |
| | | 33 | | "CgN1cmwYASABKAkSFAoMc2NlbmVfbnVtYmVyGAIgASgFIjkKFE9wZW5OZnRE", |
| | | 34 | | "aWFsb2dSZXF1ZXN0EgsKA3VybhgBIAEoCRIUCgxzY2VuZV9udW1iZXIYAiAB", |
| | | 35 | | "KAUiJAoRT3Blbk1vZGFsUmVzcG9uc2USDwoHc3VjY2VzcxgBIAEoCCIUChJU", |
| | | 36 | | "ZWxlcG9ydFRvUmVzcG9uc2UyxgMKGFJlc3RyaWN0ZWRBY3Rpb25zU2Vydmlj", |
| | | 37 | | "ZRKHAQoKVGVsZXBvcnRUbxI6LmRlY2VudHJhbGFuZC5yZW5kZXJlci5yZW5k", |
| | | 38 | | "ZXJlcl9zZXJ2aWNlcy5UZWxlcG9ydFRvUmVxdWVzdBo7LmRlY2VudHJhbGFu", |
| | | 39 | | "ZC5yZW5kZXJlci5yZW5kZXJlcl9zZXJ2aWNlcy5UZWxlcG9ydFRvUmVzcG9u", |
| | | 40 | | "c2UiABKQAQoPT3BlbkV4dGVybmFsVXJsEj8uZGVjZW50cmFsYW5kLnJlbmRl", |
| | | 41 | | "cmVyLnJlbmRlcmVyX3NlcnZpY2VzLk9wZW5FeHRlcm5hbFVybFJlcXVlc3Qa", |
| | | 42 | | "Oi5kZWNlbnRyYWxhbmQucmVuZGVyZXIucmVuZGVyZXJfc2VydmljZXMuT3Bl", |
| | | 43 | | "bk1vZGFsUmVzcG9uc2UiABKMAQoNT3Blbk5mdERpYWxvZxI9LmRlY2VudHJh", |
| | | 44 | | "bGFuZC5yZW5kZXJlci5yZW5kZXJlcl9zZXJ2aWNlcy5PcGVuTmZ0RGlhbG9n", |
| | | 45 | | "UmVxdWVzdBo6LmRlY2VudHJhbGFuZC5yZW5kZXJlci5yZW5kZXJlcl9zZXJ2", |
| | | 46 | | "aWNlcy5PcGVuTW9kYWxSZXNwb25zZSIAYgZwcm90bzM=")); |
| | | 47 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | | 48 | | new pbr::FileDescriptor[] { global::Decentraland.Common.VectorsReflection.Descriptor, }, |
| | | 49 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | | 50 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.TeleportToRequest), glob |
| | | 51 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.OpenExternalUrlRequest), |
| | | 52 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.OpenNftDialogRequest), g |
| | | 53 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.OpenModalResponse), glob |
| | | 54 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.TeleportToResponse), glo |
| | | 55 | | })); |
| | | 56 | | } |
| | | 57 | | #endregion |
| | | 58 | | |
| | | 59 | | } |
| | | 60 | | #region Messages |
| | | 61 | | public sealed partial class TeleportToRequest : pb::IMessage<TeleportToRequest> |
| | | 62 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 63 | | , pb::IBufferMessage |
| | | 64 | | #endif |
| | | 65 | | { |
| | | 66 | | private static readonly pb::MessageParser<TeleportToRequest> _parser = new pb::MessageParser<TeleportToRequest>(() = |
| | | 67 | | private pb::UnknownFieldSet _unknownFields; |
| | | 68 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 69 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 70 | | public static pb::MessageParser<TeleportToRequest> Parser { get { return _parser; } } |
| | | 71 | | |
| | | 72 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 73 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 74 | | public static pbr::MessageDescriptor Descriptor { |
| | | 75 | | get { return global::Decentraland.Renderer.RendererServices.RestrictedActionsReflection.Descriptor.MessageTypes[0] |
| | | 76 | | } |
| | | 77 | | |
| | | 78 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 79 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 80 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | | 81 | | get { return Descriptor; } |
| | | 82 | | } |
| | | 83 | | |
| | | 84 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 85 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 86 | | public TeleportToRequest() { |
| | | 87 | | OnConstruction(); |
| | | 88 | | } |
| | | 89 | | |
| | | 90 | | partial void OnConstruction(); |
| | | 91 | | |
| | | 92 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 93 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 94 | | public TeleportToRequest(TeleportToRequest other) : this() { |
| | | 95 | | worldCoordinates_ = other.worldCoordinates_ != null ? other.worldCoordinates_.Clone() : null; |
| | | 96 | | sceneNumber_ = other.sceneNumber_; |
| | | 97 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | | 98 | | } |
| | | 99 | | |
| | | 100 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 101 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 102 | | public TeleportToRequest Clone() { |
| | | 103 | | return new TeleportToRequest(this); |
| | | 104 | | } |
| | | 105 | | |
| | | 106 | | /// <summary>Field number for the "world_coordinates" field.</summary> |
| | | 107 | | public const int WorldCoordinatesFieldNumber = 1; |
| | | 108 | | private global::Decentraland.Common.Vector2 worldCoordinates_; |
| | | 109 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 110 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 111 | | public global::Decentraland.Common.Vector2 WorldCoordinates { |
| | | 112 | | get { return worldCoordinates_; } |
| | | 113 | | set { |
| | | 114 | | worldCoordinates_ = value; |
| | | 115 | | } |
| | | 116 | | } |
| | | 117 | | |
| | | 118 | | /// <summary>Field number for the "scene_number" field.</summary> |
| | | 119 | | public const int SceneNumberFieldNumber = 2; |
| | | 120 | | private int sceneNumber_; |
| | | 121 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 122 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 123 | | public int SceneNumber { |
| | | 124 | | get { return sceneNumber_; } |
| | | 125 | | set { |
| | | 126 | | sceneNumber_ = value; |
| | | 127 | | } |
| | | 128 | | } |
| | | 129 | | |
| | | 130 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 131 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 132 | | public override bool Equals(object other) { |
| | | 133 | | return Equals(other as TeleportToRequest); |
| | | 134 | | } |
| | | 135 | | |
| | | 136 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 137 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 138 | | public bool Equals(TeleportToRequest other) { |
| | | 139 | | if (ReferenceEquals(other, null)) { |
| | | 140 | | return false; |
| | | 141 | | } |
| | | 142 | | if (ReferenceEquals(other, this)) { |
| | | 143 | | return true; |
| | | 144 | | } |
| | | 145 | | if (!object.Equals(WorldCoordinates, other.WorldCoordinates)) return false; |
| | | 146 | | if (SceneNumber != other.SceneNumber) return false; |
| | | 147 | | return Equals(_unknownFields, other._unknownFields); |
| | | 148 | | } |
| | | 149 | | |
| | | 150 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 151 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 152 | | public override int GetHashCode() { |
| | | 153 | | int hash = 1; |
| | | 154 | | if (worldCoordinates_ != null) hash ^= WorldCoordinates.GetHashCode(); |
| | | 155 | | if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode(); |
| | | 156 | | if (_unknownFields != null) { |
| | | 157 | | hash ^= _unknownFields.GetHashCode(); |
| | | 158 | | } |
| | | 159 | | return hash; |
| | | 160 | | } |
| | | 161 | | |
| | | 162 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 163 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 164 | | public override string ToString() { |
| | | 165 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | | 166 | | } |
| | | 167 | | |
| | | 168 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 169 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 170 | | public void WriteTo(pb::CodedOutputStream output) { |
| | | 171 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 172 | | output.WriteRawMessage(this); |
| | | 173 | | #else |
| | | 174 | | if (worldCoordinates_ != null) { |
| | | 175 | | output.WriteRawTag(10); |
| | | 176 | | output.WriteMessage(WorldCoordinates); |
| | | 177 | | } |
| | | 178 | | if (SceneNumber != 0) { |
| | | 179 | | output.WriteRawTag(16); |
| | | 180 | | output.WriteInt32(SceneNumber); |
| | | 181 | | } |
| | | 182 | | if (_unknownFields != null) { |
| | | 183 | | _unknownFields.WriteTo(output); |
| | | 184 | | } |
| | | 185 | | #endif |
| | | 186 | | } |
| | | 187 | | |
| | | 188 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 189 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 190 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 191 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | | 192 | | if (worldCoordinates_ != null) { |
| | | 193 | | output.WriteRawTag(10); |
| | | 194 | | output.WriteMessage(WorldCoordinates); |
| | | 195 | | } |
| | | 196 | | if (SceneNumber != 0) { |
| | | 197 | | output.WriteRawTag(16); |
| | | 198 | | output.WriteInt32(SceneNumber); |
| | | 199 | | } |
| | | 200 | | if (_unknownFields != null) { |
| | | 201 | | _unknownFields.WriteTo(ref output); |
| | | 202 | | } |
| | | 203 | | } |
| | | 204 | | #endif |
| | | 205 | | |
| | | 206 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 207 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 208 | | public int CalculateSize() { |
| | | 209 | | int size = 0; |
| | | 210 | | if (worldCoordinates_ != null) { |
| | | 211 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(WorldCoordinates); |
| | | 212 | | } |
| | | 213 | | if (SceneNumber != 0) { |
| | | 214 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber); |
| | | 215 | | } |
| | | 216 | | if (_unknownFields != null) { |
| | | 217 | | size += _unknownFields.CalculateSize(); |
| | | 218 | | } |
| | | 219 | | return size; |
| | | 220 | | } |
| | | 221 | | |
| | | 222 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 223 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 224 | | public void MergeFrom(TeleportToRequest other) { |
| | | 225 | | if (other == null) { |
| | | 226 | | return; |
| | | 227 | | } |
| | | 228 | | if (other.worldCoordinates_ != null) { |
| | | 229 | | if (worldCoordinates_ == null) { |
| | | 230 | | WorldCoordinates = new global::Decentraland.Common.Vector2(); |
| | | 231 | | } |
| | | 232 | | WorldCoordinates.MergeFrom(other.WorldCoordinates); |
| | | 233 | | } |
| | | 234 | | if (other.SceneNumber != 0) { |
| | | 235 | | SceneNumber = other.SceneNumber; |
| | | 236 | | } |
| | | 237 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | | 238 | | } |
| | | 239 | | |
| | | 240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 242 | | public void MergeFrom(pb::CodedInputStream input) { |
| | | 243 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 244 | | input.ReadRawMessage(this); |
| | | 245 | | #else |
| | | 246 | | uint tag; |
| | | 247 | | while ((tag = input.ReadTag()) != 0) { |
| | | 248 | | switch(tag) { |
| | | 249 | | default: |
| | | 250 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | | 251 | | break; |
| | | 252 | | case 10: { |
| | | 253 | | if (worldCoordinates_ == null) { |
| | | 254 | | WorldCoordinates = new global::Decentraland.Common.Vector2(); |
| | | 255 | | } |
| | | 256 | | input.ReadMessage(WorldCoordinates); |
| | | 257 | | break; |
| | | 258 | | } |
| | | 259 | | case 16: { |
| | | 260 | | SceneNumber = input.ReadInt32(); |
| | | 261 | | break; |
| | | 262 | | } |
| | | 263 | | } |
| | | 264 | | } |
| | | 265 | | #endif |
| | | 266 | | } |
| | | 267 | | |
| | | 268 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 269 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 270 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 271 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | | 272 | | uint tag; |
| | | 273 | | while ((tag = input.ReadTag()) != 0) { |
| | | 274 | | switch(tag) { |
| | | 275 | | default: |
| | | 276 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | | 277 | | break; |
| | | 278 | | case 10: { |
| | | 279 | | if (worldCoordinates_ == null) { |
| | | 280 | | WorldCoordinates = new global::Decentraland.Common.Vector2(); |
| | | 281 | | } |
| | | 282 | | input.ReadMessage(WorldCoordinates); |
| | | 283 | | break; |
| | | 284 | | } |
| | | 285 | | case 16: { |
| | | 286 | | SceneNumber = input.ReadInt32(); |
| | | 287 | | break; |
| | | 288 | | } |
| | | 289 | | } |
| | | 290 | | } |
| | | 291 | | } |
| | | 292 | | #endif |
| | | 293 | | |
| | | 294 | | } |
| | | 295 | | |
| | | 296 | | public sealed partial class OpenExternalUrlRequest : pb::IMessage<OpenExternalUrlRequest> |
| | | 297 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 298 | | , pb::IBufferMessage |
| | | 299 | | #endif |
| | | 300 | | { |
| | | 301 | | private static readonly pb::MessageParser<OpenExternalUrlRequest> _parser = new pb::MessageParser<OpenExternalUrlReq |
| | | 302 | | private pb::UnknownFieldSet _unknownFields; |
| | | 303 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 304 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 305 | | public static pb::MessageParser<OpenExternalUrlRequest> Parser { get { return _parser; } } |
| | | 306 | | |
| | | 307 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 308 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 309 | | public static pbr::MessageDescriptor Descriptor { |
| | | 310 | | get { return global::Decentraland.Renderer.RendererServices.RestrictedActionsReflection.Descriptor.MessageTypes[1] |
| | | 311 | | } |
| | | 312 | | |
| | | 313 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 314 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 315 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | | 316 | | get { return Descriptor; } |
| | | 317 | | } |
| | | 318 | | |
| | | 319 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 320 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 321 | | public OpenExternalUrlRequest() { |
| | | 322 | | OnConstruction(); |
| | | 323 | | } |
| | | 324 | | |
| | | 325 | | partial void OnConstruction(); |
| | | 326 | | |
| | | 327 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 328 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 329 | | public OpenExternalUrlRequest(OpenExternalUrlRequest other) : this() { |
| | | 330 | | url_ = other.url_; |
| | | 331 | | sceneNumber_ = other.sceneNumber_; |
| | | 332 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | | 333 | | } |
| | | 334 | | |
| | | 335 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 336 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 337 | | public OpenExternalUrlRequest Clone() { |
| | | 338 | | return new OpenExternalUrlRequest(this); |
| | | 339 | | } |
| | | 340 | | |
| | | 341 | | /// <summary>Field number for the "url" field.</summary> |
| | | 342 | | public const int UrlFieldNumber = 1; |
| | | 343 | | private string url_ = ""; |
| | | 344 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 345 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 346 | | public string Url { |
| | | 347 | | get { return url_; } |
| | | 348 | | set { |
| | | 349 | | url_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | | 350 | | } |
| | | 351 | | } |
| | | 352 | | |
| | | 353 | | /// <summary>Field number for the "scene_number" field.</summary> |
| | | 354 | | public const int SceneNumberFieldNumber = 2; |
| | | 355 | | private int sceneNumber_; |
| | | 356 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 357 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 358 | | public int SceneNumber { |
| | | 359 | | get { return sceneNumber_; } |
| | | 360 | | set { |
| | | 361 | | sceneNumber_ = value; |
| | | 362 | | } |
| | | 363 | | } |
| | | 364 | | |
| | | 365 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 366 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 367 | | public override bool Equals(object other) { |
| | | 368 | | return Equals(other as OpenExternalUrlRequest); |
| | | 369 | | } |
| | | 370 | | |
| | | 371 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 372 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 373 | | public bool Equals(OpenExternalUrlRequest other) { |
| | | 374 | | if (ReferenceEquals(other, null)) { |
| | | 375 | | return false; |
| | | 376 | | } |
| | | 377 | | if (ReferenceEquals(other, this)) { |
| | | 378 | | return true; |
| | | 379 | | } |
| | | 380 | | if (Url != other.Url) return false; |
| | | 381 | | if (SceneNumber != other.SceneNumber) return false; |
| | | 382 | | return Equals(_unknownFields, other._unknownFields); |
| | | 383 | | } |
| | | 384 | | |
| | | 385 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 386 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 387 | | public override int GetHashCode() { |
| | | 388 | | int hash = 1; |
| | | 389 | | if (Url.Length != 0) hash ^= Url.GetHashCode(); |
| | | 390 | | if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode(); |
| | | 391 | | if (_unknownFields != null) { |
| | | 392 | | hash ^= _unknownFields.GetHashCode(); |
| | | 393 | | } |
| | | 394 | | return hash; |
| | | 395 | | } |
| | | 396 | | |
| | | 397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 399 | | public override string ToString() { |
| | | 400 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | | 401 | | } |
| | | 402 | | |
| | | 403 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 404 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 405 | | public void WriteTo(pb::CodedOutputStream output) { |
| | | 406 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 407 | | output.WriteRawMessage(this); |
| | | 408 | | #else |
| | | 409 | | if (Url.Length != 0) { |
| | | 410 | | output.WriteRawTag(10); |
| | | 411 | | output.WriteString(Url); |
| | | 412 | | } |
| | | 413 | | if (SceneNumber != 0) { |
| | | 414 | | output.WriteRawTag(16); |
| | | 415 | | output.WriteInt32(SceneNumber); |
| | | 416 | | } |
| | | 417 | | if (_unknownFields != null) { |
| | | 418 | | _unknownFields.WriteTo(output); |
| | | 419 | | } |
| | | 420 | | #endif |
| | | 421 | | } |
| | | 422 | | |
| | | 423 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 424 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 425 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 426 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | | 427 | | if (Url.Length != 0) { |
| | | 428 | | output.WriteRawTag(10); |
| | | 429 | | output.WriteString(Url); |
| | | 430 | | } |
| | | 431 | | if (SceneNumber != 0) { |
| | | 432 | | output.WriteRawTag(16); |
| | | 433 | | output.WriteInt32(SceneNumber); |
| | | 434 | | } |
| | | 435 | | if (_unknownFields != null) { |
| | | 436 | | _unknownFields.WriteTo(ref output); |
| | | 437 | | } |
| | | 438 | | } |
| | | 439 | | #endif |
| | | 440 | | |
| | | 441 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 442 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 443 | | public int CalculateSize() { |
| | | 444 | | int size = 0; |
| | | 445 | | if (Url.Length != 0) { |
| | | 446 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Url); |
| | | 447 | | } |
| | | 448 | | if (SceneNumber != 0) { |
| | | 449 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber); |
| | | 450 | | } |
| | | 451 | | if (_unknownFields != null) { |
| | | 452 | | size += _unknownFields.CalculateSize(); |
| | | 453 | | } |
| | | 454 | | return size; |
| | | 455 | | } |
| | | 456 | | |
| | | 457 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 458 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 459 | | public void MergeFrom(OpenExternalUrlRequest other) { |
| | | 460 | | if (other == null) { |
| | | 461 | | return; |
| | | 462 | | } |
| | | 463 | | if (other.Url.Length != 0) { |
| | | 464 | | Url = other.Url; |
| | | 465 | | } |
| | | 466 | | if (other.SceneNumber != 0) { |
| | | 467 | | SceneNumber = other.SceneNumber; |
| | | 468 | | } |
| | | 469 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | | 470 | | } |
| | | 471 | | |
| | | 472 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 473 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 474 | | public void MergeFrom(pb::CodedInputStream input) { |
| | | 475 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 476 | | input.ReadRawMessage(this); |
| | | 477 | | #else |
| | | 478 | | uint tag; |
| | | 479 | | while ((tag = input.ReadTag()) != 0) { |
| | | 480 | | switch(tag) { |
| | | 481 | | default: |
| | | 482 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | | 483 | | break; |
| | | 484 | | case 10: { |
| | | 485 | | Url = input.ReadString(); |
| | | 486 | | break; |
| | | 487 | | } |
| | | 488 | | case 16: { |
| | | 489 | | SceneNumber = input.ReadInt32(); |
| | | 490 | | break; |
| | | 491 | | } |
| | | 492 | | } |
| | | 493 | | } |
| | | 494 | | #endif |
| | | 495 | | } |
| | | 496 | | |
| | | 497 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 498 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 499 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 500 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | | 501 | | uint tag; |
| | | 502 | | while ((tag = input.ReadTag()) != 0) { |
| | | 503 | | switch(tag) { |
| | | 504 | | default: |
| | | 505 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | | 506 | | break; |
| | | 507 | | case 10: { |
| | | 508 | | Url = input.ReadString(); |
| | | 509 | | break; |
| | | 510 | | } |
| | | 511 | | case 16: { |
| | | 512 | | SceneNumber = input.ReadInt32(); |
| | | 513 | | break; |
| | | 514 | | } |
| | | 515 | | } |
| | | 516 | | } |
| | | 517 | | } |
| | | 518 | | #endif |
| | | 519 | | |
| | | 520 | | } |
| | | 521 | | |
| | | 522 | | public sealed partial class OpenNftDialogRequest : pb::IMessage<OpenNftDialogRequest> |
| | | 523 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 524 | | , pb::IBufferMessage |
| | | 525 | | #endif |
| | | 526 | | { |
| | | 527 | | private static readonly pb::MessageParser<OpenNftDialogRequest> _parser = new pb::MessageParser<OpenNftDialogRequest |
| | | 528 | | private pb::UnknownFieldSet _unknownFields; |
| | | 529 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 530 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 531 | | public static pb::MessageParser<OpenNftDialogRequest> Parser { get { return _parser; } } |
| | | 532 | | |
| | | 533 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 534 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 535 | | public static pbr::MessageDescriptor Descriptor { |
| | | 536 | | get { return global::Decentraland.Renderer.RendererServices.RestrictedActionsReflection.Descriptor.MessageTypes[2] |
| | | 537 | | } |
| | | 538 | | |
| | | 539 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 540 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 541 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | | 542 | | get { return Descriptor; } |
| | | 543 | | } |
| | | 544 | | |
| | | 545 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 546 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 547 | | public OpenNftDialogRequest() { |
| | | 548 | | OnConstruction(); |
| | | 549 | | } |
| | | 550 | | |
| | | 551 | | partial void OnConstruction(); |
| | | 552 | | |
| | | 553 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 554 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 555 | | public OpenNftDialogRequest(OpenNftDialogRequest other) : this() { |
| | | 556 | | urn_ = other.urn_; |
| | | 557 | | sceneNumber_ = other.sceneNumber_; |
| | | 558 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | | 559 | | } |
| | | 560 | | |
| | | 561 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 562 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 563 | | public OpenNftDialogRequest Clone() { |
| | | 564 | | return new OpenNftDialogRequest(this); |
| | | 565 | | } |
| | | 566 | | |
| | | 567 | | /// <summary>Field number for the "urn" field.</summary> |
| | | 568 | | public const int UrnFieldNumber = 1; |
| | | 569 | | private string urn_ = ""; |
| | | 570 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 571 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 572 | | public string Urn { |
| | | 573 | | get { return urn_; } |
| | | 574 | | set { |
| | | 575 | | urn_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | | 576 | | } |
| | | 577 | | } |
| | | 578 | | |
| | | 579 | | /// <summary>Field number for the "scene_number" field.</summary> |
| | | 580 | | public const int SceneNumberFieldNumber = 2; |
| | | 581 | | private int sceneNumber_; |
| | | 582 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 583 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 584 | | public int SceneNumber { |
| | | 585 | | get { return sceneNumber_; } |
| | | 586 | | set { |
| | | 587 | | sceneNumber_ = value; |
| | | 588 | | } |
| | | 589 | | } |
| | | 590 | | |
| | | 591 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 592 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 593 | | public override bool Equals(object other) { |
| | | 594 | | return Equals(other as OpenNftDialogRequest); |
| | | 595 | | } |
| | | 596 | | |
| | | 597 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 598 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 599 | | public bool Equals(OpenNftDialogRequest other) { |
| | | 600 | | if (ReferenceEquals(other, null)) { |
| | | 601 | | return false; |
| | | 602 | | } |
| | | 603 | | if (ReferenceEquals(other, this)) { |
| | | 604 | | return true; |
| | | 605 | | } |
| | | 606 | | if (Urn != other.Urn) return false; |
| | | 607 | | if (SceneNumber != other.SceneNumber) return false; |
| | | 608 | | return Equals(_unknownFields, other._unknownFields); |
| | | 609 | | } |
| | | 610 | | |
| | | 611 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 612 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 613 | | public override int GetHashCode() { |
| | | 614 | | int hash = 1; |
| | | 615 | | if (Urn.Length != 0) hash ^= Urn.GetHashCode(); |
| | | 616 | | if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode(); |
| | | 617 | | if (_unknownFields != null) { |
| | | 618 | | hash ^= _unknownFields.GetHashCode(); |
| | | 619 | | } |
| | | 620 | | return hash; |
| | | 621 | | } |
| | | 622 | | |
| | | 623 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 624 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 625 | | public override string ToString() { |
| | | 626 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | | 627 | | } |
| | | 628 | | |
| | | 629 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 630 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 631 | | public void WriteTo(pb::CodedOutputStream output) { |
| | | 632 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 633 | | output.WriteRawMessage(this); |
| | | 634 | | #else |
| | | 635 | | if (Urn.Length != 0) { |
| | | 636 | | output.WriteRawTag(10); |
| | | 637 | | output.WriteString(Urn); |
| | | 638 | | } |
| | | 639 | | if (SceneNumber != 0) { |
| | | 640 | | output.WriteRawTag(16); |
| | | 641 | | output.WriteInt32(SceneNumber); |
| | | 642 | | } |
| | | 643 | | if (_unknownFields != null) { |
| | | 644 | | _unknownFields.WriteTo(output); |
| | | 645 | | } |
| | | 646 | | #endif |
| | | 647 | | } |
| | | 648 | | |
| | | 649 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 650 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 651 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 652 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | | 653 | | if (Urn.Length != 0) { |
| | | 654 | | output.WriteRawTag(10); |
| | | 655 | | output.WriteString(Urn); |
| | | 656 | | } |
| | | 657 | | if (SceneNumber != 0) { |
| | | 658 | | output.WriteRawTag(16); |
| | | 659 | | output.WriteInt32(SceneNumber); |
| | | 660 | | } |
| | | 661 | | if (_unknownFields != null) { |
| | | 662 | | _unknownFields.WriteTo(ref output); |
| | | 663 | | } |
| | | 664 | | } |
| | | 665 | | #endif |
| | | 666 | | |
| | | 667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 669 | | public int CalculateSize() { |
| | | 670 | | int size = 0; |
| | | 671 | | if (Urn.Length != 0) { |
| | | 672 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Urn); |
| | | 673 | | } |
| | | 674 | | if (SceneNumber != 0) { |
| | | 675 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber); |
| | | 676 | | } |
| | | 677 | | if (_unknownFields != null) { |
| | | 678 | | size += _unknownFields.CalculateSize(); |
| | | 679 | | } |
| | | 680 | | return size; |
| | | 681 | | } |
| | | 682 | | |
| | | 683 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 684 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 685 | | public void MergeFrom(OpenNftDialogRequest other) { |
| | | 686 | | if (other == null) { |
| | | 687 | | return; |
| | | 688 | | } |
| | | 689 | | if (other.Urn.Length != 0) { |
| | | 690 | | Urn = other.Urn; |
| | | 691 | | } |
| | | 692 | | if (other.SceneNumber != 0) { |
| | | 693 | | SceneNumber = other.SceneNumber; |
| | | 694 | | } |
| | | 695 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | | 696 | | } |
| | | 697 | | |
| | | 698 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 699 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 700 | | public void MergeFrom(pb::CodedInputStream input) { |
| | | 701 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 702 | | input.ReadRawMessage(this); |
| | | 703 | | #else |
| | | 704 | | uint tag; |
| | | 705 | | while ((tag = input.ReadTag()) != 0) { |
| | | 706 | | switch(tag) { |
| | | 707 | | default: |
| | | 708 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | | 709 | | break; |
| | | 710 | | case 10: { |
| | | 711 | | Urn = input.ReadString(); |
| | | 712 | | break; |
| | | 713 | | } |
| | | 714 | | case 16: { |
| | | 715 | | SceneNumber = input.ReadInt32(); |
| | | 716 | | break; |
| | | 717 | | } |
| | | 718 | | } |
| | | 719 | | } |
| | | 720 | | #endif |
| | | 721 | | } |
| | | 722 | | |
| | | 723 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 724 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 725 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 726 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | | 727 | | uint tag; |
| | | 728 | | while ((tag = input.ReadTag()) != 0) { |
| | | 729 | | switch(tag) { |
| | | 730 | | default: |
| | | 731 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | | 732 | | break; |
| | | 733 | | case 10: { |
| | | 734 | | Urn = input.ReadString(); |
| | | 735 | | break; |
| | | 736 | | } |
| | | 737 | | case 16: { |
| | | 738 | | SceneNumber = input.ReadInt32(); |
| | | 739 | | break; |
| | | 740 | | } |
| | | 741 | | } |
| | | 742 | | } |
| | | 743 | | } |
| | | 744 | | #endif |
| | | 745 | | |
| | | 746 | | } |
| | | 747 | | |
| | | 748 | | public sealed partial class OpenModalResponse : pb::IMessage<OpenModalResponse> |
| | | 749 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 750 | | , pb::IBufferMessage |
| | | 751 | | #endif |
| | | 752 | | { |
| | | 753 | | private static readonly pb::MessageParser<OpenModalResponse> _parser = new pb::MessageParser<OpenModalResponse>(() = |
| | | 754 | | private pb::UnknownFieldSet _unknownFields; |
| | | 755 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 756 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 757 | | public static pb::MessageParser<OpenModalResponse> Parser { get { return _parser; } } |
| | | 758 | | |
| | | 759 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 760 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 761 | | public static pbr::MessageDescriptor Descriptor { |
| | | 762 | | get { return global::Decentraland.Renderer.RendererServices.RestrictedActionsReflection.Descriptor.MessageTypes[3] |
| | | 763 | | } |
| | | 764 | | |
| | | 765 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 766 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 767 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | | 768 | | get { return Descriptor; } |
| | | 769 | | } |
| | | 770 | | |
| | | 771 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 772 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 773 | | public OpenModalResponse() { |
| | | 774 | | OnConstruction(); |
| | | 775 | | } |
| | | 776 | | |
| | | 777 | | partial void OnConstruction(); |
| | | 778 | | |
| | | 779 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 780 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 781 | | public OpenModalResponse(OpenModalResponse other) : this() { |
| | | 782 | | success_ = other.success_; |
| | | 783 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | | 784 | | } |
| | | 785 | | |
| | | 786 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 787 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 788 | | public OpenModalResponse Clone() { |
| | | 789 | | return new OpenModalResponse(this); |
| | | 790 | | } |
| | | 791 | | |
| | | 792 | | /// <summary>Field number for the "success" field.</summary> |
| | | 793 | | public const int SuccessFieldNumber = 1; |
| | | 794 | | private bool success_; |
| | | 795 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 796 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 797 | | public bool Success { |
| | | 798 | | get { return success_; } |
| | | 799 | | set { |
| | | 800 | | success_ = value; |
| | | 801 | | } |
| | | 802 | | } |
| | | 803 | | |
| | | 804 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 805 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 806 | | public override bool Equals(object other) { |
| | | 807 | | return Equals(other as OpenModalResponse); |
| | | 808 | | } |
| | | 809 | | |
| | | 810 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 811 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 812 | | public bool Equals(OpenModalResponse other) { |
| | | 813 | | if (ReferenceEquals(other, null)) { |
| | | 814 | | return false; |
| | | 815 | | } |
| | | 816 | | if (ReferenceEquals(other, this)) { |
| | | 817 | | return true; |
| | | 818 | | } |
| | | 819 | | if (Success != other.Success) return false; |
| | | 820 | | return Equals(_unknownFields, other._unknownFields); |
| | | 821 | | } |
| | | 822 | | |
| | | 823 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 824 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 825 | | public override int GetHashCode() { |
| | | 826 | | int hash = 1; |
| | | 827 | | if (Success != false) hash ^= Success.GetHashCode(); |
| | | 828 | | if (_unknownFields != null) { |
| | | 829 | | hash ^= _unknownFields.GetHashCode(); |
| | | 830 | | } |
| | | 831 | | return hash; |
| | | 832 | | } |
| | | 833 | | |
| | | 834 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 835 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 836 | | public override string ToString() { |
| | | 837 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | | 838 | | } |
| | | 839 | | |
| | | 840 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 841 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 842 | | public void WriteTo(pb::CodedOutputStream output) { |
| | | 843 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 844 | | output.WriteRawMessage(this); |
| | | 845 | | #else |
| | | 846 | | if (Success != false) { |
| | | 847 | | output.WriteRawTag(8); |
| | | 848 | | output.WriteBool(Success); |
| | | 849 | | } |
| | | 850 | | if (_unknownFields != null) { |
| | | 851 | | _unknownFields.WriteTo(output); |
| | | 852 | | } |
| | | 853 | | #endif |
| | | 854 | | } |
| | | 855 | | |
| | | 856 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 857 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 858 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 859 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | | 860 | | if (Success != false) { |
| | | 861 | | output.WriteRawTag(8); |
| | | 862 | | output.WriteBool(Success); |
| | | 863 | | } |
| | | 864 | | if (_unknownFields != null) { |
| | | 865 | | _unknownFields.WriteTo(ref output); |
| | | 866 | | } |
| | | 867 | | } |
| | | 868 | | #endif |
| | | 869 | | |
| | | 870 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 871 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 872 | | public int CalculateSize() { |
| | | 873 | | int size = 0; |
| | | 874 | | if (Success != false) { |
| | | 875 | | size += 1 + 1; |
| | | 876 | | } |
| | | 877 | | if (_unknownFields != null) { |
| | | 878 | | size += _unknownFields.CalculateSize(); |
| | | 879 | | } |
| | | 880 | | return size; |
| | | 881 | | } |
| | | 882 | | |
| | | 883 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 884 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 885 | | public void MergeFrom(OpenModalResponse other) { |
| | | 886 | | if (other == null) { |
| | | 887 | | return; |
| | | 888 | | } |
| | | 889 | | if (other.Success != false) { |
| | | 890 | | Success = other.Success; |
| | | 891 | | } |
| | | 892 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | | 893 | | } |
| | | 894 | | |
| | | 895 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 896 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 897 | | public void MergeFrom(pb::CodedInputStream input) { |
| | | 898 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 899 | | input.ReadRawMessage(this); |
| | | 900 | | #else |
| | | 901 | | uint tag; |
| | | 902 | | while ((tag = input.ReadTag()) != 0) { |
| | | 903 | | switch(tag) { |
| | | 904 | | default: |
| | | 905 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | | 906 | | break; |
| | | 907 | | case 8: { |
| | | 908 | | Success = input.ReadBool(); |
| | | 909 | | break; |
| | | 910 | | } |
| | | 911 | | } |
| | | 912 | | } |
| | | 913 | | #endif |
| | | 914 | | } |
| | | 915 | | |
| | | 916 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 917 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 918 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 919 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | | 920 | | uint tag; |
| | | 921 | | while ((tag = input.ReadTag()) != 0) { |
| | | 922 | | switch(tag) { |
| | | 923 | | default: |
| | | 924 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | | 925 | | break; |
| | | 926 | | case 8: { |
| | | 927 | | Success = input.ReadBool(); |
| | | 928 | | break; |
| | | 929 | | } |
| | | 930 | | } |
| | | 931 | | } |
| | | 932 | | } |
| | | 933 | | #endif |
| | | 934 | | |
| | | 935 | | } |
| | | 936 | | |
| | | 937 | | public sealed partial class TeleportToResponse : pb::IMessage<TeleportToResponse> |
| | | 938 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 939 | | , pb::IBufferMessage |
| | | 940 | | #endif |
| | | 941 | | { |
| | 1 | 942 | | private static readonly pb::MessageParser<TeleportToResponse> _parser = new pb::MessageParser<TeleportToResponse>(() |
| | | 943 | | private pb::UnknownFieldSet _unknownFields; |
| | | 944 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 945 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1 | 946 | | public static pb::MessageParser<TeleportToResponse> Parser { get { return _parser; } } |
| | | 947 | | |
| | | 948 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 949 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 950 | | public static pbr::MessageDescriptor Descriptor { |
| | 0 | 951 | | get { return global::Decentraland.Renderer.RendererServices.RestrictedActionsReflection.Descriptor.MessageTypes[4] |
| | | 952 | | } |
| | | 953 | | |
| | | 954 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 955 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 956 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 0 | 957 | | get { return Descriptor; } |
| | | 958 | | } |
| | | 959 | | |
| | | 960 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 961 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1 | 962 | | public TeleportToResponse() { |
| | | 963 | | OnConstruction(); |
| | 1 | 964 | | } |
| | | 965 | | |
| | | 966 | | partial void OnConstruction(); |
| | | 967 | | |
| | | 968 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 969 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 0 | 970 | | public TeleportToResponse(TeleportToResponse other) : this() { |
| | 0 | 971 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 0 | 972 | | } |
| | | 973 | | |
| | | 974 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 975 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 976 | | public TeleportToResponse Clone() { |
| | 0 | 977 | | return new TeleportToResponse(this); |
| | | 978 | | } |
| | | 979 | | |
| | | 980 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 981 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 982 | | public override bool Equals(object other) { |
| | 0 | 983 | | return Equals(other as TeleportToResponse); |
| | | 984 | | } |
| | | 985 | | |
| | | 986 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 987 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 988 | | public bool Equals(TeleportToResponse other) { |
| | 0 | 989 | | if (ReferenceEquals(other, null)) { |
| | 0 | 990 | | return false; |
| | | 991 | | } |
| | 0 | 992 | | if (ReferenceEquals(other, this)) { |
| | 0 | 993 | | return true; |
| | | 994 | | } |
| | 0 | 995 | | return Equals(_unknownFields, other._unknownFields); |
| | | 996 | | } |
| | | 997 | | |
| | | 998 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 999 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 1000 | | public override int GetHashCode() { |
| | 0 | 1001 | | int hash = 1; |
| | 0 | 1002 | | if (_unknownFields != null) { |
| | 0 | 1003 | | hash ^= _unknownFields.GetHashCode(); |
| | | 1004 | | } |
| | 0 | 1005 | | return hash; |
| | | 1006 | | } |
| | | 1007 | | |
| | | 1008 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 1009 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 1010 | | public override string ToString() { |
| | 0 | 1011 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | | 1012 | | } |
| | | 1013 | | |
| | | 1014 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 1015 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 1016 | | public void WriteTo(pb::CodedOutputStream output) { |
| | | 1017 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 1018 | | output.WriteRawMessage(this); |
| | | 1019 | | #else |
| | 0 | 1020 | | if (_unknownFields != null) { |
| | 0 | 1021 | | _unknownFields.WriteTo(output); |
| | | 1022 | | } |
| | | 1023 | | #endif |
| | 0 | 1024 | | } |
| | | 1025 | | |
| | | 1026 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 1027 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 1028 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 1029 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | | 1030 | | if (_unknownFields != null) { |
| | | 1031 | | _unknownFields.WriteTo(ref output); |
| | | 1032 | | } |
| | | 1033 | | } |
| | | 1034 | | #endif |
| | | 1035 | | |
| | | 1036 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 1037 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 1038 | | public int CalculateSize() { |
| | 0 | 1039 | | int size = 0; |
| | 0 | 1040 | | if (_unknownFields != null) { |
| | 0 | 1041 | | size += _unknownFields.CalculateSize(); |
| | | 1042 | | } |
| | 0 | 1043 | | return size; |
| | | 1044 | | } |
| | | 1045 | | |
| | | 1046 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 1047 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 1048 | | public void MergeFrom(TeleportToResponse other) { |
| | 0 | 1049 | | if (other == null) { |
| | 0 | 1050 | | return; |
| | | 1051 | | } |
| | 0 | 1052 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 0 | 1053 | | } |
| | | 1054 | | |
| | | 1055 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 1056 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 1057 | | public void MergeFrom(pb::CodedInputStream input) { |
| | | 1058 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 1059 | | input.ReadRawMessage(this); |
| | | 1060 | | #else |
| | | 1061 | | uint tag; |
| | 0 | 1062 | | while ((tag = input.ReadTag()) != 0) { |
| | | 1063 | | switch(tag) { |
| | | 1064 | | default: |
| | 0 | 1065 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | | 1066 | | break; |
| | | 1067 | | } |
| | | 1068 | | } |
| | | 1069 | | #endif |
| | 0 | 1070 | | } |
| | | 1071 | | |
| | | 1072 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | | 1073 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | 1074 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | | 1075 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | | 1076 | | uint tag; |
| | | 1077 | | while ((tag = input.ReadTag()) != 0) { |
| | | 1078 | | switch(tag) { |
| | | 1079 | | default: |
| | | 1080 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | | 1081 | | break; |
| | | 1082 | | } |
| | | 1083 | | } |
| | | 1084 | | } |
| | | 1085 | | #endif |
| | | 1086 | | |
| | | 1087 | | } |
| | | 1088 | | |
| | | 1089 | | #endregion |
| | | 1090 | | |
| | | 1091 | | } |
| | | 1092 | | |
| | | 1093 | | #endregion Designer generated code |