| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: decentraland/renderer/renderer_services/scene_controller.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/scene_controller |
| | 15 | | public static partial class SceneControllerReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for decentraland/renderer/renderer_services/scene_controller.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static SceneControllerReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "Cj5kZWNlbnRyYWxhbmQvcmVuZGVyZXIvcmVuZGVyZXJfc2VydmljZXMvc2Nl", |
| | 28 | | "bmVfY29udHJvbGxlci5wcm90bxInZGVjZW50cmFsYW5kLnJlbmRlcmVyLnJl", |
| | 29 | | "bmRlcmVyX3NlcnZpY2VzGiBkZWNlbnRyYWxhbmQvY29tbW9uL2VudGl0eS5w", |
| | 30 | | "cm90byLiAQoQTG9hZFNjZW5lTWVzc2FnZRIrCgZlbnRpdHkYASABKAsyGy5k", |
| | 31 | | "ZWNlbnRyYWxhbmQuY29tbW9uLkVudGl0eRIUCgxzY2VuZV9udW1iZXIYAiAB", |
| | 32 | | "KAUSEgoKc2NlbmVfbmFtZRgDIAEoCRIQCghiYXNlX3VybBgEIAEoCRIeChZi", |
| | 33 | | "YXNlX3VybF9hc3NldF9idW5kbGVzGAUgASgJEh4KFmlzX3BvcnRhYmxlX2V4", |
| | 34 | | "cGVyaWVuY2UYBiABKAgSFwoPaXNfZ2xvYmFsX3NjZW5lGAcgASgIEgwKBHNk", |
| | 35 | | "azcYCCABKAgiIgoPTG9hZFNjZW5lUmVzdWx0Eg8KB3N1Y2Nlc3MYASABKAgi", |
| | 36 | | "GAoWR2V0Q3VycmVudFN0YXRlTWVzc2FnZSIUChJVbmxvYWRTY2VuZU1lc3Nh", |
| | 37 | | "Z2UiEwoRVW5sb2FkU2NlbmVSZXN1bHQiIwoQQ1JEVFNjZW5lTWVzc2FnZRIP", |
| | 38 | | "CgdwYXlsb2FkGAEgASgMIkIKFUNSRFRTY2VuZUN1cnJlbnRTdGF0ZRIYChBo", |
| | 39 | | "YXNfb3duX2VudGl0aWVzGAEgASgIEg8KB3BheWxvYWQYAiABKAwyxwQKGVJw", |
| | 40 | | "Y1NjZW5lQ29udHJvbGxlclNlcnZpY2USggEKCUxvYWRTY2VuZRI5LmRlY2Vu", |
| | 41 | | "dHJhbGFuZC5yZW5kZXJlci5yZW5kZXJlcl9zZXJ2aWNlcy5Mb2FkU2NlbmVN", |
| | 42 | | "ZXNzYWdlGjguZGVjZW50cmFsYW5kLnJlbmRlcmVyLnJlbmRlcmVyX3NlcnZp", |
| | 43 | | "Y2VzLkxvYWRTY2VuZVJlc3VsdCIAEogBCgtVbmxvYWRTY2VuZRI7LmRlY2Vu", |
| | 44 | | "dHJhbGFuZC5yZW5kZXJlci5yZW5kZXJlcl9zZXJ2aWNlcy5VbmxvYWRTY2Vu", |
| | 45 | | "ZU1lc3NhZ2UaOi5kZWNlbnRyYWxhbmQucmVuZGVyZXIucmVuZGVyZXJfc2Vy", |
| | 46 | | "dmljZXMuVW5sb2FkU2NlbmVSZXN1bHQiABKCAQoIU2VuZENyZHQSOS5kZWNl", |
| | 47 | | "bnRyYWxhbmQucmVuZGVyZXIucmVuZGVyZXJfc2VydmljZXMuQ1JEVFNjZW5l", |
| | 48 | | "TWVzc2FnZRo5LmRlY2VudHJhbGFuZC5yZW5kZXJlci5yZW5kZXJlcl9zZXJ2", |
| | 49 | | "aWNlcy5DUkRUU2NlbmVNZXNzYWdlIgASlAEKD0dldEN1cnJlbnRTdGF0ZRI/", |
| | 50 | | "LmRlY2VudHJhbGFuZC5yZW5kZXJlci5yZW5kZXJlcl9zZXJ2aWNlcy5HZXRD", |
| | 51 | | "dXJyZW50U3RhdGVNZXNzYWdlGj4uZGVjZW50cmFsYW5kLnJlbmRlcmVyLnJl", |
| | 52 | | "bmRlcmVyX3NlcnZpY2VzLkNSRFRTY2VuZUN1cnJlbnRTdGF0ZSIAYgZwcm90", |
| | 53 | | "bzM=")); |
| | 54 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 55 | | new pbr::FileDescriptor[] { global::Decentraland.Common.EntityReflection.Descriptor, }, |
| | 56 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 57 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.LoadSceneMessage), globa |
| | 58 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.LoadSceneResult), global |
| | 59 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.GetCurrentStateMessage), |
| | 60 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.UnloadSceneMessage), glo |
| | 61 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.UnloadSceneResult), glob |
| | 62 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.CRDTSceneMessage), globa |
| | 63 | | new pbr::GeneratedClrTypeInfo(typeof(global::Decentraland.Renderer.RendererServices.CRDTSceneCurrentState), |
| | 64 | | })); |
| | 65 | | } |
| | 66 | | #endregion |
| | 67 | |
|
| | 68 | | } |
| | 69 | | #region Messages |
| | 70 | | public sealed partial class LoadSceneMessage : pb::IMessage<LoadSceneMessage> |
| | 71 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 72 | | , pb::IBufferMessage |
| | 73 | | #endif |
| | 74 | | { |
| | 75 | | private static readonly pb::MessageParser<LoadSceneMessage> _parser = new pb::MessageParser<LoadSceneMessage>(() => |
| | 76 | | private pb::UnknownFieldSet _unknownFields; |
| | 77 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 78 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 79 | | public static pb::MessageParser<LoadSceneMessage> Parser { get { return _parser; } } |
| | 80 | |
|
| | 81 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 82 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 83 | | public static pbr::MessageDescriptor Descriptor { |
| | 84 | | get { return global::Decentraland.Renderer.RendererServices.SceneControllerReflection.Descriptor.MessageTypes[0]; |
| | 85 | | } |
| | 86 | |
|
| | 87 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 88 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 89 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 90 | | get { return Descriptor; } |
| | 91 | | } |
| | 92 | |
|
| | 93 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 94 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 95 | | public LoadSceneMessage() { |
| | 96 | | OnConstruction(); |
| | 97 | | } |
| | 98 | |
|
| | 99 | | partial void OnConstruction(); |
| | 100 | |
|
| | 101 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 102 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 103 | | public LoadSceneMessage(LoadSceneMessage other) : this() { |
| | 104 | | entity_ = other.entity_ != null ? other.entity_.Clone() : null; |
| | 105 | | sceneNumber_ = other.sceneNumber_; |
| | 106 | | sceneName_ = other.sceneName_; |
| | 107 | | baseUrl_ = other.baseUrl_; |
| | 108 | | baseUrlAssetBundles_ = other.baseUrlAssetBundles_; |
| | 109 | | isPortableExperience_ = other.isPortableExperience_; |
| | 110 | | isGlobalScene_ = other.isGlobalScene_; |
| | 111 | | sdk7_ = other.sdk7_; |
| | 112 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 113 | | } |
| | 114 | |
|
| | 115 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 116 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 117 | | public LoadSceneMessage Clone() { |
| | 118 | | return new LoadSceneMessage(this); |
| | 119 | | } |
| | 120 | |
|
| | 121 | | /// <summary>Field number for the "entity" field.</summary> |
| | 122 | | public const int EntityFieldNumber = 1; |
| | 123 | | private global::Decentraland.Common.Entity entity_; |
| | 124 | | /// <summary> |
| | 125 | | /// entity and content mappings of the scene (string scene_id = 1; THIS IS NOW entity.id) |
| | 126 | | /// </summary> |
| | 127 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 128 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 129 | | public global::Decentraland.Common.Entity Entity { |
| | 130 | | get { return entity_; } |
| | 131 | | set { |
| | 132 | | entity_ = value; |
| | 133 | | } |
| | 134 | | } |
| | 135 | |
|
| | 136 | | /// <summary>Field number for the "scene_number" field.</summary> |
| | 137 | | public const int SceneNumberFieldNumber = 2; |
| | 138 | | private int sceneNumber_; |
| | 139 | | /// <summary> |
| | 140 | | /// scene number is used to refer to the scene internally in kernel |
| | 141 | | /// </summary> |
| | 142 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 143 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 144 | | public int SceneNumber { |
| | 145 | | get { return sceneNumber_; } |
| | 146 | | set { |
| | 147 | | sceneNumber_ = value; |
| | 148 | | } |
| | 149 | | } |
| | 150 | |
|
| | 151 | | /// <summary>Field number for the "scene_name" field.</summary> |
| | 152 | | public const int SceneNameFieldNumber = 3; |
| | 153 | | private string sceneName_ = ""; |
| | 154 | | /// <summary> |
| | 155 | | /// name for the UI, handy for portable experiences |
| | 156 | | /// </summary> |
| | 157 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 158 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 159 | | public string SceneName { |
| | 160 | | get { return sceneName_; } |
| | 161 | | set { |
| | 162 | | sceneName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 163 | | } |
| | 164 | | } |
| | 165 | |
|
| | 166 | | /// <summary>Field number for the "base_url" field.</summary> |
| | 167 | | public const int BaseUrlFieldNumber = 4; |
| | 168 | | private string baseUrl_ = ""; |
| | 169 | | /// <summary> |
| | 170 | | /// baseUrl to be used to resolve the entity's content mappings |
| | 171 | | /// </summary> |
| | 172 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 173 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 174 | | public string BaseUrl { |
| | 175 | | get { return baseUrl_; } |
| | 176 | | set { |
| | 177 | | baseUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 178 | | } |
| | 179 | | } |
| | 180 | |
|
| | 181 | | /// <summary>Field number for the "base_url_asset_bundles" field.</summary> |
| | 182 | | public const int BaseUrlAssetBundlesFieldNumber = 5; |
| | 183 | | private string baseUrlAssetBundles_ = ""; |
| | 184 | | /// <summary> |
| | 185 | | /// if present, this scene will try to download asset bundles |
| | 186 | | /// </summary> |
| | 187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 189 | | public string BaseUrlAssetBundles { |
| | 190 | | get { return baseUrlAssetBundles_; } |
| | 191 | | set { |
| | 192 | | baseUrlAssetBundles_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 193 | | } |
| | 194 | | } |
| | 195 | |
|
| | 196 | | /// <summary>Field number for the "is_portable_experience" field.</summary> |
| | 197 | | public const int IsPortableExperienceFieldNumber = 6; |
| | 198 | | private bool isPortableExperience_; |
| | 199 | | /// <summary> |
| | 200 | | /// this scene is bound to a wearable |
| | 201 | | /// </summary> |
| | 202 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 203 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 204 | | public bool IsPortableExperience { |
| | 205 | | get { return isPortableExperience_; } |
| | 206 | | set { |
| | 207 | | isPortableExperience_ = value; |
| | 208 | | } |
| | 209 | | } |
| | 210 | |
|
| | 211 | | /// <summary>Field number for the "is_global_scene" field.</summary> |
| | 212 | | public const int IsGlobalSceneFieldNumber = 7; |
| | 213 | | private bool isGlobalScene_; |
| | 214 | | /// <summary> |
| | 215 | | /// this scene is a global scene, like the avatar scene |
| | 216 | | /// </summary> |
| | 217 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 218 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 219 | | public bool IsGlobalScene { |
| | 220 | | get { return isGlobalScene_; } |
| | 221 | | set { |
| | 222 | | isGlobalScene_ = value; |
| | 223 | | } |
| | 224 | | } |
| | 225 | |
|
| | 226 | | /// <summary>Field number for the "sdk7" field.</summary> |
| | 227 | | public const int Sdk7FieldNumber = 8; |
| | 228 | | private bool sdk7_; |
| | 229 | | /// <summary> |
| | 230 | | /// this scene uses the new runtime |
| | 231 | | /// </summary> |
| | 232 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 233 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 234 | | public bool Sdk7 { |
| | 235 | | get { return sdk7_; } |
| | 236 | | set { |
| | 237 | | sdk7_ = value; |
| | 238 | | } |
| | 239 | | } |
| | 240 | |
|
| | 241 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 242 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 243 | | public override bool Equals(object other) { |
| | 244 | | return Equals(other as LoadSceneMessage); |
| | 245 | | } |
| | 246 | |
|
| | 247 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 248 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 249 | | public bool Equals(LoadSceneMessage other) { |
| | 250 | | if (ReferenceEquals(other, null)) { |
| | 251 | | return false; |
| | 252 | | } |
| | 253 | | if (ReferenceEquals(other, this)) { |
| | 254 | | return true; |
| | 255 | | } |
| | 256 | | if (!object.Equals(Entity, other.Entity)) return false; |
| | 257 | | if (SceneNumber != other.SceneNumber) return false; |
| | 258 | | if (SceneName != other.SceneName) return false; |
| | 259 | | if (BaseUrl != other.BaseUrl) return false; |
| | 260 | | if (BaseUrlAssetBundles != other.BaseUrlAssetBundles) return false; |
| | 261 | | if (IsPortableExperience != other.IsPortableExperience) return false; |
| | 262 | | if (IsGlobalScene != other.IsGlobalScene) return false; |
| | 263 | | if (Sdk7 != other.Sdk7) return false; |
| | 264 | | return Equals(_unknownFields, other._unknownFields); |
| | 265 | | } |
| | 266 | |
|
| | 267 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 268 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 269 | | public override int GetHashCode() { |
| | 270 | | int hash = 1; |
| | 271 | | if (entity_ != null) hash ^= Entity.GetHashCode(); |
| | 272 | | if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode(); |
| | 273 | | if (SceneName.Length != 0) hash ^= SceneName.GetHashCode(); |
| | 274 | | if (BaseUrl.Length != 0) hash ^= BaseUrl.GetHashCode(); |
| | 275 | | if (BaseUrlAssetBundles.Length != 0) hash ^= BaseUrlAssetBundles.GetHashCode(); |
| | 276 | | if (IsPortableExperience != false) hash ^= IsPortableExperience.GetHashCode(); |
| | 277 | | if (IsGlobalScene != false) hash ^= IsGlobalScene.GetHashCode(); |
| | 278 | | if (Sdk7 != false) hash ^= Sdk7.GetHashCode(); |
| | 279 | | if (_unknownFields != null) { |
| | 280 | | hash ^= _unknownFields.GetHashCode(); |
| | 281 | | } |
| | 282 | | return hash; |
| | 283 | | } |
| | 284 | |
|
| | 285 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 286 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 287 | | public override string ToString() { |
| | 288 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 289 | | } |
| | 290 | |
|
| | 291 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 292 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 293 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 294 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 295 | | output.WriteRawMessage(this); |
| | 296 | | #else |
| | 297 | | if (entity_ != null) { |
| | 298 | | output.WriteRawTag(10); |
| | 299 | | output.WriteMessage(Entity); |
| | 300 | | } |
| | 301 | | if (SceneNumber != 0) { |
| | 302 | | output.WriteRawTag(16); |
| | 303 | | output.WriteInt32(SceneNumber); |
| | 304 | | } |
| | 305 | | if (SceneName.Length != 0) { |
| | 306 | | output.WriteRawTag(26); |
| | 307 | | output.WriteString(SceneName); |
| | 308 | | } |
| | 309 | | if (BaseUrl.Length != 0) { |
| | 310 | | output.WriteRawTag(34); |
| | 311 | | output.WriteString(BaseUrl); |
| | 312 | | } |
| | 313 | | if (BaseUrlAssetBundles.Length != 0) { |
| | 314 | | output.WriteRawTag(42); |
| | 315 | | output.WriteString(BaseUrlAssetBundles); |
| | 316 | | } |
| | 317 | | if (IsPortableExperience != false) { |
| | 318 | | output.WriteRawTag(48); |
| | 319 | | output.WriteBool(IsPortableExperience); |
| | 320 | | } |
| | 321 | | if (IsGlobalScene != false) { |
| | 322 | | output.WriteRawTag(56); |
| | 323 | | output.WriteBool(IsGlobalScene); |
| | 324 | | } |
| | 325 | | if (Sdk7 != false) { |
| | 326 | | output.WriteRawTag(64); |
| | 327 | | output.WriteBool(Sdk7); |
| | 328 | | } |
| | 329 | | if (_unknownFields != null) { |
| | 330 | | _unknownFields.WriteTo(output); |
| | 331 | | } |
| | 332 | | #endif |
| | 333 | | } |
| | 334 | |
|
| | 335 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 336 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 337 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 338 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 339 | | if (entity_ != null) { |
| | 340 | | output.WriteRawTag(10); |
| | 341 | | output.WriteMessage(Entity); |
| | 342 | | } |
| | 343 | | if (SceneNumber != 0) { |
| | 344 | | output.WriteRawTag(16); |
| | 345 | | output.WriteInt32(SceneNumber); |
| | 346 | | } |
| | 347 | | if (SceneName.Length != 0) { |
| | 348 | | output.WriteRawTag(26); |
| | 349 | | output.WriteString(SceneName); |
| | 350 | | } |
| | 351 | | if (BaseUrl.Length != 0) { |
| | 352 | | output.WriteRawTag(34); |
| | 353 | | output.WriteString(BaseUrl); |
| | 354 | | } |
| | 355 | | if (BaseUrlAssetBundles.Length != 0) { |
| | 356 | | output.WriteRawTag(42); |
| | 357 | | output.WriteString(BaseUrlAssetBundles); |
| | 358 | | } |
| | 359 | | if (IsPortableExperience != false) { |
| | 360 | | output.WriteRawTag(48); |
| | 361 | | output.WriteBool(IsPortableExperience); |
| | 362 | | } |
| | 363 | | if (IsGlobalScene != false) { |
| | 364 | | output.WriteRawTag(56); |
| | 365 | | output.WriteBool(IsGlobalScene); |
| | 366 | | } |
| | 367 | | if (Sdk7 != false) { |
| | 368 | | output.WriteRawTag(64); |
| | 369 | | output.WriteBool(Sdk7); |
| | 370 | | } |
| | 371 | | if (_unknownFields != null) { |
| | 372 | | _unknownFields.WriteTo(ref output); |
| | 373 | | } |
| | 374 | | } |
| | 375 | | #endif |
| | 376 | |
|
| | 377 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 378 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 379 | | public int CalculateSize() { |
| | 380 | | int size = 0; |
| | 381 | | if (entity_ != null) { |
| | 382 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Entity); |
| | 383 | | } |
| | 384 | | if (SceneNumber != 0) { |
| | 385 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber); |
| | 386 | | } |
| | 387 | | if (SceneName.Length != 0) { |
| | 388 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneName); |
| | 389 | | } |
| | 390 | | if (BaseUrl.Length != 0) { |
| | 391 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseUrl); |
| | 392 | | } |
| | 393 | | if (BaseUrlAssetBundles.Length != 0) { |
| | 394 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseUrlAssetBundles); |
| | 395 | | } |
| | 396 | | if (IsPortableExperience != false) { |
| | 397 | | size += 1 + 1; |
| | 398 | | } |
| | 399 | | if (IsGlobalScene != false) { |
| | 400 | | size += 1 + 1; |
| | 401 | | } |
| | 402 | | if (Sdk7 != false) { |
| | 403 | | size += 1 + 1; |
| | 404 | | } |
| | 405 | | if (_unknownFields != null) { |
| | 406 | | size += _unknownFields.CalculateSize(); |
| | 407 | | } |
| | 408 | | return size; |
| | 409 | | } |
| | 410 | |
|
| | 411 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 412 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 413 | | public void MergeFrom(LoadSceneMessage other) { |
| | 414 | | if (other == null) { |
| | 415 | | return; |
| | 416 | | } |
| | 417 | | if (other.entity_ != null) { |
| | 418 | | if (entity_ == null) { |
| | 419 | | Entity = new global::Decentraland.Common.Entity(); |
| | 420 | | } |
| | 421 | | Entity.MergeFrom(other.Entity); |
| | 422 | | } |
| | 423 | | if (other.SceneNumber != 0) { |
| | 424 | | SceneNumber = other.SceneNumber; |
| | 425 | | } |
| | 426 | | if (other.SceneName.Length != 0) { |
| | 427 | | SceneName = other.SceneName; |
| | 428 | | } |
| | 429 | | if (other.BaseUrl.Length != 0) { |
| | 430 | | BaseUrl = other.BaseUrl; |
| | 431 | | } |
| | 432 | | if (other.BaseUrlAssetBundles.Length != 0) { |
| | 433 | | BaseUrlAssetBundles = other.BaseUrlAssetBundles; |
| | 434 | | } |
| | 435 | | if (other.IsPortableExperience != false) { |
| | 436 | | IsPortableExperience = other.IsPortableExperience; |
| | 437 | | } |
| | 438 | | if (other.IsGlobalScene != false) { |
| | 439 | | IsGlobalScene = other.IsGlobalScene; |
| | 440 | | } |
| | 441 | | if (other.Sdk7 != false) { |
| | 442 | | Sdk7 = other.Sdk7; |
| | 443 | | } |
| | 444 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 445 | | } |
| | 446 | |
|
| | 447 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 448 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 449 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 450 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 451 | | input.ReadRawMessage(this); |
| | 452 | | #else |
| | 453 | | uint tag; |
| | 454 | | while ((tag = input.ReadTag()) != 0) { |
| | 455 | | switch(tag) { |
| | 456 | | default: |
| | 457 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 458 | | break; |
| | 459 | | case 10: { |
| | 460 | | if (entity_ == null) { |
| | 461 | | Entity = new global::Decentraland.Common.Entity(); |
| | 462 | | } |
| | 463 | | input.ReadMessage(Entity); |
| | 464 | | break; |
| | 465 | | } |
| | 466 | | case 16: { |
| | 467 | | SceneNumber = input.ReadInt32(); |
| | 468 | | break; |
| | 469 | | } |
| | 470 | | case 26: { |
| | 471 | | SceneName = input.ReadString(); |
| | 472 | | break; |
| | 473 | | } |
| | 474 | | case 34: { |
| | 475 | | BaseUrl = input.ReadString(); |
| | 476 | | break; |
| | 477 | | } |
| | 478 | | case 42: { |
| | 479 | | BaseUrlAssetBundles = input.ReadString(); |
| | 480 | | break; |
| | 481 | | } |
| | 482 | | case 48: { |
| | 483 | | IsPortableExperience = input.ReadBool(); |
| | 484 | | break; |
| | 485 | | } |
| | 486 | | case 56: { |
| | 487 | | IsGlobalScene = input.ReadBool(); |
| | 488 | | break; |
| | 489 | | } |
| | 490 | | case 64: { |
| | 491 | | Sdk7 = input.ReadBool(); |
| | 492 | | break; |
| | 493 | | } |
| | 494 | | } |
| | 495 | | } |
| | 496 | | #endif |
| | 497 | | } |
| | 498 | |
|
| | 499 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 500 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 501 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 502 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 503 | | uint tag; |
| | 504 | | while ((tag = input.ReadTag()) != 0) { |
| | 505 | | switch(tag) { |
| | 506 | | default: |
| | 507 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 508 | | break; |
| | 509 | | case 10: { |
| | 510 | | if (entity_ == null) { |
| | 511 | | Entity = new global::Decentraland.Common.Entity(); |
| | 512 | | } |
| | 513 | | input.ReadMessage(Entity); |
| | 514 | | break; |
| | 515 | | } |
| | 516 | | case 16: { |
| | 517 | | SceneNumber = input.ReadInt32(); |
| | 518 | | break; |
| | 519 | | } |
| | 520 | | case 26: { |
| | 521 | | SceneName = input.ReadString(); |
| | 522 | | break; |
| | 523 | | } |
| | 524 | | case 34: { |
| | 525 | | BaseUrl = input.ReadString(); |
| | 526 | | break; |
| | 527 | | } |
| | 528 | | case 42: { |
| | 529 | | BaseUrlAssetBundles = input.ReadString(); |
| | 530 | | break; |
| | 531 | | } |
| | 532 | | case 48: { |
| | 533 | | IsPortableExperience = input.ReadBool(); |
| | 534 | | break; |
| | 535 | | } |
| | 536 | | case 56: { |
| | 537 | | IsGlobalScene = input.ReadBool(); |
| | 538 | | break; |
| | 539 | | } |
| | 540 | | case 64: { |
| | 541 | | Sdk7 = input.ReadBool(); |
| | 542 | | break; |
| | 543 | | } |
| | 544 | | } |
| | 545 | | } |
| | 546 | | } |
| | 547 | | #endif |
| | 548 | |
|
| | 549 | | } |
| | 550 | |
|
| | 551 | | public sealed partial class LoadSceneResult : pb::IMessage<LoadSceneResult> |
| | 552 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 553 | | , pb::IBufferMessage |
| | 554 | | #endif |
| | 555 | | { |
| | 556 | | private static readonly pb::MessageParser<LoadSceneResult> _parser = new pb::MessageParser<LoadSceneResult>(() => ne |
| | 557 | | private pb::UnknownFieldSet _unknownFields; |
| | 558 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 559 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 560 | | public static pb::MessageParser<LoadSceneResult> Parser { get { return _parser; } } |
| | 561 | |
|
| | 562 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 563 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 564 | | public static pbr::MessageDescriptor Descriptor { |
| | 565 | | get { return global::Decentraland.Renderer.RendererServices.SceneControllerReflection.Descriptor.MessageTypes[1]; |
| | 566 | | } |
| | 567 | |
|
| | 568 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 569 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 570 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 571 | | get { return Descriptor; } |
| | 572 | | } |
| | 573 | |
|
| | 574 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 575 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 576 | | public LoadSceneResult() { |
| | 577 | | OnConstruction(); |
| | 578 | | } |
| | 579 | |
|
| | 580 | | partial void OnConstruction(); |
| | 581 | |
|
| | 582 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 583 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 584 | | public LoadSceneResult(LoadSceneResult other) : this() { |
| | 585 | | success_ = other.success_; |
| | 586 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 587 | | } |
| | 588 | |
|
| | 589 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 590 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 591 | | public LoadSceneResult Clone() { |
| | 592 | | return new LoadSceneResult(this); |
| | 593 | | } |
| | 594 | |
|
| | 595 | | /// <summary>Field number for the "success" field.</summary> |
| | 596 | | public const int SuccessFieldNumber = 1; |
| | 597 | | private bool success_; |
| | 598 | | /// <summary> |
| | 599 | | /// if false, the port should be closed and resources released. |
| | 600 | | /// </summary> |
| | 601 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 602 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 603 | | public bool Success { |
| | 604 | | get { return success_; } |
| | 605 | | set { |
| | 606 | | success_ = value; |
| | 607 | | } |
| | 608 | | } |
| | 609 | |
|
| | 610 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 611 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 612 | | public override bool Equals(object other) { |
| | 613 | | return Equals(other as LoadSceneResult); |
| | 614 | | } |
| | 615 | |
|
| | 616 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 617 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 618 | | public bool Equals(LoadSceneResult other) { |
| | 619 | | if (ReferenceEquals(other, null)) { |
| | 620 | | return false; |
| | 621 | | } |
| | 622 | | if (ReferenceEquals(other, this)) { |
| | 623 | | return true; |
| | 624 | | } |
| | 625 | | if (Success != other.Success) return false; |
| | 626 | | return Equals(_unknownFields, other._unknownFields); |
| | 627 | | } |
| | 628 | |
|
| | 629 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 630 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 631 | | public override int GetHashCode() { |
| | 632 | | int hash = 1; |
| | 633 | | if (Success != false) hash ^= Success.GetHashCode(); |
| | 634 | | if (_unknownFields != null) { |
| | 635 | | hash ^= _unknownFields.GetHashCode(); |
| | 636 | | } |
| | 637 | | return hash; |
| | 638 | | } |
| | 639 | |
|
| | 640 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 641 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 642 | | public override string ToString() { |
| | 643 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 644 | | } |
| | 645 | |
|
| | 646 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 647 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 648 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 649 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 650 | | output.WriteRawMessage(this); |
| | 651 | | #else |
| | 652 | | if (Success != false) { |
| | 653 | | output.WriteRawTag(8); |
| | 654 | | output.WriteBool(Success); |
| | 655 | | } |
| | 656 | | if (_unknownFields != null) { |
| | 657 | | _unknownFields.WriteTo(output); |
| | 658 | | } |
| | 659 | | #endif |
| | 660 | | } |
| | 661 | |
|
| | 662 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 663 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 664 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 665 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 666 | | if (Success != false) { |
| | 667 | | output.WriteRawTag(8); |
| | 668 | | output.WriteBool(Success); |
| | 669 | | } |
| | 670 | | if (_unknownFields != null) { |
| | 671 | | _unknownFields.WriteTo(ref output); |
| | 672 | | } |
| | 673 | | } |
| | 674 | | #endif |
| | 675 | |
|
| | 676 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 677 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 678 | | public int CalculateSize() { |
| | 679 | | int size = 0; |
| | 680 | | if (Success != false) { |
| | 681 | | size += 1 + 1; |
| | 682 | | } |
| | 683 | | if (_unknownFields != null) { |
| | 684 | | size += _unknownFields.CalculateSize(); |
| | 685 | | } |
| | 686 | | return size; |
| | 687 | | } |
| | 688 | |
|
| | 689 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 690 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 691 | | public void MergeFrom(LoadSceneResult other) { |
| | 692 | | if (other == null) { |
| | 693 | | return; |
| | 694 | | } |
| | 695 | | if (other.Success != false) { |
| | 696 | | Success = other.Success; |
| | 697 | | } |
| | 698 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 699 | | } |
| | 700 | |
|
| | 701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 703 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 704 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 705 | | input.ReadRawMessage(this); |
| | 706 | | #else |
| | 707 | | uint tag; |
| | 708 | | while ((tag = input.ReadTag()) != 0) { |
| | 709 | | switch(tag) { |
| | 710 | | default: |
| | 711 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 712 | | break; |
| | 713 | | case 8: { |
| | 714 | | Success = input.ReadBool(); |
| | 715 | | break; |
| | 716 | | } |
| | 717 | | } |
| | 718 | | } |
| | 719 | | #endif |
| | 720 | | } |
| | 721 | |
|
| | 722 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 723 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 724 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 725 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 726 | | uint tag; |
| | 727 | | while ((tag = input.ReadTag()) != 0) { |
| | 728 | | switch(tag) { |
| | 729 | | default: |
| | 730 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 731 | | break; |
| | 732 | | case 8: { |
| | 733 | | Success = input.ReadBool(); |
| | 734 | | break; |
| | 735 | | } |
| | 736 | | } |
| | 737 | | } |
| | 738 | | } |
| | 739 | | #endif |
| | 740 | |
|
| | 741 | | } |
| | 742 | |
|
| | 743 | | public sealed partial class GetCurrentStateMessage : pb::IMessage<GetCurrentStateMessage> |
| | 744 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 745 | | , pb::IBufferMessage |
| | 746 | | #endif |
| | 747 | | { |
| | 748 | | private static readonly pb::MessageParser<GetCurrentStateMessage> _parser = new pb::MessageParser<GetCurrentStateMes |
| | 749 | | private pb::UnknownFieldSet _unknownFields; |
| | 750 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 751 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 752 | | public static pb::MessageParser<GetCurrentStateMessage> Parser { get { return _parser; } } |
| | 753 | |
|
| | 754 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 755 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 756 | | public static pbr::MessageDescriptor Descriptor { |
| | 757 | | get { return global::Decentraland.Renderer.RendererServices.SceneControllerReflection.Descriptor.MessageTypes[2]; |
| | 758 | | } |
| | 759 | |
|
| | 760 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 761 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 762 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 763 | | get { return Descriptor; } |
| | 764 | | } |
| | 765 | |
|
| | 766 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 767 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 768 | | public GetCurrentStateMessage() { |
| | 769 | | OnConstruction(); |
| | 770 | | } |
| | 771 | |
|
| | 772 | | partial void OnConstruction(); |
| | 773 | |
|
| | 774 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 775 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 776 | | public GetCurrentStateMessage(GetCurrentStateMessage other) : this() { |
| | 777 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 778 | | } |
| | 779 | |
|
| | 780 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 781 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 782 | | public GetCurrentStateMessage Clone() { |
| | 783 | | return new GetCurrentStateMessage(this); |
| | 784 | | } |
| | 785 | |
|
| | 786 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 787 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 788 | | public override bool Equals(object other) { |
| | 789 | | return Equals(other as GetCurrentStateMessage); |
| | 790 | | } |
| | 791 | |
|
| | 792 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 793 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 794 | | public bool Equals(GetCurrentStateMessage other) { |
| | 795 | | if (ReferenceEquals(other, null)) { |
| | 796 | | return false; |
| | 797 | | } |
| | 798 | | if (ReferenceEquals(other, this)) { |
| | 799 | | return true; |
| | 800 | | } |
| | 801 | | return Equals(_unknownFields, other._unknownFields); |
| | 802 | | } |
| | 803 | |
|
| | 804 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 805 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 806 | | public override int GetHashCode() { |
| | 807 | | int hash = 1; |
| | 808 | | if (_unknownFields != null) { |
| | 809 | | hash ^= _unknownFields.GetHashCode(); |
| | 810 | | } |
| | 811 | | return hash; |
| | 812 | | } |
| | 813 | |
|
| | 814 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 815 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 816 | | public override string ToString() { |
| | 817 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 818 | | } |
| | 819 | |
|
| | 820 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 821 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 822 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 823 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 824 | | output.WriteRawMessage(this); |
| | 825 | | #else |
| | 826 | | if (_unknownFields != null) { |
| | 827 | | _unknownFields.WriteTo(output); |
| | 828 | | } |
| | 829 | | #endif |
| | 830 | | } |
| | 831 | |
|
| | 832 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 833 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 834 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 835 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 836 | | if (_unknownFields != null) { |
| | 837 | | _unknownFields.WriteTo(ref output); |
| | 838 | | } |
| | 839 | | } |
| | 840 | | #endif |
| | 841 | |
|
| | 842 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 843 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 844 | | public int CalculateSize() { |
| | 845 | | int size = 0; |
| | 846 | | if (_unknownFields != null) { |
| | 847 | | size += _unknownFields.CalculateSize(); |
| | 848 | | } |
| | 849 | | return size; |
| | 850 | | } |
| | 851 | |
|
| | 852 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 853 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 854 | | public void MergeFrom(GetCurrentStateMessage other) { |
| | 855 | | if (other == null) { |
| | 856 | | return; |
| | 857 | | } |
| | 858 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 859 | | } |
| | 860 | |
|
| | 861 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 862 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 863 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 864 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 865 | | input.ReadRawMessage(this); |
| | 866 | | #else |
| | 867 | | uint tag; |
| | 868 | | while ((tag = input.ReadTag()) != 0) { |
| | 869 | | switch(tag) { |
| | 870 | | default: |
| | 871 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 872 | | break; |
| | 873 | | } |
| | 874 | | } |
| | 875 | | #endif |
| | 876 | | } |
| | 877 | |
|
| | 878 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 879 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 880 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 881 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 882 | | uint tag; |
| | 883 | | while ((tag = input.ReadTag()) != 0) { |
| | 884 | | switch(tag) { |
| | 885 | | default: |
| | 886 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 887 | | break; |
| | 888 | | } |
| | 889 | | } |
| | 890 | | } |
| | 891 | | #endif |
| | 892 | |
|
| | 893 | | } |
| | 894 | |
|
| | 895 | | public sealed partial class UnloadSceneMessage : pb::IMessage<UnloadSceneMessage> |
| | 896 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 897 | | , pb::IBufferMessage |
| | 898 | | #endif |
| | 899 | | { |
| | 900 | | private static readonly pb::MessageParser<UnloadSceneMessage> _parser = new pb::MessageParser<UnloadSceneMessage>(() |
| | 901 | | private pb::UnknownFieldSet _unknownFields; |
| | 902 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 903 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 904 | | public static pb::MessageParser<UnloadSceneMessage> Parser { get { return _parser; } } |
| | 905 | |
|
| | 906 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 907 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 908 | | public static pbr::MessageDescriptor Descriptor { |
| | 909 | | get { return global::Decentraland.Renderer.RendererServices.SceneControllerReflection.Descriptor.MessageTypes[3]; |
| | 910 | | } |
| | 911 | |
|
| | 912 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 913 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 914 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 915 | | get { return Descriptor; } |
| | 916 | | } |
| | 917 | |
|
| | 918 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 919 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 920 | | public UnloadSceneMessage() { |
| | 921 | | OnConstruction(); |
| | 922 | | } |
| | 923 | |
|
| | 924 | | partial void OnConstruction(); |
| | 925 | |
|
| | 926 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 927 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 928 | | public UnloadSceneMessage(UnloadSceneMessage other) : this() { |
| | 929 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 930 | | } |
| | 931 | |
|
| | 932 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 933 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 934 | | public UnloadSceneMessage Clone() { |
| | 935 | | return new UnloadSceneMessage(this); |
| | 936 | | } |
| | 937 | |
|
| | 938 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 939 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 940 | | public override bool Equals(object other) { |
| | 941 | | return Equals(other as UnloadSceneMessage); |
| | 942 | | } |
| | 943 | |
|
| | 944 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 945 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 946 | | public bool Equals(UnloadSceneMessage other) { |
| | 947 | | if (ReferenceEquals(other, null)) { |
| | 948 | | return false; |
| | 949 | | } |
| | 950 | | if (ReferenceEquals(other, this)) { |
| | 951 | | return true; |
| | 952 | | } |
| | 953 | | return Equals(_unknownFields, other._unknownFields); |
| | 954 | | } |
| | 955 | |
|
| | 956 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 957 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 958 | | public override int GetHashCode() { |
| | 959 | | int hash = 1; |
| | 960 | | if (_unknownFields != null) { |
| | 961 | | hash ^= _unknownFields.GetHashCode(); |
| | 962 | | } |
| | 963 | | return hash; |
| | 964 | | } |
| | 965 | |
|
| | 966 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 967 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 968 | | public override string ToString() { |
| | 969 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 970 | | } |
| | 971 | |
|
| | 972 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 973 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 974 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 975 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 976 | | output.WriteRawMessage(this); |
| | 977 | | #else |
| | 978 | | if (_unknownFields != null) { |
| | 979 | | _unknownFields.WriteTo(output); |
| | 980 | | } |
| | 981 | | #endif |
| | 982 | | } |
| | 983 | |
|
| | 984 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 985 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 986 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 987 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 988 | | if (_unknownFields != null) { |
| | 989 | | _unknownFields.WriteTo(ref output); |
| | 990 | | } |
| | 991 | | } |
| | 992 | | #endif |
| | 993 | |
|
| | 994 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 995 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 996 | | public int CalculateSize() { |
| | 997 | | int size = 0; |
| | 998 | | if (_unknownFields != null) { |
| | 999 | | size += _unknownFields.CalculateSize(); |
| | 1000 | | } |
| | 1001 | | return size; |
| | 1002 | | } |
| | 1003 | |
|
| | 1004 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1005 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1006 | | public void MergeFrom(UnloadSceneMessage other) { |
| | 1007 | | if (other == null) { |
| | 1008 | | return; |
| | 1009 | | } |
| | 1010 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1011 | | } |
| | 1012 | |
|
| | 1013 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1014 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1015 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1016 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1017 | | input.ReadRawMessage(this); |
| | 1018 | | #else |
| | 1019 | | uint tag; |
| | 1020 | | while ((tag = input.ReadTag()) != 0) { |
| | 1021 | | switch(tag) { |
| | 1022 | | default: |
| | 1023 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1024 | | break; |
| | 1025 | | } |
| | 1026 | | } |
| | 1027 | | #endif |
| | 1028 | | } |
| | 1029 | |
|
| | 1030 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1031 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1032 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1033 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1034 | | uint tag; |
| | 1035 | | while ((tag = input.ReadTag()) != 0) { |
| | 1036 | | switch(tag) { |
| | 1037 | | default: |
| | 1038 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1039 | | break; |
| | 1040 | | } |
| | 1041 | | } |
| | 1042 | | } |
| | 1043 | | #endif |
| | 1044 | |
|
| | 1045 | | } |
| | 1046 | |
|
| | 1047 | | public sealed partial class UnloadSceneResult : pb::IMessage<UnloadSceneResult> |
| | 1048 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1049 | | , pb::IBufferMessage |
| | 1050 | | #endif |
| | 1051 | | { |
| | 1052 | | private static readonly pb::MessageParser<UnloadSceneResult> _parser = new pb::MessageParser<UnloadSceneResult>(() = |
| | 1053 | | private pb::UnknownFieldSet _unknownFields; |
| | 1054 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1055 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1056 | | public static pb::MessageParser<UnloadSceneResult> Parser { get { return _parser; } } |
| | 1057 | |
|
| | 1058 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1059 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1060 | | public static pbr::MessageDescriptor Descriptor { |
| | 1061 | | get { return global::Decentraland.Renderer.RendererServices.SceneControllerReflection.Descriptor.MessageTypes[4]; |
| | 1062 | | } |
| | 1063 | |
|
| | 1064 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1065 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1066 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1067 | | get { return Descriptor; } |
| | 1068 | | } |
| | 1069 | |
|
| | 1070 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1071 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1072 | | public UnloadSceneResult() { |
| | 1073 | | OnConstruction(); |
| | 1074 | | } |
| | 1075 | |
|
| | 1076 | | partial void OnConstruction(); |
| | 1077 | |
|
| | 1078 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1079 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1080 | | public UnloadSceneResult(UnloadSceneResult other) : this() { |
| | 1081 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1082 | | } |
| | 1083 | |
|
| | 1084 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1085 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1086 | | public UnloadSceneResult Clone() { |
| | 1087 | | return new UnloadSceneResult(this); |
| | 1088 | | } |
| | 1089 | |
|
| | 1090 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1091 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1092 | | public override bool Equals(object other) { |
| | 1093 | | return Equals(other as UnloadSceneResult); |
| | 1094 | | } |
| | 1095 | |
|
| | 1096 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1097 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1098 | | public bool Equals(UnloadSceneResult other) { |
| | 1099 | | if (ReferenceEquals(other, null)) { |
| | 1100 | | return false; |
| | 1101 | | } |
| | 1102 | | if (ReferenceEquals(other, this)) { |
| | 1103 | | return true; |
| | 1104 | | } |
| | 1105 | | return Equals(_unknownFields, other._unknownFields); |
| | 1106 | | } |
| | 1107 | |
|
| | 1108 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1109 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1110 | | public override int GetHashCode() { |
| | 1111 | | int hash = 1; |
| | 1112 | | if (_unknownFields != null) { |
| | 1113 | | hash ^= _unknownFields.GetHashCode(); |
| | 1114 | | } |
| | 1115 | | return hash; |
| | 1116 | | } |
| | 1117 | |
|
| | 1118 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1119 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1120 | | public override string ToString() { |
| | 1121 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1122 | | } |
| | 1123 | |
|
| | 1124 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1125 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1126 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1127 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1128 | | output.WriteRawMessage(this); |
| | 1129 | | #else |
| | 1130 | | if (_unknownFields != null) { |
| | 1131 | | _unknownFields.WriteTo(output); |
| | 1132 | | } |
| | 1133 | | #endif |
| | 1134 | | } |
| | 1135 | |
|
| | 1136 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1137 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1138 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1139 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1140 | | if (_unknownFields != null) { |
| | 1141 | | _unknownFields.WriteTo(ref output); |
| | 1142 | | } |
| | 1143 | | } |
| | 1144 | | #endif |
| | 1145 | |
|
| | 1146 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1147 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1148 | | public int CalculateSize() { |
| | 1149 | | int size = 0; |
| | 1150 | | if (_unknownFields != null) { |
| | 1151 | | size += _unknownFields.CalculateSize(); |
| | 1152 | | } |
| | 1153 | | return size; |
| | 1154 | | } |
| | 1155 | |
|
| | 1156 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1157 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1158 | | public void MergeFrom(UnloadSceneResult other) { |
| | 1159 | | if (other == null) { |
| | 1160 | | return; |
| | 1161 | | } |
| | 1162 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1163 | | } |
| | 1164 | |
|
| | 1165 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1166 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1167 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1168 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1169 | | input.ReadRawMessage(this); |
| | 1170 | | #else |
| | 1171 | | uint tag; |
| | 1172 | | while ((tag = input.ReadTag()) != 0) { |
| | 1173 | | switch(tag) { |
| | 1174 | | default: |
| | 1175 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1176 | | break; |
| | 1177 | | } |
| | 1178 | | } |
| | 1179 | | #endif |
| | 1180 | | } |
| | 1181 | |
|
| | 1182 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1183 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1184 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1185 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1186 | | uint tag; |
| | 1187 | | while ((tag = input.ReadTag()) != 0) { |
| | 1188 | | switch(tag) { |
| | 1189 | | default: |
| | 1190 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1191 | | break; |
| | 1192 | | } |
| | 1193 | | } |
| | 1194 | | } |
| | 1195 | | #endif |
| | 1196 | |
|
| | 1197 | | } |
| | 1198 | |
|
| | 1199 | | public sealed partial class CRDTSceneMessage : pb::IMessage<CRDTSceneMessage> |
| | 1200 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1201 | | , pb::IBufferMessage |
| | 1202 | | #endif |
| | 1203 | | { |
| 3 | 1204 | | private static readonly pb::MessageParser<CRDTSceneMessage> _parser = new pb::MessageParser<CRDTSceneMessage>(() => |
| | 1205 | | private pb::UnknownFieldSet _unknownFields; |
| | 1206 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1207 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 2 | 1208 | | public static pb::MessageParser<CRDTSceneMessage> Parser { get { return _parser; } } |
| | 1209 | |
|
| | 1210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1212 | | public static pbr::MessageDescriptor Descriptor { |
| 1 | 1213 | | get { return global::Decentraland.Renderer.RendererServices.SceneControllerReflection.Descriptor.MessageTypes[5]; |
| | 1214 | | } |
| | 1215 | |
|
| | 1216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1218 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 1 | 1219 | | get { return Descriptor; } |
| | 1220 | | } |
| | 1221 | |
|
| | 1222 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1223 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 8 | 1224 | | public CRDTSceneMessage() { |
| | 1225 | | OnConstruction(); |
| 8 | 1226 | | } |
| | 1227 | |
|
| | 1228 | | partial void OnConstruction(); |
| | 1229 | |
|
| | 1230 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1231 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 1232 | | public CRDTSceneMessage(CRDTSceneMessage other) : this() { |
| 0 | 1233 | | payload_ = other.payload_; |
| 0 | 1234 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 1235 | | } |
| | 1236 | |
|
| | 1237 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1238 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1239 | | public CRDTSceneMessage Clone() { |
| 0 | 1240 | | return new CRDTSceneMessage(this); |
| | 1241 | | } |
| | 1242 | |
|
| | 1243 | | /// <summary>Field number for the "payload" field.</summary> |
| | 1244 | | public const int PayloadFieldNumber = 1; |
| 8 | 1245 | | private pb::ByteString payload_ = pb::ByteString.Empty; |
| | 1246 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1247 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1248 | | public pb::ByteString Payload { |
| 7 | 1249 | | get { return payload_; } |
| | 1250 | | set { |
| 3 | 1251 | | payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 3 | 1252 | | } |
| | 1253 | | } |
| | 1254 | |
|
| | 1255 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1256 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1257 | | public override bool Equals(object other) { |
| 0 | 1258 | | return Equals(other as CRDTSceneMessage); |
| | 1259 | | } |
| | 1260 | |
|
| | 1261 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1262 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1263 | | public bool Equals(CRDTSceneMessage other) { |
| 0 | 1264 | | if (ReferenceEquals(other, null)) { |
| 0 | 1265 | | return false; |
| | 1266 | | } |
| 0 | 1267 | | if (ReferenceEquals(other, this)) { |
| 0 | 1268 | | return true; |
| | 1269 | | } |
| 0 | 1270 | | if (Payload != other.Payload) return false; |
| 0 | 1271 | | return Equals(_unknownFields, other._unknownFields); |
| | 1272 | | } |
| | 1273 | |
|
| | 1274 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1275 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1276 | | public override int GetHashCode() { |
| 0 | 1277 | | int hash = 1; |
| 0 | 1278 | | if (Payload.Length != 0) hash ^= Payload.GetHashCode(); |
| 0 | 1279 | | if (_unknownFields != null) { |
| 0 | 1280 | | hash ^= _unknownFields.GetHashCode(); |
| | 1281 | | } |
| 0 | 1282 | | return hash; |
| | 1283 | | } |
| | 1284 | |
|
| | 1285 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1286 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1287 | | public override string ToString() { |
| 0 | 1288 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1289 | | } |
| | 1290 | |
|
| | 1291 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1292 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1293 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1294 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1295 | | output.WriteRawMessage(this); |
| | 1296 | | #else |
| 2 | 1297 | | if (Payload.Length != 0) { |
| 1 | 1298 | | output.WriteRawTag(10); |
| 1 | 1299 | | output.WriteBytes(Payload); |
| | 1300 | | } |
| 2 | 1301 | | if (_unknownFields != null) { |
| 0 | 1302 | | _unknownFields.WriteTo(output); |
| | 1303 | | } |
| | 1304 | | #endif |
| 2 | 1305 | | } |
| | 1306 | |
|
| | 1307 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1308 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1309 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1310 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1311 | | if (Payload.Length != 0) { |
| | 1312 | | output.WriteRawTag(10); |
| | 1313 | | output.WriteBytes(Payload); |
| | 1314 | | } |
| | 1315 | | if (_unknownFields != null) { |
| | 1316 | | _unknownFields.WriteTo(ref output); |
| | 1317 | | } |
| | 1318 | | } |
| | 1319 | | #endif |
| | 1320 | |
|
| | 1321 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1322 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1323 | | public int CalculateSize() { |
| 2 | 1324 | | int size = 0; |
| 2 | 1325 | | if (Payload.Length != 0) { |
| 1 | 1326 | | size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); |
| | 1327 | | } |
| 2 | 1328 | | if (_unknownFields != null) { |
| 0 | 1329 | | size += _unknownFields.CalculateSize(); |
| | 1330 | | } |
| 2 | 1331 | | return size; |
| | 1332 | | } |
| | 1333 | |
|
| | 1334 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1335 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1336 | | public void MergeFrom(CRDTSceneMessage other) { |
| 0 | 1337 | | if (other == null) { |
| 0 | 1338 | | return; |
| | 1339 | | } |
| 0 | 1340 | | if (other.Payload.Length != 0) { |
| 0 | 1341 | | Payload = other.Payload; |
| | 1342 | | } |
| 0 | 1343 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 1344 | | } |
| | 1345 | |
|
| | 1346 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1347 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1348 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1349 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1350 | | input.ReadRawMessage(this); |
| | 1351 | | #else |
| | 1352 | | uint tag; |
| 3 | 1353 | | while ((tag = input.ReadTag()) != 0) { |
| | 1354 | | switch(tag) { |
| | 1355 | | default: |
| 0 | 1356 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 1357 | | break; |
| | 1358 | | case 10: { |
| 1 | 1359 | | Payload = input.ReadBytes(); |
| | 1360 | | break; |
| | 1361 | | } |
| | 1362 | | } |
| | 1363 | | } |
| | 1364 | | #endif |
| 2 | 1365 | | } |
| | 1366 | |
|
| | 1367 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1368 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1369 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1370 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1371 | | uint tag; |
| | 1372 | | while ((tag = input.ReadTag()) != 0) { |
| | 1373 | | switch(tag) { |
| | 1374 | | default: |
| | 1375 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1376 | | break; |
| | 1377 | | case 10: { |
| | 1378 | | Payload = input.ReadBytes(); |
| | 1379 | | break; |
| | 1380 | | } |
| | 1381 | | } |
| | 1382 | | } |
| | 1383 | | } |
| | 1384 | | #endif |
| | 1385 | |
|
| | 1386 | | } |
| | 1387 | |
|
| | 1388 | | public sealed partial class CRDTSceneCurrentState : pb::IMessage<CRDTSceneCurrentState> |
| | 1389 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1390 | | , pb::IBufferMessage |
| | 1391 | | #endif |
| | 1392 | | { |
| | 1393 | | private static readonly pb::MessageParser<CRDTSceneCurrentState> _parser = new pb::MessageParser<CRDTSceneCurrentSta |
| | 1394 | | private pb::UnknownFieldSet _unknownFields; |
| | 1395 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1396 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1397 | | public static pb::MessageParser<CRDTSceneCurrentState> Parser { get { return _parser; } } |
| | 1398 | |
|
| | 1399 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1400 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1401 | | public static pbr::MessageDescriptor Descriptor { |
| | 1402 | | get { return global::Decentraland.Renderer.RendererServices.SceneControllerReflection.Descriptor.MessageTypes[6]; |
| | 1403 | | } |
| | 1404 | |
|
| | 1405 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1406 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1407 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1408 | | get { return Descriptor; } |
| | 1409 | | } |
| | 1410 | |
|
| | 1411 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1412 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1413 | | public CRDTSceneCurrentState() { |
| | 1414 | | OnConstruction(); |
| | 1415 | | } |
| | 1416 | |
|
| | 1417 | | partial void OnConstruction(); |
| | 1418 | |
|
| | 1419 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1420 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1421 | | public CRDTSceneCurrentState(CRDTSceneCurrentState other) : this() { |
| | 1422 | | hasOwnEntities_ = other.hasOwnEntities_; |
| | 1423 | | payload_ = other.payload_; |
| | 1424 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1425 | | } |
| | 1426 | |
|
| | 1427 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1428 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1429 | | public CRDTSceneCurrentState Clone() { |
| | 1430 | | return new CRDTSceneCurrentState(this); |
| | 1431 | | } |
| | 1432 | |
|
| | 1433 | | /// <summary>Field number for the "has_own_entities" field.</summary> |
| | 1434 | | public const int HasOwnEntitiesFieldNumber = 1; |
| | 1435 | | private bool hasOwnEntities_; |
| | 1436 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1437 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1438 | | public bool HasOwnEntities { |
| | 1439 | | get { return hasOwnEntities_; } |
| | 1440 | | set { |
| | 1441 | | hasOwnEntities_ = value; |
| | 1442 | | } |
| | 1443 | | } |
| | 1444 | |
|
| | 1445 | | /// <summary>Field number for the "payload" field.</summary> |
| | 1446 | | public const int PayloadFieldNumber = 2; |
| | 1447 | | private pb::ByteString payload_ = pb::ByteString.Empty; |
| | 1448 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1449 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1450 | | public pb::ByteString Payload { |
| | 1451 | | get { return payload_; } |
| | 1452 | | set { |
| | 1453 | | payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 1454 | | } |
| | 1455 | | } |
| | 1456 | |
|
| | 1457 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1458 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1459 | | public override bool Equals(object other) { |
| | 1460 | | return Equals(other as CRDTSceneCurrentState); |
| | 1461 | | } |
| | 1462 | |
|
| | 1463 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1464 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1465 | | public bool Equals(CRDTSceneCurrentState other) { |
| | 1466 | | if (ReferenceEquals(other, null)) { |
| | 1467 | | return false; |
| | 1468 | | } |
| | 1469 | | if (ReferenceEquals(other, this)) { |
| | 1470 | | return true; |
| | 1471 | | } |
| | 1472 | | if (HasOwnEntities != other.HasOwnEntities) return false; |
| | 1473 | | if (Payload != other.Payload) return false; |
| | 1474 | | return Equals(_unknownFields, other._unknownFields); |
| | 1475 | | } |
| | 1476 | |
|
| | 1477 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1478 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1479 | | public override int GetHashCode() { |
| | 1480 | | int hash = 1; |
| | 1481 | | if (HasOwnEntities != false) hash ^= HasOwnEntities.GetHashCode(); |
| | 1482 | | if (Payload.Length != 0) hash ^= Payload.GetHashCode(); |
| | 1483 | | if (_unknownFields != null) { |
| | 1484 | | hash ^= _unknownFields.GetHashCode(); |
| | 1485 | | } |
| | 1486 | | return hash; |
| | 1487 | | } |
| | 1488 | |
|
| | 1489 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1490 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1491 | | public override string ToString() { |
| | 1492 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1493 | | } |
| | 1494 | |
|
| | 1495 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1496 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1497 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1498 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1499 | | output.WriteRawMessage(this); |
| | 1500 | | #else |
| | 1501 | | if (HasOwnEntities != false) { |
| | 1502 | | output.WriteRawTag(8); |
| | 1503 | | output.WriteBool(HasOwnEntities); |
| | 1504 | | } |
| | 1505 | | if (Payload.Length != 0) { |
| | 1506 | | output.WriteRawTag(18); |
| | 1507 | | output.WriteBytes(Payload); |
| | 1508 | | } |
| | 1509 | | if (_unknownFields != null) { |
| | 1510 | | _unknownFields.WriteTo(output); |
| | 1511 | | } |
| | 1512 | | #endif |
| | 1513 | | } |
| | 1514 | |
|
| | 1515 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1516 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1517 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1518 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1519 | | if (HasOwnEntities != false) { |
| | 1520 | | output.WriteRawTag(8); |
| | 1521 | | output.WriteBool(HasOwnEntities); |
| | 1522 | | } |
| | 1523 | | if (Payload.Length != 0) { |
| | 1524 | | output.WriteRawTag(18); |
| | 1525 | | output.WriteBytes(Payload); |
| | 1526 | | } |
| | 1527 | | if (_unknownFields != null) { |
| | 1528 | | _unknownFields.WriteTo(ref output); |
| | 1529 | | } |
| | 1530 | | } |
| | 1531 | | #endif |
| | 1532 | |
|
| | 1533 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1534 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1535 | | public int CalculateSize() { |
| | 1536 | | int size = 0; |
| | 1537 | | if (HasOwnEntities != false) { |
| | 1538 | | size += 1 + 1; |
| | 1539 | | } |
| | 1540 | | if (Payload.Length != 0) { |
| | 1541 | | size += 1 + pb::CodedOutputStream.ComputeBytesSize(Payload); |
| | 1542 | | } |
| | 1543 | | if (_unknownFields != null) { |
| | 1544 | | size += _unknownFields.CalculateSize(); |
| | 1545 | | } |
| | 1546 | | return size; |
| | 1547 | | } |
| | 1548 | |
|
| | 1549 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1550 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1551 | | public void MergeFrom(CRDTSceneCurrentState other) { |
| | 1552 | | if (other == null) { |
| | 1553 | | return; |
| | 1554 | | } |
| | 1555 | | if (other.HasOwnEntities != false) { |
| | 1556 | | HasOwnEntities = other.HasOwnEntities; |
| | 1557 | | } |
| | 1558 | | if (other.Payload.Length != 0) { |
| | 1559 | | Payload = other.Payload; |
| | 1560 | | } |
| | 1561 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1562 | | } |
| | 1563 | |
|
| | 1564 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1565 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1566 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1567 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1568 | | input.ReadRawMessage(this); |
| | 1569 | | #else |
| | 1570 | | uint tag; |
| | 1571 | | while ((tag = input.ReadTag()) != 0) { |
| | 1572 | | switch(tag) { |
| | 1573 | | default: |
| | 1574 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1575 | | break; |
| | 1576 | | case 8: { |
| | 1577 | | HasOwnEntities = input.ReadBool(); |
| | 1578 | | break; |
| | 1579 | | } |
| | 1580 | | case 18: { |
| | 1581 | | Payload = input.ReadBytes(); |
| | 1582 | | break; |
| | 1583 | | } |
| | 1584 | | } |
| | 1585 | | } |
| | 1586 | | #endif |
| | 1587 | | } |
| | 1588 | |
|
| | 1589 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1590 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1591 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1592 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1593 | | uint tag; |
| | 1594 | | while ((tag = input.ReadTag()) != 0) { |
| | 1595 | | switch(tag) { |
| | 1596 | | default: |
| | 1597 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1598 | | break; |
| | 1599 | | case 8: { |
| | 1600 | | HasOwnEntities = input.ReadBool(); |
| | 1601 | | break; |
| | 1602 | | } |
| | 1603 | | case 18: { |
| | 1604 | | Payload = input.ReadBytes(); |
| | 1605 | | break; |
| | 1606 | | } |
| | 1607 | | } |
| | 1608 | | } |
| | 1609 | | } |
| | 1610 | | #endif |
| | 1611 | |
|
| | 1612 | | } |
| | 1613 | |
|
| | 1614 | | #endregion |
| | 1615 | |
|
| | 1616 | | } |
| | 1617 | |
|
| | 1618 | | #endregion Designer generated code |