| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: engine_interface.proto |
| | 4 | | // </auto-generated> |
| | 5 | | #pragma warning disable 1591, 0612, 3021 |
| | 6 | | #region Designer generated code |
| | 7 | |
|
| | 8 | | using pb = global::Google.Protobuf; |
| | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | 11 | | using scg = global::System.Collections.Generic; |
| | 12 | | namespace DCL.Interface { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from engine_interface.proto</summary> |
| | 15 | | public static partial class EngineInterfaceReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for engine_interface.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static EngineInterfaceReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "ChZlbmdpbmVfaW50ZXJmYWNlLnByb3RvEhVkZWNlbnRyYWxhbmQucmVuZGVy", |
| | 28 | | "ZXIaG2dvb2dsZS9wcm90b2J1Zi9lbXB0eS5wcm90byIdCg9QQl9DcmVhdGVF", |
| | 29 | | "bnRpdHkSCgoCaWQYASABKAkiHQoPUEJfUmVtb3ZlRW50aXR5EgoKAmlkGAEg", |
| | 30 | | "ASgJIjgKElBCX1NldEVudGl0eVBhcmVudBIQCghlbnRpdHlJZBgBIAEoCRIQ", |
| | 31 | | "CghwYXJlbnRJZBgCIAEoCSI1ChNQQl9Db21wb25lbnRSZW1vdmVkEhAKCGVu", |
| | 32 | | "dGl0eUlkGAEgASgJEgwKBG5hbWUYAiABKAki2goKDFBCX0NvbXBvbmVudBI4", |
| | 33 | | "Cgl0cmFuc2Zvcm0YASABKAsyIy5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJf", |
| | 34 | | "VHJhbnNmb3JtSAASPgoMdXVpZENhbGxiYWNrGAggASgLMiYuZGVjZW50cmFs", |
| | 35 | | "YW5kLnJlbmRlcmVyLlBCX1VVSURDYWxsYmFja0gAEjEKA2JveBgQIAEoCzIi", |
| | 36 | | "LmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9Cb3hTaGFwZUgAEjcKBnNwaGVy", |
| | 37 | | "ZRgRIAEoCzIlLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9TcGhlcmVTaGFw", |
| | 38 | | "ZUgAEjUKBXBsYW5lGBIgASgLMiQuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBC", |
| | 39 | | "X1BsYW5lU2hhcGVIABIzCgRjb25lGBMgASgLMiMuZGVjZW50cmFsYW5kLnJl", |
| | 40 | | "bmRlcmVyLlBCX0NvbmVTaGFwZUgAEjsKCGN5bGluZGVyGBQgASgLMicuZGVj", |
| | 41 | | "ZW50cmFsYW5kLnJlbmRlcmVyLlBCX0N5bGluZGVyU2hhcGVIABIzCgR0ZXh0", |
| | 42 | | "GBUgASgLMiMuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX1RleHRTaGFwZUgA", |
| | 43 | | "EjEKA25mdBgWIAEoCzIiLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9ORlRT", |
| | 44 | | "aGFwZUgAEkIKDWNvbnRhaW5lclJlY3QYGSABKAsyKS5kZWNlbnRyYWxhbmQu", |
| | 45 | | "cmVuZGVyZXIuUEJfVUlDb250YWluZXJSZWN0SAASRAoOY29udGFpbmVyU3Rh", |
| | 46 | | "Y2sYGiABKAsyKi5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfVUlDb250YWlu", |
| | 47 | | "ZXJTdGFja0gAEjwKC3VpVGV4dFNoYXBlGBsgASgLMiUuZGVjZW50cmFsYW5k", |
| | 48 | | "LnJlbmRlcmVyLlBCX1VJVGV4dFNoYXBlSAASQQoQdWlJbnB1dFRleHRTaGFw", |
| | 49 | | "ZRgcIAEoCzIlLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9VSUlucHV0VGV4", |
| | 50 | | "dEgAEjkKDHVpSW1hZ2VTaGFwZRgdIAEoCzIhLmRlY2VudHJhbGFuZC5yZW5k", |
| | 51 | | "ZXJlci5QQl9VSUltYWdlSAASNwoGY2lyY2xlGB8gASgLMiUuZGVjZW50cmFs", |
| | 52 | | "YW5kLnJlbmRlcmVyLlBCX0NpcmNsZVNoYXBlSAASOAoJYmlsbGJvYXJkGCAg", |
| | 53 | | "ASgLMiMuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX0JpbGxib2FyZEgAEjMK", |
| | 54 | | "BGdsdGYYNiABKAsyIy5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfR0xURlNo", |
| | 55 | | "YXBlSAASMQoDb2JqGDcgASgLMiIuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBC", |
| | 56 | | "X09CSlNoYXBlSAASNwoGYXZhdGFyGDggASgLMiUuZGVjZW50cmFsYW5kLnJl", |
| | 57 | | "bmRlcmVyLlBCX0F2YXRhclNoYXBlSAASQAoNYmFzaWNNYXRlcmlhbBhAIAEo", |
| | 58 | | "CzInLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9CYXNpY01hdGVyaWFsSAAS", |
| | 59 | | "NAoHdGV4dHVyZRhEIAEoCzIhLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9U", |
| | 60 | | "ZXh0dXJlSAASOQoJYXVkaW9DbGlwGMgBIAEoCzIjLmRlY2VudHJhbGFuZC5y", |
| | 61 | | "ZW5kZXJlci5QQl9BdWRpb0NsaXBIABI9CgthdWRpb1NvdXJjZRjJASABKAsy", |
| | 62 | | "JS5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfQXVkaW9Tb3VyY2VIAEIHCgVt", |
| | 63 | | "b2RlbCI3CglQQl9Db2xvcjQSCQoBchgBIAEoAhIJCgFnGAIgASgCEgkKAWIY", |
| | 64 | | "AyABKAISCQoBYRgEIAEoAiIsCglQQl9Db2xvcjMSCQoBchgBIAEoAhIJCgFn", |
| | 65 | | "GAIgASgCEgkKAWIYAyABKAIi/gQKEVBCX1RleHRTaGFwZU1vZGVsEhEKCWJp", |
| | 66 | | "bGxib2FyZBgBIAEoCBINCgV2YWx1ZRgCIAEoCRIvCgVjb2xvchgDIAEoCzIg", |
| | 67 | | "LmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9Db2xvcjMSDwoHb3BhY2l0eRgE", |
| | 68 | | "IAEoAhIQCghmb250U2l6ZRgFIAEoAhIUCgxmb250QXV0b1NpemUYBiABKAgS", |
| | 69 | | "EgoKZm9udFdlaWdodBgHIAEoCRISCgpoVGV4dEFsaWduGAggASgJEhIKCnZU", |
| | 70 | | "ZXh0QWxpZ24YCSABKAkSDQoFd2lkdGgYCiABKAISDgoGaGVpZ2h0GAsgASgC", |
| | 71 | | "EhIKCmFkYXB0V2lkdGgYDCABKAgSEwoLYWRhcHRIZWlnaHQYDSABKAgSEgoK", |
| | 72 | | "cGFkZGluZ1RvcBgOIAEoAhIUCgxwYWRkaW5nUmlnaHQYDyABKAISFQoNcGFk", |
| | 73 | | "ZGluZ0JvdHRvbRgQIAEoAhITCgtwYWRkaW5nTGVmdBgRIAEoAhITCgtsaW5l", |
| | 74 | | "U3BhY2luZxgSIAEoAhIRCglsaW5lQ291bnQYEyABKAUSFAoMdGV4dFdyYXBw", |
| | 75 | | "aW5nGBQgASgIEhIKCnNoYWRvd0JsdXIYFSABKAISFQoNc2hhZG93T2Zmc2V0", |
| | 76 | | "WBgWIAEoAhIVCg1zaGFkb3dPZmZzZXRZGBcgASgCEjUKC3NoYWRvd0NvbG9y", |
| | 77 | | "GBggASgLMiAuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX0NvbG9yMxIUCgxv", |
| | 78 | | "dXRsaW5lV2lkdGgYGSABKAISNgoMb3V0bGluZUNvbG9yGBogASgLMiAuZGVj", |
| | 79 | | "ZW50cmFsYW5kLnJlbmRlcmVyLlBCX0NvbG9yMyItCgpQQl9WZWN0b3IzEgkK", |
| | 80 | | "AXgYASABKAISCQoBeRgCIAEoAhIJCgF6GAMgASgCIjsKDVBCX1F1YXRlcm5p", |
| | 81 | | "b24SCQoBeBgBIAEoARIJCgF5GAIgASgBEgkKAXoYAyABKAESCQoBdxgEIAEo", |
| | 82 | | "ASKtAQoMUEJfVHJhbnNmb3JtEjMKCHBvc2l0aW9uGAEgASgLMiEuZGVjZW50", |
| | 83 | | "cmFsYW5kLnJlbmRlcmVyLlBCX1ZlY3RvcjMSNgoIcm90YXRpb24YAiABKAsy", |
| | 84 | | "JC5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfUXVhdGVybmlvbhIwCgVzY2Fs", |
| | 85 | | "ZRgDIAEoCzIhLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9WZWN0b3IzIlkK", |
| | 86 | | "GFBCX1VwZGF0ZUVudGl0eUNvbXBvbmVudBIQCghlbnRpdHlJZBgBIAEoCRIP", |
| | 87 | | "CgdjbGFzc0lkGAIgASgFEgwKBG5hbWUYAyABKAkSDAoEZGF0YRgEIAEoCSJA", |
| | 88 | | "ChNQQl9Db21wb25lbnRDcmVhdGVkEgoKAmlkGAEgASgJEg8KB2NsYXNzaWQY", |
| | 89 | | "AiABKAUSDAoEbmFtZRgDIAEoCSJGChhQQl9BdHRhY2hFbnRpdHlDb21wb25l", |
| | 90 | | "bnQSEAoIZW50aXR5SWQYASABKAkSDAoEbmFtZRgCIAEoCRIKCgJpZBgDIAEo", |
| | 91 | | "CSIiChRQQl9Db21wb25lbnREaXNwb3NlZBIKCgJpZBgBIAEoCSIvChNQQl9D", |
| | 92 | | "b21wb25lbnRVcGRhdGVkEgoKAmlkGAEgASgJEgwKBGpzb24YAiABKAkigwEK", |
| | 93 | | "BlBCX1JheRIxCgZvcmlnaW4YASABKAsyIS5kZWNlbnRyYWxhbmQucmVuZGVy", |
| | 94 | | "ZXIuUEJfVmVjdG9yMxI0CglkaXJlY3Rpb24YAiABKAsyIS5kZWNlbnRyYWxh", |
| | 95 | | "bmQucmVuZGVyZXIuUEJfVmVjdG9yMxIQCghkaXN0YW5jZRgDIAEoAiJdCgtQ", |
| | 96 | | "Ql9SYXlRdWVyeRIPCgdxdWVyeUlkGAEgASgJEhEKCXF1ZXJ5VHlwZRgCIAEo", |
| | 97 | | "CRIqCgNyYXkYAyABKAsyHS5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfUmF5", |
| | 98 | | "IiwKCFBCX1F1ZXJ5Eg8KB3F1ZXJ5SWQYASABKAkSDwoHcGF5bG9hZBgCIAEo", |
| | 99 | | "CSLJBwoTUEJfU2VuZFNjZW5lTWVzc2FnZRIPCgdzY2VuZUlkGAEgASgJEgsK", |
| | 100 | | "A3RhZxgCIAEoCRI+CgxjcmVhdGVFbnRpdHkYAyABKAsyJi5kZWNlbnRyYWxh", |
| | 101 | | "bmQucmVuZGVyZXIuUEJfQ3JlYXRlRW50aXR5SAASPgoMcmVtb3ZlRW50aXR5", |
| | 102 | | "GAQgASgLMiYuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX1JlbW92ZUVudGl0", |
| | 103 | | "eUgAEkQKD3NldEVudGl0eVBhcmVudBgFIAEoCzIpLmRlY2VudHJhbGFuZC5y", |
| | 104 | | "ZW5kZXJlci5QQl9TZXRFbnRpdHlQYXJlbnRIABJQChV1cGRhdGVFbnRpdHlD", |
| | 105 | | "b21wb25lbnQYBiABKAsyLy5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfVXBk", |
| | 106 | | "YXRlRW50aXR5Q29tcG9uZW50SAASUAoVYXR0YWNoRW50aXR5Q29tcG9uZW50", |
| | 107 | | "GAcgASgLMi8uZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX0F0dGFjaEVudGl0", |
| | 108 | | "eUNvbXBvbmVudEgAEkYKEGNvbXBvbmVudENyZWF0ZWQYCCABKAsyKi5kZWNl", |
| | 109 | | "bnRyYWxhbmQucmVuZGVyZXIuUEJfQ29tcG9uZW50Q3JlYXRlZEgAEkgKEWNv", |
| | 110 | | "bXBvbmVudERpc3Bvc2VkGAkgASgLMisuZGVjZW50cmFsYW5kLnJlbmRlcmVy", |
| | 111 | | "LlBCX0NvbXBvbmVudERpc3Bvc2VkSAASRgoQY29tcG9uZW50UmVtb3ZlZBgK", |
| | 112 | | "IAEoCzIqLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9Db21wb25lbnRSZW1v", |
| | 113 | | "dmVkSAASRgoQY29tcG9uZW50VXBkYXRlZBgLIAEoCzIqLmRlY2VudHJhbGFu", |
| | 114 | | "ZC5yZW5kZXJlci5QQl9Db21wb25lbnRVcGRhdGVkSAASMAoFcXVlcnkYDCAB", |
| | 115 | | "KAsyHy5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfUXVlcnlIABIuCgxzY2Vu", |
| | 116 | | "ZVN0YXJ0ZWQYDSABKAsyFi5nb29nbGUucHJvdG9idWYuRW1wdHlIABJECg9v", |
| | 117 | | "cGVuRXh0ZXJuYWxVcmwYDiABKAsyKS5kZWNlbnRyYWxhbmQucmVuZGVyZXIu", |
| | 118 | | "UEJfT3BlbkV4dGVybmFsVXJsSAASQAoNb3Blbk5GVERpYWxvZxgPIAEoCzIn", |
| | 119 | | "LmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9PcGVuTkZURGlhbG9nSAASEwoL", |
| | 120 | | "c2NlbmVOdW1iZXIYYyABKAVCCQoHcGF5bG9hZCIxCg5QQl9TZXRQb3NpdGlv", |
| | 121 | | "bhIJCgF4GAEgASgCEgkKAXkYAiABKAISCQoBehgDIAEoAiIvChFQQl9Db250", |
| | 122 | | "ZW50TWFwcGluZxIMCgRmaWxlGAEgASgJEgwKBGhhc2gYAiABKAkiIwoLUEJf", |
| | 123 | | "UG9zaXRpb24SCQoBeBgBIAEoAhIJCgF5GAIgASgCIvIBChNQQl9Mb2FkUGFy", |
| | 124 | | "Y2VsU2NlbmVzEgoKAmlkGAEgASgJEjgKDGJhc2VQb3NpdGlvbhgCIAEoCzIi", |
| | 125 | | "LmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9Qb3NpdGlvbhIzCgdwYXJjZWxz", |
| | 126 | | "GAMgAygLMiIuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX1Bvc2l0aW9uEjoK", |
| | 127 | | "CGNvbnRlbnRzGAQgAygLMiguZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX0Nv", |
| | 128 | | "bnRlbnRNYXBwaW5nEg8KB2Jhc2VVcmwYBSABKAkSEwoLc2NlbmVOdW1iZXIY", |
| | 129 | | "YyABKAUiRAoQUEJfQ3JlYXRlVUlTY2VuZRIKCgJpZBgBIAEoCRIPCgdiYXNl", |
| | 130 | | "VXJsGAIgASgJEhMKC3NjZW5lTnVtYmVyGGMgASgFIjYKDlBCX1VubG9hZFNj", |
| | 131 | | "ZW5lEg8KB3NjZW5lSWQYASABKAkSEwoLc2NlbmVOdW1iZXIYYyABKAUiqgQK", |
| | 132 | | "DVBCX0RjbE1lc3NhZ2USKgoIc2V0RGVidWcYASABKAsyFi5nb29nbGUucHJv", |
| | 133 | | "dG9idWYuRW1wdHlIABI0ChJzZXRTY2VuZURlYnVnUGFuZWwYAiABKAsyFi5n", |
| | 134 | | "b29nbGUucHJvdG9idWYuRW1wdHlIABI1ChNzZXRFbmdpbmVEZWJ1Z1BhbmVs", |
| | 135 | | "GAMgASgLMhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5SAASRgoQc2VuZFNjZW5l", |
| | 136 | | "TWVzc2FnZRgEIAEoCzIqLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9TZW5k", |
| | 137 | | "U2NlbmVNZXNzYWdlSAASRgoQbG9hZFBhcmNlbFNjZW5lcxgFIAEoCzIqLmRl", |
| | 138 | | "Y2VudHJhbGFuZC5yZW5kZXJlci5QQl9Mb2FkUGFyY2VsU2NlbmVzSAASPAoL", |
| | 139 | | "dW5sb2FkU2NlbmUYBiABKAsyJS5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJf", |
| | 140 | | "VW5sb2FkU2NlbmVIABI8CgtzZXRQb3NpdGlvbhgHIAEoCzIlLmRlY2VudHJh", |
| | 141 | | "bGFuZC5yZW5kZXJlci5QQl9TZXRQb3NpdGlvbkgAEicKBXJlc2V0GAggASgL", |
| | 142 | | "MhYuZ29vZ2xlLnByb3RvYnVmLkVtcHR5SAASQAoNY3JlYXRlVUlTY2VuZRgJ", |
| | 143 | | "IAEoCzInLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9DcmVhdGVVSVNjZW5l", |
| | 144 | | "SABCCQoHbWVzc2FnZSJ3ChFQQl9BbmltYXRpb25TdGF0ZRIMCgRjbGlwGAEg", |
| | 145 | | "ASgJEg8KB2xvb3BpbmcYAiABKAgSDgoGd2VpZ2h0GAMgASgCEg8KB3BsYXlp", |
| | 146 | | "bmcYBCABKAgSEwoLc2hvdWxkUmVzZXQYBSABKAgSDQoFc3BlZWQYBiABKAIi", |
| | 147 | | "NgoLUEJfQW5pbWF0b3ISFgoOd2l0aENvbGxpc2lvbnMYASABKAgSDwoHdmlz", |
| | 148 | | "aWJsZRgCIAEoCCI5CgxQQl9BdWRpb0NsaXASCwoDdXJsGAEgASgJEgwKBGxv", |
| | 149 | | "b3AYAiABKAgSDgoGdm9sdW1lGAMgASgCIpsBCg5QQl9BdWRpb1NvdXJjZRI2", |
| | 150 | | "CglhdWRpb0NsaXAYASABKAsyIy5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJf", |
| | 151 | | "QXVkaW9DbGlwEhMKC2F1ZGlvQ2xpcElkGAIgASgJEgwKBGxvb3AYAyABKAgS", |
| | 152 | | "DgoGdm9sdW1lGAQgASgCEg8KB3BsYXlpbmcYBSABKAgSDQoFcGl0Y2gYBiAB", |
| | 153 | | "KAIi/AMKDlBCX0F2YXRhclNoYXBlEgoKAmlkGAEgASgJEg8KB2Jhc2VVcmwY", |
| | 154 | | "AiABKAkSDAoEbmFtZRgDIAEoCRI1Cglib2R5U2hhcGUYBCABKAsyIi5kZWNl", |
| | 155 | | "bnRyYWxhbmQucmVuZGVyZXIuUEJfV2VhcmFibGUSNQoJd2VhcmFibGVzGAUg", |
| | 156 | | "AygLMiIuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX1dlYXJhYmxlEiwKBHNr", |
| | 157 | | "aW4YBiABKAsyHi5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfU2tpbhIsCgRo", |
| | 158 | | "YWlyGAcgASgLMh4uZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX0hhaXISLAoE", |
| | 159 | | "ZXllcxgIIAEoCzIeLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9FeWVzEjAK", |
| | 160 | | "CGV5ZWJyb3dzGAkgASgLMh4uZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX0Zh", |
| | 161 | | "Y2USLQoFbW91dGgYCiABKAsyHi5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJf", |
| | 162 | | "RmFjZRIVCg11c2VEdW1teU1vZGVsGAsgASgIEhsKE2V4cHJlc3Npb25Ucmln", |
| | 163 | | "Z2VySWQYDCABKAkSIgoaZXhwcmVzc2lvblRyaWdnZXJUaW1lc3RhbXAYDiAB", |
| | 164 | | "KAQSDgoGZW1vdGVzGA8gAygJInAKC1BCX1dlYXJhYmxlEhAKCGNhdGVnb2R5", |
| | 165 | | "GAEgASgJEhMKC2NvbnRlbnROYW1lGAIgASgJEjoKCGNvbnRlbnRzGAMgAygL", |
| | 166 | | "MiguZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX0NvbnRlbnRNYXBwaW5nIhoK", |
| | 167 | | "B1BCX0ZhY2USDwoHdGV4dHVyZRgBIAEoCSJZCgdQQl9FeWVzEg8KB3RleHR1", |
| | 168 | | "cmUYASABKAkSDAoEbWFzaxgCIAEoCRIvCgVjb2xvchgDIAEoCzIgLmRlY2Vu", |
| | 169 | | "dHJhbGFuZC5yZW5kZXJlci5QQl9Db2xvcjQiOgoHUEJfSGFpchIvCgVjb2xv", |
| | 170 | | "chgBIAEoCzIgLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9Db2xvcjQiOgoH", |
| | 171 | | "UEJfU2tpbhIvCgVjb2xvchgBIAEoCzIgLmRlY2VudHJhbGFuZC5yZW5kZXJl", |
| | 172 | | "ci5QQl9Db2xvcjQiWQoQUEJfQmFzaWNNYXRlcmlhbBIyCgd0ZXh0dXJlGAEg", |
| | 173 | | "ASgLMiEuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX1RleHR1cmUSEQoJYWxw", |
| | 174 | | "aGFUZXN0GAIgASgCIi8KDFBCX0JpbGxib2FyZBIJCgF4GAEgASgIEgkKAXkY", |
| | 175 | | "AiABKAgSCQoBehgDIAEoCCJDCgtQQl9Cb3hTaGFwZRIWCg53aXRoQ29sbGlz", |
| | 176 | | "aW9ucxgBIAEoCBIPCgd2aXNpYmxlGAIgASgIEgsKA3V2cxgDIAMoAiJYCg5Q", |
| | 177 | | "Ql9DaXJjbGVTaGFwZRIWCg53aXRoQ29sbGlzaW9ucxgBIAEoCBIPCgd2aXNp", |
| | 178 | | "YmxlGAIgASgIEhAKCHNlZ21lbnRzGAMgASgCEgsKA2FyYxgEIAEoAiLAAQoM", |
| | 179 | | "UEJfQ29uZVNoYXBlEhYKDndpdGhDb2xsaXNpb25zGAEgASgIEg8KB3Zpc2li", |
| | 180 | | "bGUYAiABKAgSEQoJcmFkaXVzVG9wGAMgASgCEhQKDHJhZGl1c0JvdHRvbRgE", |
| | 181 | | "IAEoAhIWCg5zZWdtZW50c0hlaWdodBgFIAEoAhIWCg5zZWdtZW50c1JhZGlh", |
| | 182 | | "bBgGIAEoAhIRCglvcGVuRW5kZWQYByABKAgSDgoGcmFkaXVzGAggASgCEgsK", |
| | 183 | | "A2FyYxgJIAEoAiLEAQoQUEJfQ3lsaW5kZXJTaGFwZRIWCg53aXRoQ29sbGlz", |
| | 184 | | "aW9ucxgBIAEoCBIPCgd2aXNpYmxlGAIgASgIEhEKCXJhZGl1c1RvcBgDIAEo", |
| | 185 | | "AhIUCgxyYWRpdXNCb3R0b20YBCABKAISFgoOc2VnbWVudHNIZWlnaHQYBSAB", |
| | 186 | | "KAISFgoOc2VnbWVudHNSYWRpYWwYBiABKAISEQoJb3BlbkVuZGVkGAcgASgI", |
| | 187 | | "Eg4KBnJhZGl1cxgIIAEoAhILCgNhcmMYCSABKAIiFgoUUEJfR2xvYmFsUG9p", |
| | 188 | | "bnRlckRvd24iFAoSUEJfR2xvYmFsUG9pbnRlclVwIkQKDFBCX0dMVEZTaGFw", |
| | 189 | | "ZRIWCg53aXRoQ29sbGlzaW9ucxgBIAEoCBIPCgd2aXNpYmxlGAIgASgIEgsK", |
| | 190 | | "A3NyYxgDIAEoCSLOBgoLUEJfTWF0ZXJpYWwSDQoFYWxwaGEYASABKAISNQoL", |
| | 191 | | "YWxiZWRvQ29sb3IYAiABKAsyIC5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJf", |
| | 192 | | "Q29sb3IzEjcKDWVtaXNzaXZlQ29sb3IYAyABKAsyIC5kZWNlbnRyYWxhbmQu", |
| | 193 | | "cmVuZGVyZXIuUEJfQ29sb3IzEhAKCG1ldGFsbGljGAQgASgCEhEKCXJvdWdo", |
| | 194 | | "bmVzcxgFIAEoAhI2CgxhbWJpZW50Q29sb3IYBiABKAsyIC5kZWNlbnRyYWxh", |
| | 195 | | "bmQucmVuZGVyZXIuUEJfQ29sb3IzEjkKD3JlZmxlY3Rpb25Db2xvchgHIAEo", |
| | 196 | | "CzIgLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9Db2xvcjMSOwoRcmVmbGVj", |
| | 197 | | "dGl2aXR5Q29sb3IYCCABKAsyIC5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJf", |
| | 198 | | "Q29sb3IzEhcKD2RpcmVjdEludGVuc2l0eRgJIAEoAhIUCgxtaWNyb1N1cmZh", |
| | 199 | | "Y2UYCiABKAISGQoRZW1pc3NpdmVJbnRlbnNpdHkYCyABKAISHAoUZW52aXJv", |
| | 200 | | "bm1lbnRJbnRlbnNpdHkYDCABKAISGQoRc3BlY3VsYXJJbnRlbnNpdHkYDSAB", |
| | 201 | | "KAISOAoNYWxiZWRvVGV4dHVyZRgOIAEoCzIhLmRlY2VudHJhbGFuZC5yZW5k", |
| | 202 | | "ZXJlci5QQl9UZXh0dXJlEjcKDGFscGhhVGV4dHVyZRgPIAEoCzIhLmRlY2Vu", |
| | 203 | | "dHJhbGFuZC5yZW5kZXJlci5QQl9UZXh0dXJlEjoKD2VtaXNzaXZlVGV4dHVy", |
| | 204 | | "ZRgQIAEoCzIhLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9UZXh0dXJlEjYK", |
| | 205 | | "C2J1bXBUZXh0dXJlGBEgASgLMiEuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBC", |
| | 206 | | "X1RleHR1cmUSPAoRcmVmcmFjdGlvblRleHR1cmUYEiABKAsyIS5kZWNlbnRy", |
| | 207 | | "YWxhbmQucmVuZGVyZXIuUEJfVGV4dHVyZRIXCg9kaXNhYmxlTGlnaHRpbmcY", |
| | 208 | | "EyABKAgSGAoQdHJhbnNwYXJlbmN5TW9kZRgUIAEoAhIQCghoYXNBbHBoYRgV", |
| | 209 | | "IAEoCCJ0CgtQQl9ORlRTaGFwZRIWCg53aXRoQ29sbGlzaW9ucxgBIAEoCBIP", |
| | 210 | | "Cgd2aXNpYmxlGAIgASgIEgsKA3NyYxgDIAEoCRIvCgVjb2xvchgEIAEoCzIg", |
| | 211 | | "LmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9Db2xvcjMiQwoLUEJfT0JKU2hh", |
| | 212 | | "cGUSFgoOd2l0aENvbGxpc2lvbnMYASABKAgSDwoHdmlzaWJsZRgCIAEoCBIL", |
| | 213 | | "CgNzcmMYAyABKAkiZAoNUEJfUGxhbmVTaGFwZRIWCg53aXRoQ29sbGlzaW9u", |
| | 214 | | "cxgBIAEoCBIPCgd2aXNpYmxlGAIgASgIEg0KBXdpZHRoGAMgASgCEg4KBmhl", |
| | 215 | | "aWdodBgEIAEoAhILCgN1dnMYBSADKAIiMwoIUEJfU2hhcGUSFgoOd2l0aENv", |
| | 216 | | "bGxpc2lvbnMYASABKAgSDwoHdmlzaWJsZRgCIAEoCCI5Cg5QQl9TcGhlcmVT", |
| | 217 | | "aGFwZRIWCg53aXRoQ29sbGlzaW9ucxgBIAEoCBIPCgd2aXNpYmxlGAIgASgI", |
| | 218 | | "IpwFCgxQQl9UZXh0U2hhcGUSFgoOd2l0aENvbGxpc2lvbnMYASABKAgSDwoH", |
| | 219 | | "dmlzaWJsZRgCIAEoCBIUCgxvdXRsaW5lV2lkdGgYAyABKAISNgoMb3V0bGlu", |
| | 220 | | "ZUNvbG9yGAQgASgLMiAuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX0NvbG9y", |
| | 221 | | "MxIvCgVjb2xvchgFIAEoCzIgLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9D", |
| | 222 | | "b2xvcjMSEAoIZm9udFNpemUYBiABKAISEgoKZm9udFdlaWdodBgHIAEoCRIP", |
| | 223 | | "CgdvcGFjaXR5GAggASgCEg0KBXZhbHVlGAkgASgJEhMKC2xpbmVTcGFjaW5n", |
| | 224 | | "GAogASgJEhEKCWxpbmVDb3VudBgLIAEoAhITCgtyZXNpemVUb0ZpdBgMIAEo", |
| | 225 | | "CBIUCgx0ZXh0V3JhcHBpbmcYDSABKAgSEgoKc2hhZG93Qmx1chgOIAEoAhIV", |
| | 226 | | "Cg1zaGFkb3dPZmZzZXRYGA8gASgCEhUKDXNoYWRvd09mZnNldFkYECABKAIS", |
| | 227 | | "NQoLc2hhZG93Q29sb3IYESABKAsyIC5kZWNlbnRyYWxhbmQucmVuZGVyZXIu", |
| | 228 | | "UEJfQ29sb3IzEg4KBnpJbmRleBgSIAEoAhISCgpoVGV4dEFsaWduGBMgASgJ", |
| | 229 | | "EhIKCnZUZXh0QWxpZ24YFCABKAkSDQoFd2lkdGgYFSABKAISDgoGaGVpZ2h0", |
| | 230 | | "GBYgASgCEhIKCnBhZGRpbmdUb3AYFyABKAISFAoMcGFkZGluZ1JpZ2h0GBgg", |
| | 231 | | "ASgCEhUKDXBhZGRpbmdCb3R0b20YGSABKAISEwoLcGFkZGluZ0xlZnQYGiAB", |
| | 232 | | "KAISEgoKaXNQaWNrYWJsZRgbIAEoCBIRCgliaWxsYm9hcmQYHCABKAgiTwoK", |
| | 233 | | "UEJfVGV4dHVyZRILCgNzcmMYASABKAkSFAoMc2FtcGxpbmdNb2RlGAIgASgC", |
| | 234 | | "EgwKBHdyYXAYAyABKAISEAoIaGFzQWxwaGEYBCABKAgiggUKC1BCX1VJQnV0", |
| | 235 | | "dG9uEgwKBG5hbWUYASABKAkSDwoHdmlzaWJsZRgCIAEoCBIPCgdvcGFjaXR5", |
| | 236 | | "GAMgASgCEg4KBmhBbGlnbhgEIAEoCRIOCgZ2QWxpZ24YBSABKAkSDQoFd2lk", |
| | 237 | | "dGgYBiABKAkSDgoGaGVpZ2h0GAcgASgJEhEKCXBvc2l0aW9uWBgIIAEoCRIR", |
| | 238 | | "Cglwb3NpdGlvblkYCSABKAkSGAoQaXNQb2ludGVyQmxvY2tlchgKIAEoCBIx", |
| | 239 | | "CgZwYXJlbnQYCyABKAsyIS5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfVUlT", |
| | 240 | | "aGFwZRIQCghmb250U2l6ZRgMIAEoAhISCgpmb250V2VpZ2h0GA0gASgJEhEK", |
| | 241 | | "CXRoaWNrbmVzcxgOIAEoAhIUCgxjb3JuZXJSYWRpdXMYDyABKAISLwoFY29s", |
| | 242 | | "b3IYECABKAsyIC5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfQ29sb3I0EjQK", |
| | 243 | | "CmJhY2tncm91bmQYESABKAsyIC5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJf", |
| | 244 | | "Q29sb3I0EhIKCnBhZGRpbmdUb3AYEiABKAISFAoMcGFkZGluZ1JpZ2h0GBMg", |
| | 245 | | "ASgCEhUKDXBhZGRpbmdCb3R0b20YFCABKAISEwoLcGFkZGluZ0xlZnQYFSAB", |
| | 246 | | "KAISEgoKc2hhZG93Qmx1chgWIAEoAhIVCg1zaGFkb3dPZmZzZXRYGBcgASgC", |
| | 247 | | "EhUKDXNoYWRvd09mZnNldFkYGCABKAISNQoLc2hhZG93Q29sb3IYGSABKAsy", |
| | 248 | | "IC5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfQ29sb3I0EgwKBHRleHQYGiAB", |
| | 249 | | "KAki7wEKC1BCX1VJQ2FudmFzEgwKBG5hbWUYASABKAkSDwoHdmlzaWJsZRgC", |
| | 250 | | "IAEoCBIPCgdvcGFjaXR5GAMgASgCEg4KBmhBbGlnbhgEIAEoCRIOCgZ2QWxp", |
| | 251 | | "Z24YBSABKAkSDQoFd2lkdGgYBiABKAkSDgoGaGVpZ2h0GAcgASgJEhEKCXBv", |
| | 252 | | "c2l0aW9uWBgIIAEoCRIRCglwb3NpdGlvblkYCSABKAkSGAoQaXNQb2ludGVy", |
| | 253 | | "QmxvY2tlchgKIAEoCBIxCgZwYXJlbnQYCyABKAsyIS5kZWNlbnRyYWxhbmQu", |
| | 254 | | "cmVuZGVyZXIuUEJfVUlTaGFwZSL+AgoSUEJfVUlDb250YWluZXJSZWN0EgwK", |
| | 255 | | "BG5hbWUYASABKAkSDwoHdmlzaWJsZRgCIAEoCBIPCgdvcGFjaXR5GAMgASgC", |
| | 256 | | "Eg4KBmhBbGlnbhgEIAEoCRIOCgZ2QWxpZ24YBSABKAkSDQoFd2lkdGgYBiAB", |
| | 257 | | "KAkSDgoGaGVpZ2h0GAcgASgJEhEKCXBvc2l0aW9uWBgIIAEoCRIRCglwb3Np", |
| | 258 | | "dGlvblkYCSABKAkSGAoQaXNQb2ludGVyQmxvY2tlchgKIAEoCBIxCgZwYXJl", |
| | 259 | | "bnQYCyABKAsyIS5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfVUlTaGFwZRIS", |
| | 260 | | "CgphZGFwdFdpZHRoGAwgASgIEhMKC2FkYXB0SGVpZ2h0GA0gASgIEhEKCXRo", |
| | 261 | | "aWNrbmVzcxgOIAEoAhIvCgVjb2xvchgPIAEoCzIgLmRlY2VudHJhbGFuZC5y", |
| | 262 | | "ZW5kZXJlci5QQl9Db2xvcjQSGQoRYWxpZ25tZW50VXNlc1NpemUYECABKAgi", |
| | 263 | | "qgMKE1BCX1VJQ29udGFpbmVyU3RhY2sSDAoEbmFtZRgBIAEoCRIPCgd2aXNp", |
| | 264 | | "YmxlGAIgASgIEg8KB29wYWNpdHkYAyABKAISDgoGaEFsaWduGAQgASgJEg4K", |
| | 265 | | "BnZBbGlnbhgFIAEoCRINCgV3aWR0aBgGIAEoCRIOCgZoZWlnaHQYByABKAkS", |
| | 266 | | "EQoJcG9zaXRpb25YGAggASgJEhEKCXBvc2l0aW9uWRgJIAEoCRIYChBpc1Bv", |
| | 267 | | "aW50ZXJCbG9ja2VyGAogASgIEjEKBnBhcmVudBgLIAEoCzIhLmRlY2VudHJh", |
| | 268 | | "bGFuZC5yZW5kZXJlci5QQl9VSVNoYXBlEhIKCmFkYXB0V2lkdGgYDCABKAgS", |
| | 269 | | "EwoLYWRhcHRIZWlnaHQYDSABKAgSLwoFY29sb3IYDiABKAsyIC5kZWNlbnRy", |
| | 270 | | "YWxhbmQucmVuZGVyZXIuUEJfQ29sb3I0EkYKEHN0YWNrT3JpZW50YXRpb24Y", |
| | 271 | | "DyABKA4yLC5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfVUlTdGFja09yaWVu", |
| | 272 | | "dGF0aW9uEg8KB3NwYWNpbmcYECABKAIimAQKClBCX1VJSW1hZ2USDAoEbmFt", |
| | 273 | | "ZRgBIAEoCRIPCgd2aXNpYmxlGAIgASgIEg8KB29wYWNpdHkYAyABKAISDgoG", |
| | 274 | | "aEFsaWduGAQgASgJEg4KBnZBbGlnbhgFIAEoCRINCgV3aWR0aBgGIAEoCRIO", |
| | 275 | | "CgZoZWlnaHQYByABKAkSEQoJcG9zaXRpb25YGAggASgJEhEKCXBvc2l0aW9u", |
| | 276 | | "WRgJIAEoCRIYChBpc1BvaW50ZXJCbG9ja2VyGAogASgIEjEKBnBhcmVudBgL", |
| | 277 | | "IAEoCzIhLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9VSVNoYXBlEhIKCnNv", |
| | 278 | | "dXJjZUxlZnQYDCABKAISEQoJc291cmNlVG9wGA0gASgCEhMKC3NvdXJjZVdp", |
| | 279 | | "ZHRoGA4gASgCEhQKDHNvdXJjZUhlaWdodBgPIAEoAhIxCgZzb3VyY2UYECAB", |
| | 280 | | "KAsyIS5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfVGV4dHVyZRISCgpwYWRk", |
| | 281 | | "aW5nVG9wGBEgASgCEhQKDHBhZGRpbmdSaWdodBgSIAEoAhIVCg1wYWRkaW5n", |
| | 282 | | "Qm90dG9tGBMgASgCEhMKC3BhZGRpbmdMZWZ0GBQgASgCEhQKDHNpemVJblBp", |
| | 283 | | "eGVscxgVIAEoCBI3CgdvbkNsaWNrGBYgASgLMiYuZGVjZW50cmFsYW5kLnJl", |
| | 284 | | "bmRlcmVyLlBCX1VVSURDYWxsYmFjayItCg9QQl9VVUlEQ2FsbGJhY2sSDAoE", |
| | 285 | | "dHlwZRgBIAEoCRIMCgR1dWlkGAIgASgJIrAJCg5QQl9VSUlucHV0VGV4dBIM", |
| | 286 | | "CgRuYW1lGAEgASgJEg8KB3Zpc2libGUYAiABKAgSDwoHb3BhY2l0eRgDIAEo", |
| | 287 | | "AhIOCgZoQWxpZ24YBCABKAkSDgoGdkFsaWduGAUgASgJEg0KBXdpZHRoGAYg", |
| | 288 | | "ASgJEg4KBmhlaWdodBgHIAEoCRIRCglwb3NpdGlvblgYCCABKAkSEQoJcG9z", |
| | 289 | | "aXRpb25ZGAkgASgJEhgKEGlzUG9pbnRlckJsb2NrZXIYCiABKAgSMQoGcGFy", |
| | 290 | | "ZW50GAsgASgLMiEuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX1VJU2hhcGUS", |
| | 291 | | "FAoMb3V0bGluZVdpZHRoGAwgASgCEjYKDG91dGxpbmVDb2xvchgNIAEoCzIg", |
| | 292 | | "LmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9Db2xvcjQSLwoFY29sb3IYDiAB", |
| | 293 | | "KAsyIC5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfQ29sb3I0EhEKCXRoaWNr", |
| | 294 | | "bmVzcxgPIAEoAhIQCghmb250U2l6ZRgQIAEoAhISCgpmb250V2VpZ2h0GBEg", |
| | 295 | | "ASgJEg0KBXZhbHVlGBIgASgJEjoKEHBsYWNlaG9sZGVyQ29sb3IYEyABKAsy", |
| | 296 | | "IC5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfQ29sb3I0EhMKC3BsYWNlaG9s", |
| | 297 | | "ZGVyGBQgASgJEg4KBm1hcmdpbhgVIAEoAhIQCghtYXhXaWR0aBgWIAEoAhIS", |
| | 298 | | "CgpoVGV4dEFsaWduGBcgASgJEhIKCnZUZXh0QWxpZ24YGCABKAkSGAoQYXV0", |
| | 299 | | "b1N0cmV0Y2hXaWR0aBgZIAEoCBI0CgpiYWNrZ3JvdW5kGBogASgLMiAuZGVj", |
| | 300 | | "ZW50cmFsYW5kLnJlbmRlcmVyLlBCX0NvbG9yNBI7ChFmb2N1c2VkQmFja2dy", |
| | 301 | | "b3VuZBgbIAEoCzIgLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9Db2xvcjQS", |
| | 302 | | "FAoMdGV4dFdyYXBwaW5nGBwgASgIEhIKCnNoYWRvd0JsdXIYHSABKAISFQoN", |
| | 303 | | "c2hhZG93T2Zmc2V0WBgeIAEoAhIVCg1zaGFkb3dPZmZzZXRZGB8gASgCEjUK", |
| | 304 | | "C3NoYWRvd0NvbG9yGCAgASgLMiAuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBC", |
| | 305 | | "X0NvbG9yNBISCgpwYWRkaW5nVG9wGCEgASgCEhQKDHBhZGRpbmdSaWdodBgi", |
| | 306 | | "IAEoAhIVCg1wYWRkaW5nQm90dG9tGCMgASgCEhMKC3BhZGRpbmdMZWZ0GCQg", |
| | 307 | | "ASgCEjwKDG9uVGV4dFN1Ym1pdBglIAEoCzImLmRlY2VudHJhbGFuZC5yZW5k", |
| | 308 | | "ZXJlci5QQl9VVUlEQ2FsbGJhY2sSOQoJb25DaGFuZ2VkGCYgASgLMiYuZGVj", |
| | 309 | | "ZW50cmFsYW5kLnJlbmRlcmVyLlBCX1VVSURDYWxsYmFjaxI3CgdvbkZvY3Vz", |
| | 310 | | "GCcgASgLMiYuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX1VVSURDYWxsYmFj", |
| | 311 | | "axI2CgZvbkJsdXIYKCABKAsyJi5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJf", |
| | 312 | | "VVVJRENhbGxiYWNrIsAECg9QQl9VSVNjcm9sbFJlY3QSDAoEbmFtZRgBIAEo", |
| | 313 | | "CRIPCgd2aXNpYmxlGAIgASgIEg8KB29wYWNpdHkYAyABKAISDgoGaEFsaWdu", |
| | 314 | | "GAQgASgJEg4KBnZBbGlnbhgFIAEoCRINCgV3aWR0aBgGIAEoCRIOCgZoZWln", |
| | 315 | | "aHQYByABKAkSEQoJcG9zaXRpb25YGAggASgJEhEKCXBvc2l0aW9uWRgJIAEo", |
| | 316 | | "CRIYChBpc1BvaW50ZXJCbG9ja2VyGAogASgIEjEKBnBhcmVudBgLIAEoCzIh", |
| | 317 | | "LmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9VSVNoYXBlEg4KBnZhbHVlWBgM", |
| | 318 | | "IAEoAhIOCgZ2YWx1ZVkYDSABKAISNQoLYm9yZGVyQ29sb3IYDiABKAsyIC5k", |
| | 319 | | "ZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfQ29sb3I0EjkKD2JhY2tncm91bmRD", |
| | 320 | | "b2xvchgPIAEoCzIgLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9Db2xvcjQS", |
| | 321 | | "FAoMaXNIb3Jpem9udGFsGBAgASgIEhIKCmlzVmVydGljYWwYESABKAgSEgoK", |
| | 322 | | "cGFkZGluZ1RvcBgSIAEoAhIUCgxwYWRkaW5nUmlnaHQYEyABKAISFQoNcGFk", |
| | 323 | | "ZGluZ0JvdHRvbRgUIAEoAhITCgtwYWRkaW5nTGVmdBgVIAEoAhI5CglvbkNo", |
| | 324 | | "YW5nZWQYFiABKAsyJi5kZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfVVVJRENh", |
| | 325 | | "bGxiYWNrIu4BCgpQQl9VSVNoYXBlEgwKBG5hbWUYASABKAkSDwoHdmlzaWJs", |
| | 326 | | "ZRgCIAEoCBIPCgdvcGFjaXR5GAMgASgCEg4KBmhBbGlnbhgEIAEoCRIOCgZ2", |
| | 327 | | "QWxpZ24YBSABKAkSDQoFd2lkdGgYBiABKAkSDgoGaGVpZ2h0GAcgASgJEhEK", |
| | 328 | | "CXBvc2l0aW9uWBgIIAEoCRIRCglwb3NpdGlvblkYCSABKAkSGAoQaXNQb2lu", |
| | 329 | | "dGVyQmxvY2tlchgKIAEoCBIxCgZwYXJlbnQYCyABKAsyIS5kZWNlbnRyYWxh", |
| | 330 | | "bmQucmVuZGVyZXIuUEJfVUlTaGFwZSKaBgoOUEJfVUlUZXh0U2hhcGUSDAoE", |
| | 331 | | "bmFtZRgBIAEoCRIPCgd2aXNpYmxlGAIgASgIEg8KB29wYWNpdHkYAyABKAIS", |
| | 332 | | "DgoGaEFsaWduGAQgASgJEg4KBnZBbGlnbhgFIAEoCRINCgV3aWR0aBgGIAEo", |
| | 333 | | "CRIOCgZoZWlnaHQYByABKAkSEQoJcG9zaXRpb25YGAggASgJEhEKCXBvc2l0", |
| | 334 | | "aW9uWRgJIAEoCRIYChBpc1BvaW50ZXJCbG9ja2VyGAogASgIEjEKBnBhcmVu", |
| | 335 | | "dBgLIAEoCzIhLmRlY2VudHJhbGFuZC5yZW5kZXJlci5QQl9VSVNoYXBlEhQK", |
| | 336 | | "DG91dGxpbmVXaWR0aBgMIAEoAhI2CgxvdXRsaW5lQ29sb3IYDSABKAsyIC5k", |
| | 337 | | "ZWNlbnRyYWxhbmQucmVuZGVyZXIuUEJfQ29sb3I0Ei8KBWNvbG9yGA4gASgL", |
| | 338 | | "MiAuZGVjZW50cmFsYW5kLnJlbmRlcmVyLlBCX0NvbG9yNBIQCghmb250U2l6", |
| | 339 | | "ZRgPIAEoAhIUCgxmb250QXV0b1NpemUYECABKAgSEgoKZm9udFdlaWdodBgR", |
| | 340 | | "IAEoCRINCgV2YWx1ZRgSIAEoCRITCgtsaW5lU3BhY2luZxgTIAEoAhIRCgls", |
| | 341 | | "aW5lQ291bnQYFCABKAISEgoKYWRhcHRXaWR0aBgVIAEoCBITCgthZGFwdEhl", |
| | 342 | | "aWdodBgWIAEoCBIUCgx0ZXh0V3JhcHBpbmcYFyABKAgSEgoKc2hhZG93Qmx1", |
| | 343 | | "chgYIAEoAhIVCg1zaGFkb3dPZmZzZXRYGBkgASgCEhUKDXNoYWRvd09mZnNl", |
| | 344 | | "dFkYGiABKAISNQoLc2hhZG93Q29sb3IYGyABKAsyIC5kZWNlbnRyYWxhbmQu", |
| | 345 | | "cmVuZGVyZXIuUEJfQ29sb3I0EhIKCmhUZXh0QWxpZ24YHCABKAkSEgoKdlRl", |
| | 346 | | "eHRBbGlnbhgdIAEoCRISCgpwYWRkaW5nVG9wGB4gASgCEhQKDHBhZGRpbmdS", |
| | 347 | | "aWdodBgfIAEoAhIVCg1wYWRkaW5nQm90dG9tGCAgASgCEhMKC3BhZGRpbmdM", |
| | 348 | | "ZWZ0GCEgASgCIiEKElBCX09wZW5FeHRlcm5hbFVybBILCgN1cmwYASABKAki", |
| | 349 | | "UgoQUEJfT3Blbk5GVERpYWxvZxIcChRhc3NldENvbnRyYWN0QWRkcmVzcxgB", |
| | 350 | | "IAEoCRIPCgd0b2tlbklkGAIgASgJEg8KB2NvbW1lbnQYAyABKAkqNQoVUEJf", |
| | 351 | | "VUlTdGFja09yaWVudGF0aW9uEgwKCFZFUlRJQ0FMEAASDgoKSE9SSVpPTlRB", |
| | 352 | | "TBABQhCqAg1EQ0wuSW50ZXJmYWNlYgZwcm90bzM=")); |
| | 353 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 354 | | new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.EmptyReflection.Descriptor, }, |
| | 355 | | new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DCL.Interface.PB_UIStackOrientation), }, null, new pbr::Ge |
| | 356 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_CreateEntity), global::DCL.Interface.PB_Create |
| | 357 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_RemoveEntity), global::DCL.Interface.PB_Remove |
| | 358 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_SetEntityParent), global::DCL.Interface.PB_Set |
| | 359 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_ComponentRemoved), global::DCL.Interface.PB_Co |
| | 360 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Component), global::DCL.Interface.PB_Component |
| | 361 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Color4), global::DCL.Interface.PB_Color4.Parse |
| | 362 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Color3), global::DCL.Interface.PB_Color3.Parse |
| | 363 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_TextShapeModel), global::DCL.Interface.PB_Text |
| | 364 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Vector3), global::DCL.Interface.PB_Vector3.Par |
| | 365 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Quaternion), global::DCL.Interface.PB_Quaterni |
| | 366 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Transform), global::DCL.Interface.PB_Transform |
| | 367 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UpdateEntityComponent), global::DCL.Interface. |
| | 368 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_ComponentCreated), global::DCL.Interface.PB_Co |
| | 369 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_AttachEntityComponent), global::DCL.Interface. |
| | 370 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_ComponentDisposed), global::DCL.Interface.PB_C |
| | 371 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_ComponentUpdated), global::DCL.Interface.PB_Co |
| | 372 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Ray), global::DCL.Interface.PB_Ray.Parser, new |
| | 373 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_RayQuery), global::DCL.Interface.PB_RayQuery.P |
| | 374 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Query), global::DCL.Interface.PB_Query.Parser, |
| | 375 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_SendSceneMessage), global::DCL.Interface.PB_Se |
| | 376 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_SetPosition), global::DCL.Interface.PB_SetPosi |
| | 377 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_ContentMapping), global::DCL.Interface.PB_Cont |
| | 378 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Position), global::DCL.Interface.PB_Position.P |
| | 379 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_LoadParcelScenes), global::DCL.Interface.PB_Lo |
| | 380 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_CreateUIScene), global::DCL.Interface.PB_Creat |
| | 381 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UnloadScene), global::DCL.Interface.PB_UnloadS |
| | 382 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_DclMessage), global::DCL.Interface.PB_DclMessa |
| | 383 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_AnimationState), global::DCL.Interface.PB_Anim |
| | 384 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Animator), global::DCL.Interface.PB_Animator.P |
| | 385 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_AudioClip), global::DCL.Interface.PB_AudioClip |
| | 386 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_AudioSource), global::DCL.Interface.PB_AudioSo |
| | 387 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_AvatarShape), global::DCL.Interface.PB_AvatarS |
| | 388 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Wearable), global::DCL.Interface.PB_Wearable.P |
| | 389 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Face), global::DCL.Interface.PB_Face.Parser, n |
| | 390 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Eyes), global::DCL.Interface.PB_Eyes.Parser, n |
| | 391 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Hair), global::DCL.Interface.PB_Hair.Parser, n |
| | 392 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Skin), global::DCL.Interface.PB_Skin.Parser, n |
| | 393 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_BasicMaterial), global::DCL.Interface.PB_Basic |
| | 394 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Billboard), global::DCL.Interface.PB_Billboard |
| | 395 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_BoxShape), global::DCL.Interface.PB_BoxShape.P |
| | 396 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_CircleShape), global::DCL.Interface.PB_CircleS |
| | 397 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_ConeShape), global::DCL.Interface.PB_ConeShape |
| | 398 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_CylinderShape), global::DCL.Interface.PB_Cylin |
| | 399 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_GlobalPointerDown), global::DCL.Interface.PB_G |
| | 400 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_GlobalPointerUp), global::DCL.Interface.PB_Glo |
| | 401 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_GLTFShape), global::DCL.Interface.PB_GLTFShape |
| | 402 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Material), global::DCL.Interface.PB_Material.P |
| | 403 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_NFTShape), global::DCL.Interface.PB_NFTShape.P |
| | 404 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_OBJShape), global::DCL.Interface.PB_OBJShape.P |
| | 405 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_PlaneShape), global::DCL.Interface.PB_PlaneSha |
| | 406 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Shape), global::DCL.Interface.PB_Shape.Parser, |
| | 407 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_SphereShape), global::DCL.Interface.PB_SphereS |
| | 408 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_TextShape), global::DCL.Interface.PB_TextShape |
| | 409 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_Texture), global::DCL.Interface.PB_Texture.Par |
| | 410 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UIButton), global::DCL.Interface.PB_UIButton.P |
| | 411 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UICanvas), global::DCL.Interface.PB_UICanvas.P |
| | 412 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UIContainerRect), global::DCL.Interface.PB_UIC |
| | 413 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UIContainerStack), global::DCL.Interface.PB_UI |
| | 414 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UIImage), global::DCL.Interface.PB_UIImage.Par |
| | 415 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UUIDCallback), global::DCL.Interface.PB_UUIDCa |
| | 416 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UIInputText), global::DCL.Interface.PB_UIInput |
| | 417 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UIScrollRect), global::DCL.Interface.PB_UIScro |
| | 418 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UIShape), global::DCL.Interface.PB_UIShape.Par |
| | 419 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_UITextShape), global::DCL.Interface.PB_UITextS |
| | 420 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_OpenExternalUrl), global::DCL.Interface.PB_Ope |
| | 421 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.Interface.PB_OpenNFTDialog), global::DCL.Interface.PB_OpenN |
| | 422 | | })); |
| | 423 | | } |
| | 424 | | #endregion |
| | 425 | |
|
| | 426 | | } |
| | 427 | | #region Enums |
| | 428 | | public enum PB_UIStackOrientation { |
| | 429 | | [pbr::OriginalName("VERTICAL")] Vertical = 0, |
| | 430 | | [pbr::OriginalName("HORIZONTAL")] Horizontal = 1, |
| | 431 | | } |
| | 432 | |
|
| | 433 | | #endregion |
| | 434 | |
|
| | 435 | | #region Messages |
| | 436 | | public sealed partial class PB_CreateEntity : pb::IMessage<PB_CreateEntity> |
| | 437 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 438 | | , pb::IBufferMessage |
| | 439 | | #endif |
| | 440 | | { |
| | 441 | | private static readonly pb::MessageParser<PB_CreateEntity> _parser = new pb::MessageParser<PB_CreateEntity>(() => ne |
| | 442 | | private pb::UnknownFieldSet _unknownFields; |
| | 443 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 444 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 445 | | public static pb::MessageParser<PB_CreateEntity> Parser { get { return _parser; } } |
| | 446 | |
|
| | 447 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 448 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 449 | | public static pbr::MessageDescriptor Descriptor { |
| | 450 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[0]; } |
| | 451 | | } |
| | 452 | |
|
| | 453 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 454 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 455 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 456 | | get { return Descriptor; } |
| | 457 | | } |
| | 458 | |
|
| | 459 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 460 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 461 | | public PB_CreateEntity() { |
| | 462 | | OnConstruction(); |
| | 463 | | } |
| | 464 | |
|
| | 465 | | partial void OnConstruction(); |
| | 466 | |
|
| | 467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 469 | | public PB_CreateEntity(PB_CreateEntity other) : this() { |
| | 470 | | id_ = other.id_; |
| | 471 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 472 | | } |
| | 473 | |
|
| | 474 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 475 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 476 | | public PB_CreateEntity Clone() { |
| | 477 | | return new PB_CreateEntity(this); |
| | 478 | | } |
| | 479 | |
|
| | 480 | | /// <summary>Field number for the "id" field.</summary> |
| | 481 | | public const int IdFieldNumber = 1; |
| | 482 | | private string id_ = ""; |
| | 483 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 484 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 485 | | public string Id { |
| | 486 | | get { return id_; } |
| | 487 | | set { |
| | 488 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 489 | | } |
| | 490 | | } |
| | 491 | |
|
| | 492 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 493 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 494 | | public override bool Equals(object other) { |
| | 495 | | return Equals(other as PB_CreateEntity); |
| | 496 | | } |
| | 497 | |
|
| | 498 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 499 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 500 | | public bool Equals(PB_CreateEntity other) { |
| | 501 | | if (ReferenceEquals(other, null)) { |
| | 502 | | return false; |
| | 503 | | } |
| | 504 | | if (ReferenceEquals(other, this)) { |
| | 505 | | return true; |
| | 506 | | } |
| | 507 | | if (Id != other.Id) return false; |
| | 508 | | return Equals(_unknownFields, other._unknownFields); |
| | 509 | | } |
| | 510 | |
|
| | 511 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 512 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 513 | | public override int GetHashCode() { |
| | 514 | | int hash = 1; |
| | 515 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 516 | | if (_unknownFields != null) { |
| | 517 | | hash ^= _unknownFields.GetHashCode(); |
| | 518 | | } |
| | 519 | | return hash; |
| | 520 | | } |
| | 521 | |
|
| | 522 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 523 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 524 | | public override string ToString() { |
| | 525 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 526 | | } |
| | 527 | |
|
| | 528 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 529 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 530 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 531 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 532 | | output.WriteRawMessage(this); |
| | 533 | | #else |
| | 534 | | if (Id.Length != 0) { |
| | 535 | | output.WriteRawTag(10); |
| | 536 | | output.WriteString(Id); |
| | 537 | | } |
| | 538 | | if (_unknownFields != null) { |
| | 539 | | _unknownFields.WriteTo(output); |
| | 540 | | } |
| | 541 | | #endif |
| | 542 | | } |
| | 543 | |
|
| | 544 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 545 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 546 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 547 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 548 | | if (Id.Length != 0) { |
| | 549 | | output.WriteRawTag(10); |
| | 550 | | output.WriteString(Id); |
| | 551 | | } |
| | 552 | | if (_unknownFields != null) { |
| | 553 | | _unknownFields.WriteTo(ref output); |
| | 554 | | } |
| | 555 | | } |
| | 556 | | #endif |
| | 557 | |
|
| | 558 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 559 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 560 | | public int CalculateSize() { |
| | 561 | | int size = 0; |
| | 562 | | if (Id.Length != 0) { |
| | 563 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 564 | | } |
| | 565 | | if (_unknownFields != null) { |
| | 566 | | size += _unknownFields.CalculateSize(); |
| | 567 | | } |
| | 568 | | return size; |
| | 569 | | } |
| | 570 | |
|
| | 571 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 572 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 573 | | public void MergeFrom(PB_CreateEntity other) { |
| | 574 | | if (other == null) { |
| | 575 | | return; |
| | 576 | | } |
| | 577 | | if (other.Id.Length != 0) { |
| | 578 | | Id = other.Id; |
| | 579 | | } |
| | 580 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 581 | | } |
| | 582 | |
|
| | 583 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 584 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 585 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 586 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 587 | | input.ReadRawMessage(this); |
| | 588 | | #else |
| | 589 | | uint tag; |
| | 590 | | while ((tag = input.ReadTag()) != 0) { |
| | 591 | | switch(tag) { |
| | 592 | | default: |
| | 593 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 594 | | break; |
| | 595 | | case 10: { |
| | 596 | | Id = input.ReadString(); |
| | 597 | | break; |
| | 598 | | } |
| | 599 | | } |
| | 600 | | } |
| | 601 | | #endif |
| | 602 | | } |
| | 603 | |
|
| | 604 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 605 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 606 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 607 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 608 | | uint tag; |
| | 609 | | while ((tag = input.ReadTag()) != 0) { |
| | 610 | | switch(tag) { |
| | 611 | | default: |
| | 612 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 613 | | break; |
| | 614 | | case 10: { |
| | 615 | | Id = input.ReadString(); |
| | 616 | | break; |
| | 617 | | } |
| | 618 | | } |
| | 619 | | } |
| | 620 | | } |
| | 621 | | #endif |
| | 622 | |
|
| | 623 | | } |
| | 624 | |
|
| | 625 | | public sealed partial class PB_RemoveEntity : pb::IMessage<PB_RemoveEntity> |
| | 626 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 627 | | , pb::IBufferMessage |
| | 628 | | #endif |
| | 629 | | { |
| | 630 | | private static readonly pb::MessageParser<PB_RemoveEntity> _parser = new pb::MessageParser<PB_RemoveEntity>(() => ne |
| | 631 | | private pb::UnknownFieldSet _unknownFields; |
| | 632 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 633 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 634 | | public static pb::MessageParser<PB_RemoveEntity> Parser { get { return _parser; } } |
| | 635 | |
|
| | 636 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 637 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 638 | | public static pbr::MessageDescriptor Descriptor { |
| | 639 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[1]; } |
| | 640 | | } |
| | 641 | |
|
| | 642 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 643 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 644 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 645 | | get { return Descriptor; } |
| | 646 | | } |
| | 647 | |
|
| | 648 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 649 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 650 | | public PB_RemoveEntity() { |
| | 651 | | OnConstruction(); |
| | 652 | | } |
| | 653 | |
|
| | 654 | | partial void OnConstruction(); |
| | 655 | |
|
| | 656 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 657 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 658 | | public PB_RemoveEntity(PB_RemoveEntity other) : this() { |
| | 659 | | id_ = other.id_; |
| | 660 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 661 | | } |
| | 662 | |
|
| | 663 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 664 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 665 | | public PB_RemoveEntity Clone() { |
| | 666 | | return new PB_RemoveEntity(this); |
| | 667 | | } |
| | 668 | |
|
| | 669 | | /// <summary>Field number for the "id" field.</summary> |
| | 670 | | public const int IdFieldNumber = 1; |
| | 671 | | private string id_ = ""; |
| | 672 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 673 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 674 | | public string Id { |
| | 675 | | get { return id_; } |
| | 676 | | set { |
| | 677 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 678 | | } |
| | 679 | | } |
| | 680 | |
|
| | 681 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 682 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 683 | | public override bool Equals(object other) { |
| | 684 | | return Equals(other as PB_RemoveEntity); |
| | 685 | | } |
| | 686 | |
|
| | 687 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 688 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 689 | | public bool Equals(PB_RemoveEntity other) { |
| | 690 | | if (ReferenceEquals(other, null)) { |
| | 691 | | return false; |
| | 692 | | } |
| | 693 | | if (ReferenceEquals(other, this)) { |
| | 694 | | return true; |
| | 695 | | } |
| | 696 | | if (Id != other.Id) return false; |
| | 697 | | return Equals(_unknownFields, other._unknownFields); |
| | 698 | | } |
| | 699 | |
|
| | 700 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 701 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 702 | | public override int GetHashCode() { |
| | 703 | | int hash = 1; |
| | 704 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 705 | | if (_unknownFields != null) { |
| | 706 | | hash ^= _unknownFields.GetHashCode(); |
| | 707 | | } |
| | 708 | | return hash; |
| | 709 | | } |
| | 710 | |
|
| | 711 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 712 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 713 | | public override string ToString() { |
| | 714 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 715 | | } |
| | 716 | |
|
| | 717 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 718 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 719 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 720 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 721 | | output.WriteRawMessage(this); |
| | 722 | | #else |
| | 723 | | if (Id.Length != 0) { |
| | 724 | | output.WriteRawTag(10); |
| | 725 | | output.WriteString(Id); |
| | 726 | | } |
| | 727 | | if (_unknownFields != null) { |
| | 728 | | _unknownFields.WriteTo(output); |
| | 729 | | } |
| | 730 | | #endif |
| | 731 | | } |
| | 732 | |
|
| | 733 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 734 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 735 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 736 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 737 | | if (Id.Length != 0) { |
| | 738 | | output.WriteRawTag(10); |
| | 739 | | output.WriteString(Id); |
| | 740 | | } |
| | 741 | | if (_unknownFields != null) { |
| | 742 | | _unknownFields.WriteTo(ref output); |
| | 743 | | } |
| | 744 | | } |
| | 745 | | #endif |
| | 746 | |
|
| | 747 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 748 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 749 | | public int CalculateSize() { |
| | 750 | | int size = 0; |
| | 751 | | if (Id.Length != 0) { |
| | 752 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 753 | | } |
| | 754 | | if (_unknownFields != null) { |
| | 755 | | size += _unknownFields.CalculateSize(); |
| | 756 | | } |
| | 757 | | return size; |
| | 758 | | } |
| | 759 | |
|
| | 760 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 761 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 762 | | public void MergeFrom(PB_RemoveEntity other) { |
| | 763 | | if (other == null) { |
| | 764 | | return; |
| | 765 | | } |
| | 766 | | if (other.Id.Length != 0) { |
| | 767 | | Id = other.Id; |
| | 768 | | } |
| | 769 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 770 | | } |
| | 771 | |
|
| | 772 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 773 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 774 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 775 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 776 | | input.ReadRawMessage(this); |
| | 777 | | #else |
| | 778 | | uint tag; |
| | 779 | | while ((tag = input.ReadTag()) != 0) { |
| | 780 | | switch(tag) { |
| | 781 | | default: |
| | 782 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 783 | | break; |
| | 784 | | case 10: { |
| | 785 | | Id = input.ReadString(); |
| | 786 | | break; |
| | 787 | | } |
| | 788 | | } |
| | 789 | | } |
| | 790 | | #endif |
| | 791 | | } |
| | 792 | |
|
| | 793 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 794 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 795 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 796 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 797 | | uint tag; |
| | 798 | | while ((tag = input.ReadTag()) != 0) { |
| | 799 | | switch(tag) { |
| | 800 | | default: |
| | 801 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 802 | | break; |
| | 803 | | case 10: { |
| | 804 | | Id = input.ReadString(); |
| | 805 | | break; |
| | 806 | | } |
| | 807 | | } |
| | 808 | | } |
| | 809 | | } |
| | 810 | | #endif |
| | 811 | |
|
| | 812 | | } |
| | 813 | |
|
| | 814 | | public sealed partial class PB_SetEntityParent : pb::IMessage<PB_SetEntityParent> |
| | 815 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 816 | | , pb::IBufferMessage |
| | 817 | | #endif |
| | 818 | | { |
| | 819 | | private static readonly pb::MessageParser<PB_SetEntityParent> _parser = new pb::MessageParser<PB_SetEntityParent>(() |
| | 820 | | private pb::UnknownFieldSet _unknownFields; |
| | 821 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 822 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 823 | | public static pb::MessageParser<PB_SetEntityParent> Parser { get { return _parser; } } |
| | 824 | |
|
| | 825 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 826 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 827 | | public static pbr::MessageDescriptor Descriptor { |
| | 828 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[2]; } |
| | 829 | | } |
| | 830 | |
|
| | 831 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 832 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 833 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 834 | | get { return Descriptor; } |
| | 835 | | } |
| | 836 | |
|
| | 837 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 838 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 839 | | public PB_SetEntityParent() { |
| | 840 | | OnConstruction(); |
| | 841 | | } |
| | 842 | |
|
| | 843 | | partial void OnConstruction(); |
| | 844 | |
|
| | 845 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 846 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 847 | | public PB_SetEntityParent(PB_SetEntityParent other) : this() { |
| | 848 | | entityId_ = other.entityId_; |
| | 849 | | parentId_ = other.parentId_; |
| | 850 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 851 | | } |
| | 852 | |
|
| | 853 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 854 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 855 | | public PB_SetEntityParent Clone() { |
| | 856 | | return new PB_SetEntityParent(this); |
| | 857 | | } |
| | 858 | |
|
| | 859 | | /// <summary>Field number for the "entityId" field.</summary> |
| | 860 | | public const int EntityIdFieldNumber = 1; |
| | 861 | | private string entityId_ = ""; |
| | 862 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 863 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 864 | | public string EntityId { |
| | 865 | | get { return entityId_; } |
| | 866 | | set { |
| | 867 | | entityId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 868 | | } |
| | 869 | | } |
| | 870 | |
|
| | 871 | | /// <summary>Field number for the "parentId" field.</summary> |
| | 872 | | public const int ParentIdFieldNumber = 2; |
| | 873 | | private string parentId_ = ""; |
| | 874 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 875 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 876 | | public string ParentId { |
| | 877 | | get { return parentId_; } |
| | 878 | | set { |
| | 879 | | parentId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 880 | | } |
| | 881 | | } |
| | 882 | |
|
| | 883 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 884 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 885 | | public override bool Equals(object other) { |
| | 886 | | return Equals(other as PB_SetEntityParent); |
| | 887 | | } |
| | 888 | |
|
| | 889 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 890 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 891 | | public bool Equals(PB_SetEntityParent other) { |
| | 892 | | if (ReferenceEquals(other, null)) { |
| | 893 | | return false; |
| | 894 | | } |
| | 895 | | if (ReferenceEquals(other, this)) { |
| | 896 | | return true; |
| | 897 | | } |
| | 898 | | if (EntityId != other.EntityId) return false; |
| | 899 | | if (ParentId != other.ParentId) return false; |
| | 900 | | return Equals(_unknownFields, other._unknownFields); |
| | 901 | | } |
| | 902 | |
|
| | 903 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 904 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 905 | | public override int GetHashCode() { |
| | 906 | | int hash = 1; |
| | 907 | | if (EntityId.Length != 0) hash ^= EntityId.GetHashCode(); |
| | 908 | | if (ParentId.Length != 0) hash ^= ParentId.GetHashCode(); |
| | 909 | | if (_unknownFields != null) { |
| | 910 | | hash ^= _unknownFields.GetHashCode(); |
| | 911 | | } |
| | 912 | | return hash; |
| | 913 | | } |
| | 914 | |
|
| | 915 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 916 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 917 | | public override string ToString() { |
| | 918 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 919 | | } |
| | 920 | |
|
| | 921 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 922 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 923 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 924 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 925 | | output.WriteRawMessage(this); |
| | 926 | | #else |
| | 927 | | if (EntityId.Length != 0) { |
| | 928 | | output.WriteRawTag(10); |
| | 929 | | output.WriteString(EntityId); |
| | 930 | | } |
| | 931 | | if (ParentId.Length != 0) { |
| | 932 | | output.WriteRawTag(18); |
| | 933 | | output.WriteString(ParentId); |
| | 934 | | } |
| | 935 | | if (_unknownFields != null) { |
| | 936 | | _unknownFields.WriteTo(output); |
| | 937 | | } |
| | 938 | | #endif |
| | 939 | | } |
| | 940 | |
|
| | 941 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 942 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 943 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 944 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 945 | | if (EntityId.Length != 0) { |
| | 946 | | output.WriteRawTag(10); |
| | 947 | | output.WriteString(EntityId); |
| | 948 | | } |
| | 949 | | if (ParentId.Length != 0) { |
| | 950 | | output.WriteRawTag(18); |
| | 951 | | output.WriteString(ParentId); |
| | 952 | | } |
| | 953 | | if (_unknownFields != null) { |
| | 954 | | _unknownFields.WriteTo(ref output); |
| | 955 | | } |
| | 956 | | } |
| | 957 | | #endif |
| | 958 | |
|
| | 959 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 960 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 961 | | public int CalculateSize() { |
| | 962 | | int size = 0; |
| | 963 | | if (EntityId.Length != 0) { |
| | 964 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityId); |
| | 965 | | } |
| | 966 | | if (ParentId.Length != 0) { |
| | 967 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ParentId); |
| | 968 | | } |
| | 969 | | if (_unknownFields != null) { |
| | 970 | | size += _unknownFields.CalculateSize(); |
| | 971 | | } |
| | 972 | | return size; |
| | 973 | | } |
| | 974 | |
|
| | 975 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 976 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 977 | | public void MergeFrom(PB_SetEntityParent other) { |
| | 978 | | if (other == null) { |
| | 979 | | return; |
| | 980 | | } |
| | 981 | | if (other.EntityId.Length != 0) { |
| | 982 | | EntityId = other.EntityId; |
| | 983 | | } |
| | 984 | | if (other.ParentId.Length != 0) { |
| | 985 | | ParentId = other.ParentId; |
| | 986 | | } |
| | 987 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 988 | | } |
| | 989 | |
|
| | 990 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 991 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 992 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 993 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 994 | | input.ReadRawMessage(this); |
| | 995 | | #else |
| | 996 | | uint tag; |
| | 997 | | while ((tag = input.ReadTag()) != 0) { |
| | 998 | | switch(tag) { |
| | 999 | | default: |
| | 1000 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1001 | | break; |
| | 1002 | | case 10: { |
| | 1003 | | EntityId = input.ReadString(); |
| | 1004 | | break; |
| | 1005 | | } |
| | 1006 | | case 18: { |
| | 1007 | | ParentId = input.ReadString(); |
| | 1008 | | break; |
| | 1009 | | } |
| | 1010 | | } |
| | 1011 | | } |
| | 1012 | | #endif |
| | 1013 | | } |
| | 1014 | |
|
| | 1015 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1016 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1017 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1018 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1019 | | uint tag; |
| | 1020 | | while ((tag = input.ReadTag()) != 0) { |
| | 1021 | | switch(tag) { |
| | 1022 | | default: |
| | 1023 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1024 | | break; |
| | 1025 | | case 10: { |
| | 1026 | | EntityId = input.ReadString(); |
| | 1027 | | break; |
| | 1028 | | } |
| | 1029 | | case 18: { |
| | 1030 | | ParentId = input.ReadString(); |
| | 1031 | | break; |
| | 1032 | | } |
| | 1033 | | } |
| | 1034 | | } |
| | 1035 | | } |
| | 1036 | | #endif |
| | 1037 | |
|
| | 1038 | | } |
| | 1039 | |
|
| | 1040 | | public sealed partial class PB_ComponentRemoved : pb::IMessage<PB_ComponentRemoved> |
| | 1041 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1042 | | , pb::IBufferMessage |
| | 1043 | | #endif |
| | 1044 | | { |
| | 1045 | | private static readonly pb::MessageParser<PB_ComponentRemoved> _parser = new pb::MessageParser<PB_ComponentRemoved>( |
| | 1046 | | private pb::UnknownFieldSet _unknownFields; |
| | 1047 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1048 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1049 | | public static pb::MessageParser<PB_ComponentRemoved> Parser { get { return _parser; } } |
| | 1050 | |
|
| | 1051 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1052 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1053 | | public static pbr::MessageDescriptor Descriptor { |
| | 1054 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[3]; } |
| | 1055 | | } |
| | 1056 | |
|
| | 1057 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1058 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1059 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1060 | | get { return Descriptor; } |
| | 1061 | | } |
| | 1062 | |
|
| | 1063 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1064 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1065 | | public PB_ComponentRemoved() { |
| | 1066 | | OnConstruction(); |
| | 1067 | | } |
| | 1068 | |
|
| | 1069 | | partial void OnConstruction(); |
| | 1070 | |
|
| | 1071 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1072 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1073 | | public PB_ComponentRemoved(PB_ComponentRemoved other) : this() { |
| | 1074 | | entityId_ = other.entityId_; |
| | 1075 | | name_ = other.name_; |
| | 1076 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1077 | | } |
| | 1078 | |
|
| | 1079 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1080 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1081 | | public PB_ComponentRemoved Clone() { |
| | 1082 | | return new PB_ComponentRemoved(this); |
| | 1083 | | } |
| | 1084 | |
|
| | 1085 | | /// <summary>Field number for the "entityId" field.</summary> |
| | 1086 | | public const int EntityIdFieldNumber = 1; |
| | 1087 | | private string entityId_ = ""; |
| | 1088 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1089 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1090 | | public string EntityId { |
| | 1091 | | get { return entityId_; } |
| | 1092 | | set { |
| | 1093 | | entityId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 1094 | | } |
| | 1095 | | } |
| | 1096 | |
|
| | 1097 | | /// <summary>Field number for the "name" field.</summary> |
| | 1098 | | public const int NameFieldNumber = 2; |
| | 1099 | | private string name_ = ""; |
| | 1100 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1101 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1102 | | public string Name { |
| | 1103 | | get { return name_; } |
| | 1104 | | set { |
| | 1105 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 1106 | | } |
| | 1107 | | } |
| | 1108 | |
|
| | 1109 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1110 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1111 | | public override bool Equals(object other) { |
| | 1112 | | return Equals(other as PB_ComponentRemoved); |
| | 1113 | | } |
| | 1114 | |
|
| | 1115 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1116 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1117 | | public bool Equals(PB_ComponentRemoved other) { |
| | 1118 | | if (ReferenceEquals(other, null)) { |
| | 1119 | | return false; |
| | 1120 | | } |
| | 1121 | | if (ReferenceEquals(other, this)) { |
| | 1122 | | return true; |
| | 1123 | | } |
| | 1124 | | if (EntityId != other.EntityId) return false; |
| | 1125 | | if (Name != other.Name) return false; |
| | 1126 | | return Equals(_unknownFields, other._unknownFields); |
| | 1127 | | } |
| | 1128 | |
|
| | 1129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1131 | | public override int GetHashCode() { |
| | 1132 | | int hash = 1; |
| | 1133 | | if (EntityId.Length != 0) hash ^= EntityId.GetHashCode(); |
| | 1134 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 1135 | | if (_unknownFields != null) { |
| | 1136 | | hash ^= _unknownFields.GetHashCode(); |
| | 1137 | | } |
| | 1138 | | return hash; |
| | 1139 | | } |
| | 1140 | |
|
| | 1141 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1142 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1143 | | public override string ToString() { |
| | 1144 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1145 | | } |
| | 1146 | |
|
| | 1147 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1148 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1149 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1150 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1151 | | output.WriteRawMessage(this); |
| | 1152 | | #else |
| | 1153 | | if (EntityId.Length != 0) { |
| | 1154 | | output.WriteRawTag(10); |
| | 1155 | | output.WriteString(EntityId); |
| | 1156 | | } |
| | 1157 | | if (Name.Length != 0) { |
| | 1158 | | output.WriteRawTag(18); |
| | 1159 | | output.WriteString(Name); |
| | 1160 | | } |
| | 1161 | | if (_unknownFields != null) { |
| | 1162 | | _unknownFields.WriteTo(output); |
| | 1163 | | } |
| | 1164 | | #endif |
| | 1165 | | } |
| | 1166 | |
|
| | 1167 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1168 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1169 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1170 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1171 | | if (EntityId.Length != 0) { |
| | 1172 | | output.WriteRawTag(10); |
| | 1173 | | output.WriteString(EntityId); |
| | 1174 | | } |
| | 1175 | | if (Name.Length != 0) { |
| | 1176 | | output.WriteRawTag(18); |
| | 1177 | | output.WriteString(Name); |
| | 1178 | | } |
| | 1179 | | if (_unknownFields != null) { |
| | 1180 | | _unknownFields.WriteTo(ref output); |
| | 1181 | | } |
| | 1182 | | } |
| | 1183 | | #endif |
| | 1184 | |
|
| | 1185 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1186 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1187 | | public int CalculateSize() { |
| | 1188 | | int size = 0; |
| | 1189 | | if (EntityId.Length != 0) { |
| | 1190 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityId); |
| | 1191 | | } |
| | 1192 | | if (Name.Length != 0) { |
| | 1193 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 1194 | | } |
| | 1195 | | if (_unknownFields != null) { |
| | 1196 | | size += _unknownFields.CalculateSize(); |
| | 1197 | | } |
| | 1198 | | return size; |
| | 1199 | | } |
| | 1200 | |
|
| | 1201 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1202 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1203 | | public void MergeFrom(PB_ComponentRemoved other) { |
| | 1204 | | if (other == null) { |
| | 1205 | | return; |
| | 1206 | | } |
| | 1207 | | if (other.EntityId.Length != 0) { |
| | 1208 | | EntityId = other.EntityId; |
| | 1209 | | } |
| | 1210 | | if (other.Name.Length != 0) { |
| | 1211 | | Name = other.Name; |
| | 1212 | | } |
| | 1213 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 1214 | | } |
| | 1215 | |
|
| | 1216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1218 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 1219 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1220 | | input.ReadRawMessage(this); |
| | 1221 | | #else |
| | 1222 | | uint tag; |
| | 1223 | | while ((tag = input.ReadTag()) != 0) { |
| | 1224 | | switch(tag) { |
| | 1225 | | default: |
| | 1226 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 1227 | | break; |
| | 1228 | | case 10: { |
| | 1229 | | EntityId = input.ReadString(); |
| | 1230 | | break; |
| | 1231 | | } |
| | 1232 | | case 18: { |
| | 1233 | | Name = input.ReadString(); |
| | 1234 | | break; |
| | 1235 | | } |
| | 1236 | | } |
| | 1237 | | } |
| | 1238 | | #endif |
| | 1239 | | } |
| | 1240 | |
|
| | 1241 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1242 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1243 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1244 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 1245 | | uint tag; |
| | 1246 | | while ((tag = input.ReadTag()) != 0) { |
| | 1247 | | switch(tag) { |
| | 1248 | | default: |
| | 1249 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 1250 | | break; |
| | 1251 | | case 10: { |
| | 1252 | | EntityId = input.ReadString(); |
| | 1253 | | break; |
| | 1254 | | } |
| | 1255 | | case 18: { |
| | 1256 | | Name = input.ReadString(); |
| | 1257 | | break; |
| | 1258 | | } |
| | 1259 | | } |
| | 1260 | | } |
| | 1261 | | } |
| | 1262 | | #endif |
| | 1263 | |
|
| | 1264 | | } |
| | 1265 | |
|
| | 1266 | | public sealed partial class PB_Component : pb::IMessage<PB_Component> |
| | 1267 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1268 | | , pb::IBufferMessage |
| | 1269 | | #endif |
| | 1270 | | { |
| | 1271 | | private static readonly pb::MessageParser<PB_Component> _parser = new pb::MessageParser<PB_Component>(() => new PB_C |
| | 1272 | | private pb::UnknownFieldSet _unknownFields; |
| | 1273 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1274 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1275 | | public static pb::MessageParser<PB_Component> Parser { get { return _parser; } } |
| | 1276 | |
|
| | 1277 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1278 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1279 | | public static pbr::MessageDescriptor Descriptor { |
| | 1280 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[4]; } |
| | 1281 | | } |
| | 1282 | |
|
| | 1283 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1284 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1285 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 1286 | | get { return Descriptor; } |
| | 1287 | | } |
| | 1288 | |
|
| | 1289 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1290 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1291 | | public PB_Component() { |
| | 1292 | | OnConstruction(); |
| | 1293 | | } |
| | 1294 | |
|
| | 1295 | | partial void OnConstruction(); |
| | 1296 | |
|
| | 1297 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1298 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1299 | | public PB_Component(PB_Component other) : this() { |
| | 1300 | | switch (other.ModelCase) { |
| | 1301 | | case ModelOneofCase.Transform: |
| | 1302 | | Transform = other.Transform.Clone(); |
| | 1303 | | break; |
| | 1304 | | case ModelOneofCase.UuidCallback: |
| | 1305 | | UuidCallback = other.UuidCallback.Clone(); |
| | 1306 | | break; |
| | 1307 | | case ModelOneofCase.Box: |
| | 1308 | | Box = other.Box.Clone(); |
| | 1309 | | break; |
| | 1310 | | case ModelOneofCase.Sphere: |
| | 1311 | | Sphere = other.Sphere.Clone(); |
| | 1312 | | break; |
| | 1313 | | case ModelOneofCase.Plane: |
| | 1314 | | Plane = other.Plane.Clone(); |
| | 1315 | | break; |
| | 1316 | | case ModelOneofCase.Cone: |
| | 1317 | | Cone = other.Cone.Clone(); |
| | 1318 | | break; |
| | 1319 | | case ModelOneofCase.Cylinder: |
| | 1320 | | Cylinder = other.Cylinder.Clone(); |
| | 1321 | | break; |
| | 1322 | | case ModelOneofCase.Text: |
| | 1323 | | Text = other.Text.Clone(); |
| | 1324 | | break; |
| | 1325 | | case ModelOneofCase.Nft: |
| | 1326 | | Nft = other.Nft.Clone(); |
| | 1327 | | break; |
| | 1328 | | case ModelOneofCase.ContainerRect: |
| | 1329 | | ContainerRect = other.ContainerRect.Clone(); |
| | 1330 | | break; |
| | 1331 | | case ModelOneofCase.ContainerStack: |
| | 1332 | | ContainerStack = other.ContainerStack.Clone(); |
| | 1333 | | break; |
| | 1334 | | case ModelOneofCase.UiTextShape: |
| | 1335 | | UiTextShape = other.UiTextShape.Clone(); |
| | 1336 | | break; |
| | 1337 | | case ModelOneofCase.UiInputTextShape: |
| | 1338 | | UiInputTextShape = other.UiInputTextShape.Clone(); |
| | 1339 | | break; |
| | 1340 | | case ModelOneofCase.UiImageShape: |
| | 1341 | | UiImageShape = other.UiImageShape.Clone(); |
| | 1342 | | break; |
| | 1343 | | case ModelOneofCase.Circle: |
| | 1344 | | Circle = other.Circle.Clone(); |
| | 1345 | | break; |
| | 1346 | | case ModelOneofCase.Billboard: |
| | 1347 | | Billboard = other.Billboard.Clone(); |
| | 1348 | | break; |
| | 1349 | | case ModelOneofCase.Gltf: |
| | 1350 | | Gltf = other.Gltf.Clone(); |
| | 1351 | | break; |
| | 1352 | | case ModelOneofCase.Obj: |
| | 1353 | | Obj = other.Obj.Clone(); |
| | 1354 | | break; |
| | 1355 | | case ModelOneofCase.Avatar: |
| | 1356 | | Avatar = other.Avatar.Clone(); |
| | 1357 | | break; |
| | 1358 | | case ModelOneofCase.BasicMaterial: |
| | 1359 | | BasicMaterial = other.BasicMaterial.Clone(); |
| | 1360 | | break; |
| | 1361 | | case ModelOneofCase.Texture: |
| | 1362 | | Texture = other.Texture.Clone(); |
| | 1363 | | break; |
| | 1364 | | case ModelOneofCase.AudioClip: |
| | 1365 | | AudioClip = other.AudioClip.Clone(); |
| | 1366 | | break; |
| | 1367 | | case ModelOneofCase.AudioSource: |
| | 1368 | | AudioSource = other.AudioSource.Clone(); |
| | 1369 | | break; |
| | 1370 | | } |
| | 1371 | |
|
| | 1372 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 1373 | | } |
| | 1374 | |
|
| | 1375 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1376 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1377 | | public PB_Component Clone() { |
| | 1378 | | return new PB_Component(this); |
| | 1379 | | } |
| | 1380 | |
|
| | 1381 | | /// <summary>Field number for the "transform" field.</summary> |
| | 1382 | | public const int TransformFieldNumber = 1; |
| | 1383 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1384 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1385 | | public global::DCL.Interface.PB_Transform Transform { |
| | 1386 | | get { return modelCase_ == ModelOneofCase.Transform ? (global::DCL.Interface.PB_Transform) model_ : null; } |
| | 1387 | | set { |
| | 1388 | | model_ = value; |
| | 1389 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Transform; |
| | 1390 | | } |
| | 1391 | | } |
| | 1392 | |
|
| | 1393 | | /// <summary>Field number for the "uuidCallback" field.</summary> |
| | 1394 | | public const int UuidCallbackFieldNumber = 8; |
| | 1395 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1396 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1397 | | public global::DCL.Interface.PB_UUIDCallback UuidCallback { |
| | 1398 | | get { return modelCase_ == ModelOneofCase.UuidCallback ? (global::DCL.Interface.PB_UUIDCallback) model_ : null; } |
| | 1399 | | set { |
| | 1400 | | model_ = value; |
| | 1401 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.UuidCallback; |
| | 1402 | | } |
| | 1403 | | } |
| | 1404 | |
|
| | 1405 | | /// <summary>Field number for the "box" field.</summary> |
| | 1406 | | public const int BoxFieldNumber = 16; |
| | 1407 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1408 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1409 | | public global::DCL.Interface.PB_BoxShape Box { |
| | 1410 | | get { return modelCase_ == ModelOneofCase.Box ? (global::DCL.Interface.PB_BoxShape) model_ : null; } |
| | 1411 | | set { |
| | 1412 | | model_ = value; |
| | 1413 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Box; |
| | 1414 | | } |
| | 1415 | | } |
| | 1416 | |
|
| | 1417 | | /// <summary>Field number for the "sphere" field.</summary> |
| | 1418 | | public const int SphereFieldNumber = 17; |
| | 1419 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1420 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1421 | | public global::DCL.Interface.PB_SphereShape Sphere { |
| | 1422 | | get { return modelCase_ == ModelOneofCase.Sphere ? (global::DCL.Interface.PB_SphereShape) model_ : null; } |
| | 1423 | | set { |
| | 1424 | | model_ = value; |
| | 1425 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Sphere; |
| | 1426 | | } |
| | 1427 | | } |
| | 1428 | |
|
| | 1429 | | /// <summary>Field number for the "plane" field.</summary> |
| | 1430 | | public const int PlaneFieldNumber = 18; |
| | 1431 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1432 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1433 | | public global::DCL.Interface.PB_PlaneShape Plane { |
| | 1434 | | get { return modelCase_ == ModelOneofCase.Plane ? (global::DCL.Interface.PB_PlaneShape) model_ : null; } |
| | 1435 | | set { |
| | 1436 | | model_ = value; |
| | 1437 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Plane; |
| | 1438 | | } |
| | 1439 | | } |
| | 1440 | |
|
| | 1441 | | /// <summary>Field number for the "cone" field.</summary> |
| | 1442 | | public const int ConeFieldNumber = 19; |
| | 1443 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1444 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1445 | | public global::DCL.Interface.PB_ConeShape Cone { |
| | 1446 | | get { return modelCase_ == ModelOneofCase.Cone ? (global::DCL.Interface.PB_ConeShape) model_ : null; } |
| | 1447 | | set { |
| | 1448 | | model_ = value; |
| | 1449 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Cone; |
| | 1450 | | } |
| | 1451 | | } |
| | 1452 | |
|
| | 1453 | | /// <summary>Field number for the "cylinder" field.</summary> |
| | 1454 | | public const int CylinderFieldNumber = 20; |
| | 1455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1457 | | public global::DCL.Interface.PB_CylinderShape Cylinder { |
| | 1458 | | get { return modelCase_ == ModelOneofCase.Cylinder ? (global::DCL.Interface.PB_CylinderShape) model_ : null; } |
| | 1459 | | set { |
| | 1460 | | model_ = value; |
| | 1461 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Cylinder; |
| | 1462 | | } |
| | 1463 | | } |
| | 1464 | |
|
| | 1465 | | /// <summary>Field number for the "text" field.</summary> |
| | 1466 | | public const int TextFieldNumber = 21; |
| | 1467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1469 | | public global::DCL.Interface.PB_TextShape Text { |
| | 1470 | | get { return modelCase_ == ModelOneofCase.Text ? (global::DCL.Interface.PB_TextShape) model_ : null; } |
| | 1471 | | set { |
| | 1472 | | model_ = value; |
| | 1473 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Text; |
| | 1474 | | } |
| | 1475 | | } |
| | 1476 | |
|
| | 1477 | | /// <summary>Field number for the "nft" field.</summary> |
| | 1478 | | public const int NftFieldNumber = 22; |
| | 1479 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1480 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1481 | | public global::DCL.Interface.PB_NFTShape Nft { |
| | 1482 | | get { return modelCase_ == ModelOneofCase.Nft ? (global::DCL.Interface.PB_NFTShape) model_ : null; } |
| | 1483 | | set { |
| | 1484 | | model_ = value; |
| | 1485 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Nft; |
| | 1486 | | } |
| | 1487 | | } |
| | 1488 | |
|
| | 1489 | | /// <summary>Field number for the "containerRect" field.</summary> |
| | 1490 | | public const int ContainerRectFieldNumber = 25; |
| | 1491 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1492 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1493 | | public global::DCL.Interface.PB_UIContainerRect ContainerRect { |
| | 1494 | | get { return modelCase_ == ModelOneofCase.ContainerRect ? (global::DCL.Interface.PB_UIContainerRect) model_ : null |
| | 1495 | | set { |
| | 1496 | | model_ = value; |
| | 1497 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.ContainerRect; |
| | 1498 | | } |
| | 1499 | | } |
| | 1500 | |
|
| | 1501 | | /// <summary>Field number for the "containerStack" field.</summary> |
| | 1502 | | public const int ContainerStackFieldNumber = 26; |
| | 1503 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1504 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1505 | | public global::DCL.Interface.PB_UIContainerStack ContainerStack { |
| | 1506 | | get { return modelCase_ == ModelOneofCase.ContainerStack ? (global::DCL.Interface.PB_UIContainerStack) model_ : nu |
| | 1507 | | set { |
| | 1508 | | model_ = value; |
| | 1509 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.ContainerStack; |
| | 1510 | | } |
| | 1511 | | } |
| | 1512 | |
|
| | 1513 | | /// <summary>Field number for the "uiTextShape" field.</summary> |
| | 1514 | | public const int UiTextShapeFieldNumber = 27; |
| | 1515 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1516 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1517 | | public global::DCL.Interface.PB_UITextShape UiTextShape { |
| | 1518 | | get { return modelCase_ == ModelOneofCase.UiTextShape ? (global::DCL.Interface.PB_UITextShape) model_ : null; } |
| | 1519 | | set { |
| | 1520 | | model_ = value; |
| | 1521 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.UiTextShape; |
| | 1522 | | } |
| | 1523 | | } |
| | 1524 | |
|
| | 1525 | | /// <summary>Field number for the "uiInputTextShape" field.</summary> |
| | 1526 | | public const int UiInputTextShapeFieldNumber = 28; |
| | 1527 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1528 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1529 | | public global::DCL.Interface.PB_UIInputText UiInputTextShape { |
| | 1530 | | get { return modelCase_ == ModelOneofCase.UiInputTextShape ? (global::DCL.Interface.PB_UIInputText) model_ : null; |
| | 1531 | | set { |
| | 1532 | | model_ = value; |
| | 1533 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.UiInputTextShape; |
| | 1534 | | } |
| | 1535 | | } |
| | 1536 | |
|
| | 1537 | | /// <summary>Field number for the "uiImageShape" field.</summary> |
| | 1538 | | public const int UiImageShapeFieldNumber = 29; |
| | 1539 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1540 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1541 | | public global::DCL.Interface.PB_UIImage UiImageShape { |
| | 1542 | | get { return modelCase_ == ModelOneofCase.UiImageShape ? (global::DCL.Interface.PB_UIImage) model_ : null; } |
| | 1543 | | set { |
| | 1544 | | model_ = value; |
| | 1545 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.UiImageShape; |
| | 1546 | | } |
| | 1547 | | } |
| | 1548 | |
|
| | 1549 | | /// <summary>Field number for the "circle" field.</summary> |
| | 1550 | | public const int CircleFieldNumber = 31; |
| | 1551 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1552 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1553 | | public global::DCL.Interface.PB_CircleShape Circle { |
| | 1554 | | get { return modelCase_ == ModelOneofCase.Circle ? (global::DCL.Interface.PB_CircleShape) model_ : null; } |
| | 1555 | | set { |
| | 1556 | | model_ = value; |
| | 1557 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Circle; |
| | 1558 | | } |
| | 1559 | | } |
| | 1560 | |
|
| | 1561 | | /// <summary>Field number for the "billboard" field.</summary> |
| | 1562 | | public const int BillboardFieldNumber = 32; |
| | 1563 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1564 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1565 | | public global::DCL.Interface.PB_Billboard Billboard { |
| | 1566 | | get { return modelCase_ == ModelOneofCase.Billboard ? (global::DCL.Interface.PB_Billboard) model_ : null; } |
| | 1567 | | set { |
| | 1568 | | model_ = value; |
| | 1569 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Billboard; |
| | 1570 | | } |
| | 1571 | | } |
| | 1572 | |
|
| | 1573 | | /// <summary>Field number for the "gltf" field.</summary> |
| | 1574 | | public const int GltfFieldNumber = 54; |
| | 1575 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1576 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1577 | | public global::DCL.Interface.PB_GLTFShape Gltf { |
| | 1578 | | get { return modelCase_ == ModelOneofCase.Gltf ? (global::DCL.Interface.PB_GLTFShape) model_ : null; } |
| | 1579 | | set { |
| | 1580 | | model_ = value; |
| | 1581 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Gltf; |
| | 1582 | | } |
| | 1583 | | } |
| | 1584 | |
|
| | 1585 | | /// <summary>Field number for the "obj" field.</summary> |
| | 1586 | | public const int ObjFieldNumber = 55; |
| | 1587 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1588 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1589 | | public global::DCL.Interface.PB_OBJShape Obj { |
| | 1590 | | get { return modelCase_ == ModelOneofCase.Obj ? (global::DCL.Interface.PB_OBJShape) model_ : null; } |
| | 1591 | | set { |
| | 1592 | | model_ = value; |
| | 1593 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Obj; |
| | 1594 | | } |
| | 1595 | | } |
| | 1596 | |
|
| | 1597 | | /// <summary>Field number for the "avatar" field.</summary> |
| | 1598 | | public const int AvatarFieldNumber = 56; |
| | 1599 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1600 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1601 | | public global::DCL.Interface.PB_AvatarShape Avatar { |
| | 1602 | | get { return modelCase_ == ModelOneofCase.Avatar ? (global::DCL.Interface.PB_AvatarShape) model_ : null; } |
| | 1603 | | set { |
| | 1604 | | model_ = value; |
| | 1605 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Avatar; |
| | 1606 | | } |
| | 1607 | | } |
| | 1608 | |
|
| | 1609 | | /// <summary>Field number for the "basicMaterial" field.</summary> |
| | 1610 | | public const int BasicMaterialFieldNumber = 64; |
| | 1611 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1612 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1613 | | public global::DCL.Interface.PB_BasicMaterial BasicMaterial { |
| | 1614 | | get { return modelCase_ == ModelOneofCase.BasicMaterial ? (global::DCL.Interface.PB_BasicMaterial) model_ : null; |
| | 1615 | | set { |
| | 1616 | | model_ = value; |
| | 1617 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.BasicMaterial; |
| | 1618 | | } |
| | 1619 | | } |
| | 1620 | |
|
| | 1621 | | /// <summary>Field number for the "texture" field.</summary> |
| | 1622 | | public const int TextureFieldNumber = 68; |
| | 1623 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1624 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1625 | | public global::DCL.Interface.PB_Texture Texture { |
| | 1626 | | get { return modelCase_ == ModelOneofCase.Texture ? (global::DCL.Interface.PB_Texture) model_ : null; } |
| | 1627 | | set { |
| | 1628 | | model_ = value; |
| | 1629 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.Texture; |
| | 1630 | | } |
| | 1631 | | } |
| | 1632 | |
|
| | 1633 | | /// <summary>Field number for the "audioClip" field.</summary> |
| | 1634 | | public const int AudioClipFieldNumber = 200; |
| | 1635 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1636 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1637 | | public global::DCL.Interface.PB_AudioClip AudioClip { |
| | 1638 | | get { return modelCase_ == ModelOneofCase.AudioClip ? (global::DCL.Interface.PB_AudioClip) model_ : null; } |
| | 1639 | | set { |
| | 1640 | | model_ = value; |
| | 1641 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.AudioClip; |
| | 1642 | | } |
| | 1643 | | } |
| | 1644 | |
|
| | 1645 | | /// <summary>Field number for the "audioSource" field.</summary> |
| | 1646 | | public const int AudioSourceFieldNumber = 201; |
| | 1647 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1648 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1649 | | public global::DCL.Interface.PB_AudioSource AudioSource { |
| | 1650 | | get { return modelCase_ == ModelOneofCase.AudioSource ? (global::DCL.Interface.PB_AudioSource) model_ : null; } |
| | 1651 | | set { |
| | 1652 | | model_ = value; |
| | 1653 | | modelCase_ = value == null ? ModelOneofCase.None : ModelOneofCase.AudioSource; |
| | 1654 | | } |
| | 1655 | | } |
| | 1656 | |
|
| | 1657 | | private object model_; |
| | 1658 | | /// <summary>Enum of possible cases for the "model" oneof.</summary> |
| | 1659 | | public enum ModelOneofCase { |
| | 1660 | | None = 0, |
| | 1661 | | Transform = 1, |
| | 1662 | | UuidCallback = 8, |
| | 1663 | | Box = 16, |
| | 1664 | | Sphere = 17, |
| | 1665 | | Plane = 18, |
| | 1666 | | Cone = 19, |
| | 1667 | | Cylinder = 20, |
| | 1668 | | Text = 21, |
| | 1669 | | Nft = 22, |
| | 1670 | | ContainerRect = 25, |
| | 1671 | | ContainerStack = 26, |
| | 1672 | | UiTextShape = 27, |
| | 1673 | | UiInputTextShape = 28, |
| | 1674 | | UiImageShape = 29, |
| | 1675 | | Circle = 31, |
| | 1676 | | Billboard = 32, |
| | 1677 | | Gltf = 54, |
| | 1678 | | Obj = 55, |
| | 1679 | | Avatar = 56, |
| | 1680 | | BasicMaterial = 64, |
| | 1681 | | Texture = 68, |
| | 1682 | | AudioClip = 200, |
| | 1683 | | AudioSource = 201, |
| | 1684 | | } |
| | 1685 | | private ModelOneofCase modelCase_ = ModelOneofCase.None; |
| | 1686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1688 | | public ModelOneofCase ModelCase { |
| | 1689 | | get { return modelCase_; } |
| | 1690 | | } |
| | 1691 | |
|
| | 1692 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1693 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1694 | | public void ClearModel() { |
| | 1695 | | modelCase_ = ModelOneofCase.None; |
| | 1696 | | model_ = null; |
| | 1697 | | } |
| | 1698 | |
|
| | 1699 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1700 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1701 | | public override bool Equals(object other) { |
| | 1702 | | return Equals(other as PB_Component); |
| | 1703 | | } |
| | 1704 | |
|
| | 1705 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1706 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1707 | | public bool Equals(PB_Component other) { |
| | 1708 | | if (ReferenceEquals(other, null)) { |
| | 1709 | | return false; |
| | 1710 | | } |
| | 1711 | | if (ReferenceEquals(other, this)) { |
| | 1712 | | return true; |
| | 1713 | | } |
| | 1714 | | if (!object.Equals(Transform, other.Transform)) return false; |
| | 1715 | | if (!object.Equals(UuidCallback, other.UuidCallback)) return false; |
| | 1716 | | if (!object.Equals(Box, other.Box)) return false; |
| | 1717 | | if (!object.Equals(Sphere, other.Sphere)) return false; |
| | 1718 | | if (!object.Equals(Plane, other.Plane)) return false; |
| | 1719 | | if (!object.Equals(Cone, other.Cone)) return false; |
| | 1720 | | if (!object.Equals(Cylinder, other.Cylinder)) return false; |
| | 1721 | | if (!object.Equals(Text, other.Text)) return false; |
| | 1722 | | if (!object.Equals(Nft, other.Nft)) return false; |
| | 1723 | | if (!object.Equals(ContainerRect, other.ContainerRect)) return false; |
| | 1724 | | if (!object.Equals(ContainerStack, other.ContainerStack)) return false; |
| | 1725 | | if (!object.Equals(UiTextShape, other.UiTextShape)) return false; |
| | 1726 | | if (!object.Equals(UiInputTextShape, other.UiInputTextShape)) return false; |
| | 1727 | | if (!object.Equals(UiImageShape, other.UiImageShape)) return false; |
| | 1728 | | if (!object.Equals(Circle, other.Circle)) return false; |
| | 1729 | | if (!object.Equals(Billboard, other.Billboard)) return false; |
| | 1730 | | if (!object.Equals(Gltf, other.Gltf)) return false; |
| | 1731 | | if (!object.Equals(Obj, other.Obj)) return false; |
| | 1732 | | if (!object.Equals(Avatar, other.Avatar)) return false; |
| | 1733 | | if (!object.Equals(BasicMaterial, other.BasicMaterial)) return false; |
| | 1734 | | if (!object.Equals(Texture, other.Texture)) return false; |
| | 1735 | | if (!object.Equals(AudioClip, other.AudioClip)) return false; |
| | 1736 | | if (!object.Equals(AudioSource, other.AudioSource)) return false; |
| | 1737 | | if (ModelCase != other.ModelCase) return false; |
| | 1738 | | return Equals(_unknownFields, other._unknownFields); |
| | 1739 | | } |
| | 1740 | |
|
| | 1741 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1742 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1743 | | public override int GetHashCode() { |
| | 1744 | | int hash = 1; |
| | 1745 | | if (modelCase_ == ModelOneofCase.Transform) hash ^= Transform.GetHashCode(); |
| | 1746 | | if (modelCase_ == ModelOneofCase.UuidCallback) hash ^= UuidCallback.GetHashCode(); |
| | 1747 | | if (modelCase_ == ModelOneofCase.Box) hash ^= Box.GetHashCode(); |
| | 1748 | | if (modelCase_ == ModelOneofCase.Sphere) hash ^= Sphere.GetHashCode(); |
| | 1749 | | if (modelCase_ == ModelOneofCase.Plane) hash ^= Plane.GetHashCode(); |
| | 1750 | | if (modelCase_ == ModelOneofCase.Cone) hash ^= Cone.GetHashCode(); |
| | 1751 | | if (modelCase_ == ModelOneofCase.Cylinder) hash ^= Cylinder.GetHashCode(); |
| | 1752 | | if (modelCase_ == ModelOneofCase.Text) hash ^= Text.GetHashCode(); |
| | 1753 | | if (modelCase_ == ModelOneofCase.Nft) hash ^= Nft.GetHashCode(); |
| | 1754 | | if (modelCase_ == ModelOneofCase.ContainerRect) hash ^= ContainerRect.GetHashCode(); |
| | 1755 | | if (modelCase_ == ModelOneofCase.ContainerStack) hash ^= ContainerStack.GetHashCode(); |
| | 1756 | | if (modelCase_ == ModelOneofCase.UiTextShape) hash ^= UiTextShape.GetHashCode(); |
| | 1757 | | if (modelCase_ == ModelOneofCase.UiInputTextShape) hash ^= UiInputTextShape.GetHashCode(); |
| | 1758 | | if (modelCase_ == ModelOneofCase.UiImageShape) hash ^= UiImageShape.GetHashCode(); |
| | 1759 | | if (modelCase_ == ModelOneofCase.Circle) hash ^= Circle.GetHashCode(); |
| | 1760 | | if (modelCase_ == ModelOneofCase.Billboard) hash ^= Billboard.GetHashCode(); |
| | 1761 | | if (modelCase_ == ModelOneofCase.Gltf) hash ^= Gltf.GetHashCode(); |
| | 1762 | | if (modelCase_ == ModelOneofCase.Obj) hash ^= Obj.GetHashCode(); |
| | 1763 | | if (modelCase_ == ModelOneofCase.Avatar) hash ^= Avatar.GetHashCode(); |
| | 1764 | | if (modelCase_ == ModelOneofCase.BasicMaterial) hash ^= BasicMaterial.GetHashCode(); |
| | 1765 | | if (modelCase_ == ModelOneofCase.Texture) hash ^= Texture.GetHashCode(); |
| | 1766 | | if (modelCase_ == ModelOneofCase.AudioClip) hash ^= AudioClip.GetHashCode(); |
| | 1767 | | if (modelCase_ == ModelOneofCase.AudioSource) hash ^= AudioSource.GetHashCode(); |
| | 1768 | | hash ^= (int) modelCase_; |
| | 1769 | | if (_unknownFields != null) { |
| | 1770 | | hash ^= _unknownFields.GetHashCode(); |
| | 1771 | | } |
| | 1772 | | return hash; |
| | 1773 | | } |
| | 1774 | |
|
| | 1775 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1776 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1777 | | public override string ToString() { |
| | 1778 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 1779 | | } |
| | 1780 | |
|
| | 1781 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1782 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1783 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 1784 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1785 | | output.WriteRawMessage(this); |
| | 1786 | | #else |
| | 1787 | | if (modelCase_ == ModelOneofCase.Transform) { |
| | 1788 | | output.WriteRawTag(10); |
| | 1789 | | output.WriteMessage(Transform); |
| | 1790 | | } |
| | 1791 | | if (modelCase_ == ModelOneofCase.UuidCallback) { |
| | 1792 | | output.WriteRawTag(66); |
| | 1793 | | output.WriteMessage(UuidCallback); |
| | 1794 | | } |
| | 1795 | | if (modelCase_ == ModelOneofCase.Box) { |
| | 1796 | | output.WriteRawTag(130, 1); |
| | 1797 | | output.WriteMessage(Box); |
| | 1798 | | } |
| | 1799 | | if (modelCase_ == ModelOneofCase.Sphere) { |
| | 1800 | | output.WriteRawTag(138, 1); |
| | 1801 | | output.WriteMessage(Sphere); |
| | 1802 | | } |
| | 1803 | | if (modelCase_ == ModelOneofCase.Plane) { |
| | 1804 | | output.WriteRawTag(146, 1); |
| | 1805 | | output.WriteMessage(Plane); |
| | 1806 | | } |
| | 1807 | | if (modelCase_ == ModelOneofCase.Cone) { |
| | 1808 | | output.WriteRawTag(154, 1); |
| | 1809 | | output.WriteMessage(Cone); |
| | 1810 | | } |
| | 1811 | | if (modelCase_ == ModelOneofCase.Cylinder) { |
| | 1812 | | output.WriteRawTag(162, 1); |
| | 1813 | | output.WriteMessage(Cylinder); |
| | 1814 | | } |
| | 1815 | | if (modelCase_ == ModelOneofCase.Text) { |
| | 1816 | | output.WriteRawTag(170, 1); |
| | 1817 | | output.WriteMessage(Text); |
| | 1818 | | } |
| | 1819 | | if (modelCase_ == ModelOneofCase.Nft) { |
| | 1820 | | output.WriteRawTag(178, 1); |
| | 1821 | | output.WriteMessage(Nft); |
| | 1822 | | } |
| | 1823 | | if (modelCase_ == ModelOneofCase.ContainerRect) { |
| | 1824 | | output.WriteRawTag(202, 1); |
| | 1825 | | output.WriteMessage(ContainerRect); |
| | 1826 | | } |
| | 1827 | | if (modelCase_ == ModelOneofCase.ContainerStack) { |
| | 1828 | | output.WriteRawTag(210, 1); |
| | 1829 | | output.WriteMessage(ContainerStack); |
| | 1830 | | } |
| | 1831 | | if (modelCase_ == ModelOneofCase.UiTextShape) { |
| | 1832 | | output.WriteRawTag(218, 1); |
| | 1833 | | output.WriteMessage(UiTextShape); |
| | 1834 | | } |
| | 1835 | | if (modelCase_ == ModelOneofCase.UiInputTextShape) { |
| | 1836 | | output.WriteRawTag(226, 1); |
| | 1837 | | output.WriteMessage(UiInputTextShape); |
| | 1838 | | } |
| | 1839 | | if (modelCase_ == ModelOneofCase.UiImageShape) { |
| | 1840 | | output.WriteRawTag(234, 1); |
| | 1841 | | output.WriteMessage(UiImageShape); |
| | 1842 | | } |
| | 1843 | | if (modelCase_ == ModelOneofCase.Circle) { |
| | 1844 | | output.WriteRawTag(250, 1); |
| | 1845 | | output.WriteMessage(Circle); |
| | 1846 | | } |
| | 1847 | | if (modelCase_ == ModelOneofCase.Billboard) { |
| | 1848 | | output.WriteRawTag(130, 2); |
| | 1849 | | output.WriteMessage(Billboard); |
| | 1850 | | } |
| | 1851 | | if (modelCase_ == ModelOneofCase.Gltf) { |
| | 1852 | | output.WriteRawTag(178, 3); |
| | 1853 | | output.WriteMessage(Gltf); |
| | 1854 | | } |
| | 1855 | | if (modelCase_ == ModelOneofCase.Obj) { |
| | 1856 | | output.WriteRawTag(186, 3); |
| | 1857 | | output.WriteMessage(Obj); |
| | 1858 | | } |
| | 1859 | | if (modelCase_ == ModelOneofCase.Avatar) { |
| | 1860 | | output.WriteRawTag(194, 3); |
| | 1861 | | output.WriteMessage(Avatar); |
| | 1862 | | } |
| | 1863 | | if (modelCase_ == ModelOneofCase.BasicMaterial) { |
| | 1864 | | output.WriteRawTag(130, 4); |
| | 1865 | | output.WriteMessage(BasicMaterial); |
| | 1866 | | } |
| | 1867 | | if (modelCase_ == ModelOneofCase.Texture) { |
| | 1868 | | output.WriteRawTag(162, 4); |
| | 1869 | | output.WriteMessage(Texture); |
| | 1870 | | } |
| | 1871 | | if (modelCase_ == ModelOneofCase.AudioClip) { |
| | 1872 | | output.WriteRawTag(194, 12); |
| | 1873 | | output.WriteMessage(AudioClip); |
| | 1874 | | } |
| | 1875 | | if (modelCase_ == ModelOneofCase.AudioSource) { |
| | 1876 | | output.WriteRawTag(202, 12); |
| | 1877 | | output.WriteMessage(AudioSource); |
| | 1878 | | } |
| | 1879 | | if (_unknownFields != null) { |
| | 1880 | | _unknownFields.WriteTo(output); |
| | 1881 | | } |
| | 1882 | | #endif |
| | 1883 | | } |
| | 1884 | |
|
| | 1885 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 1886 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1887 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1888 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 1889 | | if (modelCase_ == ModelOneofCase.Transform) { |
| | 1890 | | output.WriteRawTag(10); |
| | 1891 | | output.WriteMessage(Transform); |
| | 1892 | | } |
| | 1893 | | if (modelCase_ == ModelOneofCase.UuidCallback) { |
| | 1894 | | output.WriteRawTag(66); |
| | 1895 | | output.WriteMessage(UuidCallback); |
| | 1896 | | } |
| | 1897 | | if (modelCase_ == ModelOneofCase.Box) { |
| | 1898 | | output.WriteRawTag(130, 1); |
| | 1899 | | output.WriteMessage(Box); |
| | 1900 | | } |
| | 1901 | | if (modelCase_ == ModelOneofCase.Sphere) { |
| | 1902 | | output.WriteRawTag(138, 1); |
| | 1903 | | output.WriteMessage(Sphere); |
| | 1904 | | } |
| | 1905 | | if (modelCase_ == ModelOneofCase.Plane) { |
| | 1906 | | output.WriteRawTag(146, 1); |
| | 1907 | | output.WriteMessage(Plane); |
| | 1908 | | } |
| | 1909 | | if (modelCase_ == ModelOneofCase.Cone) { |
| | 1910 | | output.WriteRawTag(154, 1); |
| | 1911 | | output.WriteMessage(Cone); |
| | 1912 | | } |
| | 1913 | | if (modelCase_ == ModelOneofCase.Cylinder) { |
| | 1914 | | output.WriteRawTag(162, 1); |
| | 1915 | | output.WriteMessage(Cylinder); |
| | 1916 | | } |
| | 1917 | | if (modelCase_ == ModelOneofCase.Text) { |
| | 1918 | | output.WriteRawTag(170, 1); |
| | 1919 | | output.WriteMessage(Text); |
| | 1920 | | } |
| | 1921 | | if (modelCase_ == ModelOneofCase.Nft) { |
| | 1922 | | output.WriteRawTag(178, 1); |
| | 1923 | | output.WriteMessage(Nft); |
| | 1924 | | } |
| | 1925 | | if (modelCase_ == ModelOneofCase.ContainerRect) { |
| | 1926 | | output.WriteRawTag(202, 1); |
| | 1927 | | output.WriteMessage(ContainerRect); |
| | 1928 | | } |
| | 1929 | | if (modelCase_ == ModelOneofCase.ContainerStack) { |
| | 1930 | | output.WriteRawTag(210, 1); |
| | 1931 | | output.WriteMessage(ContainerStack); |
| | 1932 | | } |
| | 1933 | | if (modelCase_ == ModelOneofCase.UiTextShape) { |
| | 1934 | | output.WriteRawTag(218, 1); |
| | 1935 | | output.WriteMessage(UiTextShape); |
| | 1936 | | } |
| | 1937 | | if (modelCase_ == ModelOneofCase.UiInputTextShape) { |
| | 1938 | | output.WriteRawTag(226, 1); |
| | 1939 | | output.WriteMessage(UiInputTextShape); |
| | 1940 | | } |
| | 1941 | | if (modelCase_ == ModelOneofCase.UiImageShape) { |
| | 1942 | | output.WriteRawTag(234, 1); |
| | 1943 | | output.WriteMessage(UiImageShape); |
| | 1944 | | } |
| | 1945 | | if (modelCase_ == ModelOneofCase.Circle) { |
| | 1946 | | output.WriteRawTag(250, 1); |
| | 1947 | | output.WriteMessage(Circle); |
| | 1948 | | } |
| | 1949 | | if (modelCase_ == ModelOneofCase.Billboard) { |
| | 1950 | | output.WriteRawTag(130, 2); |
| | 1951 | | output.WriteMessage(Billboard); |
| | 1952 | | } |
| | 1953 | | if (modelCase_ == ModelOneofCase.Gltf) { |
| | 1954 | | output.WriteRawTag(178, 3); |
| | 1955 | | output.WriteMessage(Gltf); |
| | 1956 | | } |
| | 1957 | | if (modelCase_ == ModelOneofCase.Obj) { |
| | 1958 | | output.WriteRawTag(186, 3); |
| | 1959 | | output.WriteMessage(Obj); |
| | 1960 | | } |
| | 1961 | | if (modelCase_ == ModelOneofCase.Avatar) { |
| | 1962 | | output.WriteRawTag(194, 3); |
| | 1963 | | output.WriteMessage(Avatar); |
| | 1964 | | } |
| | 1965 | | if (modelCase_ == ModelOneofCase.BasicMaterial) { |
| | 1966 | | output.WriteRawTag(130, 4); |
| | 1967 | | output.WriteMessage(BasicMaterial); |
| | 1968 | | } |
| | 1969 | | if (modelCase_ == ModelOneofCase.Texture) { |
| | 1970 | | output.WriteRawTag(162, 4); |
| | 1971 | | output.WriteMessage(Texture); |
| | 1972 | | } |
| | 1973 | | if (modelCase_ == ModelOneofCase.AudioClip) { |
| | 1974 | | output.WriteRawTag(194, 12); |
| | 1975 | | output.WriteMessage(AudioClip); |
| | 1976 | | } |
| | 1977 | | if (modelCase_ == ModelOneofCase.AudioSource) { |
| | 1978 | | output.WriteRawTag(202, 12); |
| | 1979 | | output.WriteMessage(AudioSource); |
| | 1980 | | } |
| | 1981 | | if (_unknownFields != null) { |
| | 1982 | | _unknownFields.WriteTo(ref output); |
| | 1983 | | } |
| | 1984 | | } |
| | 1985 | | #endif |
| | 1986 | |
|
| | 1987 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 1988 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 1989 | | public int CalculateSize() { |
| | 1990 | | int size = 0; |
| | 1991 | | if (modelCase_ == ModelOneofCase.Transform) { |
| | 1992 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Transform); |
| | 1993 | | } |
| | 1994 | | if (modelCase_ == ModelOneofCase.UuidCallback) { |
| | 1995 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(UuidCallback); |
| | 1996 | | } |
| | 1997 | | if (modelCase_ == ModelOneofCase.Box) { |
| | 1998 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Box); |
| | 1999 | | } |
| | 2000 | | if (modelCase_ == ModelOneofCase.Sphere) { |
| | 2001 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Sphere); |
| | 2002 | | } |
| | 2003 | | if (modelCase_ == ModelOneofCase.Plane) { |
| | 2004 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Plane); |
| | 2005 | | } |
| | 2006 | | if (modelCase_ == ModelOneofCase.Cone) { |
| | 2007 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Cone); |
| | 2008 | | } |
| | 2009 | | if (modelCase_ == ModelOneofCase.Cylinder) { |
| | 2010 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Cylinder); |
| | 2011 | | } |
| | 2012 | | if (modelCase_ == ModelOneofCase.Text) { |
| | 2013 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Text); |
| | 2014 | | } |
| | 2015 | | if (modelCase_ == ModelOneofCase.Nft) { |
| | 2016 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Nft); |
| | 2017 | | } |
| | 2018 | | if (modelCase_ == ModelOneofCase.ContainerRect) { |
| | 2019 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ContainerRect); |
| | 2020 | | } |
| | 2021 | | if (modelCase_ == ModelOneofCase.ContainerStack) { |
| | 2022 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ContainerStack); |
| | 2023 | | } |
| | 2024 | | if (modelCase_ == ModelOneofCase.UiTextShape) { |
| | 2025 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiTextShape); |
| | 2026 | | } |
| | 2027 | | if (modelCase_ == ModelOneofCase.UiInputTextShape) { |
| | 2028 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiInputTextShape); |
| | 2029 | | } |
| | 2030 | | if (modelCase_ == ModelOneofCase.UiImageShape) { |
| | 2031 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(UiImageShape); |
| | 2032 | | } |
| | 2033 | | if (modelCase_ == ModelOneofCase.Circle) { |
| | 2034 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Circle); |
| | 2035 | | } |
| | 2036 | | if (modelCase_ == ModelOneofCase.Billboard) { |
| | 2037 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Billboard); |
| | 2038 | | } |
| | 2039 | | if (modelCase_ == ModelOneofCase.Gltf) { |
| | 2040 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Gltf); |
| | 2041 | | } |
| | 2042 | | if (modelCase_ == ModelOneofCase.Obj) { |
| | 2043 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Obj); |
| | 2044 | | } |
| | 2045 | | if (modelCase_ == ModelOneofCase.Avatar) { |
| | 2046 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Avatar); |
| | 2047 | | } |
| | 2048 | | if (modelCase_ == ModelOneofCase.BasicMaterial) { |
| | 2049 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(BasicMaterial); |
| | 2050 | | } |
| | 2051 | | if (modelCase_ == ModelOneofCase.Texture) { |
| | 2052 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Texture); |
| | 2053 | | } |
| | 2054 | | if (modelCase_ == ModelOneofCase.AudioClip) { |
| | 2055 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(AudioClip); |
| | 2056 | | } |
| | 2057 | | if (modelCase_ == ModelOneofCase.AudioSource) { |
| | 2058 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(AudioSource); |
| | 2059 | | } |
| | 2060 | | if (_unknownFields != null) { |
| | 2061 | | size += _unknownFields.CalculateSize(); |
| | 2062 | | } |
| | 2063 | | return size; |
| | 2064 | | } |
| | 2065 | |
|
| | 2066 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2067 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2068 | | public void MergeFrom(PB_Component other) { |
| | 2069 | | if (other == null) { |
| | 2070 | | return; |
| | 2071 | | } |
| | 2072 | | switch (other.ModelCase) { |
| | 2073 | | case ModelOneofCase.Transform: |
| | 2074 | | if (Transform == null) { |
| | 2075 | | Transform = new global::DCL.Interface.PB_Transform(); |
| | 2076 | | } |
| | 2077 | | Transform.MergeFrom(other.Transform); |
| | 2078 | | break; |
| | 2079 | | case ModelOneofCase.UuidCallback: |
| | 2080 | | if (UuidCallback == null) { |
| | 2081 | | UuidCallback = new global::DCL.Interface.PB_UUIDCallback(); |
| | 2082 | | } |
| | 2083 | | UuidCallback.MergeFrom(other.UuidCallback); |
| | 2084 | | break; |
| | 2085 | | case ModelOneofCase.Box: |
| | 2086 | | if (Box == null) { |
| | 2087 | | Box = new global::DCL.Interface.PB_BoxShape(); |
| | 2088 | | } |
| | 2089 | | Box.MergeFrom(other.Box); |
| | 2090 | | break; |
| | 2091 | | case ModelOneofCase.Sphere: |
| | 2092 | | if (Sphere == null) { |
| | 2093 | | Sphere = new global::DCL.Interface.PB_SphereShape(); |
| | 2094 | | } |
| | 2095 | | Sphere.MergeFrom(other.Sphere); |
| | 2096 | | break; |
| | 2097 | | case ModelOneofCase.Plane: |
| | 2098 | | if (Plane == null) { |
| | 2099 | | Plane = new global::DCL.Interface.PB_PlaneShape(); |
| | 2100 | | } |
| | 2101 | | Plane.MergeFrom(other.Plane); |
| | 2102 | | break; |
| | 2103 | | case ModelOneofCase.Cone: |
| | 2104 | | if (Cone == null) { |
| | 2105 | | Cone = new global::DCL.Interface.PB_ConeShape(); |
| | 2106 | | } |
| | 2107 | | Cone.MergeFrom(other.Cone); |
| | 2108 | | break; |
| | 2109 | | case ModelOneofCase.Cylinder: |
| | 2110 | | if (Cylinder == null) { |
| | 2111 | | Cylinder = new global::DCL.Interface.PB_CylinderShape(); |
| | 2112 | | } |
| | 2113 | | Cylinder.MergeFrom(other.Cylinder); |
| | 2114 | | break; |
| | 2115 | | case ModelOneofCase.Text: |
| | 2116 | | if (Text == null) { |
| | 2117 | | Text = new global::DCL.Interface.PB_TextShape(); |
| | 2118 | | } |
| | 2119 | | Text.MergeFrom(other.Text); |
| | 2120 | | break; |
| | 2121 | | case ModelOneofCase.Nft: |
| | 2122 | | if (Nft == null) { |
| | 2123 | | Nft = new global::DCL.Interface.PB_NFTShape(); |
| | 2124 | | } |
| | 2125 | | Nft.MergeFrom(other.Nft); |
| | 2126 | | break; |
| | 2127 | | case ModelOneofCase.ContainerRect: |
| | 2128 | | if (ContainerRect == null) { |
| | 2129 | | ContainerRect = new global::DCL.Interface.PB_UIContainerRect(); |
| | 2130 | | } |
| | 2131 | | ContainerRect.MergeFrom(other.ContainerRect); |
| | 2132 | | break; |
| | 2133 | | case ModelOneofCase.ContainerStack: |
| | 2134 | | if (ContainerStack == null) { |
| | 2135 | | ContainerStack = new global::DCL.Interface.PB_UIContainerStack(); |
| | 2136 | | } |
| | 2137 | | ContainerStack.MergeFrom(other.ContainerStack); |
| | 2138 | | break; |
| | 2139 | | case ModelOneofCase.UiTextShape: |
| | 2140 | | if (UiTextShape == null) { |
| | 2141 | | UiTextShape = new global::DCL.Interface.PB_UITextShape(); |
| | 2142 | | } |
| | 2143 | | UiTextShape.MergeFrom(other.UiTextShape); |
| | 2144 | | break; |
| | 2145 | | case ModelOneofCase.UiInputTextShape: |
| | 2146 | | if (UiInputTextShape == null) { |
| | 2147 | | UiInputTextShape = new global::DCL.Interface.PB_UIInputText(); |
| | 2148 | | } |
| | 2149 | | UiInputTextShape.MergeFrom(other.UiInputTextShape); |
| | 2150 | | break; |
| | 2151 | | case ModelOneofCase.UiImageShape: |
| | 2152 | | if (UiImageShape == null) { |
| | 2153 | | UiImageShape = new global::DCL.Interface.PB_UIImage(); |
| | 2154 | | } |
| | 2155 | | UiImageShape.MergeFrom(other.UiImageShape); |
| | 2156 | | break; |
| | 2157 | | case ModelOneofCase.Circle: |
| | 2158 | | if (Circle == null) { |
| | 2159 | | Circle = new global::DCL.Interface.PB_CircleShape(); |
| | 2160 | | } |
| | 2161 | | Circle.MergeFrom(other.Circle); |
| | 2162 | | break; |
| | 2163 | | case ModelOneofCase.Billboard: |
| | 2164 | | if (Billboard == null) { |
| | 2165 | | Billboard = new global::DCL.Interface.PB_Billboard(); |
| | 2166 | | } |
| | 2167 | | Billboard.MergeFrom(other.Billboard); |
| | 2168 | | break; |
| | 2169 | | case ModelOneofCase.Gltf: |
| | 2170 | | if (Gltf == null) { |
| | 2171 | | Gltf = new global::DCL.Interface.PB_GLTFShape(); |
| | 2172 | | } |
| | 2173 | | Gltf.MergeFrom(other.Gltf); |
| | 2174 | | break; |
| | 2175 | | case ModelOneofCase.Obj: |
| | 2176 | | if (Obj == null) { |
| | 2177 | | Obj = new global::DCL.Interface.PB_OBJShape(); |
| | 2178 | | } |
| | 2179 | | Obj.MergeFrom(other.Obj); |
| | 2180 | | break; |
| | 2181 | | case ModelOneofCase.Avatar: |
| | 2182 | | if (Avatar == null) { |
| | 2183 | | Avatar = new global::DCL.Interface.PB_AvatarShape(); |
| | 2184 | | } |
| | 2185 | | Avatar.MergeFrom(other.Avatar); |
| | 2186 | | break; |
| | 2187 | | case ModelOneofCase.BasicMaterial: |
| | 2188 | | if (BasicMaterial == null) { |
| | 2189 | | BasicMaterial = new global::DCL.Interface.PB_BasicMaterial(); |
| | 2190 | | } |
| | 2191 | | BasicMaterial.MergeFrom(other.BasicMaterial); |
| | 2192 | | break; |
| | 2193 | | case ModelOneofCase.Texture: |
| | 2194 | | if (Texture == null) { |
| | 2195 | | Texture = new global::DCL.Interface.PB_Texture(); |
| | 2196 | | } |
| | 2197 | | Texture.MergeFrom(other.Texture); |
| | 2198 | | break; |
| | 2199 | | case ModelOneofCase.AudioClip: |
| | 2200 | | if (AudioClip == null) { |
| | 2201 | | AudioClip = new global::DCL.Interface.PB_AudioClip(); |
| | 2202 | | } |
| | 2203 | | AudioClip.MergeFrom(other.AudioClip); |
| | 2204 | | break; |
| | 2205 | | case ModelOneofCase.AudioSource: |
| | 2206 | | if (AudioSource == null) { |
| | 2207 | | AudioSource = new global::DCL.Interface.PB_AudioSource(); |
| | 2208 | | } |
| | 2209 | | AudioSource.MergeFrom(other.AudioSource); |
| | 2210 | | break; |
| | 2211 | | } |
| | 2212 | |
|
| | 2213 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2214 | | } |
| | 2215 | |
|
| | 2216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2218 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2219 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2220 | | input.ReadRawMessage(this); |
| | 2221 | | #else |
| | 2222 | | uint tag; |
| | 2223 | | while ((tag = input.ReadTag()) != 0) { |
| | 2224 | | switch(tag) { |
| | 2225 | | default: |
| | 2226 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2227 | | break; |
| | 2228 | | case 10: { |
| | 2229 | | global::DCL.Interface.PB_Transform subBuilder = new global::DCL.Interface.PB_Transform(); |
| | 2230 | | if (modelCase_ == ModelOneofCase.Transform) { |
| | 2231 | | subBuilder.MergeFrom(Transform); |
| | 2232 | | } |
| | 2233 | | input.ReadMessage(subBuilder); |
| | 2234 | | Transform = subBuilder; |
| | 2235 | | break; |
| | 2236 | | } |
| | 2237 | | case 66: { |
| | 2238 | | global::DCL.Interface.PB_UUIDCallback subBuilder = new global::DCL.Interface.PB_UUIDCallback(); |
| | 2239 | | if (modelCase_ == ModelOneofCase.UuidCallback) { |
| | 2240 | | subBuilder.MergeFrom(UuidCallback); |
| | 2241 | | } |
| | 2242 | | input.ReadMessage(subBuilder); |
| | 2243 | | UuidCallback = subBuilder; |
| | 2244 | | break; |
| | 2245 | | } |
| | 2246 | | case 130: { |
| | 2247 | | global::DCL.Interface.PB_BoxShape subBuilder = new global::DCL.Interface.PB_BoxShape(); |
| | 2248 | | if (modelCase_ == ModelOneofCase.Box) { |
| | 2249 | | subBuilder.MergeFrom(Box); |
| | 2250 | | } |
| | 2251 | | input.ReadMessage(subBuilder); |
| | 2252 | | Box = subBuilder; |
| | 2253 | | break; |
| | 2254 | | } |
| | 2255 | | case 138: { |
| | 2256 | | global::DCL.Interface.PB_SphereShape subBuilder = new global::DCL.Interface.PB_SphereShape(); |
| | 2257 | | if (modelCase_ == ModelOneofCase.Sphere) { |
| | 2258 | | subBuilder.MergeFrom(Sphere); |
| | 2259 | | } |
| | 2260 | | input.ReadMessage(subBuilder); |
| | 2261 | | Sphere = subBuilder; |
| | 2262 | | break; |
| | 2263 | | } |
| | 2264 | | case 146: { |
| | 2265 | | global::DCL.Interface.PB_PlaneShape subBuilder = new global::DCL.Interface.PB_PlaneShape(); |
| | 2266 | | if (modelCase_ == ModelOneofCase.Plane) { |
| | 2267 | | subBuilder.MergeFrom(Plane); |
| | 2268 | | } |
| | 2269 | | input.ReadMessage(subBuilder); |
| | 2270 | | Plane = subBuilder; |
| | 2271 | | break; |
| | 2272 | | } |
| | 2273 | | case 154: { |
| | 2274 | | global::DCL.Interface.PB_ConeShape subBuilder = new global::DCL.Interface.PB_ConeShape(); |
| | 2275 | | if (modelCase_ == ModelOneofCase.Cone) { |
| | 2276 | | subBuilder.MergeFrom(Cone); |
| | 2277 | | } |
| | 2278 | | input.ReadMessage(subBuilder); |
| | 2279 | | Cone = subBuilder; |
| | 2280 | | break; |
| | 2281 | | } |
| | 2282 | | case 162: { |
| | 2283 | | global::DCL.Interface.PB_CylinderShape subBuilder = new global::DCL.Interface.PB_CylinderShape(); |
| | 2284 | | if (modelCase_ == ModelOneofCase.Cylinder) { |
| | 2285 | | subBuilder.MergeFrom(Cylinder); |
| | 2286 | | } |
| | 2287 | | input.ReadMessage(subBuilder); |
| | 2288 | | Cylinder = subBuilder; |
| | 2289 | | break; |
| | 2290 | | } |
| | 2291 | | case 170: { |
| | 2292 | | global::DCL.Interface.PB_TextShape subBuilder = new global::DCL.Interface.PB_TextShape(); |
| | 2293 | | if (modelCase_ == ModelOneofCase.Text) { |
| | 2294 | | subBuilder.MergeFrom(Text); |
| | 2295 | | } |
| | 2296 | | input.ReadMessage(subBuilder); |
| | 2297 | | Text = subBuilder; |
| | 2298 | | break; |
| | 2299 | | } |
| | 2300 | | case 178: { |
| | 2301 | | global::DCL.Interface.PB_NFTShape subBuilder = new global::DCL.Interface.PB_NFTShape(); |
| | 2302 | | if (modelCase_ == ModelOneofCase.Nft) { |
| | 2303 | | subBuilder.MergeFrom(Nft); |
| | 2304 | | } |
| | 2305 | | input.ReadMessage(subBuilder); |
| | 2306 | | Nft = subBuilder; |
| | 2307 | | break; |
| | 2308 | | } |
| | 2309 | | case 202: { |
| | 2310 | | global::DCL.Interface.PB_UIContainerRect subBuilder = new global::DCL.Interface.PB_UIContainerRect(); |
| | 2311 | | if (modelCase_ == ModelOneofCase.ContainerRect) { |
| | 2312 | | subBuilder.MergeFrom(ContainerRect); |
| | 2313 | | } |
| | 2314 | | input.ReadMessage(subBuilder); |
| | 2315 | | ContainerRect = subBuilder; |
| | 2316 | | break; |
| | 2317 | | } |
| | 2318 | | case 210: { |
| | 2319 | | global::DCL.Interface.PB_UIContainerStack subBuilder = new global::DCL.Interface.PB_UIContainerStack(); |
| | 2320 | | if (modelCase_ == ModelOneofCase.ContainerStack) { |
| | 2321 | | subBuilder.MergeFrom(ContainerStack); |
| | 2322 | | } |
| | 2323 | | input.ReadMessage(subBuilder); |
| | 2324 | | ContainerStack = subBuilder; |
| | 2325 | | break; |
| | 2326 | | } |
| | 2327 | | case 218: { |
| | 2328 | | global::DCL.Interface.PB_UITextShape subBuilder = new global::DCL.Interface.PB_UITextShape(); |
| | 2329 | | if (modelCase_ == ModelOneofCase.UiTextShape) { |
| | 2330 | | subBuilder.MergeFrom(UiTextShape); |
| | 2331 | | } |
| | 2332 | | input.ReadMessage(subBuilder); |
| | 2333 | | UiTextShape = subBuilder; |
| | 2334 | | break; |
| | 2335 | | } |
| | 2336 | | case 226: { |
| | 2337 | | global::DCL.Interface.PB_UIInputText subBuilder = new global::DCL.Interface.PB_UIInputText(); |
| | 2338 | | if (modelCase_ == ModelOneofCase.UiInputTextShape) { |
| | 2339 | | subBuilder.MergeFrom(UiInputTextShape); |
| | 2340 | | } |
| | 2341 | | input.ReadMessage(subBuilder); |
| | 2342 | | UiInputTextShape = subBuilder; |
| | 2343 | | break; |
| | 2344 | | } |
| | 2345 | | case 234: { |
| | 2346 | | global::DCL.Interface.PB_UIImage subBuilder = new global::DCL.Interface.PB_UIImage(); |
| | 2347 | | if (modelCase_ == ModelOneofCase.UiImageShape) { |
| | 2348 | | subBuilder.MergeFrom(UiImageShape); |
| | 2349 | | } |
| | 2350 | | input.ReadMessage(subBuilder); |
| | 2351 | | UiImageShape = subBuilder; |
| | 2352 | | break; |
| | 2353 | | } |
| | 2354 | | case 250: { |
| | 2355 | | global::DCL.Interface.PB_CircleShape subBuilder = new global::DCL.Interface.PB_CircleShape(); |
| | 2356 | | if (modelCase_ == ModelOneofCase.Circle) { |
| | 2357 | | subBuilder.MergeFrom(Circle); |
| | 2358 | | } |
| | 2359 | | input.ReadMessage(subBuilder); |
| | 2360 | | Circle = subBuilder; |
| | 2361 | | break; |
| | 2362 | | } |
| | 2363 | | case 258: { |
| | 2364 | | global::DCL.Interface.PB_Billboard subBuilder = new global::DCL.Interface.PB_Billboard(); |
| | 2365 | | if (modelCase_ == ModelOneofCase.Billboard) { |
| | 2366 | | subBuilder.MergeFrom(Billboard); |
| | 2367 | | } |
| | 2368 | | input.ReadMessage(subBuilder); |
| | 2369 | | Billboard = subBuilder; |
| | 2370 | | break; |
| | 2371 | | } |
| | 2372 | | case 434: { |
| | 2373 | | global::DCL.Interface.PB_GLTFShape subBuilder = new global::DCL.Interface.PB_GLTFShape(); |
| | 2374 | | if (modelCase_ == ModelOneofCase.Gltf) { |
| | 2375 | | subBuilder.MergeFrom(Gltf); |
| | 2376 | | } |
| | 2377 | | input.ReadMessage(subBuilder); |
| | 2378 | | Gltf = subBuilder; |
| | 2379 | | break; |
| | 2380 | | } |
| | 2381 | | case 442: { |
| | 2382 | | global::DCL.Interface.PB_OBJShape subBuilder = new global::DCL.Interface.PB_OBJShape(); |
| | 2383 | | if (modelCase_ == ModelOneofCase.Obj) { |
| | 2384 | | subBuilder.MergeFrom(Obj); |
| | 2385 | | } |
| | 2386 | | input.ReadMessage(subBuilder); |
| | 2387 | | Obj = subBuilder; |
| | 2388 | | break; |
| | 2389 | | } |
| | 2390 | | case 450: { |
| | 2391 | | global::DCL.Interface.PB_AvatarShape subBuilder = new global::DCL.Interface.PB_AvatarShape(); |
| | 2392 | | if (modelCase_ == ModelOneofCase.Avatar) { |
| | 2393 | | subBuilder.MergeFrom(Avatar); |
| | 2394 | | } |
| | 2395 | | input.ReadMessage(subBuilder); |
| | 2396 | | Avatar = subBuilder; |
| | 2397 | | break; |
| | 2398 | | } |
| | 2399 | | case 514: { |
| | 2400 | | global::DCL.Interface.PB_BasicMaterial subBuilder = new global::DCL.Interface.PB_BasicMaterial(); |
| | 2401 | | if (modelCase_ == ModelOneofCase.BasicMaterial) { |
| | 2402 | | subBuilder.MergeFrom(BasicMaterial); |
| | 2403 | | } |
| | 2404 | | input.ReadMessage(subBuilder); |
| | 2405 | | BasicMaterial = subBuilder; |
| | 2406 | | break; |
| | 2407 | | } |
| | 2408 | | case 546: { |
| | 2409 | | global::DCL.Interface.PB_Texture subBuilder = new global::DCL.Interface.PB_Texture(); |
| | 2410 | | if (modelCase_ == ModelOneofCase.Texture) { |
| | 2411 | | subBuilder.MergeFrom(Texture); |
| | 2412 | | } |
| | 2413 | | input.ReadMessage(subBuilder); |
| | 2414 | | Texture = subBuilder; |
| | 2415 | | break; |
| | 2416 | | } |
| | 2417 | | case 1602: { |
| | 2418 | | global::DCL.Interface.PB_AudioClip subBuilder = new global::DCL.Interface.PB_AudioClip(); |
| | 2419 | | if (modelCase_ == ModelOneofCase.AudioClip) { |
| | 2420 | | subBuilder.MergeFrom(AudioClip); |
| | 2421 | | } |
| | 2422 | | input.ReadMessage(subBuilder); |
| | 2423 | | AudioClip = subBuilder; |
| | 2424 | | break; |
| | 2425 | | } |
| | 2426 | | case 1610: { |
| | 2427 | | global::DCL.Interface.PB_AudioSource subBuilder = new global::DCL.Interface.PB_AudioSource(); |
| | 2428 | | if (modelCase_ == ModelOneofCase.AudioSource) { |
| | 2429 | | subBuilder.MergeFrom(AudioSource); |
| | 2430 | | } |
| | 2431 | | input.ReadMessage(subBuilder); |
| | 2432 | | AudioSource = subBuilder; |
| | 2433 | | break; |
| | 2434 | | } |
| | 2435 | | } |
| | 2436 | | } |
| | 2437 | | #endif |
| | 2438 | | } |
| | 2439 | |
|
| | 2440 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2441 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2442 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2443 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2444 | | uint tag; |
| | 2445 | | while ((tag = input.ReadTag()) != 0) { |
| | 2446 | | switch(tag) { |
| | 2447 | | default: |
| | 2448 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2449 | | break; |
| | 2450 | | case 10: { |
| | 2451 | | global::DCL.Interface.PB_Transform subBuilder = new global::DCL.Interface.PB_Transform(); |
| | 2452 | | if (modelCase_ == ModelOneofCase.Transform) { |
| | 2453 | | subBuilder.MergeFrom(Transform); |
| | 2454 | | } |
| | 2455 | | input.ReadMessage(subBuilder); |
| | 2456 | | Transform = subBuilder; |
| | 2457 | | break; |
| | 2458 | | } |
| | 2459 | | case 66: { |
| | 2460 | | global::DCL.Interface.PB_UUIDCallback subBuilder = new global::DCL.Interface.PB_UUIDCallback(); |
| | 2461 | | if (modelCase_ == ModelOneofCase.UuidCallback) { |
| | 2462 | | subBuilder.MergeFrom(UuidCallback); |
| | 2463 | | } |
| | 2464 | | input.ReadMessage(subBuilder); |
| | 2465 | | UuidCallback = subBuilder; |
| | 2466 | | break; |
| | 2467 | | } |
| | 2468 | | case 130: { |
| | 2469 | | global::DCL.Interface.PB_BoxShape subBuilder = new global::DCL.Interface.PB_BoxShape(); |
| | 2470 | | if (modelCase_ == ModelOneofCase.Box) { |
| | 2471 | | subBuilder.MergeFrom(Box); |
| | 2472 | | } |
| | 2473 | | input.ReadMessage(subBuilder); |
| | 2474 | | Box = subBuilder; |
| | 2475 | | break; |
| | 2476 | | } |
| | 2477 | | case 138: { |
| | 2478 | | global::DCL.Interface.PB_SphereShape subBuilder = new global::DCL.Interface.PB_SphereShape(); |
| | 2479 | | if (modelCase_ == ModelOneofCase.Sphere) { |
| | 2480 | | subBuilder.MergeFrom(Sphere); |
| | 2481 | | } |
| | 2482 | | input.ReadMessage(subBuilder); |
| | 2483 | | Sphere = subBuilder; |
| | 2484 | | break; |
| | 2485 | | } |
| | 2486 | | case 146: { |
| | 2487 | | global::DCL.Interface.PB_PlaneShape subBuilder = new global::DCL.Interface.PB_PlaneShape(); |
| | 2488 | | if (modelCase_ == ModelOneofCase.Plane) { |
| | 2489 | | subBuilder.MergeFrom(Plane); |
| | 2490 | | } |
| | 2491 | | input.ReadMessage(subBuilder); |
| | 2492 | | Plane = subBuilder; |
| | 2493 | | break; |
| | 2494 | | } |
| | 2495 | | case 154: { |
| | 2496 | | global::DCL.Interface.PB_ConeShape subBuilder = new global::DCL.Interface.PB_ConeShape(); |
| | 2497 | | if (modelCase_ == ModelOneofCase.Cone) { |
| | 2498 | | subBuilder.MergeFrom(Cone); |
| | 2499 | | } |
| | 2500 | | input.ReadMessage(subBuilder); |
| | 2501 | | Cone = subBuilder; |
| | 2502 | | break; |
| | 2503 | | } |
| | 2504 | | case 162: { |
| | 2505 | | global::DCL.Interface.PB_CylinderShape subBuilder = new global::DCL.Interface.PB_CylinderShape(); |
| | 2506 | | if (modelCase_ == ModelOneofCase.Cylinder) { |
| | 2507 | | subBuilder.MergeFrom(Cylinder); |
| | 2508 | | } |
| | 2509 | | input.ReadMessage(subBuilder); |
| | 2510 | | Cylinder = subBuilder; |
| | 2511 | | break; |
| | 2512 | | } |
| | 2513 | | case 170: { |
| | 2514 | | global::DCL.Interface.PB_TextShape subBuilder = new global::DCL.Interface.PB_TextShape(); |
| | 2515 | | if (modelCase_ == ModelOneofCase.Text) { |
| | 2516 | | subBuilder.MergeFrom(Text); |
| | 2517 | | } |
| | 2518 | | input.ReadMessage(subBuilder); |
| | 2519 | | Text = subBuilder; |
| | 2520 | | break; |
| | 2521 | | } |
| | 2522 | | case 178: { |
| | 2523 | | global::DCL.Interface.PB_NFTShape subBuilder = new global::DCL.Interface.PB_NFTShape(); |
| | 2524 | | if (modelCase_ == ModelOneofCase.Nft) { |
| | 2525 | | subBuilder.MergeFrom(Nft); |
| | 2526 | | } |
| | 2527 | | input.ReadMessage(subBuilder); |
| | 2528 | | Nft = subBuilder; |
| | 2529 | | break; |
| | 2530 | | } |
| | 2531 | | case 202: { |
| | 2532 | | global::DCL.Interface.PB_UIContainerRect subBuilder = new global::DCL.Interface.PB_UIContainerRect(); |
| | 2533 | | if (modelCase_ == ModelOneofCase.ContainerRect) { |
| | 2534 | | subBuilder.MergeFrom(ContainerRect); |
| | 2535 | | } |
| | 2536 | | input.ReadMessage(subBuilder); |
| | 2537 | | ContainerRect = subBuilder; |
| | 2538 | | break; |
| | 2539 | | } |
| | 2540 | | case 210: { |
| | 2541 | | global::DCL.Interface.PB_UIContainerStack subBuilder = new global::DCL.Interface.PB_UIContainerStack(); |
| | 2542 | | if (modelCase_ == ModelOneofCase.ContainerStack) { |
| | 2543 | | subBuilder.MergeFrom(ContainerStack); |
| | 2544 | | } |
| | 2545 | | input.ReadMessage(subBuilder); |
| | 2546 | | ContainerStack = subBuilder; |
| | 2547 | | break; |
| | 2548 | | } |
| | 2549 | | case 218: { |
| | 2550 | | global::DCL.Interface.PB_UITextShape subBuilder = new global::DCL.Interface.PB_UITextShape(); |
| | 2551 | | if (modelCase_ == ModelOneofCase.UiTextShape) { |
| | 2552 | | subBuilder.MergeFrom(UiTextShape); |
| | 2553 | | } |
| | 2554 | | input.ReadMessage(subBuilder); |
| | 2555 | | UiTextShape = subBuilder; |
| | 2556 | | break; |
| | 2557 | | } |
| | 2558 | | case 226: { |
| | 2559 | | global::DCL.Interface.PB_UIInputText subBuilder = new global::DCL.Interface.PB_UIInputText(); |
| | 2560 | | if (modelCase_ == ModelOneofCase.UiInputTextShape) { |
| | 2561 | | subBuilder.MergeFrom(UiInputTextShape); |
| | 2562 | | } |
| | 2563 | | input.ReadMessage(subBuilder); |
| | 2564 | | UiInputTextShape = subBuilder; |
| | 2565 | | break; |
| | 2566 | | } |
| | 2567 | | case 234: { |
| | 2568 | | global::DCL.Interface.PB_UIImage subBuilder = new global::DCL.Interface.PB_UIImage(); |
| | 2569 | | if (modelCase_ == ModelOneofCase.UiImageShape) { |
| | 2570 | | subBuilder.MergeFrom(UiImageShape); |
| | 2571 | | } |
| | 2572 | | input.ReadMessage(subBuilder); |
| | 2573 | | UiImageShape = subBuilder; |
| | 2574 | | break; |
| | 2575 | | } |
| | 2576 | | case 250: { |
| | 2577 | | global::DCL.Interface.PB_CircleShape subBuilder = new global::DCL.Interface.PB_CircleShape(); |
| | 2578 | | if (modelCase_ == ModelOneofCase.Circle) { |
| | 2579 | | subBuilder.MergeFrom(Circle); |
| | 2580 | | } |
| | 2581 | | input.ReadMessage(subBuilder); |
| | 2582 | | Circle = subBuilder; |
| | 2583 | | break; |
| | 2584 | | } |
| | 2585 | | case 258: { |
| | 2586 | | global::DCL.Interface.PB_Billboard subBuilder = new global::DCL.Interface.PB_Billboard(); |
| | 2587 | | if (modelCase_ == ModelOneofCase.Billboard) { |
| | 2588 | | subBuilder.MergeFrom(Billboard); |
| | 2589 | | } |
| | 2590 | | input.ReadMessage(subBuilder); |
| | 2591 | | Billboard = subBuilder; |
| | 2592 | | break; |
| | 2593 | | } |
| | 2594 | | case 434: { |
| | 2595 | | global::DCL.Interface.PB_GLTFShape subBuilder = new global::DCL.Interface.PB_GLTFShape(); |
| | 2596 | | if (modelCase_ == ModelOneofCase.Gltf) { |
| | 2597 | | subBuilder.MergeFrom(Gltf); |
| | 2598 | | } |
| | 2599 | | input.ReadMessage(subBuilder); |
| | 2600 | | Gltf = subBuilder; |
| | 2601 | | break; |
| | 2602 | | } |
| | 2603 | | case 442: { |
| | 2604 | | global::DCL.Interface.PB_OBJShape subBuilder = new global::DCL.Interface.PB_OBJShape(); |
| | 2605 | | if (modelCase_ == ModelOneofCase.Obj) { |
| | 2606 | | subBuilder.MergeFrom(Obj); |
| | 2607 | | } |
| | 2608 | | input.ReadMessage(subBuilder); |
| | 2609 | | Obj = subBuilder; |
| | 2610 | | break; |
| | 2611 | | } |
| | 2612 | | case 450: { |
| | 2613 | | global::DCL.Interface.PB_AvatarShape subBuilder = new global::DCL.Interface.PB_AvatarShape(); |
| | 2614 | | if (modelCase_ == ModelOneofCase.Avatar) { |
| | 2615 | | subBuilder.MergeFrom(Avatar); |
| | 2616 | | } |
| | 2617 | | input.ReadMessage(subBuilder); |
| | 2618 | | Avatar = subBuilder; |
| | 2619 | | break; |
| | 2620 | | } |
| | 2621 | | case 514: { |
| | 2622 | | global::DCL.Interface.PB_BasicMaterial subBuilder = new global::DCL.Interface.PB_BasicMaterial(); |
| | 2623 | | if (modelCase_ == ModelOneofCase.BasicMaterial) { |
| | 2624 | | subBuilder.MergeFrom(BasicMaterial); |
| | 2625 | | } |
| | 2626 | | input.ReadMessage(subBuilder); |
| | 2627 | | BasicMaterial = subBuilder; |
| | 2628 | | break; |
| | 2629 | | } |
| | 2630 | | case 546: { |
| | 2631 | | global::DCL.Interface.PB_Texture subBuilder = new global::DCL.Interface.PB_Texture(); |
| | 2632 | | if (modelCase_ == ModelOneofCase.Texture) { |
| | 2633 | | subBuilder.MergeFrom(Texture); |
| | 2634 | | } |
| | 2635 | | input.ReadMessage(subBuilder); |
| | 2636 | | Texture = subBuilder; |
| | 2637 | | break; |
| | 2638 | | } |
| | 2639 | | case 1602: { |
| | 2640 | | global::DCL.Interface.PB_AudioClip subBuilder = new global::DCL.Interface.PB_AudioClip(); |
| | 2641 | | if (modelCase_ == ModelOneofCase.AudioClip) { |
| | 2642 | | subBuilder.MergeFrom(AudioClip); |
| | 2643 | | } |
| | 2644 | | input.ReadMessage(subBuilder); |
| | 2645 | | AudioClip = subBuilder; |
| | 2646 | | break; |
| | 2647 | | } |
| | 2648 | | case 1610: { |
| | 2649 | | global::DCL.Interface.PB_AudioSource subBuilder = new global::DCL.Interface.PB_AudioSource(); |
| | 2650 | | if (modelCase_ == ModelOneofCase.AudioSource) { |
| | 2651 | | subBuilder.MergeFrom(AudioSource); |
| | 2652 | | } |
| | 2653 | | input.ReadMessage(subBuilder); |
| | 2654 | | AudioSource = subBuilder; |
| | 2655 | | break; |
| | 2656 | | } |
| | 2657 | | } |
| | 2658 | | } |
| | 2659 | | } |
| | 2660 | | #endif |
| | 2661 | |
|
| | 2662 | | } |
| | 2663 | |
|
| | 2664 | | public sealed partial class PB_Color4 : pb::IMessage<PB_Color4> |
| | 2665 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2666 | | , pb::IBufferMessage |
| | 2667 | | #endif |
| | 2668 | | { |
| | 2669 | | private static readonly pb::MessageParser<PB_Color4> _parser = new pb::MessageParser<PB_Color4>(() => new PB_Color4( |
| | 2670 | | private pb::UnknownFieldSet _unknownFields; |
| | 2671 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2672 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2673 | | public static pb::MessageParser<PB_Color4> Parser { get { return _parser; } } |
| | 2674 | |
|
| | 2675 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2676 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2677 | | public static pbr::MessageDescriptor Descriptor { |
| | 2678 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[5]; } |
| | 2679 | | } |
| | 2680 | |
|
| | 2681 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2682 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2683 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 2684 | | get { return Descriptor; } |
| | 2685 | | } |
| | 2686 | |
|
| | 2687 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2688 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2689 | | public PB_Color4() { |
| | 2690 | | OnConstruction(); |
| | 2691 | | } |
| | 2692 | |
|
| | 2693 | | partial void OnConstruction(); |
| | 2694 | |
|
| | 2695 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2696 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2697 | | public PB_Color4(PB_Color4 other) : this() { |
| | 2698 | | r_ = other.r_; |
| | 2699 | | g_ = other.g_; |
| | 2700 | | b_ = other.b_; |
| | 2701 | | a_ = other.a_; |
| | 2702 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 2703 | | } |
| | 2704 | |
|
| | 2705 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2706 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2707 | | public PB_Color4 Clone() { |
| | 2708 | | return new PB_Color4(this); |
| | 2709 | | } |
| | 2710 | |
|
| | 2711 | | /// <summary>Field number for the "r" field.</summary> |
| | 2712 | | public const int RFieldNumber = 1; |
| | 2713 | | private float r_; |
| | 2714 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2715 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2716 | | public float R { |
| | 2717 | | get { return r_; } |
| | 2718 | | set { |
| | 2719 | | r_ = value; |
| | 2720 | | } |
| | 2721 | | } |
| | 2722 | |
|
| | 2723 | | /// <summary>Field number for the "g" field.</summary> |
| | 2724 | | public const int GFieldNumber = 2; |
| | 2725 | | private float g_; |
| | 2726 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2727 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2728 | | public float G { |
| | 2729 | | get { return g_; } |
| | 2730 | | set { |
| | 2731 | | g_ = value; |
| | 2732 | | } |
| | 2733 | | } |
| | 2734 | |
|
| | 2735 | | /// <summary>Field number for the "b" field.</summary> |
| | 2736 | | public const int BFieldNumber = 3; |
| | 2737 | | private float b_; |
| | 2738 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2739 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2740 | | public float B { |
| | 2741 | | get { return b_; } |
| | 2742 | | set { |
| | 2743 | | b_ = value; |
| | 2744 | | } |
| | 2745 | | } |
| | 2746 | |
|
| | 2747 | | /// <summary>Field number for the "a" field.</summary> |
| | 2748 | | public const int AFieldNumber = 4; |
| | 2749 | | private float a_; |
| | 2750 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2751 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2752 | | public float A { |
| | 2753 | | get { return a_; } |
| | 2754 | | set { |
| | 2755 | | a_ = value; |
| | 2756 | | } |
| | 2757 | | } |
| | 2758 | |
|
| | 2759 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2760 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2761 | | public override bool Equals(object other) { |
| | 2762 | | return Equals(other as PB_Color4); |
| | 2763 | | } |
| | 2764 | |
|
| | 2765 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2766 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2767 | | public bool Equals(PB_Color4 other) { |
| | 2768 | | if (ReferenceEquals(other, null)) { |
| | 2769 | | return false; |
| | 2770 | | } |
| | 2771 | | if (ReferenceEquals(other, this)) { |
| | 2772 | | return true; |
| | 2773 | | } |
| | 2774 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(R, other.R)) return false; |
| | 2775 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(G, other.G)) return false; |
| | 2776 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(B, other.B)) return false; |
| | 2777 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(A, other.A)) return false; |
| | 2778 | | return Equals(_unknownFields, other._unknownFields); |
| | 2779 | | } |
| | 2780 | |
|
| | 2781 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2782 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2783 | | public override int GetHashCode() { |
| | 2784 | | int hash = 1; |
| | 2785 | | if (R != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(R); |
| | 2786 | | if (G != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(G); |
| | 2787 | | if (B != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(B); |
| | 2788 | | if (A != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(A); |
| | 2789 | | if (_unknownFields != null) { |
| | 2790 | | hash ^= _unknownFields.GetHashCode(); |
| | 2791 | | } |
| | 2792 | | return hash; |
| | 2793 | | } |
| | 2794 | |
|
| | 2795 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2796 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2797 | | public override string ToString() { |
| | 2798 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 2799 | | } |
| | 2800 | |
|
| | 2801 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2802 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2803 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 2804 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2805 | | output.WriteRawMessage(this); |
| | 2806 | | #else |
| | 2807 | | if (R != 0F) { |
| | 2808 | | output.WriteRawTag(13); |
| | 2809 | | output.WriteFloat(R); |
| | 2810 | | } |
| | 2811 | | if (G != 0F) { |
| | 2812 | | output.WriteRawTag(21); |
| | 2813 | | output.WriteFloat(G); |
| | 2814 | | } |
| | 2815 | | if (B != 0F) { |
| | 2816 | | output.WriteRawTag(29); |
| | 2817 | | output.WriteFloat(B); |
| | 2818 | | } |
| | 2819 | | if (A != 0F) { |
| | 2820 | | output.WriteRawTag(37); |
| | 2821 | | output.WriteFloat(A); |
| | 2822 | | } |
| | 2823 | | if (_unknownFields != null) { |
| | 2824 | | _unknownFields.WriteTo(output); |
| | 2825 | | } |
| | 2826 | | #endif |
| | 2827 | | } |
| | 2828 | |
|
| | 2829 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2830 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2831 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2832 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 2833 | | if (R != 0F) { |
| | 2834 | | output.WriteRawTag(13); |
| | 2835 | | output.WriteFloat(R); |
| | 2836 | | } |
| | 2837 | | if (G != 0F) { |
| | 2838 | | output.WriteRawTag(21); |
| | 2839 | | output.WriteFloat(G); |
| | 2840 | | } |
| | 2841 | | if (B != 0F) { |
| | 2842 | | output.WriteRawTag(29); |
| | 2843 | | output.WriteFloat(B); |
| | 2844 | | } |
| | 2845 | | if (A != 0F) { |
| | 2846 | | output.WriteRawTag(37); |
| | 2847 | | output.WriteFloat(A); |
| | 2848 | | } |
| | 2849 | | if (_unknownFields != null) { |
| | 2850 | | _unknownFields.WriteTo(ref output); |
| | 2851 | | } |
| | 2852 | | } |
| | 2853 | | #endif |
| | 2854 | |
|
| | 2855 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2856 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2857 | | public int CalculateSize() { |
| | 2858 | | int size = 0; |
| | 2859 | | if (R != 0F) { |
| | 2860 | | size += 1 + 4; |
| | 2861 | | } |
| | 2862 | | if (G != 0F) { |
| | 2863 | | size += 1 + 4; |
| | 2864 | | } |
| | 2865 | | if (B != 0F) { |
| | 2866 | | size += 1 + 4; |
| | 2867 | | } |
| | 2868 | | if (A != 0F) { |
| | 2869 | | size += 1 + 4; |
| | 2870 | | } |
| | 2871 | | if (_unknownFields != null) { |
| | 2872 | | size += _unknownFields.CalculateSize(); |
| | 2873 | | } |
| | 2874 | | return size; |
| | 2875 | | } |
| | 2876 | |
|
| | 2877 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2878 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2879 | | public void MergeFrom(PB_Color4 other) { |
| | 2880 | | if (other == null) { |
| | 2881 | | return; |
| | 2882 | | } |
| | 2883 | | if (other.R != 0F) { |
| | 2884 | | R = other.R; |
| | 2885 | | } |
| | 2886 | | if (other.G != 0F) { |
| | 2887 | | G = other.G; |
| | 2888 | | } |
| | 2889 | | if (other.B != 0F) { |
| | 2890 | | B = other.B; |
| | 2891 | | } |
| | 2892 | | if (other.A != 0F) { |
| | 2893 | | A = other.A; |
| | 2894 | | } |
| | 2895 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 2896 | | } |
| | 2897 | |
|
| | 2898 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2899 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2900 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 2901 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2902 | | input.ReadRawMessage(this); |
| | 2903 | | #else |
| | 2904 | | uint tag; |
| | 2905 | | while ((tag = input.ReadTag()) != 0) { |
| | 2906 | | switch(tag) { |
| | 2907 | | default: |
| | 2908 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 2909 | | break; |
| | 2910 | | case 13: { |
| | 2911 | | R = input.ReadFloat(); |
| | 2912 | | break; |
| | 2913 | | } |
| | 2914 | | case 21: { |
| | 2915 | | G = input.ReadFloat(); |
| | 2916 | | break; |
| | 2917 | | } |
| | 2918 | | case 29: { |
| | 2919 | | B = input.ReadFloat(); |
| | 2920 | | break; |
| | 2921 | | } |
| | 2922 | | case 37: { |
| | 2923 | | A = input.ReadFloat(); |
| | 2924 | | break; |
| | 2925 | | } |
| | 2926 | | } |
| | 2927 | | } |
| | 2928 | | #endif |
| | 2929 | | } |
| | 2930 | |
|
| | 2931 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2932 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2933 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2934 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 2935 | | uint tag; |
| | 2936 | | while ((tag = input.ReadTag()) != 0) { |
| | 2937 | | switch(tag) { |
| | 2938 | | default: |
| | 2939 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 2940 | | break; |
| | 2941 | | case 13: { |
| | 2942 | | R = input.ReadFloat(); |
| | 2943 | | break; |
| | 2944 | | } |
| | 2945 | | case 21: { |
| | 2946 | | G = input.ReadFloat(); |
| | 2947 | | break; |
| | 2948 | | } |
| | 2949 | | case 29: { |
| | 2950 | | B = input.ReadFloat(); |
| | 2951 | | break; |
| | 2952 | | } |
| | 2953 | | case 37: { |
| | 2954 | | A = input.ReadFloat(); |
| | 2955 | | break; |
| | 2956 | | } |
| | 2957 | | } |
| | 2958 | | } |
| | 2959 | | } |
| | 2960 | | #endif |
| | 2961 | |
|
| | 2962 | | } |
| | 2963 | |
|
| | 2964 | | public sealed partial class PB_Color3 : pb::IMessage<PB_Color3> |
| | 2965 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 2966 | | , pb::IBufferMessage |
| | 2967 | | #endif |
| | 2968 | | { |
| | 2969 | | private static readonly pb::MessageParser<PB_Color3> _parser = new pb::MessageParser<PB_Color3>(() => new PB_Color3( |
| | 2970 | | private pb::UnknownFieldSet _unknownFields; |
| | 2971 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2972 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2973 | | public static pb::MessageParser<PB_Color3> Parser { get { return _parser; } } |
| | 2974 | |
|
| | 2975 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2976 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2977 | | public static pbr::MessageDescriptor Descriptor { |
| | 2978 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[6]; } |
| | 2979 | | } |
| | 2980 | |
|
| | 2981 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2982 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2983 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 2984 | | get { return Descriptor; } |
| | 2985 | | } |
| | 2986 | |
|
| | 2987 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2988 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2989 | | public PB_Color3() { |
| | 2990 | | OnConstruction(); |
| | 2991 | | } |
| | 2992 | |
|
| | 2993 | | partial void OnConstruction(); |
| | 2994 | |
|
| | 2995 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 2996 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 2997 | | public PB_Color3(PB_Color3 other) : this() { |
| | 2998 | | r_ = other.r_; |
| | 2999 | | g_ = other.g_; |
| | 3000 | | b_ = other.b_; |
| | 3001 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3002 | | } |
| | 3003 | |
|
| | 3004 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3005 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3006 | | public PB_Color3 Clone() { |
| | 3007 | | return new PB_Color3(this); |
| | 3008 | | } |
| | 3009 | |
|
| | 3010 | | /// <summary>Field number for the "r" field.</summary> |
| | 3011 | | public const int RFieldNumber = 1; |
| | 3012 | | private float r_; |
| | 3013 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3014 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3015 | | public float R { |
| | 3016 | | get { return r_; } |
| | 3017 | | set { |
| | 3018 | | r_ = value; |
| | 3019 | | } |
| | 3020 | | } |
| | 3021 | |
|
| | 3022 | | /// <summary>Field number for the "g" field.</summary> |
| | 3023 | | public const int GFieldNumber = 2; |
| | 3024 | | private float g_; |
| | 3025 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3026 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3027 | | public float G { |
| | 3028 | | get { return g_; } |
| | 3029 | | set { |
| | 3030 | | g_ = value; |
| | 3031 | | } |
| | 3032 | | } |
| | 3033 | |
|
| | 3034 | | /// <summary>Field number for the "b" field.</summary> |
| | 3035 | | public const int BFieldNumber = 3; |
| | 3036 | | private float b_; |
| | 3037 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3038 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3039 | | public float B { |
| | 3040 | | get { return b_; } |
| | 3041 | | set { |
| | 3042 | | b_ = value; |
| | 3043 | | } |
| | 3044 | | } |
| | 3045 | |
|
| | 3046 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3047 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3048 | | public override bool Equals(object other) { |
| | 3049 | | return Equals(other as PB_Color3); |
| | 3050 | | } |
| | 3051 | |
|
| | 3052 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3053 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3054 | | public bool Equals(PB_Color3 other) { |
| | 3055 | | if (ReferenceEquals(other, null)) { |
| | 3056 | | return false; |
| | 3057 | | } |
| | 3058 | | if (ReferenceEquals(other, this)) { |
| | 3059 | | return true; |
| | 3060 | | } |
| | 3061 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(R, other.R)) return false; |
| | 3062 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(G, other.G)) return false; |
| | 3063 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(B, other.B)) return false; |
| | 3064 | | return Equals(_unknownFields, other._unknownFields); |
| | 3065 | | } |
| | 3066 | |
|
| | 3067 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3068 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3069 | | public override int GetHashCode() { |
| | 3070 | | int hash = 1; |
| | 3071 | | if (R != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(R); |
| | 3072 | | if (G != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(G); |
| | 3073 | | if (B != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(B); |
| | 3074 | | if (_unknownFields != null) { |
| | 3075 | | hash ^= _unknownFields.GetHashCode(); |
| | 3076 | | } |
| | 3077 | | return hash; |
| | 3078 | | } |
| | 3079 | |
|
| | 3080 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3081 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3082 | | public override string ToString() { |
| | 3083 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3084 | | } |
| | 3085 | |
|
| | 3086 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3087 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3088 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3089 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3090 | | output.WriteRawMessage(this); |
| | 3091 | | #else |
| | 3092 | | if (R != 0F) { |
| | 3093 | | output.WriteRawTag(13); |
| | 3094 | | output.WriteFloat(R); |
| | 3095 | | } |
| | 3096 | | if (G != 0F) { |
| | 3097 | | output.WriteRawTag(21); |
| | 3098 | | output.WriteFloat(G); |
| | 3099 | | } |
| | 3100 | | if (B != 0F) { |
| | 3101 | | output.WriteRawTag(29); |
| | 3102 | | output.WriteFloat(B); |
| | 3103 | | } |
| | 3104 | | if (_unknownFields != null) { |
| | 3105 | | _unknownFields.WriteTo(output); |
| | 3106 | | } |
| | 3107 | | #endif |
| | 3108 | | } |
| | 3109 | |
|
| | 3110 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3111 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3112 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3113 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3114 | | if (R != 0F) { |
| | 3115 | | output.WriteRawTag(13); |
| | 3116 | | output.WriteFloat(R); |
| | 3117 | | } |
| | 3118 | | if (G != 0F) { |
| | 3119 | | output.WriteRawTag(21); |
| | 3120 | | output.WriteFloat(G); |
| | 3121 | | } |
| | 3122 | | if (B != 0F) { |
| | 3123 | | output.WriteRawTag(29); |
| | 3124 | | output.WriteFloat(B); |
| | 3125 | | } |
| | 3126 | | if (_unknownFields != null) { |
| | 3127 | | _unknownFields.WriteTo(ref output); |
| | 3128 | | } |
| | 3129 | | } |
| | 3130 | | #endif |
| | 3131 | |
|
| | 3132 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3133 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3134 | | public int CalculateSize() { |
| | 3135 | | int size = 0; |
| | 3136 | | if (R != 0F) { |
| | 3137 | | size += 1 + 4; |
| | 3138 | | } |
| | 3139 | | if (G != 0F) { |
| | 3140 | | size += 1 + 4; |
| | 3141 | | } |
| | 3142 | | if (B != 0F) { |
| | 3143 | | size += 1 + 4; |
| | 3144 | | } |
| | 3145 | | if (_unknownFields != null) { |
| | 3146 | | size += _unknownFields.CalculateSize(); |
| | 3147 | | } |
| | 3148 | | return size; |
| | 3149 | | } |
| | 3150 | |
|
| | 3151 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3152 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3153 | | public void MergeFrom(PB_Color3 other) { |
| | 3154 | | if (other == null) { |
| | 3155 | | return; |
| | 3156 | | } |
| | 3157 | | if (other.R != 0F) { |
| | 3158 | | R = other.R; |
| | 3159 | | } |
| | 3160 | | if (other.G != 0F) { |
| | 3161 | | G = other.G; |
| | 3162 | | } |
| | 3163 | | if (other.B != 0F) { |
| | 3164 | | B = other.B; |
| | 3165 | | } |
| | 3166 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 3167 | | } |
| | 3168 | |
|
| | 3169 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3170 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3171 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 3172 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3173 | | input.ReadRawMessage(this); |
| | 3174 | | #else |
| | 3175 | | uint tag; |
| | 3176 | | while ((tag = input.ReadTag()) != 0) { |
| | 3177 | | switch(tag) { |
| | 3178 | | default: |
| | 3179 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 3180 | | break; |
| | 3181 | | case 13: { |
| | 3182 | | R = input.ReadFloat(); |
| | 3183 | | break; |
| | 3184 | | } |
| | 3185 | | case 21: { |
| | 3186 | | G = input.ReadFloat(); |
| | 3187 | | break; |
| | 3188 | | } |
| | 3189 | | case 29: { |
| | 3190 | | B = input.ReadFloat(); |
| | 3191 | | break; |
| | 3192 | | } |
| | 3193 | | } |
| | 3194 | | } |
| | 3195 | | #endif |
| | 3196 | | } |
| | 3197 | |
|
| | 3198 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3199 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3200 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3201 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 3202 | | uint tag; |
| | 3203 | | while ((tag = input.ReadTag()) != 0) { |
| | 3204 | | switch(tag) { |
| | 3205 | | default: |
| | 3206 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 3207 | | break; |
| | 3208 | | case 13: { |
| | 3209 | | R = input.ReadFloat(); |
| | 3210 | | break; |
| | 3211 | | } |
| | 3212 | | case 21: { |
| | 3213 | | G = input.ReadFloat(); |
| | 3214 | | break; |
| | 3215 | | } |
| | 3216 | | case 29: { |
| | 3217 | | B = input.ReadFloat(); |
| | 3218 | | break; |
| | 3219 | | } |
| | 3220 | | } |
| | 3221 | | } |
| | 3222 | | } |
| | 3223 | | #endif |
| | 3224 | |
|
| | 3225 | | } |
| | 3226 | |
|
| | 3227 | | public sealed partial class PB_TextShapeModel : pb::IMessage<PB_TextShapeModel> |
| | 3228 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3229 | | , pb::IBufferMessage |
| | 3230 | | #endif |
| | 3231 | | { |
| | 3232 | | private static readonly pb::MessageParser<PB_TextShapeModel> _parser = new pb::MessageParser<PB_TextShapeModel>(() = |
| | 3233 | | private pb::UnknownFieldSet _unknownFields; |
| | 3234 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3235 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3236 | | public static pb::MessageParser<PB_TextShapeModel> Parser { get { return _parser; } } |
| | 3237 | |
|
| | 3238 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3239 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3240 | | public static pbr::MessageDescriptor Descriptor { |
| | 3241 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[7]; } |
| | 3242 | | } |
| | 3243 | |
|
| | 3244 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3245 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3246 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 3247 | | get { return Descriptor; } |
| | 3248 | | } |
| | 3249 | |
|
| | 3250 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3251 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3252 | | public PB_TextShapeModel() { |
| | 3253 | | OnConstruction(); |
| | 3254 | | } |
| | 3255 | |
|
| | 3256 | | partial void OnConstruction(); |
| | 3257 | |
|
| | 3258 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3259 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3260 | | public PB_TextShapeModel(PB_TextShapeModel other) : this() { |
| | 3261 | | billboard_ = other.billboard_; |
| | 3262 | | value_ = other.value_; |
| | 3263 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 3264 | | opacity_ = other.opacity_; |
| | 3265 | | fontSize_ = other.fontSize_; |
| | 3266 | | fontAutoSize_ = other.fontAutoSize_; |
| | 3267 | | fontWeight_ = other.fontWeight_; |
| | 3268 | | hTextAlign_ = other.hTextAlign_; |
| | 3269 | | vTextAlign_ = other.vTextAlign_; |
| | 3270 | | width_ = other.width_; |
| | 3271 | | height_ = other.height_; |
| | 3272 | | adaptWidth_ = other.adaptWidth_; |
| | 3273 | | adaptHeight_ = other.adaptHeight_; |
| | 3274 | | paddingTop_ = other.paddingTop_; |
| | 3275 | | paddingRight_ = other.paddingRight_; |
| | 3276 | | paddingBottom_ = other.paddingBottom_; |
| | 3277 | | paddingLeft_ = other.paddingLeft_; |
| | 3278 | | lineSpacing_ = other.lineSpacing_; |
| | 3279 | | lineCount_ = other.lineCount_; |
| | 3280 | | textWrapping_ = other.textWrapping_; |
| | 3281 | | shadowBlur_ = other.shadowBlur_; |
| | 3282 | | shadowOffsetX_ = other.shadowOffsetX_; |
| | 3283 | | shadowOffsetY_ = other.shadowOffsetY_; |
| | 3284 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| | 3285 | | outlineWidth_ = other.outlineWidth_; |
| | 3286 | | outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null; |
| | 3287 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 3288 | | } |
| | 3289 | |
|
| | 3290 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3291 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3292 | | public PB_TextShapeModel Clone() { |
| | 3293 | | return new PB_TextShapeModel(this); |
| | 3294 | | } |
| | 3295 | |
|
| | 3296 | | /// <summary>Field number for the "billboard" field.</summary> |
| | 3297 | | public const int BillboardFieldNumber = 1; |
| | 3298 | | private bool billboard_; |
| | 3299 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3300 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3301 | | public bool Billboard { |
| | 3302 | | get { return billboard_; } |
| | 3303 | | set { |
| | 3304 | | billboard_ = value; |
| | 3305 | | } |
| | 3306 | | } |
| | 3307 | |
|
| | 3308 | | /// <summary>Field number for the "value" field.</summary> |
| | 3309 | | public const int ValueFieldNumber = 2; |
| | 3310 | | private string value_ = ""; |
| | 3311 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3312 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3313 | | public string Value { |
| | 3314 | | get { return value_; } |
| | 3315 | | set { |
| | 3316 | | value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 3317 | | } |
| | 3318 | | } |
| | 3319 | |
|
| | 3320 | | /// <summary>Field number for the "color" field.</summary> |
| | 3321 | | public const int ColorFieldNumber = 3; |
| | 3322 | | private global::DCL.Interface.PB_Color3 color_; |
| | 3323 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3324 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3325 | | public global::DCL.Interface.PB_Color3 Color { |
| | 3326 | | get { return color_; } |
| | 3327 | | set { |
| | 3328 | | color_ = value; |
| | 3329 | | } |
| | 3330 | | } |
| | 3331 | |
|
| | 3332 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 3333 | | public const int OpacityFieldNumber = 4; |
| | 3334 | | private float opacity_; |
| | 3335 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3336 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3337 | | public float Opacity { |
| | 3338 | | get { return opacity_; } |
| | 3339 | | set { |
| | 3340 | | opacity_ = value; |
| | 3341 | | } |
| | 3342 | | } |
| | 3343 | |
|
| | 3344 | | /// <summary>Field number for the "fontSize" field.</summary> |
| | 3345 | | public const int FontSizeFieldNumber = 5; |
| | 3346 | | private float fontSize_; |
| | 3347 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3348 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3349 | | public float FontSize { |
| | 3350 | | get { return fontSize_; } |
| | 3351 | | set { |
| | 3352 | | fontSize_ = value; |
| | 3353 | | } |
| | 3354 | | } |
| | 3355 | |
|
| | 3356 | | /// <summary>Field number for the "fontAutoSize" field.</summary> |
| | 3357 | | public const int FontAutoSizeFieldNumber = 6; |
| | 3358 | | private bool fontAutoSize_; |
| | 3359 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3360 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3361 | | public bool FontAutoSize { |
| | 3362 | | get { return fontAutoSize_; } |
| | 3363 | | set { |
| | 3364 | | fontAutoSize_ = value; |
| | 3365 | | } |
| | 3366 | | } |
| | 3367 | |
|
| | 3368 | | /// <summary>Field number for the "fontWeight" field.</summary> |
| | 3369 | | public const int FontWeightFieldNumber = 7; |
| | 3370 | | private string fontWeight_ = ""; |
| | 3371 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3372 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3373 | | public string FontWeight { |
| | 3374 | | get { return fontWeight_; } |
| | 3375 | | set { |
| | 3376 | | fontWeight_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 3377 | | } |
| | 3378 | | } |
| | 3379 | |
|
| | 3380 | | /// <summary>Field number for the "hTextAlign" field.</summary> |
| | 3381 | | public const int HTextAlignFieldNumber = 8; |
| | 3382 | | private string hTextAlign_ = ""; |
| | 3383 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3384 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3385 | | public string HTextAlign { |
| | 3386 | | get { return hTextAlign_; } |
| | 3387 | | set { |
| | 3388 | | hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 3389 | | } |
| | 3390 | | } |
| | 3391 | |
|
| | 3392 | | /// <summary>Field number for the "vTextAlign" field.</summary> |
| | 3393 | | public const int VTextAlignFieldNumber = 9; |
| | 3394 | | private string vTextAlign_ = ""; |
| | 3395 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3396 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3397 | | public string VTextAlign { |
| | 3398 | | get { return vTextAlign_; } |
| | 3399 | | set { |
| | 3400 | | vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 3401 | | } |
| | 3402 | | } |
| | 3403 | |
|
| | 3404 | | /// <summary>Field number for the "width" field.</summary> |
| | 3405 | | public const int WidthFieldNumber = 10; |
| | 3406 | | private float width_; |
| | 3407 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3408 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3409 | | public float Width { |
| | 3410 | | get { return width_; } |
| | 3411 | | set { |
| | 3412 | | width_ = value; |
| | 3413 | | } |
| | 3414 | | } |
| | 3415 | |
|
| | 3416 | | /// <summary>Field number for the "height" field.</summary> |
| | 3417 | | public const int HeightFieldNumber = 11; |
| | 3418 | | private float height_; |
| | 3419 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3420 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3421 | | public float Height { |
| | 3422 | | get { return height_; } |
| | 3423 | | set { |
| | 3424 | | height_ = value; |
| | 3425 | | } |
| | 3426 | | } |
| | 3427 | |
|
| | 3428 | | /// <summary>Field number for the "adaptWidth" field.</summary> |
| | 3429 | | public const int AdaptWidthFieldNumber = 12; |
| | 3430 | | private bool adaptWidth_; |
| | 3431 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3432 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3433 | | public bool AdaptWidth { |
| | 3434 | | get { return adaptWidth_; } |
| | 3435 | | set { |
| | 3436 | | adaptWidth_ = value; |
| | 3437 | | } |
| | 3438 | | } |
| | 3439 | |
|
| | 3440 | | /// <summary>Field number for the "adaptHeight" field.</summary> |
| | 3441 | | public const int AdaptHeightFieldNumber = 13; |
| | 3442 | | private bool adaptHeight_; |
| | 3443 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3444 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3445 | | public bool AdaptHeight { |
| | 3446 | | get { return adaptHeight_; } |
| | 3447 | | set { |
| | 3448 | | adaptHeight_ = value; |
| | 3449 | | } |
| | 3450 | | } |
| | 3451 | |
|
| | 3452 | | /// <summary>Field number for the "paddingTop" field.</summary> |
| | 3453 | | public const int PaddingTopFieldNumber = 14; |
| | 3454 | | private float paddingTop_; |
| | 3455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3457 | | public float PaddingTop { |
| | 3458 | | get { return paddingTop_; } |
| | 3459 | | set { |
| | 3460 | | paddingTop_ = value; |
| | 3461 | | } |
| | 3462 | | } |
| | 3463 | |
|
| | 3464 | | /// <summary>Field number for the "paddingRight" field.</summary> |
| | 3465 | | public const int PaddingRightFieldNumber = 15; |
| | 3466 | | private float paddingRight_; |
| | 3467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3469 | | public float PaddingRight { |
| | 3470 | | get { return paddingRight_; } |
| | 3471 | | set { |
| | 3472 | | paddingRight_ = value; |
| | 3473 | | } |
| | 3474 | | } |
| | 3475 | |
|
| | 3476 | | /// <summary>Field number for the "paddingBottom" field.</summary> |
| | 3477 | | public const int PaddingBottomFieldNumber = 16; |
| | 3478 | | private float paddingBottom_; |
| | 3479 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3480 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3481 | | public float PaddingBottom { |
| | 3482 | | get { return paddingBottom_; } |
| | 3483 | | set { |
| | 3484 | | paddingBottom_ = value; |
| | 3485 | | } |
| | 3486 | | } |
| | 3487 | |
|
| | 3488 | | /// <summary>Field number for the "paddingLeft" field.</summary> |
| | 3489 | | public const int PaddingLeftFieldNumber = 17; |
| | 3490 | | private float paddingLeft_; |
| | 3491 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3492 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3493 | | public float PaddingLeft { |
| | 3494 | | get { return paddingLeft_; } |
| | 3495 | | set { |
| | 3496 | | paddingLeft_ = value; |
| | 3497 | | } |
| | 3498 | | } |
| | 3499 | |
|
| | 3500 | | /// <summary>Field number for the "lineSpacing" field.</summary> |
| | 3501 | | public const int LineSpacingFieldNumber = 18; |
| | 3502 | | private float lineSpacing_; |
| | 3503 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3504 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3505 | | public float LineSpacing { |
| | 3506 | | get { return lineSpacing_; } |
| | 3507 | | set { |
| | 3508 | | lineSpacing_ = value; |
| | 3509 | | } |
| | 3510 | | } |
| | 3511 | |
|
| | 3512 | | /// <summary>Field number for the "lineCount" field.</summary> |
| | 3513 | | public const int LineCountFieldNumber = 19; |
| | 3514 | | private int lineCount_; |
| | 3515 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3516 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3517 | | public int LineCount { |
| | 3518 | | get { return lineCount_; } |
| | 3519 | | set { |
| | 3520 | | lineCount_ = value; |
| | 3521 | | } |
| | 3522 | | } |
| | 3523 | |
|
| | 3524 | | /// <summary>Field number for the "textWrapping" field.</summary> |
| | 3525 | | public const int TextWrappingFieldNumber = 20; |
| | 3526 | | private bool textWrapping_; |
| | 3527 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3528 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3529 | | public bool TextWrapping { |
| | 3530 | | get { return textWrapping_; } |
| | 3531 | | set { |
| | 3532 | | textWrapping_ = value; |
| | 3533 | | } |
| | 3534 | | } |
| | 3535 | |
|
| | 3536 | | /// <summary>Field number for the "shadowBlur" field.</summary> |
| | 3537 | | public const int ShadowBlurFieldNumber = 21; |
| | 3538 | | private float shadowBlur_; |
| | 3539 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3540 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3541 | | public float ShadowBlur { |
| | 3542 | | get { return shadowBlur_; } |
| | 3543 | | set { |
| | 3544 | | shadowBlur_ = value; |
| | 3545 | | } |
| | 3546 | | } |
| | 3547 | |
|
| | 3548 | | /// <summary>Field number for the "shadowOffsetX" field.</summary> |
| | 3549 | | public const int ShadowOffsetXFieldNumber = 22; |
| | 3550 | | private float shadowOffsetX_; |
| | 3551 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3552 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3553 | | public float ShadowOffsetX { |
| | 3554 | | get { return shadowOffsetX_; } |
| | 3555 | | set { |
| | 3556 | | shadowOffsetX_ = value; |
| | 3557 | | } |
| | 3558 | | } |
| | 3559 | |
|
| | 3560 | | /// <summary>Field number for the "shadowOffsetY" field.</summary> |
| | 3561 | | public const int ShadowOffsetYFieldNumber = 23; |
| | 3562 | | private float shadowOffsetY_; |
| | 3563 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3564 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3565 | | public float ShadowOffsetY { |
| | 3566 | | get { return shadowOffsetY_; } |
| | 3567 | | set { |
| | 3568 | | shadowOffsetY_ = value; |
| | 3569 | | } |
| | 3570 | | } |
| | 3571 | |
|
| | 3572 | | /// <summary>Field number for the "shadowColor" field.</summary> |
| | 3573 | | public const int ShadowColorFieldNumber = 24; |
| | 3574 | | private global::DCL.Interface.PB_Color3 shadowColor_; |
| | 3575 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3576 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3577 | | public global::DCL.Interface.PB_Color3 ShadowColor { |
| | 3578 | | get { return shadowColor_; } |
| | 3579 | | set { |
| | 3580 | | shadowColor_ = value; |
| | 3581 | | } |
| | 3582 | | } |
| | 3583 | |
|
| | 3584 | | /// <summary>Field number for the "outlineWidth" field.</summary> |
| | 3585 | | public const int OutlineWidthFieldNumber = 25; |
| | 3586 | | private float outlineWidth_; |
| | 3587 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3588 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3589 | | public float OutlineWidth { |
| | 3590 | | get { return outlineWidth_; } |
| | 3591 | | set { |
| | 3592 | | outlineWidth_ = value; |
| | 3593 | | } |
| | 3594 | | } |
| | 3595 | |
|
| | 3596 | | /// <summary>Field number for the "outlineColor" field.</summary> |
| | 3597 | | public const int OutlineColorFieldNumber = 26; |
| | 3598 | | private global::DCL.Interface.PB_Color3 outlineColor_; |
| | 3599 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3600 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3601 | | public global::DCL.Interface.PB_Color3 OutlineColor { |
| | 3602 | | get { return outlineColor_; } |
| | 3603 | | set { |
| | 3604 | | outlineColor_ = value; |
| | 3605 | | } |
| | 3606 | | } |
| | 3607 | |
|
| | 3608 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3609 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3610 | | public override bool Equals(object other) { |
| | 3611 | | return Equals(other as PB_TextShapeModel); |
| | 3612 | | } |
| | 3613 | |
|
| | 3614 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3615 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3616 | | public bool Equals(PB_TextShapeModel other) { |
| | 3617 | | if (ReferenceEquals(other, null)) { |
| | 3618 | | return false; |
| | 3619 | | } |
| | 3620 | | if (ReferenceEquals(other, this)) { |
| | 3621 | | return true; |
| | 3622 | | } |
| | 3623 | | if (Billboard != other.Billboard) return false; |
| | 3624 | | if (Value != other.Value) return false; |
| | 3625 | | if (!object.Equals(Color, other.Color)) return false; |
| | 3626 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 3627 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| | 3628 | | if (FontAutoSize != other.FontAutoSize) return false; |
| | 3629 | | if (FontWeight != other.FontWeight) return false; |
| | 3630 | | if (HTextAlign != other.HTextAlign) return false; |
| | 3631 | | if (VTextAlign != other.VTextAlign) return false; |
| | 3632 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false; |
| | 3633 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false; |
| | 3634 | | if (AdaptWidth != other.AdaptWidth) return false; |
| | 3635 | | if (AdaptHeight != other.AdaptHeight) return false; |
| | 3636 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 3637 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 3638 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 3639 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 3640 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f |
| | 3641 | | if (LineCount != other.LineCount) return false; |
| | 3642 | | if (TextWrapping != other.TextWrapping) return false; |
| | 3643 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| | 3644 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| | 3645 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| | 3646 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| | 3647 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return |
| | 3648 | | if (!object.Equals(OutlineColor, other.OutlineColor)) return false; |
| | 3649 | | return Equals(_unknownFields, other._unknownFields); |
| | 3650 | | } |
| | 3651 | |
|
| | 3652 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3653 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3654 | | public override int GetHashCode() { |
| | 3655 | | int hash = 1; |
| | 3656 | | if (Billboard != false) hash ^= Billboard.GetHashCode(); |
| | 3657 | | if (Value.Length != 0) hash ^= Value.GetHashCode(); |
| | 3658 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 3659 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 3660 | | if (FontSize != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| | 3661 | | if (FontAutoSize != false) hash ^= FontAutoSize.GetHashCode(); |
| | 3662 | | if (FontWeight.Length != 0) hash ^= FontWeight.GetHashCode(); |
| | 3663 | | if (HTextAlign.Length != 0) hash ^= HTextAlign.GetHashCode(); |
| | 3664 | | if (VTextAlign.Length != 0) hash ^= VTextAlign.GetHashCode(); |
| | 3665 | | if (Width != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width); |
| | 3666 | | if (Height != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height); |
| | 3667 | | if (AdaptWidth != false) hash ^= AdaptWidth.GetHashCode(); |
| | 3668 | | if (AdaptHeight != false) hash ^= AdaptHeight.GetHashCode(); |
| | 3669 | | if (PaddingTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop) |
| | 3670 | | if (PaddingRight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRi |
| | 3671 | | if (PaddingBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingB |
| | 3672 | | if (PaddingLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLef |
| | 3673 | | if (LineSpacing != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacin |
| | 3674 | | if (LineCount != 0) hash ^= LineCount.GetHashCode(); |
| | 3675 | | if (TextWrapping != false) hash ^= TextWrapping.GetHashCode(); |
| | 3676 | | if (ShadowBlur != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur) |
| | 3677 | | if (ShadowOffsetX != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOf |
| | 3678 | | if (ShadowOffsetY != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOf |
| | 3679 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| | 3680 | | if (OutlineWidth != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWi |
| | 3681 | | if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode(); |
| | 3682 | | if (_unknownFields != null) { |
| | 3683 | | hash ^= _unknownFields.GetHashCode(); |
| | 3684 | | } |
| | 3685 | | return hash; |
| | 3686 | | } |
| | 3687 | |
|
| | 3688 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3689 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3690 | | public override string ToString() { |
| | 3691 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 3692 | | } |
| | 3693 | |
|
| | 3694 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3695 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3696 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 3697 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3698 | | output.WriteRawMessage(this); |
| | 3699 | | #else |
| | 3700 | | if (Billboard != false) { |
| | 3701 | | output.WriteRawTag(8); |
| | 3702 | | output.WriteBool(Billboard); |
| | 3703 | | } |
| | 3704 | | if (Value.Length != 0) { |
| | 3705 | | output.WriteRawTag(18); |
| | 3706 | | output.WriteString(Value); |
| | 3707 | | } |
| | 3708 | | if (color_ != null) { |
| | 3709 | | output.WriteRawTag(26); |
| | 3710 | | output.WriteMessage(Color); |
| | 3711 | | } |
| | 3712 | | if (Opacity != 0F) { |
| | 3713 | | output.WriteRawTag(37); |
| | 3714 | | output.WriteFloat(Opacity); |
| | 3715 | | } |
| | 3716 | | if (FontSize != 0F) { |
| | 3717 | | output.WriteRawTag(45); |
| | 3718 | | output.WriteFloat(FontSize); |
| | 3719 | | } |
| | 3720 | | if (FontAutoSize != false) { |
| | 3721 | | output.WriteRawTag(48); |
| | 3722 | | output.WriteBool(FontAutoSize); |
| | 3723 | | } |
| | 3724 | | if (FontWeight.Length != 0) { |
| | 3725 | | output.WriteRawTag(58); |
| | 3726 | | output.WriteString(FontWeight); |
| | 3727 | | } |
| | 3728 | | if (HTextAlign.Length != 0) { |
| | 3729 | | output.WriteRawTag(66); |
| | 3730 | | output.WriteString(HTextAlign); |
| | 3731 | | } |
| | 3732 | | if (VTextAlign.Length != 0) { |
| | 3733 | | output.WriteRawTag(74); |
| | 3734 | | output.WriteString(VTextAlign); |
| | 3735 | | } |
| | 3736 | | if (Width != 0F) { |
| | 3737 | | output.WriteRawTag(85); |
| | 3738 | | output.WriteFloat(Width); |
| | 3739 | | } |
| | 3740 | | if (Height != 0F) { |
| | 3741 | | output.WriteRawTag(93); |
| | 3742 | | output.WriteFloat(Height); |
| | 3743 | | } |
| | 3744 | | if (AdaptWidth != false) { |
| | 3745 | | output.WriteRawTag(96); |
| | 3746 | | output.WriteBool(AdaptWidth); |
| | 3747 | | } |
| | 3748 | | if (AdaptHeight != false) { |
| | 3749 | | output.WriteRawTag(104); |
| | 3750 | | output.WriteBool(AdaptHeight); |
| | 3751 | | } |
| | 3752 | | if (PaddingTop != 0F) { |
| | 3753 | | output.WriteRawTag(117); |
| | 3754 | | output.WriteFloat(PaddingTop); |
| | 3755 | | } |
| | 3756 | | if (PaddingRight != 0F) { |
| | 3757 | | output.WriteRawTag(125); |
| | 3758 | | output.WriteFloat(PaddingRight); |
| | 3759 | | } |
| | 3760 | | if (PaddingBottom != 0F) { |
| | 3761 | | output.WriteRawTag(133, 1); |
| | 3762 | | output.WriteFloat(PaddingBottom); |
| | 3763 | | } |
| | 3764 | | if (PaddingLeft != 0F) { |
| | 3765 | | output.WriteRawTag(141, 1); |
| | 3766 | | output.WriteFloat(PaddingLeft); |
| | 3767 | | } |
| | 3768 | | if (LineSpacing != 0F) { |
| | 3769 | | output.WriteRawTag(149, 1); |
| | 3770 | | output.WriteFloat(LineSpacing); |
| | 3771 | | } |
| | 3772 | | if (LineCount != 0) { |
| | 3773 | | output.WriteRawTag(152, 1); |
| | 3774 | | output.WriteInt32(LineCount); |
| | 3775 | | } |
| | 3776 | | if (TextWrapping != false) { |
| | 3777 | | output.WriteRawTag(160, 1); |
| | 3778 | | output.WriteBool(TextWrapping); |
| | 3779 | | } |
| | 3780 | | if (ShadowBlur != 0F) { |
| | 3781 | | output.WriteRawTag(173, 1); |
| | 3782 | | output.WriteFloat(ShadowBlur); |
| | 3783 | | } |
| | 3784 | | if (ShadowOffsetX != 0F) { |
| | 3785 | | output.WriteRawTag(181, 1); |
| | 3786 | | output.WriteFloat(ShadowOffsetX); |
| | 3787 | | } |
| | 3788 | | if (ShadowOffsetY != 0F) { |
| | 3789 | | output.WriteRawTag(189, 1); |
| | 3790 | | output.WriteFloat(ShadowOffsetY); |
| | 3791 | | } |
| | 3792 | | if (shadowColor_ != null) { |
| | 3793 | | output.WriteRawTag(194, 1); |
| | 3794 | | output.WriteMessage(ShadowColor); |
| | 3795 | | } |
| | 3796 | | if (OutlineWidth != 0F) { |
| | 3797 | | output.WriteRawTag(205, 1); |
| | 3798 | | output.WriteFloat(OutlineWidth); |
| | 3799 | | } |
| | 3800 | | if (outlineColor_ != null) { |
| | 3801 | | output.WriteRawTag(210, 1); |
| | 3802 | | output.WriteMessage(OutlineColor); |
| | 3803 | | } |
| | 3804 | | if (_unknownFields != null) { |
| | 3805 | | _unknownFields.WriteTo(output); |
| | 3806 | | } |
| | 3807 | | #endif |
| | 3808 | | } |
| | 3809 | |
|
| | 3810 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 3811 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3812 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3813 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 3814 | | if (Billboard != false) { |
| | 3815 | | output.WriteRawTag(8); |
| | 3816 | | output.WriteBool(Billboard); |
| | 3817 | | } |
| | 3818 | | if (Value.Length != 0) { |
| | 3819 | | output.WriteRawTag(18); |
| | 3820 | | output.WriteString(Value); |
| | 3821 | | } |
| | 3822 | | if (color_ != null) { |
| | 3823 | | output.WriteRawTag(26); |
| | 3824 | | output.WriteMessage(Color); |
| | 3825 | | } |
| | 3826 | | if (Opacity != 0F) { |
| | 3827 | | output.WriteRawTag(37); |
| | 3828 | | output.WriteFloat(Opacity); |
| | 3829 | | } |
| | 3830 | | if (FontSize != 0F) { |
| | 3831 | | output.WriteRawTag(45); |
| | 3832 | | output.WriteFloat(FontSize); |
| | 3833 | | } |
| | 3834 | | if (FontAutoSize != false) { |
| | 3835 | | output.WriteRawTag(48); |
| | 3836 | | output.WriteBool(FontAutoSize); |
| | 3837 | | } |
| | 3838 | | if (FontWeight.Length != 0) { |
| | 3839 | | output.WriteRawTag(58); |
| | 3840 | | output.WriteString(FontWeight); |
| | 3841 | | } |
| | 3842 | | if (HTextAlign.Length != 0) { |
| | 3843 | | output.WriteRawTag(66); |
| | 3844 | | output.WriteString(HTextAlign); |
| | 3845 | | } |
| | 3846 | | if (VTextAlign.Length != 0) { |
| | 3847 | | output.WriteRawTag(74); |
| | 3848 | | output.WriteString(VTextAlign); |
| | 3849 | | } |
| | 3850 | | if (Width != 0F) { |
| | 3851 | | output.WriteRawTag(85); |
| | 3852 | | output.WriteFloat(Width); |
| | 3853 | | } |
| | 3854 | | if (Height != 0F) { |
| | 3855 | | output.WriteRawTag(93); |
| | 3856 | | output.WriteFloat(Height); |
| | 3857 | | } |
| | 3858 | | if (AdaptWidth != false) { |
| | 3859 | | output.WriteRawTag(96); |
| | 3860 | | output.WriteBool(AdaptWidth); |
| | 3861 | | } |
| | 3862 | | if (AdaptHeight != false) { |
| | 3863 | | output.WriteRawTag(104); |
| | 3864 | | output.WriteBool(AdaptHeight); |
| | 3865 | | } |
| | 3866 | | if (PaddingTop != 0F) { |
| | 3867 | | output.WriteRawTag(117); |
| | 3868 | | output.WriteFloat(PaddingTop); |
| | 3869 | | } |
| | 3870 | | if (PaddingRight != 0F) { |
| | 3871 | | output.WriteRawTag(125); |
| | 3872 | | output.WriteFloat(PaddingRight); |
| | 3873 | | } |
| | 3874 | | if (PaddingBottom != 0F) { |
| | 3875 | | output.WriteRawTag(133, 1); |
| | 3876 | | output.WriteFloat(PaddingBottom); |
| | 3877 | | } |
| | 3878 | | if (PaddingLeft != 0F) { |
| | 3879 | | output.WriteRawTag(141, 1); |
| | 3880 | | output.WriteFloat(PaddingLeft); |
| | 3881 | | } |
| | 3882 | | if (LineSpacing != 0F) { |
| | 3883 | | output.WriteRawTag(149, 1); |
| | 3884 | | output.WriteFloat(LineSpacing); |
| | 3885 | | } |
| | 3886 | | if (LineCount != 0) { |
| | 3887 | | output.WriteRawTag(152, 1); |
| | 3888 | | output.WriteInt32(LineCount); |
| | 3889 | | } |
| | 3890 | | if (TextWrapping != false) { |
| | 3891 | | output.WriteRawTag(160, 1); |
| | 3892 | | output.WriteBool(TextWrapping); |
| | 3893 | | } |
| | 3894 | | if (ShadowBlur != 0F) { |
| | 3895 | | output.WriteRawTag(173, 1); |
| | 3896 | | output.WriteFloat(ShadowBlur); |
| | 3897 | | } |
| | 3898 | | if (ShadowOffsetX != 0F) { |
| | 3899 | | output.WriteRawTag(181, 1); |
| | 3900 | | output.WriteFloat(ShadowOffsetX); |
| | 3901 | | } |
| | 3902 | | if (ShadowOffsetY != 0F) { |
| | 3903 | | output.WriteRawTag(189, 1); |
| | 3904 | | output.WriteFloat(ShadowOffsetY); |
| | 3905 | | } |
| | 3906 | | if (shadowColor_ != null) { |
| | 3907 | | output.WriteRawTag(194, 1); |
| | 3908 | | output.WriteMessage(ShadowColor); |
| | 3909 | | } |
| | 3910 | | if (OutlineWidth != 0F) { |
| | 3911 | | output.WriteRawTag(205, 1); |
| | 3912 | | output.WriteFloat(OutlineWidth); |
| | 3913 | | } |
| | 3914 | | if (outlineColor_ != null) { |
| | 3915 | | output.WriteRawTag(210, 1); |
| | 3916 | | output.WriteMessage(OutlineColor); |
| | 3917 | | } |
| | 3918 | | if (_unknownFields != null) { |
| | 3919 | | _unknownFields.WriteTo(ref output); |
| | 3920 | | } |
| | 3921 | | } |
| | 3922 | | #endif |
| | 3923 | |
|
| | 3924 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 3925 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 3926 | | public int CalculateSize() { |
| | 3927 | | int size = 0; |
| | 3928 | | if (Billboard != false) { |
| | 3929 | | size += 1 + 1; |
| | 3930 | | } |
| | 3931 | | if (Value.Length != 0) { |
| | 3932 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); |
| | 3933 | | } |
| | 3934 | | if (color_ != null) { |
| | 3935 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 3936 | | } |
| | 3937 | | if (Opacity != 0F) { |
| | 3938 | | size += 1 + 4; |
| | 3939 | | } |
| | 3940 | | if (FontSize != 0F) { |
| | 3941 | | size += 1 + 4; |
| | 3942 | | } |
| | 3943 | | if (FontAutoSize != false) { |
| | 3944 | | size += 1 + 1; |
| | 3945 | | } |
| | 3946 | | if (FontWeight.Length != 0) { |
| | 3947 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(FontWeight); |
| | 3948 | | } |
| | 3949 | | if (HTextAlign.Length != 0) { |
| | 3950 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HTextAlign); |
| | 3951 | | } |
| | 3952 | | if (VTextAlign.Length != 0) { |
| | 3953 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VTextAlign); |
| | 3954 | | } |
| | 3955 | | if (Width != 0F) { |
| | 3956 | | size += 1 + 4; |
| | 3957 | | } |
| | 3958 | | if (Height != 0F) { |
| | 3959 | | size += 1 + 4; |
| | 3960 | | } |
| | 3961 | | if (AdaptWidth != false) { |
| | 3962 | | size += 1 + 1; |
| | 3963 | | } |
| | 3964 | | if (AdaptHeight != false) { |
| | 3965 | | size += 1 + 1; |
| | 3966 | | } |
| | 3967 | | if (PaddingTop != 0F) { |
| | 3968 | | size += 1 + 4; |
| | 3969 | | } |
| | 3970 | | if (PaddingRight != 0F) { |
| | 3971 | | size += 1 + 4; |
| | 3972 | | } |
| | 3973 | | if (PaddingBottom != 0F) { |
| | 3974 | | size += 2 + 4; |
| | 3975 | | } |
| | 3976 | | if (PaddingLeft != 0F) { |
| | 3977 | | size += 2 + 4; |
| | 3978 | | } |
| | 3979 | | if (LineSpacing != 0F) { |
| | 3980 | | size += 2 + 4; |
| | 3981 | | } |
| | 3982 | | if (LineCount != 0) { |
| | 3983 | | size += 2 + pb::CodedOutputStream.ComputeInt32Size(LineCount); |
| | 3984 | | } |
| | 3985 | | if (TextWrapping != false) { |
| | 3986 | | size += 2 + 1; |
| | 3987 | | } |
| | 3988 | | if (ShadowBlur != 0F) { |
| | 3989 | | size += 2 + 4; |
| | 3990 | | } |
| | 3991 | | if (ShadowOffsetX != 0F) { |
| | 3992 | | size += 2 + 4; |
| | 3993 | | } |
| | 3994 | | if (ShadowOffsetY != 0F) { |
| | 3995 | | size += 2 + 4; |
| | 3996 | | } |
| | 3997 | | if (shadowColor_ != null) { |
| | 3998 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 3999 | | } |
| | 4000 | | if (OutlineWidth != 0F) { |
| | 4001 | | size += 2 + 4; |
| | 4002 | | } |
| | 4003 | | if (outlineColor_ != null) { |
| | 4004 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor); |
| | 4005 | | } |
| | 4006 | | if (_unknownFields != null) { |
| | 4007 | | size += _unknownFields.CalculateSize(); |
| | 4008 | | } |
| | 4009 | | return size; |
| | 4010 | | } |
| | 4011 | |
|
| | 4012 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4013 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4014 | | public void MergeFrom(PB_TextShapeModel other) { |
| | 4015 | | if (other == null) { |
| | 4016 | | return; |
| | 4017 | | } |
| | 4018 | | if (other.Billboard != false) { |
| | 4019 | | Billboard = other.Billboard; |
| | 4020 | | } |
| | 4021 | | if (other.Value.Length != 0) { |
| | 4022 | | Value = other.Value; |
| | 4023 | | } |
| | 4024 | | if (other.color_ != null) { |
| | 4025 | | if (color_ == null) { |
| | 4026 | | Color = new global::DCL.Interface.PB_Color3(); |
| | 4027 | | } |
| | 4028 | | Color.MergeFrom(other.Color); |
| | 4029 | | } |
| | 4030 | | if (other.Opacity != 0F) { |
| | 4031 | | Opacity = other.Opacity; |
| | 4032 | | } |
| | 4033 | | if (other.FontSize != 0F) { |
| | 4034 | | FontSize = other.FontSize; |
| | 4035 | | } |
| | 4036 | | if (other.FontAutoSize != false) { |
| | 4037 | | FontAutoSize = other.FontAutoSize; |
| | 4038 | | } |
| | 4039 | | if (other.FontWeight.Length != 0) { |
| | 4040 | | FontWeight = other.FontWeight; |
| | 4041 | | } |
| | 4042 | | if (other.HTextAlign.Length != 0) { |
| | 4043 | | HTextAlign = other.HTextAlign; |
| | 4044 | | } |
| | 4045 | | if (other.VTextAlign.Length != 0) { |
| | 4046 | | VTextAlign = other.VTextAlign; |
| | 4047 | | } |
| | 4048 | | if (other.Width != 0F) { |
| | 4049 | | Width = other.Width; |
| | 4050 | | } |
| | 4051 | | if (other.Height != 0F) { |
| | 4052 | | Height = other.Height; |
| | 4053 | | } |
| | 4054 | | if (other.AdaptWidth != false) { |
| | 4055 | | AdaptWidth = other.AdaptWidth; |
| | 4056 | | } |
| | 4057 | | if (other.AdaptHeight != false) { |
| | 4058 | | AdaptHeight = other.AdaptHeight; |
| | 4059 | | } |
| | 4060 | | if (other.PaddingTop != 0F) { |
| | 4061 | | PaddingTop = other.PaddingTop; |
| | 4062 | | } |
| | 4063 | | if (other.PaddingRight != 0F) { |
| | 4064 | | PaddingRight = other.PaddingRight; |
| | 4065 | | } |
| | 4066 | | if (other.PaddingBottom != 0F) { |
| | 4067 | | PaddingBottom = other.PaddingBottom; |
| | 4068 | | } |
| | 4069 | | if (other.PaddingLeft != 0F) { |
| | 4070 | | PaddingLeft = other.PaddingLeft; |
| | 4071 | | } |
| | 4072 | | if (other.LineSpacing != 0F) { |
| | 4073 | | LineSpacing = other.LineSpacing; |
| | 4074 | | } |
| | 4075 | | if (other.LineCount != 0) { |
| | 4076 | | LineCount = other.LineCount; |
| | 4077 | | } |
| | 4078 | | if (other.TextWrapping != false) { |
| | 4079 | | TextWrapping = other.TextWrapping; |
| | 4080 | | } |
| | 4081 | | if (other.ShadowBlur != 0F) { |
| | 4082 | | ShadowBlur = other.ShadowBlur; |
| | 4083 | | } |
| | 4084 | | if (other.ShadowOffsetX != 0F) { |
| | 4085 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 4086 | | } |
| | 4087 | | if (other.ShadowOffsetY != 0F) { |
| | 4088 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 4089 | | } |
| | 4090 | | if (other.shadowColor_ != null) { |
| | 4091 | | if (shadowColor_ == null) { |
| | 4092 | | ShadowColor = new global::DCL.Interface.PB_Color3(); |
| | 4093 | | } |
| | 4094 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 4095 | | } |
| | 4096 | | if (other.OutlineWidth != 0F) { |
| | 4097 | | OutlineWidth = other.OutlineWidth; |
| | 4098 | | } |
| | 4099 | | if (other.outlineColor_ != null) { |
| | 4100 | | if (outlineColor_ == null) { |
| | 4101 | | OutlineColor = new global::DCL.Interface.PB_Color3(); |
| | 4102 | | } |
| | 4103 | | OutlineColor.MergeFrom(other.OutlineColor); |
| | 4104 | | } |
| | 4105 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4106 | | } |
| | 4107 | |
|
| | 4108 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4109 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4110 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4111 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4112 | | input.ReadRawMessage(this); |
| | 4113 | | #else |
| | 4114 | | uint tag; |
| | 4115 | | while ((tag = input.ReadTag()) != 0) { |
| | 4116 | | switch(tag) { |
| | 4117 | | default: |
| | 4118 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4119 | | break; |
| | 4120 | | case 8: { |
| | 4121 | | Billboard = input.ReadBool(); |
| | 4122 | | break; |
| | 4123 | | } |
| | 4124 | | case 18: { |
| | 4125 | | Value = input.ReadString(); |
| | 4126 | | break; |
| | 4127 | | } |
| | 4128 | | case 26: { |
| | 4129 | | if (color_ == null) { |
| | 4130 | | Color = new global::DCL.Interface.PB_Color3(); |
| | 4131 | | } |
| | 4132 | | input.ReadMessage(Color); |
| | 4133 | | break; |
| | 4134 | | } |
| | 4135 | | case 37: { |
| | 4136 | | Opacity = input.ReadFloat(); |
| | 4137 | | break; |
| | 4138 | | } |
| | 4139 | | case 45: { |
| | 4140 | | FontSize = input.ReadFloat(); |
| | 4141 | | break; |
| | 4142 | | } |
| | 4143 | | case 48: { |
| | 4144 | | FontAutoSize = input.ReadBool(); |
| | 4145 | | break; |
| | 4146 | | } |
| | 4147 | | case 58: { |
| | 4148 | | FontWeight = input.ReadString(); |
| | 4149 | | break; |
| | 4150 | | } |
| | 4151 | | case 66: { |
| | 4152 | | HTextAlign = input.ReadString(); |
| | 4153 | | break; |
| | 4154 | | } |
| | 4155 | | case 74: { |
| | 4156 | | VTextAlign = input.ReadString(); |
| | 4157 | | break; |
| | 4158 | | } |
| | 4159 | | case 85: { |
| | 4160 | | Width = input.ReadFloat(); |
| | 4161 | | break; |
| | 4162 | | } |
| | 4163 | | case 93: { |
| | 4164 | | Height = input.ReadFloat(); |
| | 4165 | | break; |
| | 4166 | | } |
| | 4167 | | case 96: { |
| | 4168 | | AdaptWidth = input.ReadBool(); |
| | 4169 | | break; |
| | 4170 | | } |
| | 4171 | | case 104: { |
| | 4172 | | AdaptHeight = input.ReadBool(); |
| | 4173 | | break; |
| | 4174 | | } |
| | 4175 | | case 117: { |
| | 4176 | | PaddingTop = input.ReadFloat(); |
| | 4177 | | break; |
| | 4178 | | } |
| | 4179 | | case 125: { |
| | 4180 | | PaddingRight = input.ReadFloat(); |
| | 4181 | | break; |
| | 4182 | | } |
| | 4183 | | case 133: { |
| | 4184 | | PaddingBottom = input.ReadFloat(); |
| | 4185 | | break; |
| | 4186 | | } |
| | 4187 | | case 141: { |
| | 4188 | | PaddingLeft = input.ReadFloat(); |
| | 4189 | | break; |
| | 4190 | | } |
| | 4191 | | case 149: { |
| | 4192 | | LineSpacing = input.ReadFloat(); |
| | 4193 | | break; |
| | 4194 | | } |
| | 4195 | | case 152: { |
| | 4196 | | LineCount = input.ReadInt32(); |
| | 4197 | | break; |
| | 4198 | | } |
| | 4199 | | case 160: { |
| | 4200 | | TextWrapping = input.ReadBool(); |
| | 4201 | | break; |
| | 4202 | | } |
| | 4203 | | case 173: { |
| | 4204 | | ShadowBlur = input.ReadFloat(); |
| | 4205 | | break; |
| | 4206 | | } |
| | 4207 | | case 181: { |
| | 4208 | | ShadowOffsetX = input.ReadFloat(); |
| | 4209 | | break; |
| | 4210 | | } |
| | 4211 | | case 189: { |
| | 4212 | | ShadowOffsetY = input.ReadFloat(); |
| | 4213 | | break; |
| | 4214 | | } |
| | 4215 | | case 194: { |
| | 4216 | | if (shadowColor_ == null) { |
| | 4217 | | ShadowColor = new global::DCL.Interface.PB_Color3(); |
| | 4218 | | } |
| | 4219 | | input.ReadMessage(ShadowColor); |
| | 4220 | | break; |
| | 4221 | | } |
| | 4222 | | case 205: { |
| | 4223 | | OutlineWidth = input.ReadFloat(); |
| | 4224 | | break; |
| | 4225 | | } |
| | 4226 | | case 210: { |
| | 4227 | | if (outlineColor_ == null) { |
| | 4228 | | OutlineColor = new global::DCL.Interface.PB_Color3(); |
| | 4229 | | } |
| | 4230 | | input.ReadMessage(OutlineColor); |
| | 4231 | | break; |
| | 4232 | | } |
| | 4233 | | } |
| | 4234 | | } |
| | 4235 | | #endif |
| | 4236 | | } |
| | 4237 | |
|
| | 4238 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4239 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4240 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4241 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4242 | | uint tag; |
| | 4243 | | while ((tag = input.ReadTag()) != 0) { |
| | 4244 | | switch(tag) { |
| | 4245 | | default: |
| | 4246 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4247 | | break; |
| | 4248 | | case 8: { |
| | 4249 | | Billboard = input.ReadBool(); |
| | 4250 | | break; |
| | 4251 | | } |
| | 4252 | | case 18: { |
| | 4253 | | Value = input.ReadString(); |
| | 4254 | | break; |
| | 4255 | | } |
| | 4256 | | case 26: { |
| | 4257 | | if (color_ == null) { |
| | 4258 | | Color = new global::DCL.Interface.PB_Color3(); |
| | 4259 | | } |
| | 4260 | | input.ReadMessage(Color); |
| | 4261 | | break; |
| | 4262 | | } |
| | 4263 | | case 37: { |
| | 4264 | | Opacity = input.ReadFloat(); |
| | 4265 | | break; |
| | 4266 | | } |
| | 4267 | | case 45: { |
| | 4268 | | FontSize = input.ReadFloat(); |
| | 4269 | | break; |
| | 4270 | | } |
| | 4271 | | case 48: { |
| | 4272 | | FontAutoSize = input.ReadBool(); |
| | 4273 | | break; |
| | 4274 | | } |
| | 4275 | | case 58: { |
| | 4276 | | FontWeight = input.ReadString(); |
| | 4277 | | break; |
| | 4278 | | } |
| | 4279 | | case 66: { |
| | 4280 | | HTextAlign = input.ReadString(); |
| | 4281 | | break; |
| | 4282 | | } |
| | 4283 | | case 74: { |
| | 4284 | | VTextAlign = input.ReadString(); |
| | 4285 | | break; |
| | 4286 | | } |
| | 4287 | | case 85: { |
| | 4288 | | Width = input.ReadFloat(); |
| | 4289 | | break; |
| | 4290 | | } |
| | 4291 | | case 93: { |
| | 4292 | | Height = input.ReadFloat(); |
| | 4293 | | break; |
| | 4294 | | } |
| | 4295 | | case 96: { |
| | 4296 | | AdaptWidth = input.ReadBool(); |
| | 4297 | | break; |
| | 4298 | | } |
| | 4299 | | case 104: { |
| | 4300 | | AdaptHeight = input.ReadBool(); |
| | 4301 | | break; |
| | 4302 | | } |
| | 4303 | | case 117: { |
| | 4304 | | PaddingTop = input.ReadFloat(); |
| | 4305 | | break; |
| | 4306 | | } |
| | 4307 | | case 125: { |
| | 4308 | | PaddingRight = input.ReadFloat(); |
| | 4309 | | break; |
| | 4310 | | } |
| | 4311 | | case 133: { |
| | 4312 | | PaddingBottom = input.ReadFloat(); |
| | 4313 | | break; |
| | 4314 | | } |
| | 4315 | | case 141: { |
| | 4316 | | PaddingLeft = input.ReadFloat(); |
| | 4317 | | break; |
| | 4318 | | } |
| | 4319 | | case 149: { |
| | 4320 | | LineSpacing = input.ReadFloat(); |
| | 4321 | | break; |
| | 4322 | | } |
| | 4323 | | case 152: { |
| | 4324 | | LineCount = input.ReadInt32(); |
| | 4325 | | break; |
| | 4326 | | } |
| | 4327 | | case 160: { |
| | 4328 | | TextWrapping = input.ReadBool(); |
| | 4329 | | break; |
| | 4330 | | } |
| | 4331 | | case 173: { |
| | 4332 | | ShadowBlur = input.ReadFloat(); |
| | 4333 | | break; |
| | 4334 | | } |
| | 4335 | | case 181: { |
| | 4336 | | ShadowOffsetX = input.ReadFloat(); |
| | 4337 | | break; |
| | 4338 | | } |
| | 4339 | | case 189: { |
| | 4340 | | ShadowOffsetY = input.ReadFloat(); |
| | 4341 | | break; |
| | 4342 | | } |
| | 4343 | | case 194: { |
| | 4344 | | if (shadowColor_ == null) { |
| | 4345 | | ShadowColor = new global::DCL.Interface.PB_Color3(); |
| | 4346 | | } |
| | 4347 | | input.ReadMessage(ShadowColor); |
| | 4348 | | break; |
| | 4349 | | } |
| | 4350 | | case 205: { |
| | 4351 | | OutlineWidth = input.ReadFloat(); |
| | 4352 | | break; |
| | 4353 | | } |
| | 4354 | | case 210: { |
| | 4355 | | if (outlineColor_ == null) { |
| | 4356 | | OutlineColor = new global::DCL.Interface.PB_Color3(); |
| | 4357 | | } |
| | 4358 | | input.ReadMessage(OutlineColor); |
| | 4359 | | break; |
| | 4360 | | } |
| | 4361 | | } |
| | 4362 | | } |
| | 4363 | | } |
| | 4364 | | #endif |
| | 4365 | |
|
| | 4366 | | } |
| | 4367 | |
|
| | 4368 | | public sealed partial class PB_Vector3 : pb::IMessage<PB_Vector3> |
| | 4369 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4370 | | , pb::IBufferMessage |
| | 4371 | | #endif |
| | 4372 | | { |
| | 4373 | | private static readonly pb::MessageParser<PB_Vector3> _parser = new pb::MessageParser<PB_Vector3>(() => new PB_Vecto |
| | 4374 | | private pb::UnknownFieldSet _unknownFields; |
| | 4375 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4376 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4377 | | public static pb::MessageParser<PB_Vector3> Parser { get { return _parser; } } |
| | 4378 | |
|
| | 4379 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4380 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4381 | | public static pbr::MessageDescriptor Descriptor { |
| | 4382 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[8]; } |
| | 4383 | | } |
| | 4384 | |
|
| | 4385 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4386 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4387 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4388 | | get { return Descriptor; } |
| | 4389 | | } |
| | 4390 | |
|
| | 4391 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4392 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4393 | | public PB_Vector3() { |
| | 4394 | | OnConstruction(); |
| | 4395 | | } |
| | 4396 | |
|
| | 4397 | | partial void OnConstruction(); |
| | 4398 | |
|
| | 4399 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4400 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4401 | | public PB_Vector3(PB_Vector3 other) : this() { |
| | 4402 | | x_ = other.x_; |
| | 4403 | | y_ = other.y_; |
| | 4404 | | z_ = other.z_; |
| | 4405 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4406 | | } |
| | 4407 | |
|
| | 4408 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4409 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4410 | | public PB_Vector3 Clone() { |
| | 4411 | | return new PB_Vector3(this); |
| | 4412 | | } |
| | 4413 | |
|
| | 4414 | | /// <summary>Field number for the "x" field.</summary> |
| | 4415 | | public const int XFieldNumber = 1; |
| | 4416 | | private float x_; |
| | 4417 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4418 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4419 | | public float X { |
| | 4420 | | get { return x_; } |
| | 4421 | | set { |
| | 4422 | | x_ = value; |
| | 4423 | | } |
| | 4424 | | } |
| | 4425 | |
|
| | 4426 | | /// <summary>Field number for the "y" field.</summary> |
| | 4427 | | public const int YFieldNumber = 2; |
| | 4428 | | private float y_; |
| | 4429 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4430 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4431 | | public float Y { |
| | 4432 | | get { return y_; } |
| | 4433 | | set { |
| | 4434 | | y_ = value; |
| | 4435 | | } |
| | 4436 | | } |
| | 4437 | |
|
| | 4438 | | /// <summary>Field number for the "z" field.</summary> |
| | 4439 | | public const int ZFieldNumber = 3; |
| | 4440 | | private float z_; |
| | 4441 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4442 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4443 | | public float Z { |
| | 4444 | | get { return z_; } |
| | 4445 | | set { |
| | 4446 | | z_ = value; |
| | 4447 | | } |
| | 4448 | | } |
| | 4449 | |
|
| | 4450 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4451 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4452 | | public override bool Equals(object other) { |
| | 4453 | | return Equals(other as PB_Vector3); |
| | 4454 | | } |
| | 4455 | |
|
| | 4456 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4457 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4458 | | public bool Equals(PB_Vector3 other) { |
| | 4459 | | if (ReferenceEquals(other, null)) { |
| | 4460 | | return false; |
| | 4461 | | } |
| | 4462 | | if (ReferenceEquals(other, this)) { |
| | 4463 | | return true; |
| | 4464 | | } |
| | 4465 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; |
| | 4466 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; |
| | 4467 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; |
| | 4468 | | return Equals(_unknownFields, other._unknownFields); |
| | 4469 | | } |
| | 4470 | |
|
| | 4471 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4472 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4473 | | public override int GetHashCode() { |
| | 4474 | | int hash = 1; |
| | 4475 | | if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); |
| | 4476 | | if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); |
| | 4477 | | if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); |
| | 4478 | | if (_unknownFields != null) { |
| | 4479 | | hash ^= _unknownFields.GetHashCode(); |
| | 4480 | | } |
| | 4481 | | return hash; |
| | 4482 | | } |
| | 4483 | |
|
| | 4484 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4485 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4486 | | public override string ToString() { |
| | 4487 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4488 | | } |
| | 4489 | |
|
| | 4490 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4491 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4492 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4493 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4494 | | output.WriteRawMessage(this); |
| | 4495 | | #else |
| | 4496 | | if (X != 0F) { |
| | 4497 | | output.WriteRawTag(13); |
| | 4498 | | output.WriteFloat(X); |
| | 4499 | | } |
| | 4500 | | if (Y != 0F) { |
| | 4501 | | output.WriteRawTag(21); |
| | 4502 | | output.WriteFloat(Y); |
| | 4503 | | } |
| | 4504 | | if (Z != 0F) { |
| | 4505 | | output.WriteRawTag(29); |
| | 4506 | | output.WriteFloat(Z); |
| | 4507 | | } |
| | 4508 | | if (_unknownFields != null) { |
| | 4509 | | _unknownFields.WriteTo(output); |
| | 4510 | | } |
| | 4511 | | #endif |
| | 4512 | | } |
| | 4513 | |
|
| | 4514 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4515 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4516 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4517 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4518 | | if (X != 0F) { |
| | 4519 | | output.WriteRawTag(13); |
| | 4520 | | output.WriteFloat(X); |
| | 4521 | | } |
| | 4522 | | if (Y != 0F) { |
| | 4523 | | output.WriteRawTag(21); |
| | 4524 | | output.WriteFloat(Y); |
| | 4525 | | } |
| | 4526 | | if (Z != 0F) { |
| | 4527 | | output.WriteRawTag(29); |
| | 4528 | | output.WriteFloat(Z); |
| | 4529 | | } |
| | 4530 | | if (_unknownFields != null) { |
| | 4531 | | _unknownFields.WriteTo(ref output); |
| | 4532 | | } |
| | 4533 | | } |
| | 4534 | | #endif |
| | 4535 | |
|
| | 4536 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4537 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4538 | | public int CalculateSize() { |
| | 4539 | | int size = 0; |
| | 4540 | | if (X != 0F) { |
| | 4541 | | size += 1 + 4; |
| | 4542 | | } |
| | 4543 | | if (Y != 0F) { |
| | 4544 | | size += 1 + 4; |
| | 4545 | | } |
| | 4546 | | if (Z != 0F) { |
| | 4547 | | size += 1 + 4; |
| | 4548 | | } |
| | 4549 | | if (_unknownFields != null) { |
| | 4550 | | size += _unknownFields.CalculateSize(); |
| | 4551 | | } |
| | 4552 | | return size; |
| | 4553 | | } |
| | 4554 | |
|
| | 4555 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4556 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4557 | | public void MergeFrom(PB_Vector3 other) { |
| | 4558 | | if (other == null) { |
| | 4559 | | return; |
| | 4560 | | } |
| | 4561 | | if (other.X != 0F) { |
| | 4562 | | X = other.X; |
| | 4563 | | } |
| | 4564 | | if (other.Y != 0F) { |
| | 4565 | | Y = other.Y; |
| | 4566 | | } |
| | 4567 | | if (other.Z != 0F) { |
| | 4568 | | Z = other.Z; |
| | 4569 | | } |
| | 4570 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4571 | | } |
| | 4572 | |
|
| | 4573 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4574 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4575 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4576 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4577 | | input.ReadRawMessage(this); |
| | 4578 | | #else |
| | 4579 | | uint tag; |
| | 4580 | | while ((tag = input.ReadTag()) != 0) { |
| | 4581 | | switch(tag) { |
| | 4582 | | default: |
| | 4583 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4584 | | break; |
| | 4585 | | case 13: { |
| | 4586 | | X = input.ReadFloat(); |
| | 4587 | | break; |
| | 4588 | | } |
| | 4589 | | case 21: { |
| | 4590 | | Y = input.ReadFloat(); |
| | 4591 | | break; |
| | 4592 | | } |
| | 4593 | | case 29: { |
| | 4594 | | Z = input.ReadFloat(); |
| | 4595 | | break; |
| | 4596 | | } |
| | 4597 | | } |
| | 4598 | | } |
| | 4599 | | #endif |
| | 4600 | | } |
| | 4601 | |
|
| | 4602 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4603 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4604 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4605 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4606 | | uint tag; |
| | 4607 | | while ((tag = input.ReadTag()) != 0) { |
| | 4608 | | switch(tag) { |
| | 4609 | | default: |
| | 4610 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4611 | | break; |
| | 4612 | | case 13: { |
| | 4613 | | X = input.ReadFloat(); |
| | 4614 | | break; |
| | 4615 | | } |
| | 4616 | | case 21: { |
| | 4617 | | Y = input.ReadFloat(); |
| | 4618 | | break; |
| | 4619 | | } |
| | 4620 | | case 29: { |
| | 4621 | | Z = input.ReadFloat(); |
| | 4622 | | break; |
| | 4623 | | } |
| | 4624 | | } |
| | 4625 | | } |
| | 4626 | | } |
| | 4627 | | #endif |
| | 4628 | |
|
| | 4629 | | } |
| | 4630 | |
|
| | 4631 | | public sealed partial class PB_Quaternion : pb::IMessage<PB_Quaternion> |
| | 4632 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4633 | | , pb::IBufferMessage |
| | 4634 | | #endif |
| | 4635 | | { |
| | 4636 | | private static readonly pb::MessageParser<PB_Quaternion> _parser = new pb::MessageParser<PB_Quaternion>(() => new PB |
| | 4637 | | private pb::UnknownFieldSet _unknownFields; |
| | 4638 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4639 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4640 | | public static pb::MessageParser<PB_Quaternion> Parser { get { return _parser; } } |
| | 4641 | |
|
| | 4642 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4643 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4644 | | public static pbr::MessageDescriptor Descriptor { |
| | 4645 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[9]; } |
| | 4646 | | } |
| | 4647 | |
|
| | 4648 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4649 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4650 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4651 | | get { return Descriptor; } |
| | 4652 | | } |
| | 4653 | |
|
| | 4654 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4655 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4656 | | public PB_Quaternion() { |
| | 4657 | | OnConstruction(); |
| | 4658 | | } |
| | 4659 | |
|
| | 4660 | | partial void OnConstruction(); |
| | 4661 | |
|
| | 4662 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4663 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4664 | | public PB_Quaternion(PB_Quaternion other) : this() { |
| | 4665 | | x_ = other.x_; |
| | 4666 | | y_ = other.y_; |
| | 4667 | | z_ = other.z_; |
| | 4668 | | w_ = other.w_; |
| | 4669 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4670 | | } |
| | 4671 | |
|
| | 4672 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4673 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4674 | | public PB_Quaternion Clone() { |
| | 4675 | | return new PB_Quaternion(this); |
| | 4676 | | } |
| | 4677 | |
|
| | 4678 | | /// <summary>Field number for the "x" field.</summary> |
| | 4679 | | public const int XFieldNumber = 1; |
| | 4680 | | private double x_; |
| | 4681 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4682 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4683 | | public double X { |
| | 4684 | | get { return x_; } |
| | 4685 | | set { |
| | 4686 | | x_ = value; |
| | 4687 | | } |
| | 4688 | | } |
| | 4689 | |
|
| | 4690 | | /// <summary>Field number for the "y" field.</summary> |
| | 4691 | | public const int YFieldNumber = 2; |
| | 4692 | | private double y_; |
| | 4693 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4694 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4695 | | public double Y { |
| | 4696 | | get { return y_; } |
| | 4697 | | set { |
| | 4698 | | y_ = value; |
| | 4699 | | } |
| | 4700 | | } |
| | 4701 | |
|
| | 4702 | | /// <summary>Field number for the "z" field.</summary> |
| | 4703 | | public const int ZFieldNumber = 3; |
| | 4704 | | private double z_; |
| | 4705 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4706 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4707 | | public double Z { |
| | 4708 | | get { return z_; } |
| | 4709 | | set { |
| | 4710 | | z_ = value; |
| | 4711 | | } |
| | 4712 | | } |
| | 4713 | |
|
| | 4714 | | /// <summary>Field number for the "w" field.</summary> |
| | 4715 | | public const int WFieldNumber = 4; |
| | 4716 | | private double w_; |
| | 4717 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4718 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4719 | | public double W { |
| | 4720 | | get { return w_; } |
| | 4721 | | set { |
| | 4722 | | w_ = value; |
| | 4723 | | } |
| | 4724 | | } |
| | 4725 | |
|
| | 4726 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4727 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4728 | | public override bool Equals(object other) { |
| | 4729 | | return Equals(other as PB_Quaternion); |
| | 4730 | | } |
| | 4731 | |
|
| | 4732 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4733 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4734 | | public bool Equals(PB_Quaternion other) { |
| | 4735 | | if (ReferenceEquals(other, null)) { |
| | 4736 | | return false; |
| | 4737 | | } |
| | 4738 | | if (ReferenceEquals(other, this)) { |
| | 4739 | | return true; |
| | 4740 | | } |
| | 4741 | | if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(X, other.X)) return false; |
| | 4742 | | if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Y, other.Y)) return false; |
| | 4743 | | if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(Z, other.Z)) return false; |
| | 4744 | | if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(W, other.W)) return false; |
| | 4745 | | return Equals(_unknownFields, other._unknownFields); |
| | 4746 | | } |
| | 4747 | |
|
| | 4748 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4749 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4750 | | public override int GetHashCode() { |
| | 4751 | | int hash = 1; |
| | 4752 | | if (X != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(X); |
| | 4753 | | if (Y != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Y); |
| | 4754 | | if (Z != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Z); |
| | 4755 | | if (W != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(W); |
| | 4756 | | if (_unknownFields != null) { |
| | 4757 | | hash ^= _unknownFields.GetHashCode(); |
| | 4758 | | } |
| | 4759 | | return hash; |
| | 4760 | | } |
| | 4761 | |
|
| | 4762 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4763 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4764 | | public override string ToString() { |
| | 4765 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 4766 | | } |
| | 4767 | |
|
| | 4768 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4769 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4770 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 4771 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4772 | | output.WriteRawMessage(this); |
| | 4773 | | #else |
| | 4774 | | if (X != 0D) { |
| | 4775 | | output.WriteRawTag(9); |
| | 4776 | | output.WriteDouble(X); |
| | 4777 | | } |
| | 4778 | | if (Y != 0D) { |
| | 4779 | | output.WriteRawTag(17); |
| | 4780 | | output.WriteDouble(Y); |
| | 4781 | | } |
| | 4782 | | if (Z != 0D) { |
| | 4783 | | output.WriteRawTag(25); |
| | 4784 | | output.WriteDouble(Z); |
| | 4785 | | } |
| | 4786 | | if (W != 0D) { |
| | 4787 | | output.WriteRawTag(33); |
| | 4788 | | output.WriteDouble(W); |
| | 4789 | | } |
| | 4790 | | if (_unknownFields != null) { |
| | 4791 | | _unknownFields.WriteTo(output); |
| | 4792 | | } |
| | 4793 | | #endif |
| | 4794 | | } |
| | 4795 | |
|
| | 4796 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4797 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4798 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4799 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 4800 | | if (X != 0D) { |
| | 4801 | | output.WriteRawTag(9); |
| | 4802 | | output.WriteDouble(X); |
| | 4803 | | } |
| | 4804 | | if (Y != 0D) { |
| | 4805 | | output.WriteRawTag(17); |
| | 4806 | | output.WriteDouble(Y); |
| | 4807 | | } |
| | 4808 | | if (Z != 0D) { |
| | 4809 | | output.WriteRawTag(25); |
| | 4810 | | output.WriteDouble(Z); |
| | 4811 | | } |
| | 4812 | | if (W != 0D) { |
| | 4813 | | output.WriteRawTag(33); |
| | 4814 | | output.WriteDouble(W); |
| | 4815 | | } |
| | 4816 | | if (_unknownFields != null) { |
| | 4817 | | _unknownFields.WriteTo(ref output); |
| | 4818 | | } |
| | 4819 | | } |
| | 4820 | | #endif |
| | 4821 | |
|
| | 4822 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4823 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4824 | | public int CalculateSize() { |
| | 4825 | | int size = 0; |
| | 4826 | | if (X != 0D) { |
| | 4827 | | size += 1 + 8; |
| | 4828 | | } |
| | 4829 | | if (Y != 0D) { |
| | 4830 | | size += 1 + 8; |
| | 4831 | | } |
| | 4832 | | if (Z != 0D) { |
| | 4833 | | size += 1 + 8; |
| | 4834 | | } |
| | 4835 | | if (W != 0D) { |
| | 4836 | | size += 1 + 8; |
| | 4837 | | } |
| | 4838 | | if (_unknownFields != null) { |
| | 4839 | | size += _unknownFields.CalculateSize(); |
| | 4840 | | } |
| | 4841 | | return size; |
| | 4842 | | } |
| | 4843 | |
|
| | 4844 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4845 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4846 | | public void MergeFrom(PB_Quaternion other) { |
| | 4847 | | if (other == null) { |
| | 4848 | | return; |
| | 4849 | | } |
| | 4850 | | if (other.X != 0D) { |
| | 4851 | | X = other.X; |
| | 4852 | | } |
| | 4853 | | if (other.Y != 0D) { |
| | 4854 | | Y = other.Y; |
| | 4855 | | } |
| | 4856 | | if (other.Z != 0D) { |
| | 4857 | | Z = other.Z; |
| | 4858 | | } |
| | 4859 | | if (other.W != 0D) { |
| | 4860 | | W = other.W; |
| | 4861 | | } |
| | 4862 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 4863 | | } |
| | 4864 | |
|
| | 4865 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4866 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4867 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 4868 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4869 | | input.ReadRawMessage(this); |
| | 4870 | | #else |
| | 4871 | | uint tag; |
| | 4872 | | while ((tag = input.ReadTag()) != 0) { |
| | 4873 | | switch(tag) { |
| | 4874 | | default: |
| | 4875 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 4876 | | break; |
| | 4877 | | case 9: { |
| | 4878 | | X = input.ReadDouble(); |
| | 4879 | | break; |
| | 4880 | | } |
| | 4881 | | case 17: { |
| | 4882 | | Y = input.ReadDouble(); |
| | 4883 | | break; |
| | 4884 | | } |
| | 4885 | | case 25: { |
| | 4886 | | Z = input.ReadDouble(); |
| | 4887 | | break; |
| | 4888 | | } |
| | 4889 | | case 33: { |
| | 4890 | | W = input.ReadDouble(); |
| | 4891 | | break; |
| | 4892 | | } |
| | 4893 | | } |
| | 4894 | | } |
| | 4895 | | #endif |
| | 4896 | | } |
| | 4897 | |
|
| | 4898 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4899 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4900 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4901 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 4902 | | uint tag; |
| | 4903 | | while ((tag = input.ReadTag()) != 0) { |
| | 4904 | | switch(tag) { |
| | 4905 | | default: |
| | 4906 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 4907 | | break; |
| | 4908 | | case 9: { |
| | 4909 | | X = input.ReadDouble(); |
| | 4910 | | break; |
| | 4911 | | } |
| | 4912 | | case 17: { |
| | 4913 | | Y = input.ReadDouble(); |
| | 4914 | | break; |
| | 4915 | | } |
| | 4916 | | case 25: { |
| | 4917 | | Z = input.ReadDouble(); |
| | 4918 | | break; |
| | 4919 | | } |
| | 4920 | | case 33: { |
| | 4921 | | W = input.ReadDouble(); |
| | 4922 | | break; |
| | 4923 | | } |
| | 4924 | | } |
| | 4925 | | } |
| | 4926 | | } |
| | 4927 | | #endif |
| | 4928 | |
|
| | 4929 | | } |
| | 4930 | |
|
| | 4931 | | public sealed partial class PB_Transform : pb::IMessage<PB_Transform> |
| | 4932 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 4933 | | , pb::IBufferMessage |
| | 4934 | | #endif |
| | 4935 | | { |
| | 4936 | | private static readonly pb::MessageParser<PB_Transform> _parser = new pb::MessageParser<PB_Transform>(() => new PB_T |
| | 4937 | | private pb::UnknownFieldSet _unknownFields; |
| | 4938 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4939 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4940 | | public static pb::MessageParser<PB_Transform> Parser { get { return _parser; } } |
| | 4941 | |
|
| | 4942 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4943 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4944 | | public static pbr::MessageDescriptor Descriptor { |
| | 4945 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[10]; } |
| | 4946 | | } |
| | 4947 | |
|
| | 4948 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4949 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4950 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 4951 | | get { return Descriptor; } |
| | 4952 | | } |
| | 4953 | |
|
| | 4954 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4955 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4956 | | public PB_Transform() { |
| | 4957 | | OnConstruction(); |
| | 4958 | | } |
| | 4959 | |
|
| | 4960 | | partial void OnConstruction(); |
| | 4961 | |
|
| | 4962 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4963 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4964 | | public PB_Transform(PB_Transform other) : this() { |
| | 4965 | | position_ = other.position_ != null ? other.position_.Clone() : null; |
| | 4966 | | rotation_ = other.rotation_ != null ? other.rotation_.Clone() : null; |
| | 4967 | | scale_ = other.scale_ != null ? other.scale_.Clone() : null; |
| | 4968 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 4969 | | } |
| | 4970 | |
|
| | 4971 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4972 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4973 | | public PB_Transform Clone() { |
| | 4974 | | return new PB_Transform(this); |
| | 4975 | | } |
| | 4976 | |
|
| | 4977 | | /// <summary>Field number for the "position" field.</summary> |
| | 4978 | | public const int PositionFieldNumber = 1; |
| | 4979 | | private global::DCL.Interface.PB_Vector3 position_; |
| | 4980 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4981 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4982 | | public global::DCL.Interface.PB_Vector3 Position { |
| | 4983 | | get { return position_; } |
| | 4984 | | set { |
| | 4985 | | position_ = value; |
| | 4986 | | } |
| | 4987 | | } |
| | 4988 | |
|
| | 4989 | | /// <summary>Field number for the "rotation" field.</summary> |
| | 4990 | | public const int RotationFieldNumber = 2; |
| | 4991 | | private global::DCL.Interface.PB_Quaternion rotation_; |
| | 4992 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 4993 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 4994 | | public global::DCL.Interface.PB_Quaternion Rotation { |
| | 4995 | | get { return rotation_; } |
| | 4996 | | set { |
| | 4997 | | rotation_ = value; |
| | 4998 | | } |
| | 4999 | | } |
| | 5000 | |
|
| | 5001 | | /// <summary>Field number for the "scale" field.</summary> |
| | 5002 | | public const int ScaleFieldNumber = 3; |
| | 5003 | | private global::DCL.Interface.PB_Vector3 scale_; |
| | 5004 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5005 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5006 | | public global::DCL.Interface.PB_Vector3 Scale { |
| | 5007 | | get { return scale_; } |
| | 5008 | | set { |
| | 5009 | | scale_ = value; |
| | 5010 | | } |
| | 5011 | | } |
| | 5012 | |
|
| | 5013 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5014 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5015 | | public override bool Equals(object other) { |
| | 5016 | | return Equals(other as PB_Transform); |
| | 5017 | | } |
| | 5018 | |
|
| | 5019 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5020 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5021 | | public bool Equals(PB_Transform other) { |
| | 5022 | | if (ReferenceEquals(other, null)) { |
| | 5023 | | return false; |
| | 5024 | | } |
| | 5025 | | if (ReferenceEquals(other, this)) { |
| | 5026 | | return true; |
| | 5027 | | } |
| | 5028 | | if (!object.Equals(Position, other.Position)) return false; |
| | 5029 | | if (!object.Equals(Rotation, other.Rotation)) return false; |
| | 5030 | | if (!object.Equals(Scale, other.Scale)) return false; |
| | 5031 | | return Equals(_unknownFields, other._unknownFields); |
| | 5032 | | } |
| | 5033 | |
|
| | 5034 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5035 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5036 | | public override int GetHashCode() { |
| | 5037 | | int hash = 1; |
| | 5038 | | if (position_ != null) hash ^= Position.GetHashCode(); |
| | 5039 | | if (rotation_ != null) hash ^= Rotation.GetHashCode(); |
| | 5040 | | if (scale_ != null) hash ^= Scale.GetHashCode(); |
| | 5041 | | if (_unknownFields != null) { |
| | 5042 | | hash ^= _unknownFields.GetHashCode(); |
| | 5043 | | } |
| | 5044 | | return hash; |
| | 5045 | | } |
| | 5046 | |
|
| | 5047 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5048 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5049 | | public override string ToString() { |
| | 5050 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5051 | | } |
| | 5052 | |
|
| | 5053 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5054 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5055 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5056 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5057 | | output.WriteRawMessage(this); |
| | 5058 | | #else |
| | 5059 | | if (position_ != null) { |
| | 5060 | | output.WriteRawTag(10); |
| | 5061 | | output.WriteMessage(Position); |
| | 5062 | | } |
| | 5063 | | if (rotation_ != null) { |
| | 5064 | | output.WriteRawTag(18); |
| | 5065 | | output.WriteMessage(Rotation); |
| | 5066 | | } |
| | 5067 | | if (scale_ != null) { |
| | 5068 | | output.WriteRawTag(26); |
| | 5069 | | output.WriteMessage(Scale); |
| | 5070 | | } |
| | 5071 | | if (_unknownFields != null) { |
| | 5072 | | _unknownFields.WriteTo(output); |
| | 5073 | | } |
| | 5074 | | #endif |
| | 5075 | | } |
| | 5076 | |
|
| | 5077 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5078 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5079 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5080 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5081 | | if (position_ != null) { |
| | 5082 | | output.WriteRawTag(10); |
| | 5083 | | output.WriteMessage(Position); |
| | 5084 | | } |
| | 5085 | | if (rotation_ != null) { |
| | 5086 | | output.WriteRawTag(18); |
| | 5087 | | output.WriteMessage(Rotation); |
| | 5088 | | } |
| | 5089 | | if (scale_ != null) { |
| | 5090 | | output.WriteRawTag(26); |
| | 5091 | | output.WriteMessage(Scale); |
| | 5092 | | } |
| | 5093 | | if (_unknownFields != null) { |
| | 5094 | | _unknownFields.WriteTo(ref output); |
| | 5095 | | } |
| | 5096 | | } |
| | 5097 | | #endif |
| | 5098 | |
|
| | 5099 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5100 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5101 | | public int CalculateSize() { |
| | 5102 | | int size = 0; |
| | 5103 | | if (position_ != null) { |
| | 5104 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Position); |
| | 5105 | | } |
| | 5106 | | if (rotation_ != null) { |
| | 5107 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Rotation); |
| | 5108 | | } |
| | 5109 | | if (scale_ != null) { |
| | 5110 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Scale); |
| | 5111 | | } |
| | 5112 | | if (_unknownFields != null) { |
| | 5113 | | size += _unknownFields.CalculateSize(); |
| | 5114 | | } |
| | 5115 | | return size; |
| | 5116 | | } |
| | 5117 | |
|
| | 5118 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5119 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5120 | | public void MergeFrom(PB_Transform other) { |
| | 5121 | | if (other == null) { |
| | 5122 | | return; |
| | 5123 | | } |
| | 5124 | | if (other.position_ != null) { |
| | 5125 | | if (position_ == null) { |
| | 5126 | | Position = new global::DCL.Interface.PB_Vector3(); |
| | 5127 | | } |
| | 5128 | | Position.MergeFrom(other.Position); |
| | 5129 | | } |
| | 5130 | | if (other.rotation_ != null) { |
| | 5131 | | if (rotation_ == null) { |
| | 5132 | | Rotation = new global::DCL.Interface.PB_Quaternion(); |
| | 5133 | | } |
| | 5134 | | Rotation.MergeFrom(other.Rotation); |
| | 5135 | | } |
| | 5136 | | if (other.scale_ != null) { |
| | 5137 | | if (scale_ == null) { |
| | 5138 | | Scale = new global::DCL.Interface.PB_Vector3(); |
| | 5139 | | } |
| | 5140 | | Scale.MergeFrom(other.Scale); |
| | 5141 | | } |
| | 5142 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5143 | | } |
| | 5144 | |
|
| | 5145 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5146 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5147 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5148 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5149 | | input.ReadRawMessage(this); |
| | 5150 | | #else |
| | 5151 | | uint tag; |
| | 5152 | | while ((tag = input.ReadTag()) != 0) { |
| | 5153 | | switch(tag) { |
| | 5154 | | default: |
| | 5155 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5156 | | break; |
| | 5157 | | case 10: { |
| | 5158 | | if (position_ == null) { |
| | 5159 | | Position = new global::DCL.Interface.PB_Vector3(); |
| | 5160 | | } |
| | 5161 | | input.ReadMessage(Position); |
| | 5162 | | break; |
| | 5163 | | } |
| | 5164 | | case 18: { |
| | 5165 | | if (rotation_ == null) { |
| | 5166 | | Rotation = new global::DCL.Interface.PB_Quaternion(); |
| | 5167 | | } |
| | 5168 | | input.ReadMessage(Rotation); |
| | 5169 | | break; |
| | 5170 | | } |
| | 5171 | | case 26: { |
| | 5172 | | if (scale_ == null) { |
| | 5173 | | Scale = new global::DCL.Interface.PB_Vector3(); |
| | 5174 | | } |
| | 5175 | | input.ReadMessage(Scale); |
| | 5176 | | break; |
| | 5177 | | } |
| | 5178 | | } |
| | 5179 | | } |
| | 5180 | | #endif |
| | 5181 | | } |
| | 5182 | |
|
| | 5183 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5184 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5185 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5186 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5187 | | uint tag; |
| | 5188 | | while ((tag = input.ReadTag()) != 0) { |
| | 5189 | | switch(tag) { |
| | 5190 | | default: |
| | 5191 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5192 | | break; |
| | 5193 | | case 10: { |
| | 5194 | | if (position_ == null) { |
| | 5195 | | Position = new global::DCL.Interface.PB_Vector3(); |
| | 5196 | | } |
| | 5197 | | input.ReadMessage(Position); |
| | 5198 | | break; |
| | 5199 | | } |
| | 5200 | | case 18: { |
| | 5201 | | if (rotation_ == null) { |
| | 5202 | | Rotation = new global::DCL.Interface.PB_Quaternion(); |
| | 5203 | | } |
| | 5204 | | input.ReadMessage(Rotation); |
| | 5205 | | break; |
| | 5206 | | } |
| | 5207 | | case 26: { |
| | 5208 | | if (scale_ == null) { |
| | 5209 | | Scale = new global::DCL.Interface.PB_Vector3(); |
| | 5210 | | } |
| | 5211 | | input.ReadMessage(Scale); |
| | 5212 | | break; |
| | 5213 | | } |
| | 5214 | | } |
| | 5215 | | } |
| | 5216 | | } |
| | 5217 | | #endif |
| | 5218 | |
|
| | 5219 | | } |
| | 5220 | |
|
| | 5221 | | public sealed partial class PB_UpdateEntityComponent : pb::IMessage<PB_UpdateEntityComponent> |
| | 5222 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5223 | | , pb::IBufferMessage |
| | 5224 | | #endif |
| | 5225 | | { |
| | 5226 | | private static readonly pb::MessageParser<PB_UpdateEntityComponent> _parser = new pb::MessageParser<PB_UpdateEntityC |
| | 5227 | | private pb::UnknownFieldSet _unknownFields; |
| | 5228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5230 | | public static pb::MessageParser<PB_UpdateEntityComponent> Parser { get { return _parser; } } |
| | 5231 | |
|
| | 5232 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5233 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5234 | | public static pbr::MessageDescriptor Descriptor { |
| | 5235 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[11]; } |
| | 5236 | | } |
| | 5237 | |
|
| | 5238 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5239 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5240 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5241 | | get { return Descriptor; } |
| | 5242 | | } |
| | 5243 | |
|
| | 5244 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5245 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5246 | | public PB_UpdateEntityComponent() { |
| | 5247 | | OnConstruction(); |
| | 5248 | | } |
| | 5249 | |
|
| | 5250 | | partial void OnConstruction(); |
| | 5251 | |
|
| | 5252 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5253 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5254 | | public PB_UpdateEntityComponent(PB_UpdateEntityComponent other) : this() { |
| | 5255 | | entityId_ = other.entityId_; |
| | 5256 | | classId_ = other.classId_; |
| | 5257 | | name_ = other.name_; |
| | 5258 | | data_ = other.data_; |
| | 5259 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5260 | | } |
| | 5261 | |
|
| | 5262 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5263 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5264 | | public PB_UpdateEntityComponent Clone() { |
| | 5265 | | return new PB_UpdateEntityComponent(this); |
| | 5266 | | } |
| | 5267 | |
|
| | 5268 | | /// <summary>Field number for the "entityId" field.</summary> |
| | 5269 | | public const int EntityIdFieldNumber = 1; |
| | 5270 | | private string entityId_ = ""; |
| | 5271 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5272 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5273 | | public string EntityId { |
| | 5274 | | get { return entityId_; } |
| | 5275 | | set { |
| | 5276 | | entityId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5277 | | } |
| | 5278 | | } |
| | 5279 | |
|
| | 5280 | | /// <summary>Field number for the "classId" field.</summary> |
| | 5281 | | public const int ClassIdFieldNumber = 2; |
| | 5282 | | private int classId_; |
| | 5283 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5284 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5285 | | public int ClassId { |
| | 5286 | | get { return classId_; } |
| | 5287 | | set { |
| | 5288 | | classId_ = value; |
| | 5289 | | } |
| | 5290 | | } |
| | 5291 | |
|
| | 5292 | | /// <summary>Field number for the "name" field.</summary> |
| | 5293 | | public const int NameFieldNumber = 3; |
| | 5294 | | private string name_ = ""; |
| | 5295 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5296 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5297 | | public string Name { |
| | 5298 | | get { return name_; } |
| | 5299 | | set { |
| | 5300 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5301 | | } |
| | 5302 | | } |
| | 5303 | |
|
| | 5304 | | /// <summary>Field number for the "data" field.</summary> |
| | 5305 | | public const int DataFieldNumber = 4; |
| | 5306 | | private string data_ = ""; |
| | 5307 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5308 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5309 | | public string Data { |
| | 5310 | | get { return data_; } |
| | 5311 | | set { |
| | 5312 | | data_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5313 | | } |
| | 5314 | | } |
| | 5315 | |
|
| | 5316 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5317 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5318 | | public override bool Equals(object other) { |
| | 5319 | | return Equals(other as PB_UpdateEntityComponent); |
| | 5320 | | } |
| | 5321 | |
|
| | 5322 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5323 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5324 | | public bool Equals(PB_UpdateEntityComponent other) { |
| | 5325 | | if (ReferenceEquals(other, null)) { |
| | 5326 | | return false; |
| | 5327 | | } |
| | 5328 | | if (ReferenceEquals(other, this)) { |
| | 5329 | | return true; |
| | 5330 | | } |
| | 5331 | | if (EntityId != other.EntityId) return false; |
| | 5332 | | if (ClassId != other.ClassId) return false; |
| | 5333 | | if (Name != other.Name) return false; |
| | 5334 | | if (Data != other.Data) return false; |
| | 5335 | | return Equals(_unknownFields, other._unknownFields); |
| | 5336 | | } |
| | 5337 | |
|
| | 5338 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5339 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5340 | | public override int GetHashCode() { |
| | 5341 | | int hash = 1; |
| | 5342 | | if (EntityId.Length != 0) hash ^= EntityId.GetHashCode(); |
| | 5343 | | if (ClassId != 0) hash ^= ClassId.GetHashCode(); |
| | 5344 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 5345 | | if (Data.Length != 0) hash ^= Data.GetHashCode(); |
| | 5346 | | if (_unknownFields != null) { |
| | 5347 | | hash ^= _unknownFields.GetHashCode(); |
| | 5348 | | } |
| | 5349 | | return hash; |
| | 5350 | | } |
| | 5351 | |
|
| | 5352 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5353 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5354 | | public override string ToString() { |
| | 5355 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5356 | | } |
| | 5357 | |
|
| | 5358 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5359 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5360 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5361 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5362 | | output.WriteRawMessage(this); |
| | 5363 | | #else |
| | 5364 | | if (EntityId.Length != 0) { |
| | 5365 | | output.WriteRawTag(10); |
| | 5366 | | output.WriteString(EntityId); |
| | 5367 | | } |
| | 5368 | | if (ClassId != 0) { |
| | 5369 | | output.WriteRawTag(16); |
| | 5370 | | output.WriteInt32(ClassId); |
| | 5371 | | } |
| | 5372 | | if (Name.Length != 0) { |
| | 5373 | | output.WriteRawTag(26); |
| | 5374 | | output.WriteString(Name); |
| | 5375 | | } |
| | 5376 | | if (Data.Length != 0) { |
| | 5377 | | output.WriteRawTag(34); |
| | 5378 | | output.WriteString(Data); |
| | 5379 | | } |
| | 5380 | | if (_unknownFields != null) { |
| | 5381 | | _unknownFields.WriteTo(output); |
| | 5382 | | } |
| | 5383 | | #endif |
| | 5384 | | } |
| | 5385 | |
|
| | 5386 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5387 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5388 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5389 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5390 | | if (EntityId.Length != 0) { |
| | 5391 | | output.WriteRawTag(10); |
| | 5392 | | output.WriteString(EntityId); |
| | 5393 | | } |
| | 5394 | | if (ClassId != 0) { |
| | 5395 | | output.WriteRawTag(16); |
| | 5396 | | output.WriteInt32(ClassId); |
| | 5397 | | } |
| | 5398 | | if (Name.Length != 0) { |
| | 5399 | | output.WriteRawTag(26); |
| | 5400 | | output.WriteString(Name); |
| | 5401 | | } |
| | 5402 | | if (Data.Length != 0) { |
| | 5403 | | output.WriteRawTag(34); |
| | 5404 | | output.WriteString(Data); |
| | 5405 | | } |
| | 5406 | | if (_unknownFields != null) { |
| | 5407 | | _unknownFields.WriteTo(ref output); |
| | 5408 | | } |
| | 5409 | | } |
| | 5410 | | #endif |
| | 5411 | |
|
| | 5412 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5413 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5414 | | public int CalculateSize() { |
| | 5415 | | int size = 0; |
| | 5416 | | if (EntityId.Length != 0) { |
| | 5417 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityId); |
| | 5418 | | } |
| | 5419 | | if (ClassId != 0) { |
| | 5420 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClassId); |
| | 5421 | | } |
| | 5422 | | if (Name.Length != 0) { |
| | 5423 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 5424 | | } |
| | 5425 | | if (Data.Length != 0) { |
| | 5426 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Data); |
| | 5427 | | } |
| | 5428 | | if (_unknownFields != null) { |
| | 5429 | | size += _unknownFields.CalculateSize(); |
| | 5430 | | } |
| | 5431 | | return size; |
| | 5432 | | } |
| | 5433 | |
|
| | 5434 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5435 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5436 | | public void MergeFrom(PB_UpdateEntityComponent other) { |
| | 5437 | | if (other == null) { |
| | 5438 | | return; |
| | 5439 | | } |
| | 5440 | | if (other.EntityId.Length != 0) { |
| | 5441 | | EntityId = other.EntityId; |
| | 5442 | | } |
| | 5443 | | if (other.ClassId != 0) { |
| | 5444 | | ClassId = other.ClassId; |
| | 5445 | | } |
| | 5446 | | if (other.Name.Length != 0) { |
| | 5447 | | Name = other.Name; |
| | 5448 | | } |
| | 5449 | | if (other.Data.Length != 0) { |
| | 5450 | | Data = other.Data; |
| | 5451 | | } |
| | 5452 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5453 | | } |
| | 5454 | |
|
| | 5455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5457 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5458 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5459 | | input.ReadRawMessage(this); |
| | 5460 | | #else |
| | 5461 | | uint tag; |
| | 5462 | | while ((tag = input.ReadTag()) != 0) { |
| | 5463 | | switch(tag) { |
| | 5464 | | default: |
| | 5465 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5466 | | break; |
| | 5467 | | case 10: { |
| | 5468 | | EntityId = input.ReadString(); |
| | 5469 | | break; |
| | 5470 | | } |
| | 5471 | | case 16: { |
| | 5472 | | ClassId = input.ReadInt32(); |
| | 5473 | | break; |
| | 5474 | | } |
| | 5475 | | case 26: { |
| | 5476 | | Name = input.ReadString(); |
| | 5477 | | break; |
| | 5478 | | } |
| | 5479 | | case 34: { |
| | 5480 | | Data = input.ReadString(); |
| | 5481 | | break; |
| | 5482 | | } |
| | 5483 | | } |
| | 5484 | | } |
| | 5485 | | #endif |
| | 5486 | | } |
| | 5487 | |
|
| | 5488 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5489 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5490 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5491 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5492 | | uint tag; |
| | 5493 | | while ((tag = input.ReadTag()) != 0) { |
| | 5494 | | switch(tag) { |
| | 5495 | | default: |
| | 5496 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5497 | | break; |
| | 5498 | | case 10: { |
| | 5499 | | EntityId = input.ReadString(); |
| | 5500 | | break; |
| | 5501 | | } |
| | 5502 | | case 16: { |
| | 5503 | | ClassId = input.ReadInt32(); |
| | 5504 | | break; |
| | 5505 | | } |
| | 5506 | | case 26: { |
| | 5507 | | Name = input.ReadString(); |
| | 5508 | | break; |
| | 5509 | | } |
| | 5510 | | case 34: { |
| | 5511 | | Data = input.ReadString(); |
| | 5512 | | break; |
| | 5513 | | } |
| | 5514 | | } |
| | 5515 | | } |
| | 5516 | | } |
| | 5517 | | #endif |
| | 5518 | |
|
| | 5519 | | } |
| | 5520 | |
|
| | 5521 | | public sealed partial class PB_ComponentCreated : pb::IMessage<PB_ComponentCreated> |
| | 5522 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5523 | | , pb::IBufferMessage |
| | 5524 | | #endif |
| | 5525 | | { |
| | 5526 | | private static readonly pb::MessageParser<PB_ComponentCreated> _parser = new pb::MessageParser<PB_ComponentCreated>( |
| | 5527 | | private pb::UnknownFieldSet _unknownFields; |
| | 5528 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5529 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5530 | | public static pb::MessageParser<PB_ComponentCreated> Parser { get { return _parser; } } |
| | 5531 | |
|
| | 5532 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5533 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5534 | | public static pbr::MessageDescriptor Descriptor { |
| | 5535 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[12]; } |
| | 5536 | | } |
| | 5537 | |
|
| | 5538 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5539 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5540 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5541 | | get { return Descriptor; } |
| | 5542 | | } |
| | 5543 | |
|
| | 5544 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5545 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5546 | | public PB_ComponentCreated() { |
| | 5547 | | OnConstruction(); |
| | 5548 | | } |
| | 5549 | |
|
| | 5550 | | partial void OnConstruction(); |
| | 5551 | |
|
| | 5552 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5553 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5554 | | public PB_ComponentCreated(PB_ComponentCreated other) : this() { |
| | 5555 | | id_ = other.id_; |
| | 5556 | | classid_ = other.classid_; |
| | 5557 | | name_ = other.name_; |
| | 5558 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5559 | | } |
| | 5560 | |
|
| | 5561 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5562 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5563 | | public PB_ComponentCreated Clone() { |
| | 5564 | | return new PB_ComponentCreated(this); |
| | 5565 | | } |
| | 5566 | |
|
| | 5567 | | /// <summary>Field number for the "id" field.</summary> |
| | 5568 | | public const int IdFieldNumber = 1; |
| | 5569 | | private string id_ = ""; |
| | 5570 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5571 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5572 | | public string Id { |
| | 5573 | | get { return id_; } |
| | 5574 | | set { |
| | 5575 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5576 | | } |
| | 5577 | | } |
| | 5578 | |
|
| | 5579 | | /// <summary>Field number for the "classid" field.</summary> |
| | 5580 | | public const int ClassidFieldNumber = 2; |
| | 5581 | | private int classid_; |
| | 5582 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5583 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5584 | | public int Classid { |
| | 5585 | | get { return classid_; } |
| | 5586 | | set { |
| | 5587 | | classid_ = value; |
| | 5588 | | } |
| | 5589 | | } |
| | 5590 | |
|
| | 5591 | | /// <summary>Field number for the "name" field.</summary> |
| | 5592 | | public const int NameFieldNumber = 3; |
| | 5593 | | private string name_ = ""; |
| | 5594 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5595 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5596 | | public string Name { |
| | 5597 | | get { return name_; } |
| | 5598 | | set { |
| | 5599 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5600 | | } |
| | 5601 | | } |
| | 5602 | |
|
| | 5603 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5604 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5605 | | public override bool Equals(object other) { |
| | 5606 | | return Equals(other as PB_ComponentCreated); |
| | 5607 | | } |
| | 5608 | |
|
| | 5609 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5610 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5611 | | public bool Equals(PB_ComponentCreated other) { |
| | 5612 | | if (ReferenceEquals(other, null)) { |
| | 5613 | | return false; |
| | 5614 | | } |
| | 5615 | | if (ReferenceEquals(other, this)) { |
| | 5616 | | return true; |
| | 5617 | | } |
| | 5618 | | if (Id != other.Id) return false; |
| | 5619 | | if (Classid != other.Classid) return false; |
| | 5620 | | if (Name != other.Name) return false; |
| | 5621 | | return Equals(_unknownFields, other._unknownFields); |
| | 5622 | | } |
| | 5623 | |
|
| | 5624 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5625 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5626 | | public override int GetHashCode() { |
| | 5627 | | int hash = 1; |
| | 5628 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 5629 | | if (Classid != 0) hash ^= Classid.GetHashCode(); |
| | 5630 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 5631 | | if (_unknownFields != null) { |
| | 5632 | | hash ^= _unknownFields.GetHashCode(); |
| | 5633 | | } |
| | 5634 | | return hash; |
| | 5635 | | } |
| | 5636 | |
|
| | 5637 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5638 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5639 | | public override string ToString() { |
| | 5640 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5641 | | } |
| | 5642 | |
|
| | 5643 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5644 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5645 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5646 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5647 | | output.WriteRawMessage(this); |
| | 5648 | | #else |
| | 5649 | | if (Id.Length != 0) { |
| | 5650 | | output.WriteRawTag(10); |
| | 5651 | | output.WriteString(Id); |
| | 5652 | | } |
| | 5653 | | if (Classid != 0) { |
| | 5654 | | output.WriteRawTag(16); |
| | 5655 | | output.WriteInt32(Classid); |
| | 5656 | | } |
| | 5657 | | if (Name.Length != 0) { |
| | 5658 | | output.WriteRawTag(26); |
| | 5659 | | output.WriteString(Name); |
| | 5660 | | } |
| | 5661 | | if (_unknownFields != null) { |
| | 5662 | | _unknownFields.WriteTo(output); |
| | 5663 | | } |
| | 5664 | | #endif |
| | 5665 | | } |
| | 5666 | |
|
| | 5667 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5668 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5669 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5670 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5671 | | if (Id.Length != 0) { |
| | 5672 | | output.WriteRawTag(10); |
| | 5673 | | output.WriteString(Id); |
| | 5674 | | } |
| | 5675 | | if (Classid != 0) { |
| | 5676 | | output.WriteRawTag(16); |
| | 5677 | | output.WriteInt32(Classid); |
| | 5678 | | } |
| | 5679 | | if (Name.Length != 0) { |
| | 5680 | | output.WriteRawTag(26); |
| | 5681 | | output.WriteString(Name); |
| | 5682 | | } |
| | 5683 | | if (_unknownFields != null) { |
| | 5684 | | _unknownFields.WriteTo(ref output); |
| | 5685 | | } |
| | 5686 | | } |
| | 5687 | | #endif |
| | 5688 | |
|
| | 5689 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5690 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5691 | | public int CalculateSize() { |
| | 5692 | | int size = 0; |
| | 5693 | | if (Id.Length != 0) { |
| | 5694 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 5695 | | } |
| | 5696 | | if (Classid != 0) { |
| | 5697 | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Classid); |
| | 5698 | | } |
| | 5699 | | if (Name.Length != 0) { |
| | 5700 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 5701 | | } |
| | 5702 | | if (_unknownFields != null) { |
| | 5703 | | size += _unknownFields.CalculateSize(); |
| | 5704 | | } |
| | 5705 | | return size; |
| | 5706 | | } |
| | 5707 | |
|
| | 5708 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5709 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5710 | | public void MergeFrom(PB_ComponentCreated other) { |
| | 5711 | | if (other == null) { |
| | 5712 | | return; |
| | 5713 | | } |
| | 5714 | | if (other.Id.Length != 0) { |
| | 5715 | | Id = other.Id; |
| | 5716 | | } |
| | 5717 | | if (other.Classid != 0) { |
| | 5718 | | Classid = other.Classid; |
| | 5719 | | } |
| | 5720 | | if (other.Name.Length != 0) { |
| | 5721 | | Name = other.Name; |
| | 5722 | | } |
| | 5723 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5724 | | } |
| | 5725 | |
|
| | 5726 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5727 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5728 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5729 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5730 | | input.ReadRawMessage(this); |
| | 5731 | | #else |
| | 5732 | | uint tag; |
| | 5733 | | while ((tag = input.ReadTag()) != 0) { |
| | 5734 | | switch(tag) { |
| | 5735 | | default: |
| | 5736 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 5737 | | break; |
| | 5738 | | case 10: { |
| | 5739 | | Id = input.ReadString(); |
| | 5740 | | break; |
| | 5741 | | } |
| | 5742 | | case 16: { |
| | 5743 | | Classid = input.ReadInt32(); |
| | 5744 | | break; |
| | 5745 | | } |
| | 5746 | | case 26: { |
| | 5747 | | Name = input.ReadString(); |
| | 5748 | | break; |
| | 5749 | | } |
| | 5750 | | } |
| | 5751 | | } |
| | 5752 | | #endif |
| | 5753 | | } |
| | 5754 | |
|
| | 5755 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5756 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5757 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5758 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 5759 | | uint tag; |
| | 5760 | | while ((tag = input.ReadTag()) != 0) { |
| | 5761 | | switch(tag) { |
| | 5762 | | default: |
| | 5763 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 5764 | | break; |
| | 5765 | | case 10: { |
| | 5766 | | Id = input.ReadString(); |
| | 5767 | | break; |
| | 5768 | | } |
| | 5769 | | case 16: { |
| | 5770 | | Classid = input.ReadInt32(); |
| | 5771 | | break; |
| | 5772 | | } |
| | 5773 | | case 26: { |
| | 5774 | | Name = input.ReadString(); |
| | 5775 | | break; |
| | 5776 | | } |
| | 5777 | | } |
| | 5778 | | } |
| | 5779 | | } |
| | 5780 | | #endif |
| | 5781 | |
|
| | 5782 | | } |
| | 5783 | |
|
| | 5784 | | public sealed partial class PB_AttachEntityComponent : pb::IMessage<PB_AttachEntityComponent> |
| | 5785 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5786 | | , pb::IBufferMessage |
| | 5787 | | #endif |
| | 5788 | | { |
| | 5789 | | private static readonly pb::MessageParser<PB_AttachEntityComponent> _parser = new pb::MessageParser<PB_AttachEntityC |
| | 5790 | | private pb::UnknownFieldSet _unknownFields; |
| | 5791 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5792 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5793 | | public static pb::MessageParser<PB_AttachEntityComponent> Parser { get { return _parser; } } |
| | 5794 | |
|
| | 5795 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5796 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5797 | | public static pbr::MessageDescriptor Descriptor { |
| | 5798 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[13]; } |
| | 5799 | | } |
| | 5800 | |
|
| | 5801 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5802 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5803 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 5804 | | get { return Descriptor; } |
| | 5805 | | } |
| | 5806 | |
|
| | 5807 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5808 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5809 | | public PB_AttachEntityComponent() { |
| | 5810 | | OnConstruction(); |
| | 5811 | | } |
| | 5812 | |
|
| | 5813 | | partial void OnConstruction(); |
| | 5814 | |
|
| | 5815 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5816 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5817 | | public PB_AttachEntityComponent(PB_AttachEntityComponent other) : this() { |
| | 5818 | | entityId_ = other.entityId_; |
| | 5819 | | name_ = other.name_; |
| | 5820 | | id_ = other.id_; |
| | 5821 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 5822 | | } |
| | 5823 | |
|
| | 5824 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5825 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5826 | | public PB_AttachEntityComponent Clone() { |
| | 5827 | | return new PB_AttachEntityComponent(this); |
| | 5828 | | } |
| | 5829 | |
|
| | 5830 | | /// <summary>Field number for the "entityId" field.</summary> |
| | 5831 | | public const int EntityIdFieldNumber = 1; |
| | 5832 | | private string entityId_ = ""; |
| | 5833 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5834 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5835 | | public string EntityId { |
| | 5836 | | get { return entityId_; } |
| | 5837 | | set { |
| | 5838 | | entityId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5839 | | } |
| | 5840 | | } |
| | 5841 | |
|
| | 5842 | | /// <summary>Field number for the "name" field.</summary> |
| | 5843 | | public const int NameFieldNumber = 2; |
| | 5844 | | private string name_ = ""; |
| | 5845 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5846 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5847 | | public string Name { |
| | 5848 | | get { return name_; } |
| | 5849 | | set { |
| | 5850 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5851 | | } |
| | 5852 | | } |
| | 5853 | |
|
| | 5854 | | /// <summary>Field number for the "id" field.</summary> |
| | 5855 | | public const int IdFieldNumber = 3; |
| | 5856 | | private string id_ = ""; |
| | 5857 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5858 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5859 | | public string Id { |
| | 5860 | | get { return id_; } |
| | 5861 | | set { |
| | 5862 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 5863 | | } |
| | 5864 | | } |
| | 5865 | |
|
| | 5866 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5867 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5868 | | public override bool Equals(object other) { |
| | 5869 | | return Equals(other as PB_AttachEntityComponent); |
| | 5870 | | } |
| | 5871 | |
|
| | 5872 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5873 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5874 | | public bool Equals(PB_AttachEntityComponent other) { |
| | 5875 | | if (ReferenceEquals(other, null)) { |
| | 5876 | | return false; |
| | 5877 | | } |
| | 5878 | | if (ReferenceEquals(other, this)) { |
| | 5879 | | return true; |
| | 5880 | | } |
| | 5881 | | if (EntityId != other.EntityId) return false; |
| | 5882 | | if (Name != other.Name) return false; |
| | 5883 | | if (Id != other.Id) return false; |
| | 5884 | | return Equals(_unknownFields, other._unknownFields); |
| | 5885 | | } |
| | 5886 | |
|
| | 5887 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5888 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5889 | | public override int GetHashCode() { |
| | 5890 | | int hash = 1; |
| | 5891 | | if (EntityId.Length != 0) hash ^= EntityId.GetHashCode(); |
| | 5892 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 5893 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 5894 | | if (_unknownFields != null) { |
| | 5895 | | hash ^= _unknownFields.GetHashCode(); |
| | 5896 | | } |
| | 5897 | | return hash; |
| | 5898 | | } |
| | 5899 | |
|
| | 5900 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5901 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5902 | | public override string ToString() { |
| | 5903 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 5904 | | } |
| | 5905 | |
|
| | 5906 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5907 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5908 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 5909 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5910 | | output.WriteRawMessage(this); |
| | 5911 | | #else |
| | 5912 | | if (EntityId.Length != 0) { |
| | 5913 | | output.WriteRawTag(10); |
| | 5914 | | output.WriteString(EntityId); |
| | 5915 | | } |
| | 5916 | | if (Name.Length != 0) { |
| | 5917 | | output.WriteRawTag(18); |
| | 5918 | | output.WriteString(Name); |
| | 5919 | | } |
| | 5920 | | if (Id.Length != 0) { |
| | 5921 | | output.WriteRawTag(26); |
| | 5922 | | output.WriteString(Id); |
| | 5923 | | } |
| | 5924 | | if (_unknownFields != null) { |
| | 5925 | | _unknownFields.WriteTo(output); |
| | 5926 | | } |
| | 5927 | | #endif |
| | 5928 | | } |
| | 5929 | |
|
| | 5930 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5931 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5932 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5933 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 5934 | | if (EntityId.Length != 0) { |
| | 5935 | | output.WriteRawTag(10); |
| | 5936 | | output.WriteString(EntityId); |
| | 5937 | | } |
| | 5938 | | if (Name.Length != 0) { |
| | 5939 | | output.WriteRawTag(18); |
| | 5940 | | output.WriteString(Name); |
| | 5941 | | } |
| | 5942 | | if (Id.Length != 0) { |
| | 5943 | | output.WriteRawTag(26); |
| | 5944 | | output.WriteString(Id); |
| | 5945 | | } |
| | 5946 | | if (_unknownFields != null) { |
| | 5947 | | _unknownFields.WriteTo(ref output); |
| | 5948 | | } |
| | 5949 | | } |
| | 5950 | | #endif |
| | 5951 | |
|
| | 5952 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5953 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5954 | | public int CalculateSize() { |
| | 5955 | | int size = 0; |
| | 5956 | | if (EntityId.Length != 0) { |
| | 5957 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(EntityId); |
| | 5958 | | } |
| | 5959 | | if (Name.Length != 0) { |
| | 5960 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 5961 | | } |
| | 5962 | | if (Id.Length != 0) { |
| | 5963 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 5964 | | } |
| | 5965 | | if (_unknownFields != null) { |
| | 5966 | | size += _unknownFields.CalculateSize(); |
| | 5967 | | } |
| | 5968 | | return size; |
| | 5969 | | } |
| | 5970 | |
|
| | 5971 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5972 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5973 | | public void MergeFrom(PB_AttachEntityComponent other) { |
| | 5974 | | if (other == null) { |
| | 5975 | | return; |
| | 5976 | | } |
| | 5977 | | if (other.EntityId.Length != 0) { |
| | 5978 | | EntityId = other.EntityId; |
| | 5979 | | } |
| | 5980 | | if (other.Name.Length != 0) { |
| | 5981 | | Name = other.Name; |
| | 5982 | | } |
| | 5983 | | if (other.Id.Length != 0) { |
| | 5984 | | Id = other.Id; |
| | 5985 | | } |
| | 5986 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 5987 | | } |
| | 5988 | |
|
| | 5989 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 5990 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 5991 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 5992 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 5993 | | input.ReadRawMessage(this); |
| | 5994 | | #else |
| | 5995 | | uint tag; |
| | 5996 | | while ((tag = input.ReadTag()) != 0) { |
| | 5997 | | switch(tag) { |
| | 5998 | | default: |
| | 5999 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6000 | | break; |
| | 6001 | | case 10: { |
| | 6002 | | EntityId = input.ReadString(); |
| | 6003 | | break; |
| | 6004 | | } |
| | 6005 | | case 18: { |
| | 6006 | | Name = input.ReadString(); |
| | 6007 | | break; |
| | 6008 | | } |
| | 6009 | | case 26: { |
| | 6010 | | Id = input.ReadString(); |
| | 6011 | | break; |
| | 6012 | | } |
| | 6013 | | } |
| | 6014 | | } |
| | 6015 | | #endif |
| | 6016 | | } |
| | 6017 | |
|
| | 6018 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6019 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6020 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6021 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6022 | | uint tag; |
| | 6023 | | while ((tag = input.ReadTag()) != 0) { |
| | 6024 | | switch(tag) { |
| | 6025 | | default: |
| | 6026 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6027 | | break; |
| | 6028 | | case 10: { |
| | 6029 | | EntityId = input.ReadString(); |
| | 6030 | | break; |
| | 6031 | | } |
| | 6032 | | case 18: { |
| | 6033 | | Name = input.ReadString(); |
| | 6034 | | break; |
| | 6035 | | } |
| | 6036 | | case 26: { |
| | 6037 | | Id = input.ReadString(); |
| | 6038 | | break; |
| | 6039 | | } |
| | 6040 | | } |
| | 6041 | | } |
| | 6042 | | } |
| | 6043 | | #endif |
| | 6044 | |
|
| | 6045 | | } |
| | 6046 | |
|
| | 6047 | | public sealed partial class PB_ComponentDisposed : pb::IMessage<PB_ComponentDisposed> |
| | 6048 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6049 | | , pb::IBufferMessage |
| | 6050 | | #endif |
| | 6051 | | { |
| | 6052 | | private static readonly pb::MessageParser<PB_ComponentDisposed> _parser = new pb::MessageParser<PB_ComponentDisposed |
| | 6053 | | private pb::UnknownFieldSet _unknownFields; |
| | 6054 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6055 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6056 | | public static pb::MessageParser<PB_ComponentDisposed> Parser { get { return _parser; } } |
| | 6057 | |
|
| | 6058 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6059 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6060 | | public static pbr::MessageDescriptor Descriptor { |
| | 6061 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[14]; } |
| | 6062 | | } |
| | 6063 | |
|
| | 6064 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6065 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6066 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6067 | | get { return Descriptor; } |
| | 6068 | | } |
| | 6069 | |
|
| | 6070 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6071 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6072 | | public PB_ComponentDisposed() { |
| | 6073 | | OnConstruction(); |
| | 6074 | | } |
| | 6075 | |
|
| | 6076 | | partial void OnConstruction(); |
| | 6077 | |
|
| | 6078 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6079 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6080 | | public PB_ComponentDisposed(PB_ComponentDisposed other) : this() { |
| | 6081 | | id_ = other.id_; |
| | 6082 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6083 | | } |
| | 6084 | |
|
| | 6085 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6086 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6087 | | public PB_ComponentDisposed Clone() { |
| | 6088 | | return new PB_ComponentDisposed(this); |
| | 6089 | | } |
| | 6090 | |
|
| | 6091 | | /// <summary>Field number for the "id" field.</summary> |
| | 6092 | | public const int IdFieldNumber = 1; |
| | 6093 | | private string id_ = ""; |
| | 6094 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6095 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6096 | | public string Id { |
| | 6097 | | get { return id_; } |
| | 6098 | | set { |
| | 6099 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 6100 | | } |
| | 6101 | | } |
| | 6102 | |
|
| | 6103 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6104 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6105 | | public override bool Equals(object other) { |
| | 6106 | | return Equals(other as PB_ComponentDisposed); |
| | 6107 | | } |
| | 6108 | |
|
| | 6109 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6110 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6111 | | public bool Equals(PB_ComponentDisposed other) { |
| | 6112 | | if (ReferenceEquals(other, null)) { |
| | 6113 | | return false; |
| | 6114 | | } |
| | 6115 | | if (ReferenceEquals(other, this)) { |
| | 6116 | | return true; |
| | 6117 | | } |
| | 6118 | | if (Id != other.Id) return false; |
| | 6119 | | return Equals(_unknownFields, other._unknownFields); |
| | 6120 | | } |
| | 6121 | |
|
| | 6122 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6123 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6124 | | public override int GetHashCode() { |
| | 6125 | | int hash = 1; |
| | 6126 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 6127 | | if (_unknownFields != null) { |
| | 6128 | | hash ^= _unknownFields.GetHashCode(); |
| | 6129 | | } |
| | 6130 | | return hash; |
| | 6131 | | } |
| | 6132 | |
|
| | 6133 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6134 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6135 | | public override string ToString() { |
| | 6136 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6137 | | } |
| | 6138 | |
|
| | 6139 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6140 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6141 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6142 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6143 | | output.WriteRawMessage(this); |
| | 6144 | | #else |
| | 6145 | | if (Id.Length != 0) { |
| | 6146 | | output.WriteRawTag(10); |
| | 6147 | | output.WriteString(Id); |
| | 6148 | | } |
| | 6149 | | if (_unknownFields != null) { |
| | 6150 | | _unknownFields.WriteTo(output); |
| | 6151 | | } |
| | 6152 | | #endif |
| | 6153 | | } |
| | 6154 | |
|
| | 6155 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6156 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6157 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6158 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 6159 | | if (Id.Length != 0) { |
| | 6160 | | output.WriteRawTag(10); |
| | 6161 | | output.WriteString(Id); |
| | 6162 | | } |
| | 6163 | | if (_unknownFields != null) { |
| | 6164 | | _unknownFields.WriteTo(ref output); |
| | 6165 | | } |
| | 6166 | | } |
| | 6167 | | #endif |
| | 6168 | |
|
| | 6169 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6170 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6171 | | public int CalculateSize() { |
| | 6172 | | int size = 0; |
| | 6173 | | if (Id.Length != 0) { |
| | 6174 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 6175 | | } |
| | 6176 | | if (_unknownFields != null) { |
| | 6177 | | size += _unknownFields.CalculateSize(); |
| | 6178 | | } |
| | 6179 | | return size; |
| | 6180 | | } |
| | 6181 | |
|
| | 6182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6183 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6184 | | public void MergeFrom(PB_ComponentDisposed other) { |
| | 6185 | | if (other == null) { |
| | 6186 | | return; |
| | 6187 | | } |
| | 6188 | | if (other.Id.Length != 0) { |
| | 6189 | | Id = other.Id; |
| | 6190 | | } |
| | 6191 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 6192 | | } |
| | 6193 | |
|
| | 6194 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6195 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6196 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 6197 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6198 | | input.ReadRawMessage(this); |
| | 6199 | | #else |
| | 6200 | | uint tag; |
| | 6201 | | while ((tag = input.ReadTag()) != 0) { |
| | 6202 | | switch(tag) { |
| | 6203 | | default: |
| | 6204 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6205 | | break; |
| | 6206 | | case 10: { |
| | 6207 | | Id = input.ReadString(); |
| | 6208 | | break; |
| | 6209 | | } |
| | 6210 | | } |
| | 6211 | | } |
| | 6212 | | #endif |
| | 6213 | | } |
| | 6214 | |
|
| | 6215 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6218 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6219 | | uint tag; |
| | 6220 | | while ((tag = input.ReadTag()) != 0) { |
| | 6221 | | switch(tag) { |
| | 6222 | | default: |
| | 6223 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6224 | | break; |
| | 6225 | | case 10: { |
| | 6226 | | Id = input.ReadString(); |
| | 6227 | | break; |
| | 6228 | | } |
| | 6229 | | } |
| | 6230 | | } |
| | 6231 | | } |
| | 6232 | | #endif |
| | 6233 | |
|
| | 6234 | | } |
| | 6235 | |
|
| | 6236 | | public sealed partial class PB_ComponentUpdated : pb::IMessage<PB_ComponentUpdated> |
| | 6237 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6238 | | , pb::IBufferMessage |
| | 6239 | | #endif |
| | 6240 | | { |
| | 6241 | | private static readonly pb::MessageParser<PB_ComponentUpdated> _parser = new pb::MessageParser<PB_ComponentUpdated>( |
| | 6242 | | private pb::UnknownFieldSet _unknownFields; |
| | 6243 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6244 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6245 | | public static pb::MessageParser<PB_ComponentUpdated> Parser { get { return _parser; } } |
| | 6246 | |
|
| | 6247 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6248 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6249 | | public static pbr::MessageDescriptor Descriptor { |
| | 6250 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[15]; } |
| | 6251 | | } |
| | 6252 | |
|
| | 6253 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6254 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6255 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6256 | | get { return Descriptor; } |
| | 6257 | | } |
| | 6258 | |
|
| | 6259 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6260 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6261 | | public PB_ComponentUpdated() { |
| | 6262 | | OnConstruction(); |
| | 6263 | | } |
| | 6264 | |
|
| | 6265 | | partial void OnConstruction(); |
| | 6266 | |
|
| | 6267 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6268 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6269 | | public PB_ComponentUpdated(PB_ComponentUpdated other) : this() { |
| | 6270 | | id_ = other.id_; |
| | 6271 | | json_ = other.json_; |
| | 6272 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6273 | | } |
| | 6274 | |
|
| | 6275 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6276 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6277 | | public PB_ComponentUpdated Clone() { |
| | 6278 | | return new PB_ComponentUpdated(this); |
| | 6279 | | } |
| | 6280 | |
|
| | 6281 | | /// <summary>Field number for the "id" field.</summary> |
| | 6282 | | public const int IdFieldNumber = 1; |
| | 6283 | | private string id_ = ""; |
| | 6284 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6285 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6286 | | public string Id { |
| | 6287 | | get { return id_; } |
| | 6288 | | set { |
| | 6289 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 6290 | | } |
| | 6291 | | } |
| | 6292 | |
|
| | 6293 | | /// <summary>Field number for the "json" field.</summary> |
| | 6294 | | public const int JsonFieldNumber = 2; |
| | 6295 | | private string json_ = ""; |
| | 6296 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6297 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6298 | | public string Json { |
| | 6299 | | get { return json_; } |
| | 6300 | | set { |
| | 6301 | | json_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 6302 | | } |
| | 6303 | | } |
| | 6304 | |
|
| | 6305 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6306 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6307 | | public override bool Equals(object other) { |
| | 6308 | | return Equals(other as PB_ComponentUpdated); |
| | 6309 | | } |
| | 6310 | |
|
| | 6311 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6312 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6313 | | public bool Equals(PB_ComponentUpdated other) { |
| | 6314 | | if (ReferenceEquals(other, null)) { |
| | 6315 | | return false; |
| | 6316 | | } |
| | 6317 | | if (ReferenceEquals(other, this)) { |
| | 6318 | | return true; |
| | 6319 | | } |
| | 6320 | | if (Id != other.Id) return false; |
| | 6321 | | if (Json != other.Json) return false; |
| | 6322 | | return Equals(_unknownFields, other._unknownFields); |
| | 6323 | | } |
| | 6324 | |
|
| | 6325 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6326 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6327 | | public override int GetHashCode() { |
| | 6328 | | int hash = 1; |
| | 6329 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 6330 | | if (Json.Length != 0) hash ^= Json.GetHashCode(); |
| | 6331 | | if (_unknownFields != null) { |
| | 6332 | | hash ^= _unknownFields.GetHashCode(); |
| | 6333 | | } |
| | 6334 | | return hash; |
| | 6335 | | } |
| | 6336 | |
|
| | 6337 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6338 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6339 | | public override string ToString() { |
| | 6340 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6341 | | } |
| | 6342 | |
|
| | 6343 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6344 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6345 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6346 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6347 | | output.WriteRawMessage(this); |
| | 6348 | | #else |
| | 6349 | | if (Id.Length != 0) { |
| | 6350 | | output.WriteRawTag(10); |
| | 6351 | | output.WriteString(Id); |
| | 6352 | | } |
| | 6353 | | if (Json.Length != 0) { |
| | 6354 | | output.WriteRawTag(18); |
| | 6355 | | output.WriteString(Json); |
| | 6356 | | } |
| | 6357 | | if (_unknownFields != null) { |
| | 6358 | | _unknownFields.WriteTo(output); |
| | 6359 | | } |
| | 6360 | | #endif |
| | 6361 | | } |
| | 6362 | |
|
| | 6363 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6364 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6365 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6366 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 6367 | | if (Id.Length != 0) { |
| | 6368 | | output.WriteRawTag(10); |
| | 6369 | | output.WriteString(Id); |
| | 6370 | | } |
| | 6371 | | if (Json.Length != 0) { |
| | 6372 | | output.WriteRawTag(18); |
| | 6373 | | output.WriteString(Json); |
| | 6374 | | } |
| | 6375 | | if (_unknownFields != null) { |
| | 6376 | | _unknownFields.WriteTo(ref output); |
| | 6377 | | } |
| | 6378 | | } |
| | 6379 | | #endif |
| | 6380 | |
|
| | 6381 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6382 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6383 | | public int CalculateSize() { |
| | 6384 | | int size = 0; |
| | 6385 | | if (Id.Length != 0) { |
| | 6386 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 6387 | | } |
| | 6388 | | if (Json.Length != 0) { |
| | 6389 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Json); |
| | 6390 | | } |
| | 6391 | | if (_unknownFields != null) { |
| | 6392 | | size += _unknownFields.CalculateSize(); |
| | 6393 | | } |
| | 6394 | | return size; |
| | 6395 | | } |
| | 6396 | |
|
| | 6397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6399 | | public void MergeFrom(PB_ComponentUpdated other) { |
| | 6400 | | if (other == null) { |
| | 6401 | | return; |
| | 6402 | | } |
| | 6403 | | if (other.Id.Length != 0) { |
| | 6404 | | Id = other.Id; |
| | 6405 | | } |
| | 6406 | | if (other.Json.Length != 0) { |
| | 6407 | | Json = other.Json; |
| | 6408 | | } |
| | 6409 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 6410 | | } |
| | 6411 | |
|
| | 6412 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6413 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6414 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 6415 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6416 | | input.ReadRawMessage(this); |
| | 6417 | | #else |
| | 6418 | | uint tag; |
| | 6419 | | while ((tag = input.ReadTag()) != 0) { |
| | 6420 | | switch(tag) { |
| | 6421 | | default: |
| | 6422 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6423 | | break; |
| | 6424 | | case 10: { |
| | 6425 | | Id = input.ReadString(); |
| | 6426 | | break; |
| | 6427 | | } |
| | 6428 | | case 18: { |
| | 6429 | | Json = input.ReadString(); |
| | 6430 | | break; |
| | 6431 | | } |
| | 6432 | | } |
| | 6433 | | } |
| | 6434 | | #endif |
| | 6435 | | } |
| | 6436 | |
|
| | 6437 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6438 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6439 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6440 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6441 | | uint tag; |
| | 6442 | | while ((tag = input.ReadTag()) != 0) { |
| | 6443 | | switch(tag) { |
| | 6444 | | default: |
| | 6445 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6446 | | break; |
| | 6447 | | case 10: { |
| | 6448 | | Id = input.ReadString(); |
| | 6449 | | break; |
| | 6450 | | } |
| | 6451 | | case 18: { |
| | 6452 | | Json = input.ReadString(); |
| | 6453 | | break; |
| | 6454 | | } |
| | 6455 | | } |
| | 6456 | | } |
| | 6457 | | } |
| | 6458 | | #endif |
| | 6459 | |
|
| | 6460 | | } |
| | 6461 | |
|
| | 6462 | | public sealed partial class PB_Ray : pb::IMessage<PB_Ray> |
| | 6463 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6464 | | , pb::IBufferMessage |
| | 6465 | | #endif |
| | 6466 | | { |
| | 6467 | | private static readonly pb::MessageParser<PB_Ray> _parser = new pb::MessageParser<PB_Ray>(() => new PB_Ray()); |
| | 6468 | | private pb::UnknownFieldSet _unknownFields; |
| | 6469 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6470 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6471 | | public static pb::MessageParser<PB_Ray> Parser { get { return _parser; } } |
| | 6472 | |
|
| | 6473 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6474 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6475 | | public static pbr::MessageDescriptor Descriptor { |
| | 6476 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[16]; } |
| | 6477 | | } |
| | 6478 | |
|
| | 6479 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6480 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6481 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6482 | | get { return Descriptor; } |
| | 6483 | | } |
| | 6484 | |
|
| | 6485 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6486 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6487 | | public PB_Ray() { |
| | 6488 | | OnConstruction(); |
| | 6489 | | } |
| | 6490 | |
|
| | 6491 | | partial void OnConstruction(); |
| | 6492 | |
|
| | 6493 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6494 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6495 | | public PB_Ray(PB_Ray other) : this() { |
| | 6496 | | origin_ = other.origin_ != null ? other.origin_.Clone() : null; |
| | 6497 | | direction_ = other.direction_ != null ? other.direction_.Clone() : null; |
| | 6498 | | distance_ = other.distance_; |
| | 6499 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6500 | | } |
| | 6501 | |
|
| | 6502 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6503 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6504 | | public PB_Ray Clone() { |
| | 6505 | | return new PB_Ray(this); |
| | 6506 | | } |
| | 6507 | |
|
| | 6508 | | /// <summary>Field number for the "origin" field.</summary> |
| | 6509 | | public const int OriginFieldNumber = 1; |
| | 6510 | | private global::DCL.Interface.PB_Vector3 origin_; |
| | 6511 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6512 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6513 | | public global::DCL.Interface.PB_Vector3 Origin { |
| | 6514 | | get { return origin_; } |
| | 6515 | | set { |
| | 6516 | | origin_ = value; |
| | 6517 | | } |
| | 6518 | | } |
| | 6519 | |
|
| | 6520 | | /// <summary>Field number for the "direction" field.</summary> |
| | 6521 | | public const int DirectionFieldNumber = 2; |
| | 6522 | | private global::DCL.Interface.PB_Vector3 direction_; |
| | 6523 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6524 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6525 | | public global::DCL.Interface.PB_Vector3 Direction { |
| | 6526 | | get { return direction_; } |
| | 6527 | | set { |
| | 6528 | | direction_ = value; |
| | 6529 | | } |
| | 6530 | | } |
| | 6531 | |
|
| | 6532 | | /// <summary>Field number for the "distance" field.</summary> |
| | 6533 | | public const int DistanceFieldNumber = 3; |
| | 6534 | | private float distance_; |
| | 6535 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6536 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6537 | | public float Distance { |
| | 6538 | | get { return distance_; } |
| | 6539 | | set { |
| | 6540 | | distance_ = value; |
| | 6541 | | } |
| | 6542 | | } |
| | 6543 | |
|
| | 6544 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6545 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6546 | | public override bool Equals(object other) { |
| | 6547 | | return Equals(other as PB_Ray); |
| | 6548 | | } |
| | 6549 | |
|
| | 6550 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6551 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6552 | | public bool Equals(PB_Ray other) { |
| | 6553 | | if (ReferenceEquals(other, null)) { |
| | 6554 | | return false; |
| | 6555 | | } |
| | 6556 | | if (ReferenceEquals(other, this)) { |
| | 6557 | | return true; |
| | 6558 | | } |
| | 6559 | | if (!object.Equals(Origin, other.Origin)) return false; |
| | 6560 | | if (!object.Equals(Direction, other.Direction)) return false; |
| | 6561 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Distance, other.Distance)) return false; |
| | 6562 | | return Equals(_unknownFields, other._unknownFields); |
| | 6563 | | } |
| | 6564 | |
|
| | 6565 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6566 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6567 | | public override int GetHashCode() { |
| | 6568 | | int hash = 1; |
| | 6569 | | if (origin_ != null) hash ^= Origin.GetHashCode(); |
| | 6570 | | if (direction_ != null) hash ^= Direction.GetHashCode(); |
| | 6571 | | if (Distance != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Distance); |
| | 6572 | | if (_unknownFields != null) { |
| | 6573 | | hash ^= _unknownFields.GetHashCode(); |
| | 6574 | | } |
| | 6575 | | return hash; |
| | 6576 | | } |
| | 6577 | |
|
| | 6578 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6579 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6580 | | public override string ToString() { |
| | 6581 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6582 | | } |
| | 6583 | |
|
| | 6584 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6585 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6586 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6587 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6588 | | output.WriteRawMessage(this); |
| | 6589 | | #else |
| | 6590 | | if (origin_ != null) { |
| | 6591 | | output.WriteRawTag(10); |
| | 6592 | | output.WriteMessage(Origin); |
| | 6593 | | } |
| | 6594 | | if (direction_ != null) { |
| | 6595 | | output.WriteRawTag(18); |
| | 6596 | | output.WriteMessage(Direction); |
| | 6597 | | } |
| | 6598 | | if (Distance != 0F) { |
| | 6599 | | output.WriteRawTag(29); |
| | 6600 | | output.WriteFloat(Distance); |
| | 6601 | | } |
| | 6602 | | if (_unknownFields != null) { |
| | 6603 | | _unknownFields.WriteTo(output); |
| | 6604 | | } |
| | 6605 | | #endif |
| | 6606 | | } |
| | 6607 | |
|
| | 6608 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6609 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6610 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6611 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 6612 | | if (origin_ != null) { |
| | 6613 | | output.WriteRawTag(10); |
| | 6614 | | output.WriteMessage(Origin); |
| | 6615 | | } |
| | 6616 | | if (direction_ != null) { |
| | 6617 | | output.WriteRawTag(18); |
| | 6618 | | output.WriteMessage(Direction); |
| | 6619 | | } |
| | 6620 | | if (Distance != 0F) { |
| | 6621 | | output.WriteRawTag(29); |
| | 6622 | | output.WriteFloat(Distance); |
| | 6623 | | } |
| | 6624 | | if (_unknownFields != null) { |
| | 6625 | | _unknownFields.WriteTo(ref output); |
| | 6626 | | } |
| | 6627 | | } |
| | 6628 | | #endif |
| | 6629 | |
|
| | 6630 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6631 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6632 | | public int CalculateSize() { |
| | 6633 | | int size = 0; |
| | 6634 | | if (origin_ != null) { |
| | 6635 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Origin); |
| | 6636 | | } |
| | 6637 | | if (direction_ != null) { |
| | 6638 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Direction); |
| | 6639 | | } |
| | 6640 | | if (Distance != 0F) { |
| | 6641 | | size += 1 + 4; |
| | 6642 | | } |
| | 6643 | | if (_unknownFields != null) { |
| | 6644 | | size += _unknownFields.CalculateSize(); |
| | 6645 | | } |
| | 6646 | | return size; |
| | 6647 | | } |
| | 6648 | |
|
| | 6649 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6650 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6651 | | public void MergeFrom(PB_Ray other) { |
| | 6652 | | if (other == null) { |
| | 6653 | | return; |
| | 6654 | | } |
| | 6655 | | if (other.origin_ != null) { |
| | 6656 | | if (origin_ == null) { |
| | 6657 | | Origin = new global::DCL.Interface.PB_Vector3(); |
| | 6658 | | } |
| | 6659 | | Origin.MergeFrom(other.Origin); |
| | 6660 | | } |
| | 6661 | | if (other.direction_ != null) { |
| | 6662 | | if (direction_ == null) { |
| | 6663 | | Direction = new global::DCL.Interface.PB_Vector3(); |
| | 6664 | | } |
| | 6665 | | Direction.MergeFrom(other.Direction); |
| | 6666 | | } |
| | 6667 | | if (other.Distance != 0F) { |
| | 6668 | | Distance = other.Distance; |
| | 6669 | | } |
| | 6670 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 6671 | | } |
| | 6672 | |
|
| | 6673 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6674 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6675 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 6676 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6677 | | input.ReadRawMessage(this); |
| | 6678 | | #else |
| | 6679 | | uint tag; |
| | 6680 | | while ((tag = input.ReadTag()) != 0) { |
| | 6681 | | switch(tag) { |
| | 6682 | | default: |
| | 6683 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6684 | | break; |
| | 6685 | | case 10: { |
| | 6686 | | if (origin_ == null) { |
| | 6687 | | Origin = new global::DCL.Interface.PB_Vector3(); |
| | 6688 | | } |
| | 6689 | | input.ReadMessage(Origin); |
| | 6690 | | break; |
| | 6691 | | } |
| | 6692 | | case 18: { |
| | 6693 | | if (direction_ == null) { |
| | 6694 | | Direction = new global::DCL.Interface.PB_Vector3(); |
| | 6695 | | } |
| | 6696 | | input.ReadMessage(Direction); |
| | 6697 | | break; |
| | 6698 | | } |
| | 6699 | | case 29: { |
| | 6700 | | Distance = input.ReadFloat(); |
| | 6701 | | break; |
| | 6702 | | } |
| | 6703 | | } |
| | 6704 | | } |
| | 6705 | | #endif |
| | 6706 | | } |
| | 6707 | |
|
| | 6708 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6709 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6710 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6711 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6712 | | uint tag; |
| | 6713 | | while ((tag = input.ReadTag()) != 0) { |
| | 6714 | | switch(tag) { |
| | 6715 | | default: |
| | 6716 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6717 | | break; |
| | 6718 | | case 10: { |
| | 6719 | | if (origin_ == null) { |
| | 6720 | | Origin = new global::DCL.Interface.PB_Vector3(); |
| | 6721 | | } |
| | 6722 | | input.ReadMessage(Origin); |
| | 6723 | | break; |
| | 6724 | | } |
| | 6725 | | case 18: { |
| | 6726 | | if (direction_ == null) { |
| | 6727 | | Direction = new global::DCL.Interface.PB_Vector3(); |
| | 6728 | | } |
| | 6729 | | input.ReadMessage(Direction); |
| | 6730 | | break; |
| | 6731 | | } |
| | 6732 | | case 29: { |
| | 6733 | | Distance = input.ReadFloat(); |
| | 6734 | | break; |
| | 6735 | | } |
| | 6736 | | } |
| | 6737 | | } |
| | 6738 | | } |
| | 6739 | | #endif |
| | 6740 | |
|
| | 6741 | | } |
| | 6742 | |
|
| | 6743 | | public sealed partial class PB_RayQuery : pb::IMessage<PB_RayQuery> |
| | 6744 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6745 | | , pb::IBufferMessage |
| | 6746 | | #endif |
| | 6747 | | { |
| | 6748 | | private static readonly pb::MessageParser<PB_RayQuery> _parser = new pb::MessageParser<PB_RayQuery>(() => new PB_Ray |
| | 6749 | | private pb::UnknownFieldSet _unknownFields; |
| | 6750 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6751 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6752 | | public static pb::MessageParser<PB_RayQuery> Parser { get { return _parser; } } |
| | 6753 | |
|
| | 6754 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6755 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6756 | | public static pbr::MessageDescriptor Descriptor { |
| | 6757 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[17]; } |
| | 6758 | | } |
| | 6759 | |
|
| | 6760 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6761 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6762 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 6763 | | get { return Descriptor; } |
| | 6764 | | } |
| | 6765 | |
|
| | 6766 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6767 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6768 | | public PB_RayQuery() { |
| | 6769 | | OnConstruction(); |
| | 6770 | | } |
| | 6771 | |
|
| | 6772 | | partial void OnConstruction(); |
| | 6773 | |
|
| | 6774 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6775 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6776 | | public PB_RayQuery(PB_RayQuery other) : this() { |
| | 6777 | | queryId_ = other.queryId_; |
| | 6778 | | queryType_ = other.queryType_; |
| | 6779 | | ray_ = other.ray_ != null ? other.ray_.Clone() : null; |
| | 6780 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 6781 | | } |
| | 6782 | |
|
| | 6783 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6784 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6785 | | public PB_RayQuery Clone() { |
| | 6786 | | return new PB_RayQuery(this); |
| | 6787 | | } |
| | 6788 | |
|
| | 6789 | | /// <summary>Field number for the "queryId" field.</summary> |
| | 6790 | | public const int QueryIdFieldNumber = 1; |
| | 6791 | | private string queryId_ = ""; |
| | 6792 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6793 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6794 | | public string QueryId { |
| | 6795 | | get { return queryId_; } |
| | 6796 | | set { |
| | 6797 | | queryId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 6798 | | } |
| | 6799 | | } |
| | 6800 | |
|
| | 6801 | | /// <summary>Field number for the "queryType" field.</summary> |
| | 6802 | | public const int QueryTypeFieldNumber = 2; |
| | 6803 | | private string queryType_ = ""; |
| | 6804 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6805 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6806 | | public string QueryType { |
| | 6807 | | get { return queryType_; } |
| | 6808 | | set { |
| | 6809 | | queryType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 6810 | | } |
| | 6811 | | } |
| | 6812 | |
|
| | 6813 | | /// <summary>Field number for the "ray" field.</summary> |
| | 6814 | | public const int RayFieldNumber = 3; |
| | 6815 | | private global::DCL.Interface.PB_Ray ray_; |
| | 6816 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6817 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6818 | | public global::DCL.Interface.PB_Ray Ray { |
| | 6819 | | get { return ray_; } |
| | 6820 | | set { |
| | 6821 | | ray_ = value; |
| | 6822 | | } |
| | 6823 | | } |
| | 6824 | |
|
| | 6825 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6826 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6827 | | public override bool Equals(object other) { |
| | 6828 | | return Equals(other as PB_RayQuery); |
| | 6829 | | } |
| | 6830 | |
|
| | 6831 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6832 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6833 | | public bool Equals(PB_RayQuery other) { |
| | 6834 | | if (ReferenceEquals(other, null)) { |
| | 6835 | | return false; |
| | 6836 | | } |
| | 6837 | | if (ReferenceEquals(other, this)) { |
| | 6838 | | return true; |
| | 6839 | | } |
| | 6840 | | if (QueryId != other.QueryId) return false; |
| | 6841 | | if (QueryType != other.QueryType) return false; |
| | 6842 | | if (!object.Equals(Ray, other.Ray)) return false; |
| | 6843 | | return Equals(_unknownFields, other._unknownFields); |
| | 6844 | | } |
| | 6845 | |
|
| | 6846 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6847 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6848 | | public override int GetHashCode() { |
| | 6849 | | int hash = 1; |
| | 6850 | | if (QueryId.Length != 0) hash ^= QueryId.GetHashCode(); |
| | 6851 | | if (QueryType.Length != 0) hash ^= QueryType.GetHashCode(); |
| | 6852 | | if (ray_ != null) hash ^= Ray.GetHashCode(); |
| | 6853 | | if (_unknownFields != null) { |
| | 6854 | | hash ^= _unknownFields.GetHashCode(); |
| | 6855 | | } |
| | 6856 | | return hash; |
| | 6857 | | } |
| | 6858 | |
|
| | 6859 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6860 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6861 | | public override string ToString() { |
| | 6862 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 6863 | | } |
| | 6864 | |
|
| | 6865 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6866 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6867 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 6868 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6869 | | output.WriteRawMessage(this); |
| | 6870 | | #else |
| | 6871 | | if (QueryId.Length != 0) { |
| | 6872 | | output.WriteRawTag(10); |
| | 6873 | | output.WriteString(QueryId); |
| | 6874 | | } |
| | 6875 | | if (QueryType.Length != 0) { |
| | 6876 | | output.WriteRawTag(18); |
| | 6877 | | output.WriteString(QueryType); |
| | 6878 | | } |
| | 6879 | | if (ray_ != null) { |
| | 6880 | | output.WriteRawTag(26); |
| | 6881 | | output.WriteMessage(Ray); |
| | 6882 | | } |
| | 6883 | | if (_unknownFields != null) { |
| | 6884 | | _unknownFields.WriteTo(output); |
| | 6885 | | } |
| | 6886 | | #endif |
| | 6887 | | } |
| | 6888 | |
|
| | 6889 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6890 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6891 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6892 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 6893 | | if (QueryId.Length != 0) { |
| | 6894 | | output.WriteRawTag(10); |
| | 6895 | | output.WriteString(QueryId); |
| | 6896 | | } |
| | 6897 | | if (QueryType.Length != 0) { |
| | 6898 | | output.WriteRawTag(18); |
| | 6899 | | output.WriteString(QueryType); |
| | 6900 | | } |
| | 6901 | | if (ray_ != null) { |
| | 6902 | | output.WriteRawTag(26); |
| | 6903 | | output.WriteMessage(Ray); |
| | 6904 | | } |
| | 6905 | | if (_unknownFields != null) { |
| | 6906 | | _unknownFields.WriteTo(ref output); |
| | 6907 | | } |
| | 6908 | | } |
| | 6909 | | #endif |
| | 6910 | |
|
| | 6911 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6912 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6913 | | public int CalculateSize() { |
| | 6914 | | int size = 0; |
| | 6915 | | if (QueryId.Length != 0) { |
| | 6916 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryId); |
| | 6917 | | } |
| | 6918 | | if (QueryType.Length != 0) { |
| | 6919 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryType); |
| | 6920 | | } |
| | 6921 | | if (ray_ != null) { |
| | 6922 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Ray); |
| | 6923 | | } |
| | 6924 | | if (_unknownFields != null) { |
| | 6925 | | size += _unknownFields.CalculateSize(); |
| | 6926 | | } |
| | 6927 | | return size; |
| | 6928 | | } |
| | 6929 | |
|
| | 6930 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6931 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6932 | | public void MergeFrom(PB_RayQuery other) { |
| | 6933 | | if (other == null) { |
| | 6934 | | return; |
| | 6935 | | } |
| | 6936 | | if (other.QueryId.Length != 0) { |
| | 6937 | | QueryId = other.QueryId; |
| | 6938 | | } |
| | 6939 | | if (other.QueryType.Length != 0) { |
| | 6940 | | QueryType = other.QueryType; |
| | 6941 | | } |
| | 6942 | | if (other.ray_ != null) { |
| | 6943 | | if (ray_ == null) { |
| | 6944 | | Ray = new global::DCL.Interface.PB_Ray(); |
| | 6945 | | } |
| | 6946 | | Ray.MergeFrom(other.Ray); |
| | 6947 | | } |
| | 6948 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 6949 | | } |
| | 6950 | |
|
| | 6951 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6952 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6953 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 6954 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6955 | | input.ReadRawMessage(this); |
| | 6956 | | #else |
| | 6957 | | uint tag; |
| | 6958 | | while ((tag = input.ReadTag()) != 0) { |
| | 6959 | | switch(tag) { |
| | 6960 | | default: |
| | 6961 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 6962 | | break; |
| | 6963 | | case 10: { |
| | 6964 | | QueryId = input.ReadString(); |
| | 6965 | | break; |
| | 6966 | | } |
| | 6967 | | case 18: { |
| | 6968 | | QueryType = input.ReadString(); |
| | 6969 | | break; |
| | 6970 | | } |
| | 6971 | | case 26: { |
| | 6972 | | if (ray_ == null) { |
| | 6973 | | Ray = new global::DCL.Interface.PB_Ray(); |
| | 6974 | | } |
| | 6975 | | input.ReadMessage(Ray); |
| | 6976 | | break; |
| | 6977 | | } |
| | 6978 | | } |
| | 6979 | | } |
| | 6980 | | #endif |
| | 6981 | | } |
| | 6982 | |
|
| | 6983 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 6984 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 6985 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 6986 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 6987 | | uint tag; |
| | 6988 | | while ((tag = input.ReadTag()) != 0) { |
| | 6989 | | switch(tag) { |
| | 6990 | | default: |
| | 6991 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 6992 | | break; |
| | 6993 | | case 10: { |
| | 6994 | | QueryId = input.ReadString(); |
| | 6995 | | break; |
| | 6996 | | } |
| | 6997 | | case 18: { |
| | 6998 | | QueryType = input.ReadString(); |
| | 6999 | | break; |
| | 7000 | | } |
| | 7001 | | case 26: { |
| | 7002 | | if (ray_ == null) { |
| | 7003 | | Ray = new global::DCL.Interface.PB_Ray(); |
| | 7004 | | } |
| | 7005 | | input.ReadMessage(Ray); |
| | 7006 | | break; |
| | 7007 | | } |
| | 7008 | | } |
| | 7009 | | } |
| | 7010 | | } |
| | 7011 | | #endif |
| | 7012 | |
|
| | 7013 | | } |
| | 7014 | |
|
| | 7015 | | public sealed partial class PB_Query : pb::IMessage<PB_Query> |
| | 7016 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7017 | | , pb::IBufferMessage |
| | 7018 | | #endif |
| | 7019 | | { |
| | 7020 | | private static readonly pb::MessageParser<PB_Query> _parser = new pb::MessageParser<PB_Query>(() => new PB_Query()); |
| | 7021 | | private pb::UnknownFieldSet _unknownFields; |
| | 7022 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7023 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7024 | | public static pb::MessageParser<PB_Query> Parser { get { return _parser; } } |
| | 7025 | |
|
| | 7026 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7027 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7028 | | public static pbr::MessageDescriptor Descriptor { |
| | 7029 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[18]; } |
| | 7030 | | } |
| | 7031 | |
|
| | 7032 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7033 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7034 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 7035 | | get { return Descriptor; } |
| | 7036 | | } |
| | 7037 | |
|
| | 7038 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7039 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7040 | | public PB_Query() { |
| | 7041 | | OnConstruction(); |
| | 7042 | | } |
| | 7043 | |
|
| | 7044 | | partial void OnConstruction(); |
| | 7045 | |
|
| | 7046 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7047 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7048 | | public PB_Query(PB_Query other) : this() { |
| | 7049 | | queryId_ = other.queryId_; |
| | 7050 | | payload_ = other.payload_; |
| | 7051 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 7052 | | } |
| | 7053 | |
|
| | 7054 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7055 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7056 | | public PB_Query Clone() { |
| | 7057 | | return new PB_Query(this); |
| | 7058 | | } |
| | 7059 | |
|
| | 7060 | | /// <summary>Field number for the "queryId" field.</summary> |
| | 7061 | | public const int QueryIdFieldNumber = 1; |
| | 7062 | | private string queryId_ = ""; |
| | 7063 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7064 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7065 | | public string QueryId { |
| | 7066 | | get { return queryId_; } |
| | 7067 | | set { |
| | 7068 | | queryId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 7069 | | } |
| | 7070 | | } |
| | 7071 | |
|
| | 7072 | | /// <summary>Field number for the "payload" field.</summary> |
| | 7073 | | public const int PayloadFieldNumber = 2; |
| | 7074 | | private string payload_ = ""; |
| | 7075 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7076 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7077 | | public string Payload { |
| | 7078 | | get { return payload_; } |
| | 7079 | | set { |
| | 7080 | | payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 7081 | | } |
| | 7082 | | } |
| | 7083 | |
|
| | 7084 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7085 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7086 | | public override bool Equals(object other) { |
| | 7087 | | return Equals(other as PB_Query); |
| | 7088 | | } |
| | 7089 | |
|
| | 7090 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7091 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7092 | | public bool Equals(PB_Query other) { |
| | 7093 | | if (ReferenceEquals(other, null)) { |
| | 7094 | | return false; |
| | 7095 | | } |
| | 7096 | | if (ReferenceEquals(other, this)) { |
| | 7097 | | return true; |
| | 7098 | | } |
| | 7099 | | if (QueryId != other.QueryId) return false; |
| | 7100 | | if (Payload != other.Payload) return false; |
| | 7101 | | return Equals(_unknownFields, other._unknownFields); |
| | 7102 | | } |
| | 7103 | |
|
| | 7104 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7105 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7106 | | public override int GetHashCode() { |
| | 7107 | | int hash = 1; |
| | 7108 | | if (QueryId.Length != 0) hash ^= QueryId.GetHashCode(); |
| | 7109 | | if (Payload.Length != 0) hash ^= Payload.GetHashCode(); |
| | 7110 | | if (_unknownFields != null) { |
| | 7111 | | hash ^= _unknownFields.GetHashCode(); |
| | 7112 | | } |
| | 7113 | | return hash; |
| | 7114 | | } |
| | 7115 | |
|
| | 7116 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7117 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7118 | | public override string ToString() { |
| | 7119 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 7120 | | } |
| | 7121 | |
|
| | 7122 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7123 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7124 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 7125 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7126 | | output.WriteRawMessage(this); |
| | 7127 | | #else |
| | 7128 | | if (QueryId.Length != 0) { |
| | 7129 | | output.WriteRawTag(10); |
| | 7130 | | output.WriteString(QueryId); |
| | 7131 | | } |
| | 7132 | | if (Payload.Length != 0) { |
| | 7133 | | output.WriteRawTag(18); |
| | 7134 | | output.WriteString(Payload); |
| | 7135 | | } |
| | 7136 | | if (_unknownFields != null) { |
| | 7137 | | _unknownFields.WriteTo(output); |
| | 7138 | | } |
| | 7139 | | #endif |
| | 7140 | | } |
| | 7141 | |
|
| | 7142 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7143 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7144 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7145 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 7146 | | if (QueryId.Length != 0) { |
| | 7147 | | output.WriteRawTag(10); |
| | 7148 | | output.WriteString(QueryId); |
| | 7149 | | } |
| | 7150 | | if (Payload.Length != 0) { |
| | 7151 | | output.WriteRawTag(18); |
| | 7152 | | output.WriteString(Payload); |
| | 7153 | | } |
| | 7154 | | if (_unknownFields != null) { |
| | 7155 | | _unknownFields.WriteTo(ref output); |
| | 7156 | | } |
| | 7157 | | } |
| | 7158 | | #endif |
| | 7159 | |
|
| | 7160 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7161 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7162 | | public int CalculateSize() { |
| | 7163 | | int size = 0; |
| | 7164 | | if (QueryId.Length != 0) { |
| | 7165 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(QueryId); |
| | 7166 | | } |
| | 7167 | | if (Payload.Length != 0) { |
| | 7168 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Payload); |
| | 7169 | | } |
| | 7170 | | if (_unknownFields != null) { |
| | 7171 | | size += _unknownFields.CalculateSize(); |
| | 7172 | | } |
| | 7173 | | return size; |
| | 7174 | | } |
| | 7175 | |
|
| | 7176 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7177 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7178 | | public void MergeFrom(PB_Query other) { |
| | 7179 | | if (other == null) { |
| | 7180 | | return; |
| | 7181 | | } |
| | 7182 | | if (other.QueryId.Length != 0) { |
| | 7183 | | QueryId = other.QueryId; |
| | 7184 | | } |
| | 7185 | | if (other.Payload.Length != 0) { |
| | 7186 | | Payload = other.Payload; |
| | 7187 | | } |
| | 7188 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 7189 | | } |
| | 7190 | |
|
| | 7191 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7192 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7193 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 7194 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7195 | | input.ReadRawMessage(this); |
| | 7196 | | #else |
| | 7197 | | uint tag; |
| | 7198 | | while ((tag = input.ReadTag()) != 0) { |
| | 7199 | | switch(tag) { |
| | 7200 | | default: |
| | 7201 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 7202 | | break; |
| | 7203 | | case 10: { |
| | 7204 | | QueryId = input.ReadString(); |
| | 7205 | | break; |
| | 7206 | | } |
| | 7207 | | case 18: { |
| | 7208 | | Payload = input.ReadString(); |
| | 7209 | | break; |
| | 7210 | | } |
| | 7211 | | } |
| | 7212 | | } |
| | 7213 | | #endif |
| | 7214 | | } |
| | 7215 | |
|
| | 7216 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7217 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7218 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7219 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 7220 | | uint tag; |
| | 7221 | | while ((tag = input.ReadTag()) != 0) { |
| | 7222 | | switch(tag) { |
| | 7223 | | default: |
| | 7224 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 7225 | | break; |
| | 7226 | | case 10: { |
| | 7227 | | QueryId = input.ReadString(); |
| | 7228 | | break; |
| | 7229 | | } |
| | 7230 | | case 18: { |
| | 7231 | | Payload = input.ReadString(); |
| | 7232 | | break; |
| | 7233 | | } |
| | 7234 | | } |
| | 7235 | | } |
| | 7236 | | } |
| | 7237 | | #endif |
| | 7238 | |
|
| | 7239 | | } |
| | 7240 | |
|
| | 7241 | | public sealed partial class PB_SendSceneMessage : pb::IMessage<PB_SendSceneMessage> |
| | 7242 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7243 | | , pb::IBufferMessage |
| | 7244 | | #endif |
| | 7245 | | { |
| | 7246 | | private static readonly pb::MessageParser<PB_SendSceneMessage> _parser = new pb::MessageParser<PB_SendSceneMessage>( |
| | 7247 | | private pb::UnknownFieldSet _unknownFields; |
| | 7248 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7249 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7250 | | public static pb::MessageParser<PB_SendSceneMessage> Parser { get { return _parser; } } |
| | 7251 | |
|
| | 7252 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7253 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7254 | | public static pbr::MessageDescriptor Descriptor { |
| | 7255 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[19]; } |
| | 7256 | | } |
| | 7257 | |
|
| | 7258 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7259 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7260 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 7261 | | get { return Descriptor; } |
| | 7262 | | } |
| | 7263 | |
|
| | 7264 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7265 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7266 | | public PB_SendSceneMessage() { |
| | 7267 | | OnConstruction(); |
| | 7268 | | } |
| | 7269 | |
|
| | 7270 | | partial void OnConstruction(); |
| | 7271 | |
|
| | 7272 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7273 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7274 | | public PB_SendSceneMessage(PB_SendSceneMessage other) : this() { |
| | 7275 | | sceneId_ = other.sceneId_; |
| | 7276 | | tag_ = other.tag_; |
| | 7277 | | sceneNumber_ = other.sceneNumber_; |
| | 7278 | | switch (other.PayloadCase) { |
| | 7279 | | case PayloadOneofCase.CreateEntity: |
| | 7280 | | CreateEntity = other.CreateEntity.Clone(); |
| | 7281 | | break; |
| | 7282 | | case PayloadOneofCase.RemoveEntity: |
| | 7283 | | RemoveEntity = other.RemoveEntity.Clone(); |
| | 7284 | | break; |
| | 7285 | | case PayloadOneofCase.SetEntityParent: |
| | 7286 | | SetEntityParent = other.SetEntityParent.Clone(); |
| | 7287 | | break; |
| | 7288 | | case PayloadOneofCase.UpdateEntityComponent: |
| | 7289 | | UpdateEntityComponent = other.UpdateEntityComponent.Clone(); |
| | 7290 | | break; |
| | 7291 | | case PayloadOneofCase.AttachEntityComponent: |
| | 7292 | | AttachEntityComponent = other.AttachEntityComponent.Clone(); |
| | 7293 | | break; |
| | 7294 | | case PayloadOneofCase.ComponentCreated: |
| | 7295 | | ComponentCreated = other.ComponentCreated.Clone(); |
| | 7296 | | break; |
| | 7297 | | case PayloadOneofCase.ComponentDisposed: |
| | 7298 | | ComponentDisposed = other.ComponentDisposed.Clone(); |
| | 7299 | | break; |
| | 7300 | | case PayloadOneofCase.ComponentRemoved: |
| | 7301 | | ComponentRemoved = other.ComponentRemoved.Clone(); |
| | 7302 | | break; |
| | 7303 | | case PayloadOneofCase.ComponentUpdated: |
| | 7304 | | ComponentUpdated = other.ComponentUpdated.Clone(); |
| | 7305 | | break; |
| | 7306 | | case PayloadOneofCase.Query: |
| | 7307 | | Query = other.Query.Clone(); |
| | 7308 | | break; |
| | 7309 | | case PayloadOneofCase.SceneStarted: |
| | 7310 | | SceneStarted = other.SceneStarted.Clone(); |
| | 7311 | | break; |
| | 7312 | | case PayloadOneofCase.OpenExternalUrl: |
| | 7313 | | OpenExternalUrl = other.OpenExternalUrl.Clone(); |
| | 7314 | | break; |
| | 7315 | | case PayloadOneofCase.OpenNFTDialog: |
| | 7316 | | OpenNFTDialog = other.OpenNFTDialog.Clone(); |
| | 7317 | | break; |
| | 7318 | | } |
| | 7319 | |
|
| | 7320 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 7321 | | } |
| | 7322 | |
|
| | 7323 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7324 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7325 | | public PB_SendSceneMessage Clone() { |
| | 7326 | | return new PB_SendSceneMessage(this); |
| | 7327 | | } |
| | 7328 | |
|
| | 7329 | | /// <summary>Field number for the "sceneId" field.</summary> |
| | 7330 | | public const int SceneIdFieldNumber = 1; |
| | 7331 | | private string sceneId_ = ""; |
| | 7332 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7333 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7334 | | public string SceneId { |
| | 7335 | | get { return sceneId_; } |
| | 7336 | | set { |
| | 7337 | | sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 7338 | | } |
| | 7339 | | } |
| | 7340 | |
|
| | 7341 | | /// <summary>Field number for the "tag" field.</summary> |
| | 7342 | | public const int TagFieldNumber = 2; |
| | 7343 | | private string tag_ = ""; |
| | 7344 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7345 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7346 | | public string Tag { |
| | 7347 | | get { return tag_; } |
| | 7348 | | set { |
| | 7349 | | tag_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 7350 | | } |
| | 7351 | | } |
| | 7352 | |
|
| | 7353 | | /// <summary>Field number for the "createEntity" field.</summary> |
| | 7354 | | public const int CreateEntityFieldNumber = 3; |
| | 7355 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7356 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7357 | | public global::DCL.Interface.PB_CreateEntity CreateEntity { |
| | 7358 | | get { return payloadCase_ == PayloadOneofCase.CreateEntity ? (global::DCL.Interface.PB_CreateEntity) payload_ : nu |
| | 7359 | | set { |
| | 7360 | | payload_ = value; |
| | 7361 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.CreateEntity; |
| | 7362 | | } |
| | 7363 | | } |
| | 7364 | |
|
| | 7365 | | /// <summary>Field number for the "removeEntity" field.</summary> |
| | 7366 | | public const int RemoveEntityFieldNumber = 4; |
| | 7367 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7368 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7369 | | public global::DCL.Interface.PB_RemoveEntity RemoveEntity { |
| | 7370 | | get { return payloadCase_ == PayloadOneofCase.RemoveEntity ? (global::DCL.Interface.PB_RemoveEntity) payload_ : nu |
| | 7371 | | set { |
| | 7372 | | payload_ = value; |
| | 7373 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.RemoveEntity; |
| | 7374 | | } |
| | 7375 | | } |
| | 7376 | |
|
| | 7377 | | /// <summary>Field number for the "setEntityParent" field.</summary> |
| | 7378 | | public const int SetEntityParentFieldNumber = 5; |
| | 7379 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7380 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7381 | | public global::DCL.Interface.PB_SetEntityParent SetEntityParent { |
| | 7382 | | get { return payloadCase_ == PayloadOneofCase.SetEntityParent ? (global::DCL.Interface.PB_SetEntityParent) payload |
| | 7383 | | set { |
| | 7384 | | payload_ = value; |
| | 7385 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SetEntityParent; |
| | 7386 | | } |
| | 7387 | | } |
| | 7388 | |
|
| | 7389 | | /// <summary>Field number for the "updateEntityComponent" field.</summary> |
| | 7390 | | public const int UpdateEntityComponentFieldNumber = 6; |
| | 7391 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7392 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7393 | | public global::DCL.Interface.PB_UpdateEntityComponent UpdateEntityComponent { |
| | 7394 | | get { return payloadCase_ == PayloadOneofCase.UpdateEntityComponent ? (global::DCL.Interface.PB_UpdateEntityCompon |
| | 7395 | | set { |
| | 7396 | | payload_ = value; |
| | 7397 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.UpdateEntityComponent; |
| | 7398 | | } |
| | 7399 | | } |
| | 7400 | |
|
| | 7401 | | /// <summary>Field number for the "attachEntityComponent" field.</summary> |
| | 7402 | | public const int AttachEntityComponentFieldNumber = 7; |
| | 7403 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7404 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7405 | | public global::DCL.Interface.PB_AttachEntityComponent AttachEntityComponent { |
| | 7406 | | get { return payloadCase_ == PayloadOneofCase.AttachEntityComponent ? (global::DCL.Interface.PB_AttachEntityCompon |
| | 7407 | | set { |
| | 7408 | | payload_ = value; |
| | 7409 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.AttachEntityComponent; |
| | 7410 | | } |
| | 7411 | | } |
| | 7412 | |
|
| | 7413 | | /// <summary>Field number for the "componentCreated" field.</summary> |
| | 7414 | | public const int ComponentCreatedFieldNumber = 8; |
| | 7415 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7416 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7417 | | public global::DCL.Interface.PB_ComponentCreated ComponentCreated { |
| | 7418 | | get { return payloadCase_ == PayloadOneofCase.ComponentCreated ? (global::DCL.Interface.PB_ComponentCreated) paylo |
| | 7419 | | set { |
| | 7420 | | payload_ = value; |
| | 7421 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ComponentCreated; |
| | 7422 | | } |
| | 7423 | | } |
| | 7424 | |
|
| | 7425 | | /// <summary>Field number for the "componentDisposed" field.</summary> |
| | 7426 | | public const int ComponentDisposedFieldNumber = 9; |
| | 7427 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7428 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7429 | | public global::DCL.Interface.PB_ComponentDisposed ComponentDisposed { |
| | 7430 | | get { return payloadCase_ == PayloadOneofCase.ComponentDisposed ? (global::DCL.Interface.PB_ComponentDisposed) pay |
| | 7431 | | set { |
| | 7432 | | payload_ = value; |
| | 7433 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ComponentDisposed; |
| | 7434 | | } |
| | 7435 | | } |
| | 7436 | |
|
| | 7437 | | /// <summary>Field number for the "componentRemoved" field.</summary> |
| | 7438 | | public const int ComponentRemovedFieldNumber = 10; |
| | 7439 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7440 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7441 | | public global::DCL.Interface.PB_ComponentRemoved ComponentRemoved { |
| | 7442 | | get { return payloadCase_ == PayloadOneofCase.ComponentRemoved ? (global::DCL.Interface.PB_ComponentRemoved) paylo |
| | 7443 | | set { |
| | 7444 | | payload_ = value; |
| | 7445 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ComponentRemoved; |
| | 7446 | | } |
| | 7447 | | } |
| | 7448 | |
|
| | 7449 | | /// <summary>Field number for the "componentUpdated" field.</summary> |
| | 7450 | | public const int ComponentUpdatedFieldNumber = 11; |
| | 7451 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7452 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7453 | | public global::DCL.Interface.PB_ComponentUpdated ComponentUpdated { |
| | 7454 | | get { return payloadCase_ == PayloadOneofCase.ComponentUpdated ? (global::DCL.Interface.PB_ComponentUpdated) paylo |
| | 7455 | | set { |
| | 7456 | | payload_ = value; |
| | 7457 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.ComponentUpdated; |
| | 7458 | | } |
| | 7459 | | } |
| | 7460 | |
|
| | 7461 | | /// <summary>Field number for the "query" field.</summary> |
| | 7462 | | public const int QueryFieldNumber = 12; |
| | 7463 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7464 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7465 | | public global::DCL.Interface.PB_Query Query { |
| | 7466 | | get { return payloadCase_ == PayloadOneofCase.Query ? (global::DCL.Interface.PB_Query) payload_ : null; } |
| | 7467 | | set { |
| | 7468 | | payload_ = value; |
| | 7469 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.Query; |
| | 7470 | | } |
| | 7471 | | } |
| | 7472 | |
|
| | 7473 | | /// <summary>Field number for the "sceneStarted" field.</summary> |
| | 7474 | | public const int SceneStartedFieldNumber = 13; |
| | 7475 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7476 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7477 | | public global::Google.Protobuf.WellKnownTypes.Empty SceneStarted { |
| | 7478 | | get { return payloadCase_ == PayloadOneofCase.SceneStarted ? (global::Google.Protobuf.WellKnownTypes.Empty) payloa |
| | 7479 | | set { |
| | 7480 | | payload_ = value; |
| | 7481 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.SceneStarted; |
| | 7482 | | } |
| | 7483 | | } |
| | 7484 | |
|
| | 7485 | | /// <summary>Field number for the "openExternalUrl" field.</summary> |
| | 7486 | | public const int OpenExternalUrlFieldNumber = 14; |
| | 7487 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7488 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7489 | | public global::DCL.Interface.PB_OpenExternalUrl OpenExternalUrl { |
| | 7490 | | get { return payloadCase_ == PayloadOneofCase.OpenExternalUrl ? (global::DCL.Interface.PB_OpenExternalUrl) payload |
| | 7491 | | set { |
| | 7492 | | payload_ = value; |
| | 7493 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.OpenExternalUrl; |
| | 7494 | | } |
| | 7495 | | } |
| | 7496 | |
|
| | 7497 | | /// <summary>Field number for the "openNFTDialog" field.</summary> |
| | 7498 | | public const int OpenNFTDialogFieldNumber = 15; |
| | 7499 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7500 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7501 | | public global::DCL.Interface.PB_OpenNFTDialog OpenNFTDialog { |
| | 7502 | | get { return payloadCase_ == PayloadOneofCase.OpenNFTDialog ? (global::DCL.Interface.PB_OpenNFTDialog) payload_ : |
| | 7503 | | set { |
| | 7504 | | payload_ = value; |
| | 7505 | | payloadCase_ = value == null ? PayloadOneofCase.None : PayloadOneofCase.OpenNFTDialog; |
| | 7506 | | } |
| | 7507 | | } |
| | 7508 | |
|
| | 7509 | | /// <summary>Field number for the "sceneNumber" field.</summary> |
| | 7510 | | public const int SceneNumberFieldNumber = 99; |
| | 7511 | | private int sceneNumber_; |
| | 7512 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7513 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7514 | | public int SceneNumber { |
| | 7515 | | get { return sceneNumber_; } |
| | 7516 | | set { |
| | 7517 | | sceneNumber_ = value; |
| | 7518 | | } |
| | 7519 | | } |
| | 7520 | |
|
| | 7521 | | private object payload_; |
| | 7522 | | /// <summary>Enum of possible cases for the "payload" oneof.</summary> |
| | 7523 | | public enum PayloadOneofCase { |
| | 7524 | | None = 0, |
| | 7525 | | CreateEntity = 3, |
| | 7526 | | RemoveEntity = 4, |
| | 7527 | | SetEntityParent = 5, |
| | 7528 | | UpdateEntityComponent = 6, |
| | 7529 | | AttachEntityComponent = 7, |
| | 7530 | | ComponentCreated = 8, |
| | 7531 | | ComponentDisposed = 9, |
| | 7532 | | ComponentRemoved = 10, |
| | 7533 | | ComponentUpdated = 11, |
| | 7534 | | Query = 12, |
| | 7535 | | SceneStarted = 13, |
| | 7536 | | OpenExternalUrl = 14, |
| | 7537 | | OpenNFTDialog = 15, |
| | 7538 | | } |
| | 7539 | | private PayloadOneofCase payloadCase_ = PayloadOneofCase.None; |
| | 7540 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7541 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7542 | | public PayloadOneofCase PayloadCase { |
| | 7543 | | get { return payloadCase_; } |
| | 7544 | | } |
| | 7545 | |
|
| | 7546 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7547 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7548 | | public void ClearPayload() { |
| | 7549 | | payloadCase_ = PayloadOneofCase.None; |
| | 7550 | | payload_ = null; |
| | 7551 | | } |
| | 7552 | |
|
| | 7553 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7554 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7555 | | public override bool Equals(object other) { |
| | 7556 | | return Equals(other as PB_SendSceneMessage); |
| | 7557 | | } |
| | 7558 | |
|
| | 7559 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7560 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7561 | | public bool Equals(PB_SendSceneMessage other) { |
| | 7562 | | if (ReferenceEquals(other, null)) { |
| | 7563 | | return false; |
| | 7564 | | } |
| | 7565 | | if (ReferenceEquals(other, this)) { |
| | 7566 | | return true; |
| | 7567 | | } |
| | 7568 | | if (SceneId != other.SceneId) return false; |
| | 7569 | | if (Tag != other.Tag) return false; |
| | 7570 | | if (!object.Equals(CreateEntity, other.CreateEntity)) return false; |
| | 7571 | | if (!object.Equals(RemoveEntity, other.RemoveEntity)) return false; |
| | 7572 | | if (!object.Equals(SetEntityParent, other.SetEntityParent)) return false; |
| | 7573 | | if (!object.Equals(UpdateEntityComponent, other.UpdateEntityComponent)) return false; |
| | 7574 | | if (!object.Equals(AttachEntityComponent, other.AttachEntityComponent)) return false; |
| | 7575 | | if (!object.Equals(ComponentCreated, other.ComponentCreated)) return false; |
| | 7576 | | if (!object.Equals(ComponentDisposed, other.ComponentDisposed)) return false; |
| | 7577 | | if (!object.Equals(ComponentRemoved, other.ComponentRemoved)) return false; |
| | 7578 | | if (!object.Equals(ComponentUpdated, other.ComponentUpdated)) return false; |
| | 7579 | | if (!object.Equals(Query, other.Query)) return false; |
| | 7580 | | if (!object.Equals(SceneStarted, other.SceneStarted)) return false; |
| | 7581 | | if (!object.Equals(OpenExternalUrl, other.OpenExternalUrl)) return false; |
| | 7582 | | if (!object.Equals(OpenNFTDialog, other.OpenNFTDialog)) return false; |
| | 7583 | | if (SceneNumber != other.SceneNumber) return false; |
| | 7584 | | if (PayloadCase != other.PayloadCase) return false; |
| | 7585 | | return Equals(_unknownFields, other._unknownFields); |
| | 7586 | | } |
| | 7587 | |
|
| | 7588 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7589 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7590 | | public override int GetHashCode() { |
| | 7591 | | int hash = 1; |
| | 7592 | | if (SceneId.Length != 0) hash ^= SceneId.GetHashCode(); |
| | 7593 | | if (Tag.Length != 0) hash ^= Tag.GetHashCode(); |
| | 7594 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) hash ^= CreateEntity.GetHashCode(); |
| | 7595 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) hash ^= RemoveEntity.GetHashCode(); |
| | 7596 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) hash ^= SetEntityParent.GetHashCode(); |
| | 7597 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) hash ^= UpdateEntityComponent.GetHashCode(); |
| | 7598 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) hash ^= AttachEntityComponent.GetHashCode(); |
| | 7599 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) hash ^= ComponentCreated.GetHashCode(); |
| | 7600 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) hash ^= ComponentDisposed.GetHashCode(); |
| | 7601 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) hash ^= ComponentRemoved.GetHashCode(); |
| | 7602 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) hash ^= ComponentUpdated.GetHashCode(); |
| | 7603 | | if (payloadCase_ == PayloadOneofCase.Query) hash ^= Query.GetHashCode(); |
| | 7604 | | if (payloadCase_ == PayloadOneofCase.SceneStarted) hash ^= SceneStarted.GetHashCode(); |
| | 7605 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) hash ^= OpenExternalUrl.GetHashCode(); |
| | 7606 | | if (payloadCase_ == PayloadOneofCase.OpenNFTDialog) hash ^= OpenNFTDialog.GetHashCode(); |
| | 7607 | | if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode(); |
| | 7608 | | hash ^= (int) payloadCase_; |
| | 7609 | | if (_unknownFields != null) { |
| | 7610 | | hash ^= _unknownFields.GetHashCode(); |
| | 7611 | | } |
| | 7612 | | return hash; |
| | 7613 | | } |
| | 7614 | |
|
| | 7615 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7616 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7617 | | public override string ToString() { |
| | 7618 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 7619 | | } |
| | 7620 | |
|
| | 7621 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7622 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7623 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 7624 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7625 | | output.WriteRawMessage(this); |
| | 7626 | | #else |
| | 7627 | | if (SceneId.Length != 0) { |
| | 7628 | | output.WriteRawTag(10); |
| | 7629 | | output.WriteString(SceneId); |
| | 7630 | | } |
| | 7631 | | if (Tag.Length != 0) { |
| | 7632 | | output.WriteRawTag(18); |
| | 7633 | | output.WriteString(Tag); |
| | 7634 | | } |
| | 7635 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) { |
| | 7636 | | output.WriteRawTag(26); |
| | 7637 | | output.WriteMessage(CreateEntity); |
| | 7638 | | } |
| | 7639 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) { |
| | 7640 | | output.WriteRawTag(34); |
| | 7641 | | output.WriteMessage(RemoveEntity); |
| | 7642 | | } |
| | 7643 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) { |
| | 7644 | | output.WriteRawTag(42); |
| | 7645 | | output.WriteMessage(SetEntityParent); |
| | 7646 | | } |
| | 7647 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) { |
| | 7648 | | output.WriteRawTag(50); |
| | 7649 | | output.WriteMessage(UpdateEntityComponent); |
| | 7650 | | } |
| | 7651 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) { |
| | 7652 | | output.WriteRawTag(58); |
| | 7653 | | output.WriteMessage(AttachEntityComponent); |
| | 7654 | | } |
| | 7655 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) { |
| | 7656 | | output.WriteRawTag(66); |
| | 7657 | | output.WriteMessage(ComponentCreated); |
| | 7658 | | } |
| | 7659 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) { |
| | 7660 | | output.WriteRawTag(74); |
| | 7661 | | output.WriteMessage(ComponentDisposed); |
| | 7662 | | } |
| | 7663 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) { |
| | 7664 | | output.WriteRawTag(82); |
| | 7665 | | output.WriteMessage(ComponentRemoved); |
| | 7666 | | } |
| | 7667 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) { |
| | 7668 | | output.WriteRawTag(90); |
| | 7669 | | output.WriteMessage(ComponentUpdated); |
| | 7670 | | } |
| | 7671 | | if (payloadCase_ == PayloadOneofCase.Query) { |
| | 7672 | | output.WriteRawTag(98); |
| | 7673 | | output.WriteMessage(Query); |
| | 7674 | | } |
| | 7675 | | if (payloadCase_ == PayloadOneofCase.SceneStarted) { |
| | 7676 | | output.WriteRawTag(106); |
| | 7677 | | output.WriteMessage(SceneStarted); |
| | 7678 | | } |
| | 7679 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) { |
| | 7680 | | output.WriteRawTag(114); |
| | 7681 | | output.WriteMessage(OpenExternalUrl); |
| | 7682 | | } |
| | 7683 | | if (payloadCase_ == PayloadOneofCase.OpenNFTDialog) { |
| | 7684 | | output.WriteRawTag(122); |
| | 7685 | | output.WriteMessage(OpenNFTDialog); |
| | 7686 | | } |
| | 7687 | | if (SceneNumber != 0) { |
| | 7688 | | output.WriteRawTag(152, 6); |
| | 7689 | | output.WriteInt32(SceneNumber); |
| | 7690 | | } |
| | 7691 | | if (_unknownFields != null) { |
| | 7692 | | _unknownFields.WriteTo(output); |
| | 7693 | | } |
| | 7694 | | #endif |
| | 7695 | | } |
| | 7696 | |
|
| | 7697 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7698 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7699 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7700 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 7701 | | if (SceneId.Length != 0) { |
| | 7702 | | output.WriteRawTag(10); |
| | 7703 | | output.WriteString(SceneId); |
| | 7704 | | } |
| | 7705 | | if (Tag.Length != 0) { |
| | 7706 | | output.WriteRawTag(18); |
| | 7707 | | output.WriteString(Tag); |
| | 7708 | | } |
| | 7709 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) { |
| | 7710 | | output.WriteRawTag(26); |
| | 7711 | | output.WriteMessage(CreateEntity); |
| | 7712 | | } |
| | 7713 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) { |
| | 7714 | | output.WriteRawTag(34); |
| | 7715 | | output.WriteMessage(RemoveEntity); |
| | 7716 | | } |
| | 7717 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) { |
| | 7718 | | output.WriteRawTag(42); |
| | 7719 | | output.WriteMessage(SetEntityParent); |
| | 7720 | | } |
| | 7721 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) { |
| | 7722 | | output.WriteRawTag(50); |
| | 7723 | | output.WriteMessage(UpdateEntityComponent); |
| | 7724 | | } |
| | 7725 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) { |
| | 7726 | | output.WriteRawTag(58); |
| | 7727 | | output.WriteMessage(AttachEntityComponent); |
| | 7728 | | } |
| | 7729 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) { |
| | 7730 | | output.WriteRawTag(66); |
| | 7731 | | output.WriteMessage(ComponentCreated); |
| | 7732 | | } |
| | 7733 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) { |
| | 7734 | | output.WriteRawTag(74); |
| | 7735 | | output.WriteMessage(ComponentDisposed); |
| | 7736 | | } |
| | 7737 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) { |
| | 7738 | | output.WriteRawTag(82); |
| | 7739 | | output.WriteMessage(ComponentRemoved); |
| | 7740 | | } |
| | 7741 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) { |
| | 7742 | | output.WriteRawTag(90); |
| | 7743 | | output.WriteMessage(ComponentUpdated); |
| | 7744 | | } |
| | 7745 | | if (payloadCase_ == PayloadOneofCase.Query) { |
| | 7746 | | output.WriteRawTag(98); |
| | 7747 | | output.WriteMessage(Query); |
| | 7748 | | } |
| | 7749 | | if (payloadCase_ == PayloadOneofCase.SceneStarted) { |
| | 7750 | | output.WriteRawTag(106); |
| | 7751 | | output.WriteMessage(SceneStarted); |
| | 7752 | | } |
| | 7753 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) { |
| | 7754 | | output.WriteRawTag(114); |
| | 7755 | | output.WriteMessage(OpenExternalUrl); |
| | 7756 | | } |
| | 7757 | | if (payloadCase_ == PayloadOneofCase.OpenNFTDialog) { |
| | 7758 | | output.WriteRawTag(122); |
| | 7759 | | output.WriteMessage(OpenNFTDialog); |
| | 7760 | | } |
| | 7761 | | if (SceneNumber != 0) { |
| | 7762 | | output.WriteRawTag(152, 6); |
| | 7763 | | output.WriteInt32(SceneNumber); |
| | 7764 | | } |
| | 7765 | | if (_unknownFields != null) { |
| | 7766 | | _unknownFields.WriteTo(ref output); |
| | 7767 | | } |
| | 7768 | | } |
| | 7769 | | #endif |
| | 7770 | |
|
| | 7771 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7772 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7773 | | public int CalculateSize() { |
| | 7774 | | int size = 0; |
| | 7775 | | if (SceneId.Length != 0) { |
| | 7776 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId); |
| | 7777 | | } |
| | 7778 | | if (Tag.Length != 0) { |
| | 7779 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Tag); |
| | 7780 | | } |
| | 7781 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) { |
| | 7782 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateEntity); |
| | 7783 | | } |
| | 7784 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) { |
| | 7785 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(RemoveEntity); |
| | 7786 | | } |
| | 7787 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) { |
| | 7788 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SetEntityParent); |
| | 7789 | | } |
| | 7790 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) { |
| | 7791 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(UpdateEntityComponent); |
| | 7792 | | } |
| | 7793 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) { |
| | 7794 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AttachEntityComponent); |
| | 7795 | | } |
| | 7796 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) { |
| | 7797 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentCreated); |
| | 7798 | | } |
| | 7799 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) { |
| | 7800 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentDisposed); |
| | 7801 | | } |
| | 7802 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) { |
| | 7803 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentRemoved); |
| | 7804 | | } |
| | 7805 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) { |
| | 7806 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ComponentUpdated); |
| | 7807 | | } |
| | 7808 | | if (payloadCase_ == PayloadOneofCase.Query) { |
| | 7809 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Query); |
| | 7810 | | } |
| | 7811 | | if (payloadCase_ == PayloadOneofCase.SceneStarted) { |
| | 7812 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SceneStarted); |
| | 7813 | | } |
| | 7814 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) { |
| | 7815 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(OpenExternalUrl); |
| | 7816 | | } |
| | 7817 | | if (payloadCase_ == PayloadOneofCase.OpenNFTDialog) { |
| | 7818 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(OpenNFTDialog); |
| | 7819 | | } |
| | 7820 | | if (SceneNumber != 0) { |
| | 7821 | | size += 2 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber); |
| | 7822 | | } |
| | 7823 | | if (_unknownFields != null) { |
| | 7824 | | size += _unknownFields.CalculateSize(); |
| | 7825 | | } |
| | 7826 | | return size; |
| | 7827 | | } |
| | 7828 | |
|
| | 7829 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7830 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7831 | | public void MergeFrom(PB_SendSceneMessage other) { |
| | 7832 | | if (other == null) { |
| | 7833 | | return; |
| | 7834 | | } |
| | 7835 | | if (other.SceneId.Length != 0) { |
| | 7836 | | SceneId = other.SceneId; |
| | 7837 | | } |
| | 7838 | | if (other.Tag.Length != 0) { |
| | 7839 | | Tag = other.Tag; |
| | 7840 | | } |
| | 7841 | | if (other.SceneNumber != 0) { |
| | 7842 | | SceneNumber = other.SceneNumber; |
| | 7843 | | } |
| | 7844 | | switch (other.PayloadCase) { |
| | 7845 | | case PayloadOneofCase.CreateEntity: |
| | 7846 | | if (CreateEntity == null) { |
| | 7847 | | CreateEntity = new global::DCL.Interface.PB_CreateEntity(); |
| | 7848 | | } |
| | 7849 | | CreateEntity.MergeFrom(other.CreateEntity); |
| | 7850 | | break; |
| | 7851 | | case PayloadOneofCase.RemoveEntity: |
| | 7852 | | if (RemoveEntity == null) { |
| | 7853 | | RemoveEntity = new global::DCL.Interface.PB_RemoveEntity(); |
| | 7854 | | } |
| | 7855 | | RemoveEntity.MergeFrom(other.RemoveEntity); |
| | 7856 | | break; |
| | 7857 | | case PayloadOneofCase.SetEntityParent: |
| | 7858 | | if (SetEntityParent == null) { |
| | 7859 | | SetEntityParent = new global::DCL.Interface.PB_SetEntityParent(); |
| | 7860 | | } |
| | 7861 | | SetEntityParent.MergeFrom(other.SetEntityParent); |
| | 7862 | | break; |
| | 7863 | | case PayloadOneofCase.UpdateEntityComponent: |
| | 7864 | | if (UpdateEntityComponent == null) { |
| | 7865 | | UpdateEntityComponent = new global::DCL.Interface.PB_UpdateEntityComponent(); |
| | 7866 | | } |
| | 7867 | | UpdateEntityComponent.MergeFrom(other.UpdateEntityComponent); |
| | 7868 | | break; |
| | 7869 | | case PayloadOneofCase.AttachEntityComponent: |
| | 7870 | | if (AttachEntityComponent == null) { |
| | 7871 | | AttachEntityComponent = new global::DCL.Interface.PB_AttachEntityComponent(); |
| | 7872 | | } |
| | 7873 | | AttachEntityComponent.MergeFrom(other.AttachEntityComponent); |
| | 7874 | | break; |
| | 7875 | | case PayloadOneofCase.ComponentCreated: |
| | 7876 | | if (ComponentCreated == null) { |
| | 7877 | | ComponentCreated = new global::DCL.Interface.PB_ComponentCreated(); |
| | 7878 | | } |
| | 7879 | | ComponentCreated.MergeFrom(other.ComponentCreated); |
| | 7880 | | break; |
| | 7881 | | case PayloadOneofCase.ComponentDisposed: |
| | 7882 | | if (ComponentDisposed == null) { |
| | 7883 | | ComponentDisposed = new global::DCL.Interface.PB_ComponentDisposed(); |
| | 7884 | | } |
| | 7885 | | ComponentDisposed.MergeFrom(other.ComponentDisposed); |
| | 7886 | | break; |
| | 7887 | | case PayloadOneofCase.ComponentRemoved: |
| | 7888 | | if (ComponentRemoved == null) { |
| | 7889 | | ComponentRemoved = new global::DCL.Interface.PB_ComponentRemoved(); |
| | 7890 | | } |
| | 7891 | | ComponentRemoved.MergeFrom(other.ComponentRemoved); |
| | 7892 | | break; |
| | 7893 | | case PayloadOneofCase.ComponentUpdated: |
| | 7894 | | if (ComponentUpdated == null) { |
| | 7895 | | ComponentUpdated = new global::DCL.Interface.PB_ComponentUpdated(); |
| | 7896 | | } |
| | 7897 | | ComponentUpdated.MergeFrom(other.ComponentUpdated); |
| | 7898 | | break; |
| | 7899 | | case PayloadOneofCase.Query: |
| | 7900 | | if (Query == null) { |
| | 7901 | | Query = new global::DCL.Interface.PB_Query(); |
| | 7902 | | } |
| | 7903 | | Query.MergeFrom(other.Query); |
| | 7904 | | break; |
| | 7905 | | case PayloadOneofCase.SceneStarted: |
| | 7906 | | if (SceneStarted == null) { |
| | 7907 | | SceneStarted = new global::Google.Protobuf.WellKnownTypes.Empty(); |
| | 7908 | | } |
| | 7909 | | SceneStarted.MergeFrom(other.SceneStarted); |
| | 7910 | | break; |
| | 7911 | | case PayloadOneofCase.OpenExternalUrl: |
| | 7912 | | if (OpenExternalUrl == null) { |
| | 7913 | | OpenExternalUrl = new global::DCL.Interface.PB_OpenExternalUrl(); |
| | 7914 | | } |
| | 7915 | | OpenExternalUrl.MergeFrom(other.OpenExternalUrl); |
| | 7916 | | break; |
| | 7917 | | case PayloadOneofCase.OpenNFTDialog: |
| | 7918 | | if (OpenNFTDialog == null) { |
| | 7919 | | OpenNFTDialog = new global::DCL.Interface.PB_OpenNFTDialog(); |
| | 7920 | | } |
| | 7921 | | OpenNFTDialog.MergeFrom(other.OpenNFTDialog); |
| | 7922 | | break; |
| | 7923 | | } |
| | 7924 | |
|
| | 7925 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 7926 | | } |
| | 7927 | |
|
| | 7928 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 7929 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 7930 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 7931 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 7932 | | input.ReadRawMessage(this); |
| | 7933 | | #else |
| | 7934 | | uint tag; |
| | 7935 | | while ((tag = input.ReadTag()) != 0) { |
| | 7936 | | switch(tag) { |
| | 7937 | | default: |
| | 7938 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 7939 | | break; |
| | 7940 | | case 10: { |
| | 7941 | | SceneId = input.ReadString(); |
| | 7942 | | break; |
| | 7943 | | } |
| | 7944 | | case 18: { |
| | 7945 | | Tag = input.ReadString(); |
| | 7946 | | break; |
| | 7947 | | } |
| | 7948 | | case 26: { |
| | 7949 | | global::DCL.Interface.PB_CreateEntity subBuilder = new global::DCL.Interface.PB_CreateEntity(); |
| | 7950 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) { |
| | 7951 | | subBuilder.MergeFrom(CreateEntity); |
| | 7952 | | } |
| | 7953 | | input.ReadMessage(subBuilder); |
| | 7954 | | CreateEntity = subBuilder; |
| | 7955 | | break; |
| | 7956 | | } |
| | 7957 | | case 34: { |
| | 7958 | | global::DCL.Interface.PB_RemoveEntity subBuilder = new global::DCL.Interface.PB_RemoveEntity(); |
| | 7959 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) { |
| | 7960 | | subBuilder.MergeFrom(RemoveEntity); |
| | 7961 | | } |
| | 7962 | | input.ReadMessage(subBuilder); |
| | 7963 | | RemoveEntity = subBuilder; |
| | 7964 | | break; |
| | 7965 | | } |
| | 7966 | | case 42: { |
| | 7967 | | global::DCL.Interface.PB_SetEntityParent subBuilder = new global::DCL.Interface.PB_SetEntityParent(); |
| | 7968 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) { |
| | 7969 | | subBuilder.MergeFrom(SetEntityParent); |
| | 7970 | | } |
| | 7971 | | input.ReadMessage(subBuilder); |
| | 7972 | | SetEntityParent = subBuilder; |
| | 7973 | | break; |
| | 7974 | | } |
| | 7975 | | case 50: { |
| | 7976 | | global::DCL.Interface.PB_UpdateEntityComponent subBuilder = new global::DCL.Interface.PB_UpdateEntityCompone |
| | 7977 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) { |
| | 7978 | | subBuilder.MergeFrom(UpdateEntityComponent); |
| | 7979 | | } |
| | 7980 | | input.ReadMessage(subBuilder); |
| | 7981 | | UpdateEntityComponent = subBuilder; |
| | 7982 | | break; |
| | 7983 | | } |
| | 7984 | | case 58: { |
| | 7985 | | global::DCL.Interface.PB_AttachEntityComponent subBuilder = new global::DCL.Interface.PB_AttachEntityCompone |
| | 7986 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) { |
| | 7987 | | subBuilder.MergeFrom(AttachEntityComponent); |
| | 7988 | | } |
| | 7989 | | input.ReadMessage(subBuilder); |
| | 7990 | | AttachEntityComponent = subBuilder; |
| | 7991 | | break; |
| | 7992 | | } |
| | 7993 | | case 66: { |
| | 7994 | | global::DCL.Interface.PB_ComponentCreated subBuilder = new global::DCL.Interface.PB_ComponentCreated(); |
| | 7995 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) { |
| | 7996 | | subBuilder.MergeFrom(ComponentCreated); |
| | 7997 | | } |
| | 7998 | | input.ReadMessage(subBuilder); |
| | 7999 | | ComponentCreated = subBuilder; |
| | 8000 | | break; |
| | 8001 | | } |
| | 8002 | | case 74: { |
| | 8003 | | global::DCL.Interface.PB_ComponentDisposed subBuilder = new global::DCL.Interface.PB_ComponentDisposed(); |
| | 8004 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) { |
| | 8005 | | subBuilder.MergeFrom(ComponentDisposed); |
| | 8006 | | } |
| | 8007 | | input.ReadMessage(subBuilder); |
| | 8008 | | ComponentDisposed = subBuilder; |
| | 8009 | | break; |
| | 8010 | | } |
| | 8011 | | case 82: { |
| | 8012 | | global::DCL.Interface.PB_ComponentRemoved subBuilder = new global::DCL.Interface.PB_ComponentRemoved(); |
| | 8013 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) { |
| | 8014 | | subBuilder.MergeFrom(ComponentRemoved); |
| | 8015 | | } |
| | 8016 | | input.ReadMessage(subBuilder); |
| | 8017 | | ComponentRemoved = subBuilder; |
| | 8018 | | break; |
| | 8019 | | } |
| | 8020 | | case 90: { |
| | 8021 | | global::DCL.Interface.PB_ComponentUpdated subBuilder = new global::DCL.Interface.PB_ComponentUpdated(); |
| | 8022 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) { |
| | 8023 | | subBuilder.MergeFrom(ComponentUpdated); |
| | 8024 | | } |
| | 8025 | | input.ReadMessage(subBuilder); |
| | 8026 | | ComponentUpdated = subBuilder; |
| | 8027 | | break; |
| | 8028 | | } |
| | 8029 | | case 98: { |
| | 8030 | | global::DCL.Interface.PB_Query subBuilder = new global::DCL.Interface.PB_Query(); |
| | 8031 | | if (payloadCase_ == PayloadOneofCase.Query) { |
| | 8032 | | subBuilder.MergeFrom(Query); |
| | 8033 | | } |
| | 8034 | | input.ReadMessage(subBuilder); |
| | 8035 | | Query = subBuilder; |
| | 8036 | | break; |
| | 8037 | | } |
| | 8038 | | case 106: { |
| | 8039 | | global::Google.Protobuf.WellKnownTypes.Empty subBuilder = new global::Google.Protobuf.WellKnownTypes.Empty() |
| | 8040 | | if (payloadCase_ == PayloadOneofCase.SceneStarted) { |
| | 8041 | | subBuilder.MergeFrom(SceneStarted); |
| | 8042 | | } |
| | 8043 | | input.ReadMessage(subBuilder); |
| | 8044 | | SceneStarted = subBuilder; |
| | 8045 | | break; |
| | 8046 | | } |
| | 8047 | | case 114: { |
| | 8048 | | global::DCL.Interface.PB_OpenExternalUrl subBuilder = new global::DCL.Interface.PB_OpenExternalUrl(); |
| | 8049 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) { |
| | 8050 | | subBuilder.MergeFrom(OpenExternalUrl); |
| | 8051 | | } |
| | 8052 | | input.ReadMessage(subBuilder); |
| | 8053 | | OpenExternalUrl = subBuilder; |
| | 8054 | | break; |
| | 8055 | | } |
| | 8056 | | case 122: { |
| | 8057 | | global::DCL.Interface.PB_OpenNFTDialog subBuilder = new global::DCL.Interface.PB_OpenNFTDialog(); |
| | 8058 | | if (payloadCase_ == PayloadOneofCase.OpenNFTDialog) { |
| | 8059 | | subBuilder.MergeFrom(OpenNFTDialog); |
| | 8060 | | } |
| | 8061 | | input.ReadMessage(subBuilder); |
| | 8062 | | OpenNFTDialog = subBuilder; |
| | 8063 | | break; |
| | 8064 | | } |
| | 8065 | | case 792: { |
| | 8066 | | SceneNumber = input.ReadInt32(); |
| | 8067 | | break; |
| | 8068 | | } |
| | 8069 | | } |
| | 8070 | | } |
| | 8071 | | #endif |
| | 8072 | | } |
| | 8073 | |
|
| | 8074 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8075 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8076 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8077 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 8078 | | uint tag; |
| | 8079 | | while ((tag = input.ReadTag()) != 0) { |
| | 8080 | | switch(tag) { |
| | 8081 | | default: |
| | 8082 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 8083 | | break; |
| | 8084 | | case 10: { |
| | 8085 | | SceneId = input.ReadString(); |
| | 8086 | | break; |
| | 8087 | | } |
| | 8088 | | case 18: { |
| | 8089 | | Tag = input.ReadString(); |
| | 8090 | | break; |
| | 8091 | | } |
| | 8092 | | case 26: { |
| | 8093 | | global::DCL.Interface.PB_CreateEntity subBuilder = new global::DCL.Interface.PB_CreateEntity(); |
| | 8094 | | if (payloadCase_ == PayloadOneofCase.CreateEntity) { |
| | 8095 | | subBuilder.MergeFrom(CreateEntity); |
| | 8096 | | } |
| | 8097 | | input.ReadMessage(subBuilder); |
| | 8098 | | CreateEntity = subBuilder; |
| | 8099 | | break; |
| | 8100 | | } |
| | 8101 | | case 34: { |
| | 8102 | | global::DCL.Interface.PB_RemoveEntity subBuilder = new global::DCL.Interface.PB_RemoveEntity(); |
| | 8103 | | if (payloadCase_ == PayloadOneofCase.RemoveEntity) { |
| | 8104 | | subBuilder.MergeFrom(RemoveEntity); |
| | 8105 | | } |
| | 8106 | | input.ReadMessage(subBuilder); |
| | 8107 | | RemoveEntity = subBuilder; |
| | 8108 | | break; |
| | 8109 | | } |
| | 8110 | | case 42: { |
| | 8111 | | global::DCL.Interface.PB_SetEntityParent subBuilder = new global::DCL.Interface.PB_SetEntityParent(); |
| | 8112 | | if (payloadCase_ == PayloadOneofCase.SetEntityParent) { |
| | 8113 | | subBuilder.MergeFrom(SetEntityParent); |
| | 8114 | | } |
| | 8115 | | input.ReadMessage(subBuilder); |
| | 8116 | | SetEntityParent = subBuilder; |
| | 8117 | | break; |
| | 8118 | | } |
| | 8119 | | case 50: { |
| | 8120 | | global::DCL.Interface.PB_UpdateEntityComponent subBuilder = new global::DCL.Interface.PB_UpdateEntityCompone |
| | 8121 | | if (payloadCase_ == PayloadOneofCase.UpdateEntityComponent) { |
| | 8122 | | subBuilder.MergeFrom(UpdateEntityComponent); |
| | 8123 | | } |
| | 8124 | | input.ReadMessage(subBuilder); |
| | 8125 | | UpdateEntityComponent = subBuilder; |
| | 8126 | | break; |
| | 8127 | | } |
| | 8128 | | case 58: { |
| | 8129 | | global::DCL.Interface.PB_AttachEntityComponent subBuilder = new global::DCL.Interface.PB_AttachEntityCompone |
| | 8130 | | if (payloadCase_ == PayloadOneofCase.AttachEntityComponent) { |
| | 8131 | | subBuilder.MergeFrom(AttachEntityComponent); |
| | 8132 | | } |
| | 8133 | | input.ReadMessage(subBuilder); |
| | 8134 | | AttachEntityComponent = subBuilder; |
| | 8135 | | break; |
| | 8136 | | } |
| | 8137 | | case 66: { |
| | 8138 | | global::DCL.Interface.PB_ComponentCreated subBuilder = new global::DCL.Interface.PB_ComponentCreated(); |
| | 8139 | | if (payloadCase_ == PayloadOneofCase.ComponentCreated) { |
| | 8140 | | subBuilder.MergeFrom(ComponentCreated); |
| | 8141 | | } |
| | 8142 | | input.ReadMessage(subBuilder); |
| | 8143 | | ComponentCreated = subBuilder; |
| | 8144 | | break; |
| | 8145 | | } |
| | 8146 | | case 74: { |
| | 8147 | | global::DCL.Interface.PB_ComponentDisposed subBuilder = new global::DCL.Interface.PB_ComponentDisposed(); |
| | 8148 | | if (payloadCase_ == PayloadOneofCase.ComponentDisposed) { |
| | 8149 | | subBuilder.MergeFrom(ComponentDisposed); |
| | 8150 | | } |
| | 8151 | | input.ReadMessage(subBuilder); |
| | 8152 | | ComponentDisposed = subBuilder; |
| | 8153 | | break; |
| | 8154 | | } |
| | 8155 | | case 82: { |
| | 8156 | | global::DCL.Interface.PB_ComponentRemoved subBuilder = new global::DCL.Interface.PB_ComponentRemoved(); |
| | 8157 | | if (payloadCase_ == PayloadOneofCase.ComponentRemoved) { |
| | 8158 | | subBuilder.MergeFrom(ComponentRemoved); |
| | 8159 | | } |
| | 8160 | | input.ReadMessage(subBuilder); |
| | 8161 | | ComponentRemoved = subBuilder; |
| | 8162 | | break; |
| | 8163 | | } |
| | 8164 | | case 90: { |
| | 8165 | | global::DCL.Interface.PB_ComponentUpdated subBuilder = new global::DCL.Interface.PB_ComponentUpdated(); |
| | 8166 | | if (payloadCase_ == PayloadOneofCase.ComponentUpdated) { |
| | 8167 | | subBuilder.MergeFrom(ComponentUpdated); |
| | 8168 | | } |
| | 8169 | | input.ReadMessage(subBuilder); |
| | 8170 | | ComponentUpdated = subBuilder; |
| | 8171 | | break; |
| | 8172 | | } |
| | 8173 | | case 98: { |
| | 8174 | | global::DCL.Interface.PB_Query subBuilder = new global::DCL.Interface.PB_Query(); |
| | 8175 | | if (payloadCase_ == PayloadOneofCase.Query) { |
| | 8176 | | subBuilder.MergeFrom(Query); |
| | 8177 | | } |
| | 8178 | | input.ReadMessage(subBuilder); |
| | 8179 | | Query = subBuilder; |
| | 8180 | | break; |
| | 8181 | | } |
| | 8182 | | case 106: { |
| | 8183 | | global::Google.Protobuf.WellKnownTypes.Empty subBuilder = new global::Google.Protobuf.WellKnownTypes.Empty() |
| | 8184 | | if (payloadCase_ == PayloadOneofCase.SceneStarted) { |
| | 8185 | | subBuilder.MergeFrom(SceneStarted); |
| | 8186 | | } |
| | 8187 | | input.ReadMessage(subBuilder); |
| | 8188 | | SceneStarted = subBuilder; |
| | 8189 | | break; |
| | 8190 | | } |
| | 8191 | | case 114: { |
| | 8192 | | global::DCL.Interface.PB_OpenExternalUrl subBuilder = new global::DCL.Interface.PB_OpenExternalUrl(); |
| | 8193 | | if (payloadCase_ == PayloadOneofCase.OpenExternalUrl) { |
| | 8194 | | subBuilder.MergeFrom(OpenExternalUrl); |
| | 8195 | | } |
| | 8196 | | input.ReadMessage(subBuilder); |
| | 8197 | | OpenExternalUrl = subBuilder; |
| | 8198 | | break; |
| | 8199 | | } |
| | 8200 | | case 122: { |
| | 8201 | | global::DCL.Interface.PB_OpenNFTDialog subBuilder = new global::DCL.Interface.PB_OpenNFTDialog(); |
| | 8202 | | if (payloadCase_ == PayloadOneofCase.OpenNFTDialog) { |
| | 8203 | | subBuilder.MergeFrom(OpenNFTDialog); |
| | 8204 | | } |
| | 8205 | | input.ReadMessage(subBuilder); |
| | 8206 | | OpenNFTDialog = subBuilder; |
| | 8207 | | break; |
| | 8208 | | } |
| | 8209 | | case 792: { |
| | 8210 | | SceneNumber = input.ReadInt32(); |
| | 8211 | | break; |
| | 8212 | | } |
| | 8213 | | } |
| | 8214 | | } |
| | 8215 | | } |
| | 8216 | | #endif |
| | 8217 | |
|
| | 8218 | | } |
| | 8219 | |
|
| | 8220 | | public sealed partial class PB_SetPosition : pb::IMessage<PB_SetPosition> |
| | 8221 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8222 | | , pb::IBufferMessage |
| | 8223 | | #endif |
| | 8224 | | { |
| | 8225 | | private static readonly pb::MessageParser<PB_SetPosition> _parser = new pb::MessageParser<PB_SetPosition>(() => new |
| | 8226 | | private pb::UnknownFieldSet _unknownFields; |
| | 8227 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8228 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8229 | | public static pb::MessageParser<PB_SetPosition> Parser { get { return _parser; } } |
| | 8230 | |
|
| | 8231 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8232 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8233 | | public static pbr::MessageDescriptor Descriptor { |
| | 8234 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[20]; } |
| | 8235 | | } |
| | 8236 | |
|
| | 8237 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8238 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8239 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 8240 | | get { return Descriptor; } |
| | 8241 | | } |
| | 8242 | |
|
| | 8243 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8244 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8245 | | public PB_SetPosition() { |
| | 8246 | | OnConstruction(); |
| | 8247 | | } |
| | 8248 | |
|
| | 8249 | | partial void OnConstruction(); |
| | 8250 | |
|
| | 8251 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8252 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8253 | | public PB_SetPosition(PB_SetPosition other) : this() { |
| | 8254 | | x_ = other.x_; |
| | 8255 | | y_ = other.y_; |
| | 8256 | | z_ = other.z_; |
| | 8257 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 8258 | | } |
| | 8259 | |
|
| | 8260 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8261 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8262 | | public PB_SetPosition Clone() { |
| | 8263 | | return new PB_SetPosition(this); |
| | 8264 | | } |
| | 8265 | |
|
| | 8266 | | /// <summary>Field number for the "x" field.</summary> |
| | 8267 | | public const int XFieldNumber = 1; |
| | 8268 | | private float x_; |
| | 8269 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8270 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8271 | | public float X { |
| | 8272 | | get { return x_; } |
| | 8273 | | set { |
| | 8274 | | x_ = value; |
| | 8275 | | } |
| | 8276 | | } |
| | 8277 | |
|
| | 8278 | | /// <summary>Field number for the "y" field.</summary> |
| | 8279 | | public const int YFieldNumber = 2; |
| | 8280 | | private float y_; |
| | 8281 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8282 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8283 | | public float Y { |
| | 8284 | | get { return y_; } |
| | 8285 | | set { |
| | 8286 | | y_ = value; |
| | 8287 | | } |
| | 8288 | | } |
| | 8289 | |
|
| | 8290 | | /// <summary>Field number for the "z" field.</summary> |
| | 8291 | | public const int ZFieldNumber = 3; |
| | 8292 | | private float z_; |
| | 8293 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8294 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8295 | | public float Z { |
| | 8296 | | get { return z_; } |
| | 8297 | | set { |
| | 8298 | | z_ = value; |
| | 8299 | | } |
| | 8300 | | } |
| | 8301 | |
|
| | 8302 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8303 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8304 | | public override bool Equals(object other) { |
| | 8305 | | return Equals(other as PB_SetPosition); |
| | 8306 | | } |
| | 8307 | |
|
| | 8308 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8309 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8310 | | public bool Equals(PB_SetPosition other) { |
| | 8311 | | if (ReferenceEquals(other, null)) { |
| | 8312 | | return false; |
| | 8313 | | } |
| | 8314 | | if (ReferenceEquals(other, this)) { |
| | 8315 | | return true; |
| | 8316 | | } |
| | 8317 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; |
| | 8318 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; |
| | 8319 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Z, other.Z)) return false; |
| | 8320 | | return Equals(_unknownFields, other._unknownFields); |
| | 8321 | | } |
| | 8322 | |
|
| | 8323 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8324 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8325 | | public override int GetHashCode() { |
| | 8326 | | int hash = 1; |
| | 8327 | | if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); |
| | 8328 | | if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); |
| | 8329 | | if (Z != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Z); |
| | 8330 | | if (_unknownFields != null) { |
| | 8331 | | hash ^= _unknownFields.GetHashCode(); |
| | 8332 | | } |
| | 8333 | | return hash; |
| | 8334 | | } |
| | 8335 | |
|
| | 8336 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8337 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8338 | | public override string ToString() { |
| | 8339 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 8340 | | } |
| | 8341 | |
|
| | 8342 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8343 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8344 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 8345 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8346 | | output.WriteRawMessage(this); |
| | 8347 | | #else |
| | 8348 | | if (X != 0F) { |
| | 8349 | | output.WriteRawTag(13); |
| | 8350 | | output.WriteFloat(X); |
| | 8351 | | } |
| | 8352 | | if (Y != 0F) { |
| | 8353 | | output.WriteRawTag(21); |
| | 8354 | | output.WriteFloat(Y); |
| | 8355 | | } |
| | 8356 | | if (Z != 0F) { |
| | 8357 | | output.WriteRawTag(29); |
| | 8358 | | output.WriteFloat(Z); |
| | 8359 | | } |
| | 8360 | | if (_unknownFields != null) { |
| | 8361 | | _unknownFields.WriteTo(output); |
| | 8362 | | } |
| | 8363 | | #endif |
| | 8364 | | } |
| | 8365 | |
|
| | 8366 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8367 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8368 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8369 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 8370 | | if (X != 0F) { |
| | 8371 | | output.WriteRawTag(13); |
| | 8372 | | output.WriteFloat(X); |
| | 8373 | | } |
| | 8374 | | if (Y != 0F) { |
| | 8375 | | output.WriteRawTag(21); |
| | 8376 | | output.WriteFloat(Y); |
| | 8377 | | } |
| | 8378 | | if (Z != 0F) { |
| | 8379 | | output.WriteRawTag(29); |
| | 8380 | | output.WriteFloat(Z); |
| | 8381 | | } |
| | 8382 | | if (_unknownFields != null) { |
| | 8383 | | _unknownFields.WriteTo(ref output); |
| | 8384 | | } |
| | 8385 | | } |
| | 8386 | | #endif |
| | 8387 | |
|
| | 8388 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8389 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8390 | | public int CalculateSize() { |
| | 8391 | | int size = 0; |
| | 8392 | | if (X != 0F) { |
| | 8393 | | size += 1 + 4; |
| | 8394 | | } |
| | 8395 | | if (Y != 0F) { |
| | 8396 | | size += 1 + 4; |
| | 8397 | | } |
| | 8398 | | if (Z != 0F) { |
| | 8399 | | size += 1 + 4; |
| | 8400 | | } |
| | 8401 | | if (_unknownFields != null) { |
| | 8402 | | size += _unknownFields.CalculateSize(); |
| | 8403 | | } |
| | 8404 | | return size; |
| | 8405 | | } |
| | 8406 | |
|
| | 8407 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8408 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8409 | | public void MergeFrom(PB_SetPosition other) { |
| | 8410 | | if (other == null) { |
| | 8411 | | return; |
| | 8412 | | } |
| | 8413 | | if (other.X != 0F) { |
| | 8414 | | X = other.X; |
| | 8415 | | } |
| | 8416 | | if (other.Y != 0F) { |
| | 8417 | | Y = other.Y; |
| | 8418 | | } |
| | 8419 | | if (other.Z != 0F) { |
| | 8420 | | Z = other.Z; |
| | 8421 | | } |
| | 8422 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 8423 | | } |
| | 8424 | |
|
| | 8425 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8426 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8427 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 8428 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8429 | | input.ReadRawMessage(this); |
| | 8430 | | #else |
| | 8431 | | uint tag; |
| | 8432 | | while ((tag = input.ReadTag()) != 0) { |
| | 8433 | | switch(tag) { |
| | 8434 | | default: |
| | 8435 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 8436 | | break; |
| | 8437 | | case 13: { |
| | 8438 | | X = input.ReadFloat(); |
| | 8439 | | break; |
| | 8440 | | } |
| | 8441 | | case 21: { |
| | 8442 | | Y = input.ReadFloat(); |
| | 8443 | | break; |
| | 8444 | | } |
| | 8445 | | case 29: { |
| | 8446 | | Z = input.ReadFloat(); |
| | 8447 | | break; |
| | 8448 | | } |
| | 8449 | | } |
| | 8450 | | } |
| | 8451 | | #endif |
| | 8452 | | } |
| | 8453 | |
|
| | 8454 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8457 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 8458 | | uint tag; |
| | 8459 | | while ((tag = input.ReadTag()) != 0) { |
| | 8460 | | switch(tag) { |
| | 8461 | | default: |
| | 8462 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 8463 | | break; |
| | 8464 | | case 13: { |
| | 8465 | | X = input.ReadFloat(); |
| | 8466 | | break; |
| | 8467 | | } |
| | 8468 | | case 21: { |
| | 8469 | | Y = input.ReadFloat(); |
| | 8470 | | break; |
| | 8471 | | } |
| | 8472 | | case 29: { |
| | 8473 | | Z = input.ReadFloat(); |
| | 8474 | | break; |
| | 8475 | | } |
| | 8476 | | } |
| | 8477 | | } |
| | 8478 | | } |
| | 8479 | | #endif |
| | 8480 | |
|
| | 8481 | | } |
| | 8482 | |
|
| | 8483 | | public sealed partial class PB_ContentMapping : pb::IMessage<PB_ContentMapping> |
| | 8484 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8485 | | , pb::IBufferMessage |
| | 8486 | | #endif |
| | 8487 | | { |
| | 8488 | | private static readonly pb::MessageParser<PB_ContentMapping> _parser = new pb::MessageParser<PB_ContentMapping>(() = |
| | 8489 | | private pb::UnknownFieldSet _unknownFields; |
| | 8490 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8491 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8492 | | public static pb::MessageParser<PB_ContentMapping> Parser { get { return _parser; } } |
| | 8493 | |
|
| | 8494 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8495 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8496 | | public static pbr::MessageDescriptor Descriptor { |
| | 8497 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[21]; } |
| | 8498 | | } |
| | 8499 | |
|
| | 8500 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8501 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8502 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 8503 | | get { return Descriptor; } |
| | 8504 | | } |
| | 8505 | |
|
| | 8506 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8507 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8508 | | public PB_ContentMapping() { |
| | 8509 | | OnConstruction(); |
| | 8510 | | } |
| | 8511 | |
|
| | 8512 | | partial void OnConstruction(); |
| | 8513 | |
|
| | 8514 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8515 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8516 | | public PB_ContentMapping(PB_ContentMapping other) : this() { |
| | 8517 | | file_ = other.file_; |
| | 8518 | | hash_ = other.hash_; |
| | 8519 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 8520 | | } |
| | 8521 | |
|
| | 8522 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8523 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8524 | | public PB_ContentMapping Clone() { |
| | 8525 | | return new PB_ContentMapping(this); |
| | 8526 | | } |
| | 8527 | |
|
| | 8528 | | /// <summary>Field number for the "file" field.</summary> |
| | 8529 | | public const int FileFieldNumber = 1; |
| | 8530 | | private string file_ = ""; |
| | 8531 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8532 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8533 | | public string File { |
| | 8534 | | get { return file_; } |
| | 8535 | | set { |
| | 8536 | | file_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 8537 | | } |
| | 8538 | | } |
| | 8539 | |
|
| | 8540 | | /// <summary>Field number for the "hash" field.</summary> |
| | 8541 | | public const int HashFieldNumber = 2; |
| | 8542 | | private string hash_ = ""; |
| | 8543 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8544 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8545 | | public string Hash { |
| | 8546 | | get { return hash_; } |
| | 8547 | | set { |
| | 8548 | | hash_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 8549 | | } |
| | 8550 | | } |
| | 8551 | |
|
| | 8552 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8553 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8554 | | public override bool Equals(object other) { |
| | 8555 | | return Equals(other as PB_ContentMapping); |
| | 8556 | | } |
| | 8557 | |
|
| | 8558 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8559 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8560 | | public bool Equals(PB_ContentMapping other) { |
| | 8561 | | if (ReferenceEquals(other, null)) { |
| | 8562 | | return false; |
| | 8563 | | } |
| | 8564 | | if (ReferenceEquals(other, this)) { |
| | 8565 | | return true; |
| | 8566 | | } |
| | 8567 | | if (File != other.File) return false; |
| | 8568 | | if (Hash != other.Hash) return false; |
| | 8569 | | return Equals(_unknownFields, other._unknownFields); |
| | 8570 | | } |
| | 8571 | |
|
| | 8572 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8573 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8574 | | public override int GetHashCode() { |
| | 8575 | | int hash = 1; |
| | 8576 | | if (File.Length != 0) hash ^= File.GetHashCode(); |
| | 8577 | | if (Hash.Length != 0) hash ^= Hash.GetHashCode(); |
| | 8578 | | if (_unknownFields != null) { |
| | 8579 | | hash ^= _unknownFields.GetHashCode(); |
| | 8580 | | } |
| | 8581 | | return hash; |
| | 8582 | | } |
| | 8583 | |
|
| | 8584 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8585 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8586 | | public override string ToString() { |
| | 8587 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 8588 | | } |
| | 8589 | |
|
| | 8590 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8591 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8592 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 8593 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8594 | | output.WriteRawMessage(this); |
| | 8595 | | #else |
| | 8596 | | if (File.Length != 0) { |
| | 8597 | | output.WriteRawTag(10); |
| | 8598 | | output.WriteString(File); |
| | 8599 | | } |
| | 8600 | | if (Hash.Length != 0) { |
| | 8601 | | output.WriteRawTag(18); |
| | 8602 | | output.WriteString(Hash); |
| | 8603 | | } |
| | 8604 | | if (_unknownFields != null) { |
| | 8605 | | _unknownFields.WriteTo(output); |
| | 8606 | | } |
| | 8607 | | #endif |
| | 8608 | | } |
| | 8609 | |
|
| | 8610 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8611 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8612 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8613 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 8614 | | if (File.Length != 0) { |
| | 8615 | | output.WriteRawTag(10); |
| | 8616 | | output.WriteString(File); |
| | 8617 | | } |
| | 8618 | | if (Hash.Length != 0) { |
| | 8619 | | output.WriteRawTag(18); |
| | 8620 | | output.WriteString(Hash); |
| | 8621 | | } |
| | 8622 | | if (_unknownFields != null) { |
| | 8623 | | _unknownFields.WriteTo(ref output); |
| | 8624 | | } |
| | 8625 | | } |
| | 8626 | | #endif |
| | 8627 | |
|
| | 8628 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8629 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8630 | | public int CalculateSize() { |
| | 8631 | | int size = 0; |
| | 8632 | | if (File.Length != 0) { |
| | 8633 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(File); |
| | 8634 | | } |
| | 8635 | | if (Hash.Length != 0) { |
| | 8636 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Hash); |
| | 8637 | | } |
| | 8638 | | if (_unknownFields != null) { |
| | 8639 | | size += _unknownFields.CalculateSize(); |
| | 8640 | | } |
| | 8641 | | return size; |
| | 8642 | | } |
| | 8643 | |
|
| | 8644 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8645 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8646 | | public void MergeFrom(PB_ContentMapping other) { |
| | 8647 | | if (other == null) { |
| | 8648 | | return; |
| | 8649 | | } |
| | 8650 | | if (other.File.Length != 0) { |
| | 8651 | | File = other.File; |
| | 8652 | | } |
| | 8653 | | if (other.Hash.Length != 0) { |
| | 8654 | | Hash = other.Hash; |
| | 8655 | | } |
| | 8656 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 8657 | | } |
| | 8658 | |
|
| | 8659 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8660 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8661 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 8662 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8663 | | input.ReadRawMessage(this); |
| | 8664 | | #else |
| | 8665 | | uint tag; |
| | 8666 | | while ((tag = input.ReadTag()) != 0) { |
| | 8667 | | switch(tag) { |
| | 8668 | | default: |
| | 8669 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 8670 | | break; |
| | 8671 | | case 10: { |
| | 8672 | | File = input.ReadString(); |
| | 8673 | | break; |
| | 8674 | | } |
| | 8675 | | case 18: { |
| | 8676 | | Hash = input.ReadString(); |
| | 8677 | | break; |
| | 8678 | | } |
| | 8679 | | } |
| | 8680 | | } |
| | 8681 | | #endif |
| | 8682 | | } |
| | 8683 | |
|
| | 8684 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8685 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8686 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8687 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 8688 | | uint tag; |
| | 8689 | | while ((tag = input.ReadTag()) != 0) { |
| | 8690 | | switch(tag) { |
| | 8691 | | default: |
| | 8692 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 8693 | | break; |
| | 8694 | | case 10: { |
| | 8695 | | File = input.ReadString(); |
| | 8696 | | break; |
| | 8697 | | } |
| | 8698 | | case 18: { |
| | 8699 | | Hash = input.ReadString(); |
| | 8700 | | break; |
| | 8701 | | } |
| | 8702 | | } |
| | 8703 | | } |
| | 8704 | | } |
| | 8705 | | #endif |
| | 8706 | |
|
| | 8707 | | } |
| | 8708 | |
|
| | 8709 | | public sealed partial class PB_Position : pb::IMessage<PB_Position> |
| | 8710 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8711 | | , pb::IBufferMessage |
| | 8712 | | #endif |
| | 8713 | | { |
| | 8714 | | private static readonly pb::MessageParser<PB_Position> _parser = new pb::MessageParser<PB_Position>(() => new PB_Pos |
| | 8715 | | private pb::UnknownFieldSet _unknownFields; |
| | 8716 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8717 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8718 | | public static pb::MessageParser<PB_Position> Parser { get { return _parser; } } |
| | 8719 | |
|
| | 8720 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8721 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8722 | | public static pbr::MessageDescriptor Descriptor { |
| | 8723 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[22]; } |
| | 8724 | | } |
| | 8725 | |
|
| | 8726 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8727 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8728 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 8729 | | get { return Descriptor; } |
| | 8730 | | } |
| | 8731 | |
|
| | 8732 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8733 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8734 | | public PB_Position() { |
| | 8735 | | OnConstruction(); |
| | 8736 | | } |
| | 8737 | |
|
| | 8738 | | partial void OnConstruction(); |
| | 8739 | |
|
| | 8740 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8741 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8742 | | public PB_Position(PB_Position other) : this() { |
| | 8743 | | x_ = other.x_; |
| | 8744 | | y_ = other.y_; |
| | 8745 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 8746 | | } |
| | 8747 | |
|
| | 8748 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8749 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8750 | | public PB_Position Clone() { |
| | 8751 | | return new PB_Position(this); |
| | 8752 | | } |
| | 8753 | |
|
| | 8754 | | /// <summary>Field number for the "x" field.</summary> |
| | 8755 | | public const int XFieldNumber = 1; |
| | 8756 | | private float x_; |
| | 8757 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8758 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8759 | | public float X { |
| | 8760 | | get { return x_; } |
| | 8761 | | set { |
| | 8762 | | x_ = value; |
| | 8763 | | } |
| | 8764 | | } |
| | 8765 | |
|
| | 8766 | | /// <summary>Field number for the "y" field.</summary> |
| | 8767 | | public const int YFieldNumber = 2; |
| | 8768 | | private float y_; |
| | 8769 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8770 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8771 | | public float Y { |
| | 8772 | | get { return y_; } |
| | 8773 | | set { |
| | 8774 | | y_ = value; |
| | 8775 | | } |
| | 8776 | | } |
| | 8777 | |
|
| | 8778 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8779 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8780 | | public override bool Equals(object other) { |
| | 8781 | | return Equals(other as PB_Position); |
| | 8782 | | } |
| | 8783 | |
|
| | 8784 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8785 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8786 | | public bool Equals(PB_Position other) { |
| | 8787 | | if (ReferenceEquals(other, null)) { |
| | 8788 | | return false; |
| | 8789 | | } |
| | 8790 | | if (ReferenceEquals(other, this)) { |
| | 8791 | | return true; |
| | 8792 | | } |
| | 8793 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(X, other.X)) return false; |
| | 8794 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Y, other.Y)) return false; |
| | 8795 | | return Equals(_unknownFields, other._unknownFields); |
| | 8796 | | } |
| | 8797 | |
|
| | 8798 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8799 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8800 | | public override int GetHashCode() { |
| | 8801 | | int hash = 1; |
| | 8802 | | if (X != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(X); |
| | 8803 | | if (Y != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Y); |
| | 8804 | | if (_unknownFields != null) { |
| | 8805 | | hash ^= _unknownFields.GetHashCode(); |
| | 8806 | | } |
| | 8807 | | return hash; |
| | 8808 | | } |
| | 8809 | |
|
| | 8810 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8811 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8812 | | public override string ToString() { |
| | 8813 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 8814 | | } |
| | 8815 | |
|
| | 8816 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8817 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8818 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 8819 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8820 | | output.WriteRawMessage(this); |
| | 8821 | | #else |
| | 8822 | | if (X != 0F) { |
| | 8823 | | output.WriteRawTag(13); |
| | 8824 | | output.WriteFloat(X); |
| | 8825 | | } |
| | 8826 | | if (Y != 0F) { |
| | 8827 | | output.WriteRawTag(21); |
| | 8828 | | output.WriteFloat(Y); |
| | 8829 | | } |
| | 8830 | | if (_unknownFields != null) { |
| | 8831 | | _unknownFields.WriteTo(output); |
| | 8832 | | } |
| | 8833 | | #endif |
| | 8834 | | } |
| | 8835 | |
|
| | 8836 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8837 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8838 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8839 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 8840 | | if (X != 0F) { |
| | 8841 | | output.WriteRawTag(13); |
| | 8842 | | output.WriteFloat(X); |
| | 8843 | | } |
| | 8844 | | if (Y != 0F) { |
| | 8845 | | output.WriteRawTag(21); |
| | 8846 | | output.WriteFloat(Y); |
| | 8847 | | } |
| | 8848 | | if (_unknownFields != null) { |
| | 8849 | | _unknownFields.WriteTo(ref output); |
| | 8850 | | } |
| | 8851 | | } |
| | 8852 | | #endif |
| | 8853 | |
|
| | 8854 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8855 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8856 | | public int CalculateSize() { |
| | 8857 | | int size = 0; |
| | 8858 | | if (X != 0F) { |
| | 8859 | | size += 1 + 4; |
| | 8860 | | } |
| | 8861 | | if (Y != 0F) { |
| | 8862 | | size += 1 + 4; |
| | 8863 | | } |
| | 8864 | | if (_unknownFields != null) { |
| | 8865 | | size += _unknownFields.CalculateSize(); |
| | 8866 | | } |
| | 8867 | | return size; |
| | 8868 | | } |
| | 8869 | |
|
| | 8870 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8871 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8872 | | public void MergeFrom(PB_Position other) { |
| | 8873 | | if (other == null) { |
| | 8874 | | return; |
| | 8875 | | } |
| | 8876 | | if (other.X != 0F) { |
| | 8877 | | X = other.X; |
| | 8878 | | } |
| | 8879 | | if (other.Y != 0F) { |
| | 8880 | | Y = other.Y; |
| | 8881 | | } |
| | 8882 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 8883 | | } |
| | 8884 | |
|
| | 8885 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8886 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8887 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 8888 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8889 | | input.ReadRawMessage(this); |
| | 8890 | | #else |
| | 8891 | | uint tag; |
| | 8892 | | while ((tag = input.ReadTag()) != 0) { |
| | 8893 | | switch(tag) { |
| | 8894 | | default: |
| | 8895 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 8896 | | break; |
| | 8897 | | case 13: { |
| | 8898 | | X = input.ReadFloat(); |
| | 8899 | | break; |
| | 8900 | | } |
| | 8901 | | case 21: { |
| | 8902 | | Y = input.ReadFloat(); |
| | 8903 | | break; |
| | 8904 | | } |
| | 8905 | | } |
| | 8906 | | } |
| | 8907 | | #endif |
| | 8908 | | } |
| | 8909 | |
|
| | 8910 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8911 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8912 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8913 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 8914 | | uint tag; |
| | 8915 | | while ((tag = input.ReadTag()) != 0) { |
| | 8916 | | switch(tag) { |
| | 8917 | | default: |
| | 8918 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 8919 | | break; |
| | 8920 | | case 13: { |
| | 8921 | | X = input.ReadFloat(); |
| | 8922 | | break; |
| | 8923 | | } |
| | 8924 | | case 21: { |
| | 8925 | | Y = input.ReadFloat(); |
| | 8926 | | break; |
| | 8927 | | } |
| | 8928 | | } |
| | 8929 | | } |
| | 8930 | | } |
| | 8931 | | #endif |
| | 8932 | |
|
| | 8933 | | } |
| | 8934 | |
|
| | 8935 | | public sealed partial class PB_LoadParcelScenes : pb::IMessage<PB_LoadParcelScenes> |
| | 8936 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 8937 | | , pb::IBufferMessage |
| | 8938 | | #endif |
| | 8939 | | { |
| | 8940 | | private static readonly pb::MessageParser<PB_LoadParcelScenes> _parser = new pb::MessageParser<PB_LoadParcelScenes>( |
| | 8941 | | private pb::UnknownFieldSet _unknownFields; |
| | 8942 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8943 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8944 | | public static pb::MessageParser<PB_LoadParcelScenes> Parser { get { return _parser; } } |
| | 8945 | |
|
| | 8946 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8947 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8948 | | public static pbr::MessageDescriptor Descriptor { |
| | 8949 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[23]; } |
| | 8950 | | } |
| | 8951 | |
|
| | 8952 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8953 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8954 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 8955 | | get { return Descriptor; } |
| | 8956 | | } |
| | 8957 | |
|
| | 8958 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8959 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8960 | | public PB_LoadParcelScenes() { |
| | 8961 | | OnConstruction(); |
| | 8962 | | } |
| | 8963 | |
|
| | 8964 | | partial void OnConstruction(); |
| | 8965 | |
|
| | 8966 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8967 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8968 | | public PB_LoadParcelScenes(PB_LoadParcelScenes other) : this() { |
| | 8969 | | id_ = other.id_; |
| | 8970 | | basePosition_ = other.basePosition_ != null ? other.basePosition_.Clone() : null; |
| | 8971 | | parcels_ = other.parcels_.Clone(); |
| | 8972 | | contents_ = other.contents_.Clone(); |
| | 8973 | | baseUrl_ = other.baseUrl_; |
| | 8974 | | sceneNumber_ = other.sceneNumber_; |
| | 8975 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 8976 | | } |
| | 8977 | |
|
| | 8978 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8979 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8980 | | public PB_LoadParcelScenes Clone() { |
| | 8981 | | return new PB_LoadParcelScenes(this); |
| | 8982 | | } |
| | 8983 | |
|
| | 8984 | | /// <summary>Field number for the "id" field.</summary> |
| | 8985 | | public const int IdFieldNumber = 1; |
| | 8986 | | private string id_ = ""; |
| | 8987 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 8988 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 8989 | | public string Id { |
| | 8990 | | get { return id_; } |
| | 8991 | | set { |
| | 8992 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 8993 | | } |
| | 8994 | | } |
| | 8995 | |
|
| | 8996 | | /// <summary>Field number for the "basePosition" field.</summary> |
| | 8997 | | public const int BasePositionFieldNumber = 2; |
| | 8998 | | private global::DCL.Interface.PB_Position basePosition_; |
| | 8999 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9000 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9001 | | public global::DCL.Interface.PB_Position BasePosition { |
| | 9002 | | get { return basePosition_; } |
| | 9003 | | set { |
| | 9004 | | basePosition_ = value; |
| | 9005 | | } |
| | 9006 | | } |
| | 9007 | |
|
| | 9008 | | /// <summary>Field number for the "parcels" field.</summary> |
| | 9009 | | public const int ParcelsFieldNumber = 3; |
| | 9010 | | private static readonly pb::FieldCodec<global::DCL.Interface.PB_Position> _repeated_parcels_codec |
| | 9011 | | = pb::FieldCodec.ForMessage(26, global::DCL.Interface.PB_Position.Parser); |
| | 9012 | | private readonly pbc::RepeatedField<global::DCL.Interface.PB_Position> parcels_ = new pbc::RepeatedField<global::DCL |
| | 9013 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9014 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9015 | | public pbc::RepeatedField<global::DCL.Interface.PB_Position> Parcels { |
| | 9016 | | get { return parcels_; } |
| | 9017 | | } |
| | 9018 | |
|
| | 9019 | | /// <summary>Field number for the "contents" field.</summary> |
| | 9020 | | public const int ContentsFieldNumber = 4; |
| | 9021 | | private static readonly pb::FieldCodec<global::DCL.Interface.PB_ContentMapping> _repeated_contents_codec |
| | 9022 | | = pb::FieldCodec.ForMessage(34, global::DCL.Interface.PB_ContentMapping.Parser); |
| | 9023 | | private readonly pbc::RepeatedField<global::DCL.Interface.PB_ContentMapping> contents_ = new pbc::RepeatedField<glob |
| | 9024 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9025 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9026 | | public pbc::RepeatedField<global::DCL.Interface.PB_ContentMapping> Contents { |
| | 9027 | | get { return contents_; } |
| | 9028 | | } |
| | 9029 | |
|
| | 9030 | | /// <summary>Field number for the "baseUrl" field.</summary> |
| | 9031 | | public const int BaseUrlFieldNumber = 5; |
| | 9032 | | private string baseUrl_ = ""; |
| | 9033 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9034 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9035 | | public string BaseUrl { |
| | 9036 | | get { return baseUrl_; } |
| | 9037 | | set { |
| | 9038 | | baseUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 9039 | | } |
| | 9040 | | } |
| | 9041 | |
|
| | 9042 | | /// <summary>Field number for the "sceneNumber" field.</summary> |
| | 9043 | | public const int SceneNumberFieldNumber = 99; |
| | 9044 | | private int sceneNumber_; |
| | 9045 | | /// <summary> |
| | 9046 | | /// ILand land = 6; |
| | 9047 | | /// </summary> |
| | 9048 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9049 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9050 | | public int SceneNumber { |
| | 9051 | | get { return sceneNumber_; } |
| | 9052 | | set { |
| | 9053 | | sceneNumber_ = value; |
| | 9054 | | } |
| | 9055 | | } |
| | 9056 | |
|
| | 9057 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9058 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9059 | | public override bool Equals(object other) { |
| | 9060 | | return Equals(other as PB_LoadParcelScenes); |
| | 9061 | | } |
| | 9062 | |
|
| | 9063 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9064 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9065 | | public bool Equals(PB_LoadParcelScenes other) { |
| | 9066 | | if (ReferenceEquals(other, null)) { |
| | 9067 | | return false; |
| | 9068 | | } |
| | 9069 | | if (ReferenceEquals(other, this)) { |
| | 9070 | | return true; |
| | 9071 | | } |
| | 9072 | | if (Id != other.Id) return false; |
| | 9073 | | if (!object.Equals(BasePosition, other.BasePosition)) return false; |
| | 9074 | | if(!parcels_.Equals(other.parcels_)) return false; |
| | 9075 | | if(!contents_.Equals(other.contents_)) return false; |
| | 9076 | | if (BaseUrl != other.BaseUrl) return false; |
| | 9077 | | if (SceneNumber != other.SceneNumber) return false; |
| | 9078 | | return Equals(_unknownFields, other._unknownFields); |
| | 9079 | | } |
| | 9080 | |
|
| | 9081 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9082 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9083 | | public override int GetHashCode() { |
| | 9084 | | int hash = 1; |
| | 9085 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 9086 | | if (basePosition_ != null) hash ^= BasePosition.GetHashCode(); |
| | 9087 | | hash ^= parcels_.GetHashCode(); |
| | 9088 | | hash ^= contents_.GetHashCode(); |
| | 9089 | | if (BaseUrl.Length != 0) hash ^= BaseUrl.GetHashCode(); |
| | 9090 | | if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode(); |
| | 9091 | | if (_unknownFields != null) { |
| | 9092 | | hash ^= _unknownFields.GetHashCode(); |
| | 9093 | | } |
| | 9094 | | return hash; |
| | 9095 | | } |
| | 9096 | |
|
| | 9097 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9098 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9099 | | public override string ToString() { |
| | 9100 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 9101 | | } |
| | 9102 | |
|
| | 9103 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9104 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9105 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 9106 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9107 | | output.WriteRawMessage(this); |
| | 9108 | | #else |
| | 9109 | | if (Id.Length != 0) { |
| | 9110 | | output.WriteRawTag(10); |
| | 9111 | | output.WriteString(Id); |
| | 9112 | | } |
| | 9113 | | if (basePosition_ != null) { |
| | 9114 | | output.WriteRawTag(18); |
| | 9115 | | output.WriteMessage(BasePosition); |
| | 9116 | | } |
| | 9117 | | parcels_.WriteTo(output, _repeated_parcels_codec); |
| | 9118 | | contents_.WriteTo(output, _repeated_contents_codec); |
| | 9119 | | if (BaseUrl.Length != 0) { |
| | 9120 | | output.WriteRawTag(42); |
| | 9121 | | output.WriteString(BaseUrl); |
| | 9122 | | } |
| | 9123 | | if (SceneNumber != 0) { |
| | 9124 | | output.WriteRawTag(152, 6); |
| | 9125 | | output.WriteInt32(SceneNumber); |
| | 9126 | | } |
| | 9127 | | if (_unknownFields != null) { |
| | 9128 | | _unknownFields.WriteTo(output); |
| | 9129 | | } |
| | 9130 | | #endif |
| | 9131 | | } |
| | 9132 | |
|
| | 9133 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9134 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9135 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9136 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 9137 | | if (Id.Length != 0) { |
| | 9138 | | output.WriteRawTag(10); |
| | 9139 | | output.WriteString(Id); |
| | 9140 | | } |
| | 9141 | | if (basePosition_ != null) { |
| | 9142 | | output.WriteRawTag(18); |
| | 9143 | | output.WriteMessage(BasePosition); |
| | 9144 | | } |
| | 9145 | | parcels_.WriteTo(ref output, _repeated_parcels_codec); |
| | 9146 | | contents_.WriteTo(ref output, _repeated_contents_codec); |
| | 9147 | | if (BaseUrl.Length != 0) { |
| | 9148 | | output.WriteRawTag(42); |
| | 9149 | | output.WriteString(BaseUrl); |
| | 9150 | | } |
| | 9151 | | if (SceneNumber != 0) { |
| | 9152 | | output.WriteRawTag(152, 6); |
| | 9153 | | output.WriteInt32(SceneNumber); |
| | 9154 | | } |
| | 9155 | | if (_unknownFields != null) { |
| | 9156 | | _unknownFields.WriteTo(ref output); |
| | 9157 | | } |
| | 9158 | | } |
| | 9159 | | #endif |
| | 9160 | |
|
| | 9161 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9162 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9163 | | public int CalculateSize() { |
| | 9164 | | int size = 0; |
| | 9165 | | if (Id.Length != 0) { |
| | 9166 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 9167 | | } |
| | 9168 | | if (basePosition_ != null) { |
| | 9169 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(BasePosition); |
| | 9170 | | } |
| | 9171 | | size += parcels_.CalculateSize(_repeated_parcels_codec); |
| | 9172 | | size += contents_.CalculateSize(_repeated_contents_codec); |
| | 9173 | | if (BaseUrl.Length != 0) { |
| | 9174 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseUrl); |
| | 9175 | | } |
| | 9176 | | if (SceneNumber != 0) { |
| | 9177 | | size += 2 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber); |
| | 9178 | | } |
| | 9179 | | if (_unknownFields != null) { |
| | 9180 | | size += _unknownFields.CalculateSize(); |
| | 9181 | | } |
| | 9182 | | return size; |
| | 9183 | | } |
| | 9184 | |
|
| | 9185 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9186 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9187 | | public void MergeFrom(PB_LoadParcelScenes other) { |
| | 9188 | | if (other == null) { |
| | 9189 | | return; |
| | 9190 | | } |
| | 9191 | | if (other.Id.Length != 0) { |
| | 9192 | | Id = other.Id; |
| | 9193 | | } |
| | 9194 | | if (other.basePosition_ != null) { |
| | 9195 | | if (basePosition_ == null) { |
| | 9196 | | BasePosition = new global::DCL.Interface.PB_Position(); |
| | 9197 | | } |
| | 9198 | | BasePosition.MergeFrom(other.BasePosition); |
| | 9199 | | } |
| | 9200 | | parcels_.Add(other.parcels_); |
| | 9201 | | contents_.Add(other.contents_); |
| | 9202 | | if (other.BaseUrl.Length != 0) { |
| | 9203 | | BaseUrl = other.BaseUrl; |
| | 9204 | | } |
| | 9205 | | if (other.SceneNumber != 0) { |
| | 9206 | | SceneNumber = other.SceneNumber; |
| | 9207 | | } |
| | 9208 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 9209 | | } |
| | 9210 | |
|
| | 9211 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9212 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9213 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 9214 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9215 | | input.ReadRawMessage(this); |
| | 9216 | | #else |
| | 9217 | | uint tag; |
| | 9218 | | while ((tag = input.ReadTag()) != 0) { |
| | 9219 | | switch(tag) { |
| | 9220 | | default: |
| | 9221 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 9222 | | break; |
| | 9223 | | case 10: { |
| | 9224 | | Id = input.ReadString(); |
| | 9225 | | break; |
| | 9226 | | } |
| | 9227 | | case 18: { |
| | 9228 | | if (basePosition_ == null) { |
| | 9229 | | BasePosition = new global::DCL.Interface.PB_Position(); |
| | 9230 | | } |
| | 9231 | | input.ReadMessage(BasePosition); |
| | 9232 | | break; |
| | 9233 | | } |
| | 9234 | | case 26: { |
| | 9235 | | parcels_.AddEntriesFrom(input, _repeated_parcels_codec); |
| | 9236 | | break; |
| | 9237 | | } |
| | 9238 | | case 34: { |
| | 9239 | | contents_.AddEntriesFrom(input, _repeated_contents_codec); |
| | 9240 | | break; |
| | 9241 | | } |
| | 9242 | | case 42: { |
| | 9243 | | BaseUrl = input.ReadString(); |
| | 9244 | | break; |
| | 9245 | | } |
| | 9246 | | case 792: { |
| | 9247 | | SceneNumber = input.ReadInt32(); |
| | 9248 | | break; |
| | 9249 | | } |
| | 9250 | | } |
| | 9251 | | } |
| | 9252 | | #endif |
| | 9253 | | } |
| | 9254 | |
|
| | 9255 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9256 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9257 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9258 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 9259 | | uint tag; |
| | 9260 | | while ((tag = input.ReadTag()) != 0) { |
| | 9261 | | switch(tag) { |
| | 9262 | | default: |
| | 9263 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 9264 | | break; |
| | 9265 | | case 10: { |
| | 9266 | | Id = input.ReadString(); |
| | 9267 | | break; |
| | 9268 | | } |
| | 9269 | | case 18: { |
| | 9270 | | if (basePosition_ == null) { |
| | 9271 | | BasePosition = new global::DCL.Interface.PB_Position(); |
| | 9272 | | } |
| | 9273 | | input.ReadMessage(BasePosition); |
| | 9274 | | break; |
| | 9275 | | } |
| | 9276 | | case 26: { |
| | 9277 | | parcels_.AddEntriesFrom(ref input, _repeated_parcels_codec); |
| | 9278 | | break; |
| | 9279 | | } |
| | 9280 | | case 34: { |
| | 9281 | | contents_.AddEntriesFrom(ref input, _repeated_contents_codec); |
| | 9282 | | break; |
| | 9283 | | } |
| | 9284 | | case 42: { |
| | 9285 | | BaseUrl = input.ReadString(); |
| | 9286 | | break; |
| | 9287 | | } |
| | 9288 | | case 792: { |
| | 9289 | | SceneNumber = input.ReadInt32(); |
| | 9290 | | break; |
| | 9291 | | } |
| | 9292 | | } |
| | 9293 | | } |
| | 9294 | | } |
| | 9295 | | #endif |
| | 9296 | |
|
| | 9297 | | } |
| | 9298 | |
|
| | 9299 | | public sealed partial class PB_CreateUIScene : pb::IMessage<PB_CreateUIScene> |
| | 9300 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9301 | | , pb::IBufferMessage |
| | 9302 | | #endif |
| | 9303 | | { |
| | 9304 | | private static readonly pb::MessageParser<PB_CreateUIScene> _parser = new pb::MessageParser<PB_CreateUIScene>(() => |
| | 9305 | | private pb::UnknownFieldSet _unknownFields; |
| | 9306 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9307 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9308 | | public static pb::MessageParser<PB_CreateUIScene> Parser { get { return _parser; } } |
| | 9309 | |
|
| | 9310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9312 | | public static pbr::MessageDescriptor Descriptor { |
| | 9313 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[24]; } |
| | 9314 | | } |
| | 9315 | |
|
| | 9316 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9317 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9318 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 9319 | | get { return Descriptor; } |
| | 9320 | | } |
| | 9321 | |
|
| | 9322 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9323 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9324 | | public PB_CreateUIScene() { |
| | 9325 | | OnConstruction(); |
| | 9326 | | } |
| | 9327 | |
|
| | 9328 | | partial void OnConstruction(); |
| | 9329 | |
|
| | 9330 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9331 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9332 | | public PB_CreateUIScene(PB_CreateUIScene other) : this() { |
| | 9333 | | id_ = other.id_; |
| | 9334 | | baseUrl_ = other.baseUrl_; |
| | 9335 | | sceneNumber_ = other.sceneNumber_; |
| | 9336 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 9337 | | } |
| | 9338 | |
|
| | 9339 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9340 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9341 | | public PB_CreateUIScene Clone() { |
| | 9342 | | return new PB_CreateUIScene(this); |
| | 9343 | | } |
| | 9344 | |
|
| | 9345 | | /// <summary>Field number for the "id" field.</summary> |
| | 9346 | | public const int IdFieldNumber = 1; |
| | 9347 | | private string id_ = ""; |
| | 9348 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9349 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9350 | | public string Id { |
| | 9351 | | get { return id_; } |
| | 9352 | | set { |
| | 9353 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 9354 | | } |
| | 9355 | | } |
| | 9356 | |
|
| | 9357 | | /// <summary>Field number for the "baseUrl" field.</summary> |
| | 9358 | | public const int BaseUrlFieldNumber = 2; |
| | 9359 | | private string baseUrl_ = ""; |
| | 9360 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9361 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9362 | | public string BaseUrl { |
| | 9363 | | get { return baseUrl_; } |
| | 9364 | | set { |
| | 9365 | | baseUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 9366 | | } |
| | 9367 | | } |
| | 9368 | |
|
| | 9369 | | /// <summary>Field number for the "sceneNumber" field.</summary> |
| | 9370 | | public const int SceneNumberFieldNumber = 99; |
| | 9371 | | private int sceneNumber_; |
| | 9372 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9373 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9374 | | public int SceneNumber { |
| | 9375 | | get { return sceneNumber_; } |
| | 9376 | | set { |
| | 9377 | | sceneNumber_ = value; |
| | 9378 | | } |
| | 9379 | | } |
| | 9380 | |
|
| | 9381 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9382 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9383 | | public override bool Equals(object other) { |
| | 9384 | | return Equals(other as PB_CreateUIScene); |
| | 9385 | | } |
| | 9386 | |
|
| | 9387 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9388 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9389 | | public bool Equals(PB_CreateUIScene other) { |
| | 9390 | | if (ReferenceEquals(other, null)) { |
| | 9391 | | return false; |
| | 9392 | | } |
| | 9393 | | if (ReferenceEquals(other, this)) { |
| | 9394 | | return true; |
| | 9395 | | } |
| | 9396 | | if (Id != other.Id) return false; |
| | 9397 | | if (BaseUrl != other.BaseUrl) return false; |
| | 9398 | | if (SceneNumber != other.SceneNumber) return false; |
| | 9399 | | return Equals(_unknownFields, other._unknownFields); |
| | 9400 | | } |
| | 9401 | |
|
| | 9402 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9403 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9404 | | public override int GetHashCode() { |
| | 9405 | | int hash = 1; |
| | 9406 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 9407 | | if (BaseUrl.Length != 0) hash ^= BaseUrl.GetHashCode(); |
| | 9408 | | if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode(); |
| | 9409 | | if (_unknownFields != null) { |
| | 9410 | | hash ^= _unknownFields.GetHashCode(); |
| | 9411 | | } |
| | 9412 | | return hash; |
| | 9413 | | } |
| | 9414 | |
|
| | 9415 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9416 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9417 | | public override string ToString() { |
| | 9418 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 9419 | | } |
| | 9420 | |
|
| | 9421 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9422 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9423 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 9424 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9425 | | output.WriteRawMessage(this); |
| | 9426 | | #else |
| | 9427 | | if (Id.Length != 0) { |
| | 9428 | | output.WriteRawTag(10); |
| | 9429 | | output.WriteString(Id); |
| | 9430 | | } |
| | 9431 | | if (BaseUrl.Length != 0) { |
| | 9432 | | output.WriteRawTag(18); |
| | 9433 | | output.WriteString(BaseUrl); |
| | 9434 | | } |
| | 9435 | | if (SceneNumber != 0) { |
| | 9436 | | output.WriteRawTag(152, 6); |
| | 9437 | | output.WriteInt32(SceneNumber); |
| | 9438 | | } |
| | 9439 | | if (_unknownFields != null) { |
| | 9440 | | _unknownFields.WriteTo(output); |
| | 9441 | | } |
| | 9442 | | #endif |
| | 9443 | | } |
| | 9444 | |
|
| | 9445 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9446 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9447 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9448 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 9449 | | if (Id.Length != 0) { |
| | 9450 | | output.WriteRawTag(10); |
| | 9451 | | output.WriteString(Id); |
| | 9452 | | } |
| | 9453 | | if (BaseUrl.Length != 0) { |
| | 9454 | | output.WriteRawTag(18); |
| | 9455 | | output.WriteString(BaseUrl); |
| | 9456 | | } |
| | 9457 | | if (SceneNumber != 0) { |
| | 9458 | | output.WriteRawTag(152, 6); |
| | 9459 | | output.WriteInt32(SceneNumber); |
| | 9460 | | } |
| | 9461 | | if (_unknownFields != null) { |
| | 9462 | | _unknownFields.WriteTo(ref output); |
| | 9463 | | } |
| | 9464 | | } |
| | 9465 | | #endif |
| | 9466 | |
|
| | 9467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9469 | | public int CalculateSize() { |
| | 9470 | | int size = 0; |
| | 9471 | | if (Id.Length != 0) { |
| | 9472 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 9473 | | } |
| | 9474 | | if (BaseUrl.Length != 0) { |
| | 9475 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseUrl); |
| | 9476 | | } |
| | 9477 | | if (SceneNumber != 0) { |
| | 9478 | | size += 2 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber); |
| | 9479 | | } |
| | 9480 | | if (_unknownFields != null) { |
| | 9481 | | size += _unknownFields.CalculateSize(); |
| | 9482 | | } |
| | 9483 | | return size; |
| | 9484 | | } |
| | 9485 | |
|
| | 9486 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9487 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9488 | | public void MergeFrom(PB_CreateUIScene other) { |
| | 9489 | | if (other == null) { |
| | 9490 | | return; |
| | 9491 | | } |
| | 9492 | | if (other.Id.Length != 0) { |
| | 9493 | | Id = other.Id; |
| | 9494 | | } |
| | 9495 | | if (other.BaseUrl.Length != 0) { |
| | 9496 | | BaseUrl = other.BaseUrl; |
| | 9497 | | } |
| | 9498 | | if (other.SceneNumber != 0) { |
| | 9499 | | SceneNumber = other.SceneNumber; |
| | 9500 | | } |
| | 9501 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 9502 | | } |
| | 9503 | |
|
| | 9504 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9505 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9506 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 9507 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9508 | | input.ReadRawMessage(this); |
| | 9509 | | #else |
| | 9510 | | uint tag; |
| | 9511 | | while ((tag = input.ReadTag()) != 0) { |
| | 9512 | | switch(tag) { |
| | 9513 | | default: |
| | 9514 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 9515 | | break; |
| | 9516 | | case 10: { |
| | 9517 | | Id = input.ReadString(); |
| | 9518 | | break; |
| | 9519 | | } |
| | 9520 | | case 18: { |
| | 9521 | | BaseUrl = input.ReadString(); |
| | 9522 | | break; |
| | 9523 | | } |
| | 9524 | | case 792: { |
| | 9525 | | SceneNumber = input.ReadInt32(); |
| | 9526 | | break; |
| | 9527 | | } |
| | 9528 | | } |
| | 9529 | | } |
| | 9530 | | #endif |
| | 9531 | | } |
| | 9532 | |
|
| | 9533 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9534 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9535 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9536 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 9537 | | uint tag; |
| | 9538 | | while ((tag = input.ReadTag()) != 0) { |
| | 9539 | | switch(tag) { |
| | 9540 | | default: |
| | 9541 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 9542 | | break; |
| | 9543 | | case 10: { |
| | 9544 | | Id = input.ReadString(); |
| | 9545 | | break; |
| | 9546 | | } |
| | 9547 | | case 18: { |
| | 9548 | | BaseUrl = input.ReadString(); |
| | 9549 | | break; |
| | 9550 | | } |
| | 9551 | | case 792: { |
| | 9552 | | SceneNumber = input.ReadInt32(); |
| | 9553 | | break; |
| | 9554 | | } |
| | 9555 | | } |
| | 9556 | | } |
| | 9557 | | } |
| | 9558 | | #endif |
| | 9559 | |
|
| | 9560 | | } |
| | 9561 | |
|
| | 9562 | | public sealed partial class PB_UnloadScene : pb::IMessage<PB_UnloadScene> |
| | 9563 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9564 | | , pb::IBufferMessage |
| | 9565 | | #endif |
| | 9566 | | { |
| | 9567 | | private static readonly pb::MessageParser<PB_UnloadScene> _parser = new pb::MessageParser<PB_UnloadScene>(() => new |
| | 9568 | | private pb::UnknownFieldSet _unknownFields; |
| | 9569 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9570 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9571 | | public static pb::MessageParser<PB_UnloadScene> Parser { get { return _parser; } } |
| | 9572 | |
|
| | 9573 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9574 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9575 | | public static pbr::MessageDescriptor Descriptor { |
| | 9576 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[25]; } |
| | 9577 | | } |
| | 9578 | |
|
| | 9579 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9580 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9581 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 9582 | | get { return Descriptor; } |
| | 9583 | | } |
| | 9584 | |
|
| | 9585 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9586 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9587 | | public PB_UnloadScene() { |
| | 9588 | | OnConstruction(); |
| | 9589 | | } |
| | 9590 | |
|
| | 9591 | | partial void OnConstruction(); |
| | 9592 | |
|
| | 9593 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9594 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9595 | | public PB_UnloadScene(PB_UnloadScene other) : this() { |
| | 9596 | | sceneId_ = other.sceneId_; |
| | 9597 | | sceneNumber_ = other.sceneNumber_; |
| | 9598 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 9599 | | } |
| | 9600 | |
|
| | 9601 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9602 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9603 | | public PB_UnloadScene Clone() { |
| | 9604 | | return new PB_UnloadScene(this); |
| | 9605 | | } |
| | 9606 | |
|
| | 9607 | | /// <summary>Field number for the "sceneId" field.</summary> |
| | 9608 | | public const int SceneIdFieldNumber = 1; |
| | 9609 | | private string sceneId_ = ""; |
| | 9610 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9611 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9612 | | public string SceneId { |
| | 9613 | | get { return sceneId_; } |
| | 9614 | | set { |
| | 9615 | | sceneId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 9616 | | } |
| | 9617 | | } |
| | 9618 | |
|
| | 9619 | | /// <summary>Field number for the "sceneNumber" field.</summary> |
| | 9620 | | public const int SceneNumberFieldNumber = 99; |
| | 9621 | | private int sceneNumber_; |
| | 9622 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9623 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9624 | | public int SceneNumber { |
| | 9625 | | get { return sceneNumber_; } |
| | 9626 | | set { |
| | 9627 | | sceneNumber_ = value; |
| | 9628 | | } |
| | 9629 | | } |
| | 9630 | |
|
| | 9631 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9632 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9633 | | public override bool Equals(object other) { |
| | 9634 | | return Equals(other as PB_UnloadScene); |
| | 9635 | | } |
| | 9636 | |
|
| | 9637 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9638 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9639 | | public bool Equals(PB_UnloadScene other) { |
| | 9640 | | if (ReferenceEquals(other, null)) { |
| | 9641 | | return false; |
| | 9642 | | } |
| | 9643 | | if (ReferenceEquals(other, this)) { |
| | 9644 | | return true; |
| | 9645 | | } |
| | 9646 | | if (SceneId != other.SceneId) return false; |
| | 9647 | | if (SceneNumber != other.SceneNumber) return false; |
| | 9648 | | return Equals(_unknownFields, other._unknownFields); |
| | 9649 | | } |
| | 9650 | |
|
| | 9651 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9652 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9653 | | public override int GetHashCode() { |
| | 9654 | | int hash = 1; |
| | 9655 | | if (SceneId.Length != 0) hash ^= SceneId.GetHashCode(); |
| | 9656 | | if (SceneNumber != 0) hash ^= SceneNumber.GetHashCode(); |
| | 9657 | | if (_unknownFields != null) { |
| | 9658 | | hash ^= _unknownFields.GetHashCode(); |
| | 9659 | | } |
| | 9660 | | return hash; |
| | 9661 | | } |
| | 9662 | |
|
| | 9663 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9664 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9665 | | public override string ToString() { |
| | 9666 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 9667 | | } |
| | 9668 | |
|
| | 9669 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9670 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9671 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 9672 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9673 | | output.WriteRawMessage(this); |
| | 9674 | | #else |
| | 9675 | | if (SceneId.Length != 0) { |
| | 9676 | | output.WriteRawTag(10); |
| | 9677 | | output.WriteString(SceneId); |
| | 9678 | | } |
| | 9679 | | if (SceneNumber != 0) { |
| | 9680 | | output.WriteRawTag(152, 6); |
| | 9681 | | output.WriteInt32(SceneNumber); |
| | 9682 | | } |
| | 9683 | | if (_unknownFields != null) { |
| | 9684 | | _unknownFields.WriteTo(output); |
| | 9685 | | } |
| | 9686 | | #endif |
| | 9687 | | } |
| | 9688 | |
|
| | 9689 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9690 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9691 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9692 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 9693 | | if (SceneId.Length != 0) { |
| | 9694 | | output.WriteRawTag(10); |
| | 9695 | | output.WriteString(SceneId); |
| | 9696 | | } |
| | 9697 | | if (SceneNumber != 0) { |
| | 9698 | | output.WriteRawTag(152, 6); |
| | 9699 | | output.WriteInt32(SceneNumber); |
| | 9700 | | } |
| | 9701 | | if (_unknownFields != null) { |
| | 9702 | | _unknownFields.WriteTo(ref output); |
| | 9703 | | } |
| | 9704 | | } |
| | 9705 | | #endif |
| | 9706 | |
|
| | 9707 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9708 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9709 | | public int CalculateSize() { |
| | 9710 | | int size = 0; |
| | 9711 | | if (SceneId.Length != 0) { |
| | 9712 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(SceneId); |
| | 9713 | | } |
| | 9714 | | if (SceneNumber != 0) { |
| | 9715 | | size += 2 + pb::CodedOutputStream.ComputeInt32Size(SceneNumber); |
| | 9716 | | } |
| | 9717 | | if (_unknownFields != null) { |
| | 9718 | | size += _unknownFields.CalculateSize(); |
| | 9719 | | } |
| | 9720 | | return size; |
| | 9721 | | } |
| | 9722 | |
|
| | 9723 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9724 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9725 | | public void MergeFrom(PB_UnloadScene other) { |
| | 9726 | | if (other == null) { |
| | 9727 | | return; |
| | 9728 | | } |
| | 9729 | | if (other.SceneId.Length != 0) { |
| | 9730 | | SceneId = other.SceneId; |
| | 9731 | | } |
| | 9732 | | if (other.SceneNumber != 0) { |
| | 9733 | | SceneNumber = other.SceneNumber; |
| | 9734 | | } |
| | 9735 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 9736 | | } |
| | 9737 | |
|
| | 9738 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9739 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9740 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 9741 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9742 | | input.ReadRawMessage(this); |
| | 9743 | | #else |
| | 9744 | | uint tag; |
| | 9745 | | while ((tag = input.ReadTag()) != 0) { |
| | 9746 | | switch(tag) { |
| | 9747 | | default: |
| | 9748 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 9749 | | break; |
| | 9750 | | case 10: { |
| | 9751 | | SceneId = input.ReadString(); |
| | 9752 | | break; |
| | 9753 | | } |
| | 9754 | | case 792: { |
| | 9755 | | SceneNumber = input.ReadInt32(); |
| | 9756 | | break; |
| | 9757 | | } |
| | 9758 | | } |
| | 9759 | | } |
| | 9760 | | #endif |
| | 9761 | | } |
| | 9762 | |
|
| | 9763 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9764 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9765 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9766 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 9767 | | uint tag; |
| | 9768 | | while ((tag = input.ReadTag()) != 0) { |
| | 9769 | | switch(tag) { |
| | 9770 | | default: |
| | 9771 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 9772 | | break; |
| | 9773 | | case 10: { |
| | 9774 | | SceneId = input.ReadString(); |
| | 9775 | | break; |
| | 9776 | | } |
| | 9777 | | case 792: { |
| | 9778 | | SceneNumber = input.ReadInt32(); |
| | 9779 | | break; |
| | 9780 | | } |
| | 9781 | | } |
| | 9782 | | } |
| | 9783 | | } |
| | 9784 | | #endif |
| | 9785 | |
|
| | 9786 | | } |
| | 9787 | |
|
| | 9788 | | public sealed partial class PB_DclMessage : pb::IMessage<PB_DclMessage> |
| | 9789 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 9790 | | , pb::IBufferMessage |
| | 9791 | | #endif |
| | 9792 | | { |
| | 9793 | | private static readonly pb::MessageParser<PB_DclMessage> _parser = new pb::MessageParser<PB_DclMessage>(() => new PB |
| | 9794 | | private pb::UnknownFieldSet _unknownFields; |
| | 9795 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9796 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9797 | | public static pb::MessageParser<PB_DclMessage> Parser { get { return _parser; } } |
| | 9798 | |
|
| | 9799 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9800 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9801 | | public static pbr::MessageDescriptor Descriptor { |
| | 9802 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[26]; } |
| | 9803 | | } |
| | 9804 | |
|
| | 9805 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9806 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9807 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 9808 | | get { return Descriptor; } |
| | 9809 | | } |
| | 9810 | |
|
| | 9811 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9812 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9813 | | public PB_DclMessage() { |
| | 9814 | | OnConstruction(); |
| | 9815 | | } |
| | 9816 | |
|
| | 9817 | | partial void OnConstruction(); |
| | 9818 | |
|
| | 9819 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9820 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9821 | | public PB_DclMessage(PB_DclMessage other) : this() { |
| | 9822 | | switch (other.MessageCase) { |
| | 9823 | | case MessageOneofCase.SetDebug: |
| | 9824 | | SetDebug = other.SetDebug.Clone(); |
| | 9825 | | break; |
| | 9826 | | case MessageOneofCase.SetSceneDebugPanel: |
| | 9827 | | SetSceneDebugPanel = other.SetSceneDebugPanel.Clone(); |
| | 9828 | | break; |
| | 9829 | | case MessageOneofCase.SetEngineDebugPanel: |
| | 9830 | | SetEngineDebugPanel = other.SetEngineDebugPanel.Clone(); |
| | 9831 | | break; |
| | 9832 | | case MessageOneofCase.SendSceneMessage: |
| | 9833 | | SendSceneMessage = other.SendSceneMessage.Clone(); |
| | 9834 | | break; |
| | 9835 | | case MessageOneofCase.LoadParcelScenes: |
| | 9836 | | LoadParcelScenes = other.LoadParcelScenes.Clone(); |
| | 9837 | | break; |
| | 9838 | | case MessageOneofCase.UnloadScene: |
| | 9839 | | UnloadScene = other.UnloadScene.Clone(); |
| | 9840 | | break; |
| | 9841 | | case MessageOneofCase.SetPosition: |
| | 9842 | | SetPosition = other.SetPosition.Clone(); |
| | 9843 | | break; |
| | 9844 | | case MessageOneofCase.Reset: |
| | 9845 | | Reset = other.Reset.Clone(); |
| | 9846 | | break; |
| | 9847 | | case MessageOneofCase.CreateUIScene: |
| | 9848 | | CreateUIScene = other.CreateUIScene.Clone(); |
| | 9849 | | break; |
| | 9850 | | } |
| | 9851 | |
|
| | 9852 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 9853 | | } |
| | 9854 | |
|
| | 9855 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9856 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9857 | | public PB_DclMessage Clone() { |
| | 9858 | | return new PB_DclMessage(this); |
| | 9859 | | } |
| | 9860 | |
|
| | 9861 | | /// <summary>Field number for the "setDebug" field.</summary> |
| | 9862 | | public const int SetDebugFieldNumber = 1; |
| | 9863 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9864 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9865 | | public global::Google.Protobuf.WellKnownTypes.Empty SetDebug { |
| | 9866 | | get { return messageCase_ == MessageOneofCase.SetDebug ? (global::Google.Protobuf.WellKnownTypes.Empty) message_ : |
| | 9867 | | set { |
| | 9868 | | message_ = value; |
| | 9869 | | messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.SetDebug; |
| | 9870 | | } |
| | 9871 | | } |
| | 9872 | |
|
| | 9873 | | /// <summary>Field number for the "setSceneDebugPanel" field.</summary> |
| | 9874 | | public const int SetSceneDebugPanelFieldNumber = 2; |
| | 9875 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9876 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9877 | | public global::Google.Protobuf.WellKnownTypes.Empty SetSceneDebugPanel { |
| | 9878 | | get { return messageCase_ == MessageOneofCase.SetSceneDebugPanel ? (global::Google.Protobuf.WellKnownTypes.Empty) |
| | 9879 | | set { |
| | 9880 | | message_ = value; |
| | 9881 | | messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.SetSceneDebugPanel; |
| | 9882 | | } |
| | 9883 | | } |
| | 9884 | |
|
| | 9885 | | /// <summary>Field number for the "setEngineDebugPanel" field.</summary> |
| | 9886 | | public const int SetEngineDebugPanelFieldNumber = 3; |
| | 9887 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9888 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9889 | | public global::Google.Protobuf.WellKnownTypes.Empty SetEngineDebugPanel { |
| | 9890 | | get { return messageCase_ == MessageOneofCase.SetEngineDebugPanel ? (global::Google.Protobuf.WellKnownTypes.Empty) |
| | 9891 | | set { |
| | 9892 | | message_ = value; |
| | 9893 | | messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.SetEngineDebugPanel; |
| | 9894 | | } |
| | 9895 | | } |
| | 9896 | |
|
| | 9897 | | /// <summary>Field number for the "sendSceneMessage" field.</summary> |
| | 9898 | | public const int SendSceneMessageFieldNumber = 4; |
| | 9899 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9900 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9901 | | public global::DCL.Interface.PB_SendSceneMessage SendSceneMessage { |
| | 9902 | | get { return messageCase_ == MessageOneofCase.SendSceneMessage ? (global::DCL.Interface.PB_SendSceneMessage) messa |
| | 9903 | | set { |
| | 9904 | | message_ = value; |
| | 9905 | | messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.SendSceneMessage; |
| | 9906 | | } |
| | 9907 | | } |
| | 9908 | |
|
| | 9909 | | /// <summary>Field number for the "loadParcelScenes" field.</summary> |
| | 9910 | | public const int LoadParcelScenesFieldNumber = 5; |
| | 9911 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9912 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9913 | | public global::DCL.Interface.PB_LoadParcelScenes LoadParcelScenes { |
| | 9914 | | get { return messageCase_ == MessageOneofCase.LoadParcelScenes ? (global::DCL.Interface.PB_LoadParcelScenes) messa |
| | 9915 | | set { |
| | 9916 | | message_ = value; |
| | 9917 | | messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.LoadParcelScenes; |
| | 9918 | | } |
| | 9919 | | } |
| | 9920 | |
|
| | 9921 | | /// <summary>Field number for the "unloadScene" field.</summary> |
| | 9922 | | public const int UnloadSceneFieldNumber = 6; |
| | 9923 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9924 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9925 | | public global::DCL.Interface.PB_UnloadScene UnloadScene { |
| | 9926 | | get { return messageCase_ == MessageOneofCase.UnloadScene ? (global::DCL.Interface.PB_UnloadScene) message_ : null |
| | 9927 | | set { |
| | 9928 | | message_ = value; |
| | 9929 | | messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.UnloadScene; |
| | 9930 | | } |
| | 9931 | | } |
| | 9932 | |
|
| | 9933 | | /// <summary>Field number for the "setPosition" field.</summary> |
| | 9934 | | public const int SetPositionFieldNumber = 7; |
| | 9935 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9936 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9937 | | public global::DCL.Interface.PB_SetPosition SetPosition { |
| | 9938 | | get { return messageCase_ == MessageOneofCase.SetPosition ? (global::DCL.Interface.PB_SetPosition) message_ : null |
| | 9939 | | set { |
| | 9940 | | message_ = value; |
| | 9941 | | messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.SetPosition; |
| | 9942 | | } |
| | 9943 | | } |
| | 9944 | |
|
| | 9945 | | /// <summary>Field number for the "reset" field.</summary> |
| | 9946 | | public const int ResetFieldNumber = 8; |
| | 9947 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9948 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9949 | | public global::Google.Protobuf.WellKnownTypes.Empty Reset { |
| | 9950 | | get { return messageCase_ == MessageOneofCase.Reset ? (global::Google.Protobuf.WellKnownTypes.Empty) message_ : nu |
| | 9951 | | set { |
| | 9952 | | message_ = value; |
| | 9953 | | messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.Reset; |
| | 9954 | | } |
| | 9955 | | } |
| | 9956 | |
|
| | 9957 | | /// <summary>Field number for the "createUIScene" field.</summary> |
| | 9958 | | public const int CreateUISceneFieldNumber = 9; |
| | 9959 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9960 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9961 | | public global::DCL.Interface.PB_CreateUIScene CreateUIScene { |
| | 9962 | | get { return messageCase_ == MessageOneofCase.CreateUIScene ? (global::DCL.Interface.PB_CreateUIScene) message_ : |
| | 9963 | | set { |
| | 9964 | | message_ = value; |
| | 9965 | | messageCase_ = value == null ? MessageOneofCase.None : MessageOneofCase.CreateUIScene; |
| | 9966 | | } |
| | 9967 | | } |
| | 9968 | |
|
| | 9969 | | private object message_; |
| | 9970 | | /// <summary>Enum of possible cases for the "message" oneof.</summary> |
| | 9971 | | public enum MessageOneofCase { |
| | 9972 | | None = 0, |
| | 9973 | | SetDebug = 1, |
| | 9974 | | SetSceneDebugPanel = 2, |
| | 9975 | | SetEngineDebugPanel = 3, |
| | 9976 | | SendSceneMessage = 4, |
| | 9977 | | LoadParcelScenes = 5, |
| | 9978 | | UnloadScene = 6, |
| | 9979 | | SetPosition = 7, |
| | 9980 | | Reset = 8, |
| | 9981 | | CreateUIScene = 9, |
| | 9982 | | } |
| | 9983 | | private MessageOneofCase messageCase_ = MessageOneofCase.None; |
| | 9984 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9985 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9986 | | public MessageOneofCase MessageCase { |
| | 9987 | | get { return messageCase_; } |
| | 9988 | | } |
| | 9989 | |
|
| | 9990 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9991 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9992 | | public void ClearMessage() { |
| | 9993 | | messageCase_ = MessageOneofCase.None; |
| | 9994 | | message_ = null; |
| | 9995 | | } |
| | 9996 | |
|
| | 9997 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 9998 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 9999 | | public override bool Equals(object other) { |
| | 10000 | | return Equals(other as PB_DclMessage); |
| | 10001 | | } |
| | 10002 | |
|
| | 10003 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10004 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10005 | | public bool Equals(PB_DclMessage other) { |
| | 10006 | | if (ReferenceEquals(other, null)) { |
| | 10007 | | return false; |
| | 10008 | | } |
| | 10009 | | if (ReferenceEquals(other, this)) { |
| | 10010 | | return true; |
| | 10011 | | } |
| | 10012 | | if (!object.Equals(SetDebug, other.SetDebug)) return false; |
| | 10013 | | if (!object.Equals(SetSceneDebugPanel, other.SetSceneDebugPanel)) return false; |
| | 10014 | | if (!object.Equals(SetEngineDebugPanel, other.SetEngineDebugPanel)) return false; |
| | 10015 | | if (!object.Equals(SendSceneMessage, other.SendSceneMessage)) return false; |
| | 10016 | | if (!object.Equals(LoadParcelScenes, other.LoadParcelScenes)) return false; |
| | 10017 | | if (!object.Equals(UnloadScene, other.UnloadScene)) return false; |
| | 10018 | | if (!object.Equals(SetPosition, other.SetPosition)) return false; |
| | 10019 | | if (!object.Equals(Reset, other.Reset)) return false; |
| | 10020 | | if (!object.Equals(CreateUIScene, other.CreateUIScene)) return false; |
| | 10021 | | if (MessageCase != other.MessageCase) return false; |
| | 10022 | | return Equals(_unknownFields, other._unknownFields); |
| | 10023 | | } |
| | 10024 | |
|
| | 10025 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10026 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10027 | | public override int GetHashCode() { |
| | 10028 | | int hash = 1; |
| | 10029 | | if (messageCase_ == MessageOneofCase.SetDebug) hash ^= SetDebug.GetHashCode(); |
| | 10030 | | if (messageCase_ == MessageOneofCase.SetSceneDebugPanel) hash ^= SetSceneDebugPanel.GetHashCode(); |
| | 10031 | | if (messageCase_ == MessageOneofCase.SetEngineDebugPanel) hash ^= SetEngineDebugPanel.GetHashCode(); |
| | 10032 | | if (messageCase_ == MessageOneofCase.SendSceneMessage) hash ^= SendSceneMessage.GetHashCode(); |
| | 10033 | | if (messageCase_ == MessageOneofCase.LoadParcelScenes) hash ^= LoadParcelScenes.GetHashCode(); |
| | 10034 | | if (messageCase_ == MessageOneofCase.UnloadScene) hash ^= UnloadScene.GetHashCode(); |
| | 10035 | | if (messageCase_ == MessageOneofCase.SetPosition) hash ^= SetPosition.GetHashCode(); |
| | 10036 | | if (messageCase_ == MessageOneofCase.Reset) hash ^= Reset.GetHashCode(); |
| | 10037 | | if (messageCase_ == MessageOneofCase.CreateUIScene) hash ^= CreateUIScene.GetHashCode(); |
| | 10038 | | hash ^= (int) messageCase_; |
| | 10039 | | if (_unknownFields != null) { |
| | 10040 | | hash ^= _unknownFields.GetHashCode(); |
| | 10041 | | } |
| | 10042 | | return hash; |
| | 10043 | | } |
| | 10044 | |
|
| | 10045 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10046 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10047 | | public override string ToString() { |
| | 10048 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 10049 | | } |
| | 10050 | |
|
| | 10051 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10052 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10053 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 10054 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10055 | | output.WriteRawMessage(this); |
| | 10056 | | #else |
| | 10057 | | if (messageCase_ == MessageOneofCase.SetDebug) { |
| | 10058 | | output.WriteRawTag(10); |
| | 10059 | | output.WriteMessage(SetDebug); |
| | 10060 | | } |
| | 10061 | | if (messageCase_ == MessageOneofCase.SetSceneDebugPanel) { |
| | 10062 | | output.WriteRawTag(18); |
| | 10063 | | output.WriteMessage(SetSceneDebugPanel); |
| | 10064 | | } |
| | 10065 | | if (messageCase_ == MessageOneofCase.SetEngineDebugPanel) { |
| | 10066 | | output.WriteRawTag(26); |
| | 10067 | | output.WriteMessage(SetEngineDebugPanel); |
| | 10068 | | } |
| | 10069 | | if (messageCase_ == MessageOneofCase.SendSceneMessage) { |
| | 10070 | | output.WriteRawTag(34); |
| | 10071 | | output.WriteMessage(SendSceneMessage); |
| | 10072 | | } |
| | 10073 | | if (messageCase_ == MessageOneofCase.LoadParcelScenes) { |
| | 10074 | | output.WriteRawTag(42); |
| | 10075 | | output.WriteMessage(LoadParcelScenes); |
| | 10076 | | } |
| | 10077 | | if (messageCase_ == MessageOneofCase.UnloadScene) { |
| | 10078 | | output.WriteRawTag(50); |
| | 10079 | | output.WriteMessage(UnloadScene); |
| | 10080 | | } |
| | 10081 | | if (messageCase_ == MessageOneofCase.SetPosition) { |
| | 10082 | | output.WriteRawTag(58); |
| | 10083 | | output.WriteMessage(SetPosition); |
| | 10084 | | } |
| | 10085 | | if (messageCase_ == MessageOneofCase.Reset) { |
| | 10086 | | output.WriteRawTag(66); |
| | 10087 | | output.WriteMessage(Reset); |
| | 10088 | | } |
| | 10089 | | if (messageCase_ == MessageOneofCase.CreateUIScene) { |
| | 10090 | | output.WriteRawTag(74); |
| | 10091 | | output.WriteMessage(CreateUIScene); |
| | 10092 | | } |
| | 10093 | | if (_unknownFields != null) { |
| | 10094 | | _unknownFields.WriteTo(output); |
| | 10095 | | } |
| | 10096 | | #endif |
| | 10097 | | } |
| | 10098 | |
|
| | 10099 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10100 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10101 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10102 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 10103 | | if (messageCase_ == MessageOneofCase.SetDebug) { |
| | 10104 | | output.WriteRawTag(10); |
| | 10105 | | output.WriteMessage(SetDebug); |
| | 10106 | | } |
| | 10107 | | if (messageCase_ == MessageOneofCase.SetSceneDebugPanel) { |
| | 10108 | | output.WriteRawTag(18); |
| | 10109 | | output.WriteMessage(SetSceneDebugPanel); |
| | 10110 | | } |
| | 10111 | | if (messageCase_ == MessageOneofCase.SetEngineDebugPanel) { |
| | 10112 | | output.WriteRawTag(26); |
| | 10113 | | output.WriteMessage(SetEngineDebugPanel); |
| | 10114 | | } |
| | 10115 | | if (messageCase_ == MessageOneofCase.SendSceneMessage) { |
| | 10116 | | output.WriteRawTag(34); |
| | 10117 | | output.WriteMessage(SendSceneMessage); |
| | 10118 | | } |
| | 10119 | | if (messageCase_ == MessageOneofCase.LoadParcelScenes) { |
| | 10120 | | output.WriteRawTag(42); |
| | 10121 | | output.WriteMessage(LoadParcelScenes); |
| | 10122 | | } |
| | 10123 | | if (messageCase_ == MessageOneofCase.UnloadScene) { |
| | 10124 | | output.WriteRawTag(50); |
| | 10125 | | output.WriteMessage(UnloadScene); |
| | 10126 | | } |
| | 10127 | | if (messageCase_ == MessageOneofCase.SetPosition) { |
| | 10128 | | output.WriteRawTag(58); |
| | 10129 | | output.WriteMessage(SetPosition); |
| | 10130 | | } |
| | 10131 | | if (messageCase_ == MessageOneofCase.Reset) { |
| | 10132 | | output.WriteRawTag(66); |
| | 10133 | | output.WriteMessage(Reset); |
| | 10134 | | } |
| | 10135 | | if (messageCase_ == MessageOneofCase.CreateUIScene) { |
| | 10136 | | output.WriteRawTag(74); |
| | 10137 | | output.WriteMessage(CreateUIScene); |
| | 10138 | | } |
| | 10139 | | if (_unknownFields != null) { |
| | 10140 | | _unknownFields.WriteTo(ref output); |
| | 10141 | | } |
| | 10142 | | } |
| | 10143 | | #endif |
| | 10144 | |
|
| | 10145 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10146 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10147 | | public int CalculateSize() { |
| | 10148 | | int size = 0; |
| | 10149 | | if (messageCase_ == MessageOneofCase.SetDebug) { |
| | 10150 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SetDebug); |
| | 10151 | | } |
| | 10152 | | if (messageCase_ == MessageOneofCase.SetSceneDebugPanel) { |
| | 10153 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SetSceneDebugPanel); |
| | 10154 | | } |
| | 10155 | | if (messageCase_ == MessageOneofCase.SetEngineDebugPanel) { |
| | 10156 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SetEngineDebugPanel); |
| | 10157 | | } |
| | 10158 | | if (messageCase_ == MessageOneofCase.SendSceneMessage) { |
| | 10159 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SendSceneMessage); |
| | 10160 | | } |
| | 10161 | | if (messageCase_ == MessageOneofCase.LoadParcelScenes) { |
| | 10162 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(LoadParcelScenes); |
| | 10163 | | } |
| | 10164 | | if (messageCase_ == MessageOneofCase.UnloadScene) { |
| | 10165 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnloadScene); |
| | 10166 | | } |
| | 10167 | | if (messageCase_ == MessageOneofCase.SetPosition) { |
| | 10168 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(SetPosition); |
| | 10169 | | } |
| | 10170 | | if (messageCase_ == MessageOneofCase.Reset) { |
| | 10171 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Reset); |
| | 10172 | | } |
| | 10173 | | if (messageCase_ == MessageOneofCase.CreateUIScene) { |
| | 10174 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(CreateUIScene); |
| | 10175 | | } |
| | 10176 | | if (_unknownFields != null) { |
| | 10177 | | size += _unknownFields.CalculateSize(); |
| | 10178 | | } |
| | 10179 | | return size; |
| | 10180 | | } |
| | 10181 | |
|
| | 10182 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10183 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10184 | | public void MergeFrom(PB_DclMessage other) { |
| | 10185 | | if (other == null) { |
| | 10186 | | return; |
| | 10187 | | } |
| | 10188 | | switch (other.MessageCase) { |
| | 10189 | | case MessageOneofCase.SetDebug: |
| | 10190 | | if (SetDebug == null) { |
| | 10191 | | SetDebug = new global::Google.Protobuf.WellKnownTypes.Empty(); |
| | 10192 | | } |
| | 10193 | | SetDebug.MergeFrom(other.SetDebug); |
| | 10194 | | break; |
| | 10195 | | case MessageOneofCase.SetSceneDebugPanel: |
| | 10196 | | if (SetSceneDebugPanel == null) { |
| | 10197 | | SetSceneDebugPanel = new global::Google.Protobuf.WellKnownTypes.Empty(); |
| | 10198 | | } |
| | 10199 | | SetSceneDebugPanel.MergeFrom(other.SetSceneDebugPanel); |
| | 10200 | | break; |
| | 10201 | | case MessageOneofCase.SetEngineDebugPanel: |
| | 10202 | | if (SetEngineDebugPanel == null) { |
| | 10203 | | SetEngineDebugPanel = new global::Google.Protobuf.WellKnownTypes.Empty(); |
| | 10204 | | } |
| | 10205 | | SetEngineDebugPanel.MergeFrom(other.SetEngineDebugPanel); |
| | 10206 | | break; |
| | 10207 | | case MessageOneofCase.SendSceneMessage: |
| | 10208 | | if (SendSceneMessage == null) { |
| | 10209 | | SendSceneMessage = new global::DCL.Interface.PB_SendSceneMessage(); |
| | 10210 | | } |
| | 10211 | | SendSceneMessage.MergeFrom(other.SendSceneMessage); |
| | 10212 | | break; |
| | 10213 | | case MessageOneofCase.LoadParcelScenes: |
| | 10214 | | if (LoadParcelScenes == null) { |
| | 10215 | | LoadParcelScenes = new global::DCL.Interface.PB_LoadParcelScenes(); |
| | 10216 | | } |
| | 10217 | | LoadParcelScenes.MergeFrom(other.LoadParcelScenes); |
| | 10218 | | break; |
| | 10219 | | case MessageOneofCase.UnloadScene: |
| | 10220 | | if (UnloadScene == null) { |
| | 10221 | | UnloadScene = new global::DCL.Interface.PB_UnloadScene(); |
| | 10222 | | } |
| | 10223 | | UnloadScene.MergeFrom(other.UnloadScene); |
| | 10224 | | break; |
| | 10225 | | case MessageOneofCase.SetPosition: |
| | 10226 | | if (SetPosition == null) { |
| | 10227 | | SetPosition = new global::DCL.Interface.PB_SetPosition(); |
| | 10228 | | } |
| | 10229 | | SetPosition.MergeFrom(other.SetPosition); |
| | 10230 | | break; |
| | 10231 | | case MessageOneofCase.Reset: |
| | 10232 | | if (Reset == null) { |
| | 10233 | | Reset = new global::Google.Protobuf.WellKnownTypes.Empty(); |
| | 10234 | | } |
| | 10235 | | Reset.MergeFrom(other.Reset); |
| | 10236 | | break; |
| | 10237 | | case MessageOneofCase.CreateUIScene: |
| | 10238 | | if (CreateUIScene == null) { |
| | 10239 | | CreateUIScene = new global::DCL.Interface.PB_CreateUIScene(); |
| | 10240 | | } |
| | 10241 | | CreateUIScene.MergeFrom(other.CreateUIScene); |
| | 10242 | | break; |
| | 10243 | | } |
| | 10244 | |
|
| | 10245 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 10246 | | } |
| | 10247 | |
|
| | 10248 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10249 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10250 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 10251 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10252 | | input.ReadRawMessage(this); |
| | 10253 | | #else |
| | 10254 | | uint tag; |
| | 10255 | | while ((tag = input.ReadTag()) != 0) { |
| | 10256 | | switch(tag) { |
| | 10257 | | default: |
| | 10258 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 10259 | | break; |
| | 10260 | | case 10: { |
| | 10261 | | global::Google.Protobuf.WellKnownTypes.Empty subBuilder = new global::Google.Protobuf.WellKnownTypes.Empty() |
| | 10262 | | if (messageCase_ == MessageOneofCase.SetDebug) { |
| | 10263 | | subBuilder.MergeFrom(SetDebug); |
| | 10264 | | } |
| | 10265 | | input.ReadMessage(subBuilder); |
| | 10266 | | SetDebug = subBuilder; |
| | 10267 | | break; |
| | 10268 | | } |
| | 10269 | | case 18: { |
| | 10270 | | global::Google.Protobuf.WellKnownTypes.Empty subBuilder = new global::Google.Protobuf.WellKnownTypes.Empty() |
| | 10271 | | if (messageCase_ == MessageOneofCase.SetSceneDebugPanel) { |
| | 10272 | | subBuilder.MergeFrom(SetSceneDebugPanel); |
| | 10273 | | } |
| | 10274 | | input.ReadMessage(subBuilder); |
| | 10275 | | SetSceneDebugPanel = subBuilder; |
| | 10276 | | break; |
| | 10277 | | } |
| | 10278 | | case 26: { |
| | 10279 | | global::Google.Protobuf.WellKnownTypes.Empty subBuilder = new global::Google.Protobuf.WellKnownTypes.Empty() |
| | 10280 | | if (messageCase_ == MessageOneofCase.SetEngineDebugPanel) { |
| | 10281 | | subBuilder.MergeFrom(SetEngineDebugPanel); |
| | 10282 | | } |
| | 10283 | | input.ReadMessage(subBuilder); |
| | 10284 | | SetEngineDebugPanel = subBuilder; |
| | 10285 | | break; |
| | 10286 | | } |
| | 10287 | | case 34: { |
| | 10288 | | global::DCL.Interface.PB_SendSceneMessage subBuilder = new global::DCL.Interface.PB_SendSceneMessage(); |
| | 10289 | | if (messageCase_ == MessageOneofCase.SendSceneMessage) { |
| | 10290 | | subBuilder.MergeFrom(SendSceneMessage); |
| | 10291 | | } |
| | 10292 | | input.ReadMessage(subBuilder); |
| | 10293 | | SendSceneMessage = subBuilder; |
| | 10294 | | break; |
| | 10295 | | } |
| | 10296 | | case 42: { |
| | 10297 | | global::DCL.Interface.PB_LoadParcelScenes subBuilder = new global::DCL.Interface.PB_LoadParcelScenes(); |
| | 10298 | | if (messageCase_ == MessageOneofCase.LoadParcelScenes) { |
| | 10299 | | subBuilder.MergeFrom(LoadParcelScenes); |
| | 10300 | | } |
| | 10301 | | input.ReadMessage(subBuilder); |
| | 10302 | | LoadParcelScenes = subBuilder; |
| | 10303 | | break; |
| | 10304 | | } |
| | 10305 | | case 50: { |
| | 10306 | | global::DCL.Interface.PB_UnloadScene subBuilder = new global::DCL.Interface.PB_UnloadScene(); |
| | 10307 | | if (messageCase_ == MessageOneofCase.UnloadScene) { |
| | 10308 | | subBuilder.MergeFrom(UnloadScene); |
| | 10309 | | } |
| | 10310 | | input.ReadMessage(subBuilder); |
| | 10311 | | UnloadScene = subBuilder; |
| | 10312 | | break; |
| | 10313 | | } |
| | 10314 | | case 58: { |
| | 10315 | | global::DCL.Interface.PB_SetPosition subBuilder = new global::DCL.Interface.PB_SetPosition(); |
| | 10316 | | if (messageCase_ == MessageOneofCase.SetPosition) { |
| | 10317 | | subBuilder.MergeFrom(SetPosition); |
| | 10318 | | } |
| | 10319 | | input.ReadMessage(subBuilder); |
| | 10320 | | SetPosition = subBuilder; |
| | 10321 | | break; |
| | 10322 | | } |
| | 10323 | | case 66: { |
| | 10324 | | global::Google.Protobuf.WellKnownTypes.Empty subBuilder = new global::Google.Protobuf.WellKnownTypes.Empty() |
| | 10325 | | if (messageCase_ == MessageOneofCase.Reset) { |
| | 10326 | | subBuilder.MergeFrom(Reset); |
| | 10327 | | } |
| | 10328 | | input.ReadMessage(subBuilder); |
| | 10329 | | Reset = subBuilder; |
| | 10330 | | break; |
| | 10331 | | } |
| | 10332 | | case 74: { |
| | 10333 | | global::DCL.Interface.PB_CreateUIScene subBuilder = new global::DCL.Interface.PB_CreateUIScene(); |
| | 10334 | | if (messageCase_ == MessageOneofCase.CreateUIScene) { |
| | 10335 | | subBuilder.MergeFrom(CreateUIScene); |
| | 10336 | | } |
| | 10337 | | input.ReadMessage(subBuilder); |
| | 10338 | | CreateUIScene = subBuilder; |
| | 10339 | | break; |
| | 10340 | | } |
| | 10341 | | } |
| | 10342 | | } |
| | 10343 | | #endif |
| | 10344 | | } |
| | 10345 | |
|
| | 10346 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10347 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10348 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10349 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 10350 | | uint tag; |
| | 10351 | | while ((tag = input.ReadTag()) != 0) { |
| | 10352 | | switch(tag) { |
| | 10353 | | default: |
| | 10354 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 10355 | | break; |
| | 10356 | | case 10: { |
| | 10357 | | global::Google.Protobuf.WellKnownTypes.Empty subBuilder = new global::Google.Protobuf.WellKnownTypes.Empty() |
| | 10358 | | if (messageCase_ == MessageOneofCase.SetDebug) { |
| | 10359 | | subBuilder.MergeFrom(SetDebug); |
| | 10360 | | } |
| | 10361 | | input.ReadMessage(subBuilder); |
| | 10362 | | SetDebug = subBuilder; |
| | 10363 | | break; |
| | 10364 | | } |
| | 10365 | | case 18: { |
| | 10366 | | global::Google.Protobuf.WellKnownTypes.Empty subBuilder = new global::Google.Protobuf.WellKnownTypes.Empty() |
| | 10367 | | if (messageCase_ == MessageOneofCase.SetSceneDebugPanel) { |
| | 10368 | | subBuilder.MergeFrom(SetSceneDebugPanel); |
| | 10369 | | } |
| | 10370 | | input.ReadMessage(subBuilder); |
| | 10371 | | SetSceneDebugPanel = subBuilder; |
| | 10372 | | break; |
| | 10373 | | } |
| | 10374 | | case 26: { |
| | 10375 | | global::Google.Protobuf.WellKnownTypes.Empty subBuilder = new global::Google.Protobuf.WellKnownTypes.Empty() |
| | 10376 | | if (messageCase_ == MessageOneofCase.SetEngineDebugPanel) { |
| | 10377 | | subBuilder.MergeFrom(SetEngineDebugPanel); |
| | 10378 | | } |
| | 10379 | | input.ReadMessage(subBuilder); |
| | 10380 | | SetEngineDebugPanel = subBuilder; |
| | 10381 | | break; |
| | 10382 | | } |
| | 10383 | | case 34: { |
| | 10384 | | global::DCL.Interface.PB_SendSceneMessage subBuilder = new global::DCL.Interface.PB_SendSceneMessage(); |
| | 10385 | | if (messageCase_ == MessageOneofCase.SendSceneMessage) { |
| | 10386 | | subBuilder.MergeFrom(SendSceneMessage); |
| | 10387 | | } |
| | 10388 | | input.ReadMessage(subBuilder); |
| | 10389 | | SendSceneMessage = subBuilder; |
| | 10390 | | break; |
| | 10391 | | } |
| | 10392 | | case 42: { |
| | 10393 | | global::DCL.Interface.PB_LoadParcelScenes subBuilder = new global::DCL.Interface.PB_LoadParcelScenes(); |
| | 10394 | | if (messageCase_ == MessageOneofCase.LoadParcelScenes) { |
| | 10395 | | subBuilder.MergeFrom(LoadParcelScenes); |
| | 10396 | | } |
| | 10397 | | input.ReadMessage(subBuilder); |
| | 10398 | | LoadParcelScenes = subBuilder; |
| | 10399 | | break; |
| | 10400 | | } |
| | 10401 | | case 50: { |
| | 10402 | | global::DCL.Interface.PB_UnloadScene subBuilder = new global::DCL.Interface.PB_UnloadScene(); |
| | 10403 | | if (messageCase_ == MessageOneofCase.UnloadScene) { |
| | 10404 | | subBuilder.MergeFrom(UnloadScene); |
| | 10405 | | } |
| | 10406 | | input.ReadMessage(subBuilder); |
| | 10407 | | UnloadScene = subBuilder; |
| | 10408 | | break; |
| | 10409 | | } |
| | 10410 | | case 58: { |
| | 10411 | | global::DCL.Interface.PB_SetPosition subBuilder = new global::DCL.Interface.PB_SetPosition(); |
| | 10412 | | if (messageCase_ == MessageOneofCase.SetPosition) { |
| | 10413 | | subBuilder.MergeFrom(SetPosition); |
| | 10414 | | } |
| | 10415 | | input.ReadMessage(subBuilder); |
| | 10416 | | SetPosition = subBuilder; |
| | 10417 | | break; |
| | 10418 | | } |
| | 10419 | | case 66: { |
| | 10420 | | global::Google.Protobuf.WellKnownTypes.Empty subBuilder = new global::Google.Protobuf.WellKnownTypes.Empty() |
| | 10421 | | if (messageCase_ == MessageOneofCase.Reset) { |
| | 10422 | | subBuilder.MergeFrom(Reset); |
| | 10423 | | } |
| | 10424 | | input.ReadMessage(subBuilder); |
| | 10425 | | Reset = subBuilder; |
| | 10426 | | break; |
| | 10427 | | } |
| | 10428 | | case 74: { |
| | 10429 | | global::DCL.Interface.PB_CreateUIScene subBuilder = new global::DCL.Interface.PB_CreateUIScene(); |
| | 10430 | | if (messageCase_ == MessageOneofCase.CreateUIScene) { |
| | 10431 | | subBuilder.MergeFrom(CreateUIScene); |
| | 10432 | | } |
| | 10433 | | input.ReadMessage(subBuilder); |
| | 10434 | | CreateUIScene = subBuilder; |
| | 10435 | | break; |
| | 10436 | | } |
| | 10437 | | } |
| | 10438 | | } |
| | 10439 | | } |
| | 10440 | | #endif |
| | 10441 | |
|
| | 10442 | | } |
| | 10443 | |
|
| | 10444 | | public sealed partial class PB_AnimationState : pb::IMessage<PB_AnimationState> |
| | 10445 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10446 | | , pb::IBufferMessage |
| | 10447 | | #endif |
| | 10448 | | { |
| | 10449 | | private static readonly pb::MessageParser<PB_AnimationState> _parser = new pb::MessageParser<PB_AnimationState>(() = |
| | 10450 | | private pb::UnknownFieldSet _unknownFields; |
| | 10451 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10452 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10453 | | public static pb::MessageParser<PB_AnimationState> Parser { get { return _parser; } } |
| | 10454 | |
|
| | 10455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10457 | | public static pbr::MessageDescriptor Descriptor { |
| | 10458 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[27]; } |
| | 10459 | | } |
| | 10460 | |
|
| | 10461 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10462 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10463 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 10464 | | get { return Descriptor; } |
| | 10465 | | } |
| | 10466 | |
|
| | 10467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10469 | | public PB_AnimationState() { |
| | 10470 | | OnConstruction(); |
| | 10471 | | } |
| | 10472 | |
|
| | 10473 | | partial void OnConstruction(); |
| | 10474 | |
|
| | 10475 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10476 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10477 | | public PB_AnimationState(PB_AnimationState other) : this() { |
| | 10478 | | clip_ = other.clip_; |
| | 10479 | | looping_ = other.looping_; |
| | 10480 | | weight_ = other.weight_; |
| | 10481 | | playing_ = other.playing_; |
| | 10482 | | shouldReset_ = other.shouldReset_; |
| | 10483 | | speed_ = other.speed_; |
| | 10484 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 10485 | | } |
| | 10486 | |
|
| | 10487 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10488 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10489 | | public PB_AnimationState Clone() { |
| | 10490 | | return new PB_AnimationState(this); |
| | 10491 | | } |
| | 10492 | |
|
| | 10493 | | /// <summary>Field number for the "clip" field.</summary> |
| | 10494 | | public const int ClipFieldNumber = 1; |
| | 10495 | | private string clip_ = ""; |
| | 10496 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10497 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10498 | | public string Clip { |
| | 10499 | | get { return clip_; } |
| | 10500 | | set { |
| | 10501 | | clip_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 10502 | | } |
| | 10503 | | } |
| | 10504 | |
|
| | 10505 | | /// <summary>Field number for the "looping" field.</summary> |
| | 10506 | | public const int LoopingFieldNumber = 2; |
| | 10507 | | private bool looping_; |
| | 10508 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10509 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10510 | | public bool Looping { |
| | 10511 | | get { return looping_; } |
| | 10512 | | set { |
| | 10513 | | looping_ = value; |
| | 10514 | | } |
| | 10515 | | } |
| | 10516 | |
|
| | 10517 | | /// <summary>Field number for the "weight" field.</summary> |
| | 10518 | | public const int WeightFieldNumber = 3; |
| | 10519 | | private float weight_; |
| | 10520 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10521 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10522 | | public float Weight { |
| | 10523 | | get { return weight_; } |
| | 10524 | | set { |
| | 10525 | | weight_ = value; |
| | 10526 | | } |
| | 10527 | | } |
| | 10528 | |
|
| | 10529 | | /// <summary>Field number for the "playing" field.</summary> |
| | 10530 | | public const int PlayingFieldNumber = 4; |
| | 10531 | | private bool playing_; |
| | 10532 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10533 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10534 | | public bool Playing { |
| | 10535 | | get { return playing_; } |
| | 10536 | | set { |
| | 10537 | | playing_ = value; |
| | 10538 | | } |
| | 10539 | | } |
| | 10540 | |
|
| | 10541 | | /// <summary>Field number for the "shouldReset" field.</summary> |
| | 10542 | | public const int ShouldResetFieldNumber = 5; |
| | 10543 | | private bool shouldReset_; |
| | 10544 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10545 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10546 | | public bool ShouldReset { |
| | 10547 | | get { return shouldReset_; } |
| | 10548 | | set { |
| | 10549 | | shouldReset_ = value; |
| | 10550 | | } |
| | 10551 | | } |
| | 10552 | |
|
| | 10553 | | /// <summary>Field number for the "speed" field.</summary> |
| | 10554 | | public const int SpeedFieldNumber = 6; |
| | 10555 | | private float speed_; |
| | 10556 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10557 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10558 | | public float Speed { |
| | 10559 | | get { return speed_; } |
| | 10560 | | set { |
| | 10561 | | speed_ = value; |
| | 10562 | | } |
| | 10563 | | } |
| | 10564 | |
|
| | 10565 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10566 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10567 | | public override bool Equals(object other) { |
| | 10568 | | return Equals(other as PB_AnimationState); |
| | 10569 | | } |
| | 10570 | |
|
| | 10571 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10572 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10573 | | public bool Equals(PB_AnimationState other) { |
| | 10574 | | if (ReferenceEquals(other, null)) { |
| | 10575 | | return false; |
| | 10576 | | } |
| | 10577 | | if (ReferenceEquals(other, this)) { |
| | 10578 | | return true; |
| | 10579 | | } |
| | 10580 | | if (Clip != other.Clip) return false; |
| | 10581 | | if (Looping != other.Looping) return false; |
| | 10582 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Weight, other.Weight)) return false; |
| | 10583 | | if (Playing != other.Playing) return false; |
| | 10584 | | if (ShouldReset != other.ShouldReset) return false; |
| | 10585 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Speed, other.Speed)) return false; |
| | 10586 | | return Equals(_unknownFields, other._unknownFields); |
| | 10587 | | } |
| | 10588 | |
|
| | 10589 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10590 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10591 | | public override int GetHashCode() { |
| | 10592 | | int hash = 1; |
| | 10593 | | if (Clip.Length != 0) hash ^= Clip.GetHashCode(); |
| | 10594 | | if (Looping != false) hash ^= Looping.GetHashCode(); |
| | 10595 | | if (Weight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Weight); |
| | 10596 | | if (Playing != false) hash ^= Playing.GetHashCode(); |
| | 10597 | | if (ShouldReset != false) hash ^= ShouldReset.GetHashCode(); |
| | 10598 | | if (Speed != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Speed); |
| | 10599 | | if (_unknownFields != null) { |
| | 10600 | | hash ^= _unknownFields.GetHashCode(); |
| | 10601 | | } |
| | 10602 | | return hash; |
| | 10603 | | } |
| | 10604 | |
|
| | 10605 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10606 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10607 | | public override string ToString() { |
| | 10608 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 10609 | | } |
| | 10610 | |
|
| | 10611 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10612 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10613 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 10614 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10615 | | output.WriteRawMessage(this); |
| | 10616 | | #else |
| | 10617 | | if (Clip.Length != 0) { |
| | 10618 | | output.WriteRawTag(10); |
| | 10619 | | output.WriteString(Clip); |
| | 10620 | | } |
| | 10621 | | if (Looping != false) { |
| | 10622 | | output.WriteRawTag(16); |
| | 10623 | | output.WriteBool(Looping); |
| | 10624 | | } |
| | 10625 | | if (Weight != 0F) { |
| | 10626 | | output.WriteRawTag(29); |
| | 10627 | | output.WriteFloat(Weight); |
| | 10628 | | } |
| | 10629 | | if (Playing != false) { |
| | 10630 | | output.WriteRawTag(32); |
| | 10631 | | output.WriteBool(Playing); |
| | 10632 | | } |
| | 10633 | | if (ShouldReset != false) { |
| | 10634 | | output.WriteRawTag(40); |
| | 10635 | | output.WriteBool(ShouldReset); |
| | 10636 | | } |
| | 10637 | | if (Speed != 0F) { |
| | 10638 | | output.WriteRawTag(53); |
| | 10639 | | output.WriteFloat(Speed); |
| | 10640 | | } |
| | 10641 | | if (_unknownFields != null) { |
| | 10642 | | _unknownFields.WriteTo(output); |
| | 10643 | | } |
| | 10644 | | #endif |
| | 10645 | | } |
| | 10646 | |
|
| | 10647 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10648 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10649 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10650 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 10651 | | if (Clip.Length != 0) { |
| | 10652 | | output.WriteRawTag(10); |
| | 10653 | | output.WriteString(Clip); |
| | 10654 | | } |
| | 10655 | | if (Looping != false) { |
| | 10656 | | output.WriteRawTag(16); |
| | 10657 | | output.WriteBool(Looping); |
| | 10658 | | } |
| | 10659 | | if (Weight != 0F) { |
| | 10660 | | output.WriteRawTag(29); |
| | 10661 | | output.WriteFloat(Weight); |
| | 10662 | | } |
| | 10663 | | if (Playing != false) { |
| | 10664 | | output.WriteRawTag(32); |
| | 10665 | | output.WriteBool(Playing); |
| | 10666 | | } |
| | 10667 | | if (ShouldReset != false) { |
| | 10668 | | output.WriteRawTag(40); |
| | 10669 | | output.WriteBool(ShouldReset); |
| | 10670 | | } |
| | 10671 | | if (Speed != 0F) { |
| | 10672 | | output.WriteRawTag(53); |
| | 10673 | | output.WriteFloat(Speed); |
| | 10674 | | } |
| | 10675 | | if (_unknownFields != null) { |
| | 10676 | | _unknownFields.WriteTo(ref output); |
| | 10677 | | } |
| | 10678 | | } |
| | 10679 | | #endif |
| | 10680 | |
|
| | 10681 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10682 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10683 | | public int CalculateSize() { |
| | 10684 | | int size = 0; |
| | 10685 | | if (Clip.Length != 0) { |
| | 10686 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Clip); |
| | 10687 | | } |
| | 10688 | | if (Looping != false) { |
| | 10689 | | size += 1 + 1; |
| | 10690 | | } |
| | 10691 | | if (Weight != 0F) { |
| | 10692 | | size += 1 + 4; |
| | 10693 | | } |
| | 10694 | | if (Playing != false) { |
| | 10695 | | size += 1 + 1; |
| | 10696 | | } |
| | 10697 | | if (ShouldReset != false) { |
| | 10698 | | size += 1 + 1; |
| | 10699 | | } |
| | 10700 | | if (Speed != 0F) { |
| | 10701 | | size += 1 + 4; |
| | 10702 | | } |
| | 10703 | | if (_unknownFields != null) { |
| | 10704 | | size += _unknownFields.CalculateSize(); |
| | 10705 | | } |
| | 10706 | | return size; |
| | 10707 | | } |
| | 10708 | |
|
| | 10709 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10710 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10711 | | public void MergeFrom(PB_AnimationState other) { |
| | 10712 | | if (other == null) { |
| | 10713 | | return; |
| | 10714 | | } |
| | 10715 | | if (other.Clip.Length != 0) { |
| | 10716 | | Clip = other.Clip; |
| | 10717 | | } |
| | 10718 | | if (other.Looping != false) { |
| | 10719 | | Looping = other.Looping; |
| | 10720 | | } |
| | 10721 | | if (other.Weight != 0F) { |
| | 10722 | | Weight = other.Weight; |
| | 10723 | | } |
| | 10724 | | if (other.Playing != false) { |
| | 10725 | | Playing = other.Playing; |
| | 10726 | | } |
| | 10727 | | if (other.ShouldReset != false) { |
| | 10728 | | ShouldReset = other.ShouldReset; |
| | 10729 | | } |
| | 10730 | | if (other.Speed != 0F) { |
| | 10731 | | Speed = other.Speed; |
| | 10732 | | } |
| | 10733 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 10734 | | } |
| | 10735 | |
|
| | 10736 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10737 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10738 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 10739 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10740 | | input.ReadRawMessage(this); |
| | 10741 | | #else |
| | 10742 | | uint tag; |
| | 10743 | | while ((tag = input.ReadTag()) != 0) { |
| | 10744 | | switch(tag) { |
| | 10745 | | default: |
| | 10746 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 10747 | | break; |
| | 10748 | | case 10: { |
| | 10749 | | Clip = input.ReadString(); |
| | 10750 | | break; |
| | 10751 | | } |
| | 10752 | | case 16: { |
| | 10753 | | Looping = input.ReadBool(); |
| | 10754 | | break; |
| | 10755 | | } |
| | 10756 | | case 29: { |
| | 10757 | | Weight = input.ReadFloat(); |
| | 10758 | | break; |
| | 10759 | | } |
| | 10760 | | case 32: { |
| | 10761 | | Playing = input.ReadBool(); |
| | 10762 | | break; |
| | 10763 | | } |
| | 10764 | | case 40: { |
| | 10765 | | ShouldReset = input.ReadBool(); |
| | 10766 | | break; |
| | 10767 | | } |
| | 10768 | | case 53: { |
| | 10769 | | Speed = input.ReadFloat(); |
| | 10770 | | break; |
| | 10771 | | } |
| | 10772 | | } |
| | 10773 | | } |
| | 10774 | | #endif |
| | 10775 | | } |
| | 10776 | |
|
| | 10777 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10778 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10779 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10780 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 10781 | | uint tag; |
| | 10782 | | while ((tag = input.ReadTag()) != 0) { |
| | 10783 | | switch(tag) { |
| | 10784 | | default: |
| | 10785 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 10786 | | break; |
| | 10787 | | case 10: { |
| | 10788 | | Clip = input.ReadString(); |
| | 10789 | | break; |
| | 10790 | | } |
| | 10791 | | case 16: { |
| | 10792 | | Looping = input.ReadBool(); |
| | 10793 | | break; |
| | 10794 | | } |
| | 10795 | | case 29: { |
| | 10796 | | Weight = input.ReadFloat(); |
| | 10797 | | break; |
| | 10798 | | } |
| | 10799 | | case 32: { |
| | 10800 | | Playing = input.ReadBool(); |
| | 10801 | | break; |
| | 10802 | | } |
| | 10803 | | case 40: { |
| | 10804 | | ShouldReset = input.ReadBool(); |
| | 10805 | | break; |
| | 10806 | | } |
| | 10807 | | case 53: { |
| | 10808 | | Speed = input.ReadFloat(); |
| | 10809 | | break; |
| | 10810 | | } |
| | 10811 | | } |
| | 10812 | | } |
| | 10813 | | } |
| | 10814 | | #endif |
| | 10815 | |
|
| | 10816 | | } |
| | 10817 | |
|
| | 10818 | | public sealed partial class PB_Animator : pb::IMessage<PB_Animator> |
| | 10819 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10820 | | , pb::IBufferMessage |
| | 10821 | | #endif |
| | 10822 | | { |
| | 10823 | | private static readonly pb::MessageParser<PB_Animator> _parser = new pb::MessageParser<PB_Animator>(() => new PB_Ani |
| | 10824 | | private pb::UnknownFieldSet _unknownFields; |
| | 10825 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10826 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10827 | | public static pb::MessageParser<PB_Animator> Parser { get { return _parser; } } |
| | 10828 | |
|
| | 10829 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10830 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10831 | | public static pbr::MessageDescriptor Descriptor { |
| | 10832 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[28]; } |
| | 10833 | | } |
| | 10834 | |
|
| | 10835 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10836 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10837 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 10838 | | get { return Descriptor; } |
| | 10839 | | } |
| | 10840 | |
|
| | 10841 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10842 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10843 | | public PB_Animator() { |
| | 10844 | | OnConstruction(); |
| | 10845 | | } |
| | 10846 | |
|
| | 10847 | | partial void OnConstruction(); |
| | 10848 | |
|
| | 10849 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10850 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10851 | | public PB_Animator(PB_Animator other) : this() { |
| | 10852 | | withCollisions_ = other.withCollisions_; |
| | 10853 | | visible_ = other.visible_; |
| | 10854 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 10855 | | } |
| | 10856 | |
|
| | 10857 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10858 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10859 | | public PB_Animator Clone() { |
| | 10860 | | return new PB_Animator(this); |
| | 10861 | | } |
| | 10862 | |
|
| | 10863 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 10864 | | public const int WithCollisionsFieldNumber = 1; |
| | 10865 | | private bool withCollisions_; |
| | 10866 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10867 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10868 | | public bool WithCollisions { |
| | 10869 | | get { return withCollisions_; } |
| | 10870 | | set { |
| | 10871 | | withCollisions_ = value; |
| | 10872 | | } |
| | 10873 | | } |
| | 10874 | |
|
| | 10875 | | /// <summary>Field number for the "visible" field.</summary> |
| | 10876 | | public const int VisibleFieldNumber = 2; |
| | 10877 | | private bool visible_; |
| | 10878 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10879 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10880 | | public bool Visible { |
| | 10881 | | get { return visible_; } |
| | 10882 | | set { |
| | 10883 | | visible_ = value; |
| | 10884 | | } |
| | 10885 | | } |
| | 10886 | |
|
| | 10887 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10888 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10889 | | public override bool Equals(object other) { |
| | 10890 | | return Equals(other as PB_Animator); |
| | 10891 | | } |
| | 10892 | |
|
| | 10893 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10894 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10895 | | public bool Equals(PB_Animator other) { |
| | 10896 | | if (ReferenceEquals(other, null)) { |
| | 10897 | | return false; |
| | 10898 | | } |
| | 10899 | | if (ReferenceEquals(other, this)) { |
| | 10900 | | return true; |
| | 10901 | | } |
| | 10902 | | if (WithCollisions != other.WithCollisions) return false; |
| | 10903 | | if (Visible != other.Visible) return false; |
| | 10904 | | return Equals(_unknownFields, other._unknownFields); |
| | 10905 | | } |
| | 10906 | |
|
| | 10907 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10908 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10909 | | public override int GetHashCode() { |
| | 10910 | | int hash = 1; |
| | 10911 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 10912 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 10913 | | if (_unknownFields != null) { |
| | 10914 | | hash ^= _unknownFields.GetHashCode(); |
| | 10915 | | } |
| | 10916 | | return hash; |
| | 10917 | | } |
| | 10918 | |
|
| | 10919 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10920 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10921 | | public override string ToString() { |
| | 10922 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 10923 | | } |
| | 10924 | |
|
| | 10925 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10926 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10927 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 10928 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10929 | | output.WriteRawMessage(this); |
| | 10930 | | #else |
| | 10931 | | if (WithCollisions != false) { |
| | 10932 | | output.WriteRawTag(8); |
| | 10933 | | output.WriteBool(WithCollisions); |
| | 10934 | | } |
| | 10935 | | if (Visible != false) { |
| | 10936 | | output.WriteRawTag(16); |
| | 10937 | | output.WriteBool(Visible); |
| | 10938 | | } |
| | 10939 | | if (_unknownFields != null) { |
| | 10940 | | _unknownFields.WriteTo(output); |
| | 10941 | | } |
| | 10942 | | #endif |
| | 10943 | | } |
| | 10944 | |
|
| | 10945 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10946 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10947 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10948 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 10949 | | if (WithCollisions != false) { |
| | 10950 | | output.WriteRawTag(8); |
| | 10951 | | output.WriteBool(WithCollisions); |
| | 10952 | | } |
| | 10953 | | if (Visible != false) { |
| | 10954 | | output.WriteRawTag(16); |
| | 10955 | | output.WriteBool(Visible); |
| | 10956 | | } |
| | 10957 | | if (_unknownFields != null) { |
| | 10958 | | _unknownFields.WriteTo(ref output); |
| | 10959 | | } |
| | 10960 | | } |
| | 10961 | | #endif |
| | 10962 | |
|
| | 10963 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10964 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10965 | | public int CalculateSize() { |
| | 10966 | | int size = 0; |
| | 10967 | | if (WithCollisions != false) { |
| | 10968 | | size += 1 + 1; |
| | 10969 | | } |
| | 10970 | | if (Visible != false) { |
| | 10971 | | size += 1 + 1; |
| | 10972 | | } |
| | 10973 | | if (_unknownFields != null) { |
| | 10974 | | size += _unknownFields.CalculateSize(); |
| | 10975 | | } |
| | 10976 | | return size; |
| | 10977 | | } |
| | 10978 | |
|
| | 10979 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10980 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10981 | | public void MergeFrom(PB_Animator other) { |
| | 10982 | | if (other == null) { |
| | 10983 | | return; |
| | 10984 | | } |
| | 10985 | | if (other.WithCollisions != false) { |
| | 10986 | | WithCollisions = other.WithCollisions; |
| | 10987 | | } |
| | 10988 | | if (other.Visible != false) { |
| | 10989 | | Visible = other.Visible; |
| | 10990 | | } |
| | 10991 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 10992 | | } |
| | 10993 | |
|
| | 10994 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 10995 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 10996 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 10997 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 10998 | | input.ReadRawMessage(this); |
| | 10999 | | #else |
| | 11000 | | uint tag; |
| | 11001 | | while ((tag = input.ReadTag()) != 0) { |
| | 11002 | | switch(tag) { |
| | 11003 | | default: |
| | 11004 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 11005 | | break; |
| | 11006 | | case 8: { |
| | 11007 | | WithCollisions = input.ReadBool(); |
| | 11008 | | break; |
| | 11009 | | } |
| | 11010 | | case 16: { |
| | 11011 | | Visible = input.ReadBool(); |
| | 11012 | | break; |
| | 11013 | | } |
| | 11014 | | } |
| | 11015 | | } |
| | 11016 | | #endif |
| | 11017 | | } |
| | 11018 | |
|
| | 11019 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11020 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11021 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11022 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 11023 | | uint tag; |
| | 11024 | | while ((tag = input.ReadTag()) != 0) { |
| | 11025 | | switch(tag) { |
| | 11026 | | default: |
| | 11027 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 11028 | | break; |
| | 11029 | | case 8: { |
| | 11030 | | WithCollisions = input.ReadBool(); |
| | 11031 | | break; |
| | 11032 | | } |
| | 11033 | | case 16: { |
| | 11034 | | Visible = input.ReadBool(); |
| | 11035 | | break; |
| | 11036 | | } |
| | 11037 | | } |
| | 11038 | | } |
| | 11039 | | } |
| | 11040 | | #endif |
| | 11041 | |
|
| | 11042 | | } |
| | 11043 | |
|
| | 11044 | | public sealed partial class PB_AudioClip : pb::IMessage<PB_AudioClip> |
| | 11045 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11046 | | , pb::IBufferMessage |
| | 11047 | | #endif |
| | 11048 | | { |
| | 11049 | | private static readonly pb::MessageParser<PB_AudioClip> _parser = new pb::MessageParser<PB_AudioClip>(() => new PB_A |
| | 11050 | | private pb::UnknownFieldSet _unknownFields; |
| | 11051 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11052 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11053 | | public static pb::MessageParser<PB_AudioClip> Parser { get { return _parser; } } |
| | 11054 | |
|
| | 11055 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11056 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11057 | | public static pbr::MessageDescriptor Descriptor { |
| | 11058 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[29]; } |
| | 11059 | | } |
| | 11060 | |
|
| | 11061 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11062 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11063 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 11064 | | get { return Descriptor; } |
| | 11065 | | } |
| | 11066 | |
|
| | 11067 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11068 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11069 | | public PB_AudioClip() { |
| | 11070 | | OnConstruction(); |
| | 11071 | | } |
| | 11072 | |
|
| | 11073 | | partial void OnConstruction(); |
| | 11074 | |
|
| | 11075 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11076 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11077 | | public PB_AudioClip(PB_AudioClip other) : this() { |
| | 11078 | | url_ = other.url_; |
| | 11079 | | loop_ = other.loop_; |
| | 11080 | | volume_ = other.volume_; |
| | 11081 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 11082 | | } |
| | 11083 | |
|
| | 11084 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11085 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11086 | | public PB_AudioClip Clone() { |
| | 11087 | | return new PB_AudioClip(this); |
| | 11088 | | } |
| | 11089 | |
|
| | 11090 | | /// <summary>Field number for the "url" field.</summary> |
| | 11091 | | public const int UrlFieldNumber = 1; |
| | 11092 | | private string url_ = ""; |
| | 11093 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11094 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11095 | | public string Url { |
| | 11096 | | get { return url_; } |
| | 11097 | | set { |
| | 11098 | | url_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 11099 | | } |
| | 11100 | | } |
| | 11101 | |
|
| | 11102 | | /// <summary>Field number for the "loop" field.</summary> |
| | 11103 | | public const int LoopFieldNumber = 2; |
| | 11104 | | private bool loop_; |
| | 11105 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11106 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11107 | | public bool Loop { |
| | 11108 | | get { return loop_; } |
| | 11109 | | set { |
| | 11110 | | loop_ = value; |
| | 11111 | | } |
| | 11112 | | } |
| | 11113 | |
|
| | 11114 | | /// <summary>Field number for the "volume" field.</summary> |
| | 11115 | | public const int VolumeFieldNumber = 3; |
| | 11116 | | private float volume_; |
| | 11117 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11118 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11119 | | public float Volume { |
| | 11120 | | get { return volume_; } |
| | 11121 | | set { |
| | 11122 | | volume_ = value; |
| | 11123 | | } |
| | 11124 | | } |
| | 11125 | |
|
| | 11126 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11127 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11128 | | public override bool Equals(object other) { |
| | 11129 | | return Equals(other as PB_AudioClip); |
| | 11130 | | } |
| | 11131 | |
|
| | 11132 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11133 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11134 | | public bool Equals(PB_AudioClip other) { |
| | 11135 | | if (ReferenceEquals(other, null)) { |
| | 11136 | | return false; |
| | 11137 | | } |
| | 11138 | | if (ReferenceEquals(other, this)) { |
| | 11139 | | return true; |
| | 11140 | | } |
| | 11141 | | if (Url != other.Url) return false; |
| | 11142 | | if (Loop != other.Loop) return false; |
| | 11143 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Volume, other.Volume)) return false; |
| | 11144 | | return Equals(_unknownFields, other._unknownFields); |
| | 11145 | | } |
| | 11146 | |
|
| | 11147 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11148 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11149 | | public override int GetHashCode() { |
| | 11150 | | int hash = 1; |
| | 11151 | | if (Url.Length != 0) hash ^= Url.GetHashCode(); |
| | 11152 | | if (Loop != false) hash ^= Loop.GetHashCode(); |
| | 11153 | | if (Volume != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Volume); |
| | 11154 | | if (_unknownFields != null) { |
| | 11155 | | hash ^= _unknownFields.GetHashCode(); |
| | 11156 | | } |
| | 11157 | | return hash; |
| | 11158 | | } |
| | 11159 | |
|
| | 11160 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11161 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11162 | | public override string ToString() { |
| | 11163 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 11164 | | } |
| | 11165 | |
|
| | 11166 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11167 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11168 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 11169 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11170 | | output.WriteRawMessage(this); |
| | 11171 | | #else |
| | 11172 | | if (Url.Length != 0) { |
| | 11173 | | output.WriteRawTag(10); |
| | 11174 | | output.WriteString(Url); |
| | 11175 | | } |
| | 11176 | | if (Loop != false) { |
| | 11177 | | output.WriteRawTag(16); |
| | 11178 | | output.WriteBool(Loop); |
| | 11179 | | } |
| | 11180 | | if (Volume != 0F) { |
| | 11181 | | output.WriteRawTag(29); |
| | 11182 | | output.WriteFloat(Volume); |
| | 11183 | | } |
| | 11184 | | if (_unknownFields != null) { |
| | 11185 | | _unknownFields.WriteTo(output); |
| | 11186 | | } |
| | 11187 | | #endif |
| | 11188 | | } |
| | 11189 | |
|
| | 11190 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11191 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11192 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11193 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 11194 | | if (Url.Length != 0) { |
| | 11195 | | output.WriteRawTag(10); |
| | 11196 | | output.WriteString(Url); |
| | 11197 | | } |
| | 11198 | | if (Loop != false) { |
| | 11199 | | output.WriteRawTag(16); |
| | 11200 | | output.WriteBool(Loop); |
| | 11201 | | } |
| | 11202 | | if (Volume != 0F) { |
| | 11203 | | output.WriteRawTag(29); |
| | 11204 | | output.WriteFloat(Volume); |
| | 11205 | | } |
| | 11206 | | if (_unknownFields != null) { |
| | 11207 | | _unknownFields.WriteTo(ref output); |
| | 11208 | | } |
| | 11209 | | } |
| | 11210 | | #endif |
| | 11211 | |
|
| | 11212 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11213 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11214 | | public int CalculateSize() { |
| | 11215 | | int size = 0; |
| | 11216 | | if (Url.Length != 0) { |
| | 11217 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Url); |
| | 11218 | | } |
| | 11219 | | if (Loop != false) { |
| | 11220 | | size += 1 + 1; |
| | 11221 | | } |
| | 11222 | | if (Volume != 0F) { |
| | 11223 | | size += 1 + 4; |
| | 11224 | | } |
| | 11225 | | if (_unknownFields != null) { |
| | 11226 | | size += _unknownFields.CalculateSize(); |
| | 11227 | | } |
| | 11228 | | return size; |
| | 11229 | | } |
| | 11230 | |
|
| | 11231 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11232 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11233 | | public void MergeFrom(PB_AudioClip other) { |
| | 11234 | | if (other == null) { |
| | 11235 | | return; |
| | 11236 | | } |
| | 11237 | | if (other.Url.Length != 0) { |
| | 11238 | | Url = other.Url; |
| | 11239 | | } |
| | 11240 | | if (other.Loop != false) { |
| | 11241 | | Loop = other.Loop; |
| | 11242 | | } |
| | 11243 | | if (other.Volume != 0F) { |
| | 11244 | | Volume = other.Volume; |
| | 11245 | | } |
| | 11246 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 11247 | | } |
| | 11248 | |
|
| | 11249 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11250 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11251 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 11252 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11253 | | input.ReadRawMessage(this); |
| | 11254 | | #else |
| | 11255 | | uint tag; |
| | 11256 | | while ((tag = input.ReadTag()) != 0) { |
| | 11257 | | switch(tag) { |
| | 11258 | | default: |
| | 11259 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 11260 | | break; |
| | 11261 | | case 10: { |
| | 11262 | | Url = input.ReadString(); |
| | 11263 | | break; |
| | 11264 | | } |
| | 11265 | | case 16: { |
| | 11266 | | Loop = input.ReadBool(); |
| | 11267 | | break; |
| | 11268 | | } |
| | 11269 | | case 29: { |
| | 11270 | | Volume = input.ReadFloat(); |
| | 11271 | | break; |
| | 11272 | | } |
| | 11273 | | } |
| | 11274 | | } |
| | 11275 | | #endif |
| | 11276 | | } |
| | 11277 | |
|
| | 11278 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11279 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11280 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11281 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 11282 | | uint tag; |
| | 11283 | | while ((tag = input.ReadTag()) != 0) { |
| | 11284 | | switch(tag) { |
| | 11285 | | default: |
| | 11286 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 11287 | | break; |
| | 11288 | | case 10: { |
| | 11289 | | Url = input.ReadString(); |
| | 11290 | | break; |
| | 11291 | | } |
| | 11292 | | case 16: { |
| | 11293 | | Loop = input.ReadBool(); |
| | 11294 | | break; |
| | 11295 | | } |
| | 11296 | | case 29: { |
| | 11297 | | Volume = input.ReadFloat(); |
| | 11298 | | break; |
| | 11299 | | } |
| | 11300 | | } |
| | 11301 | | } |
| | 11302 | | } |
| | 11303 | | #endif |
| | 11304 | |
|
| | 11305 | | } |
| | 11306 | |
|
| | 11307 | | public sealed partial class PB_AudioSource : pb::IMessage<PB_AudioSource> |
| | 11308 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11309 | | , pb::IBufferMessage |
| | 11310 | | #endif |
| | 11311 | | { |
| | 11312 | | private static readonly pb::MessageParser<PB_AudioSource> _parser = new pb::MessageParser<PB_AudioSource>(() => new |
| | 11313 | | private pb::UnknownFieldSet _unknownFields; |
| | 11314 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11315 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11316 | | public static pb::MessageParser<PB_AudioSource> Parser { get { return _parser; } } |
| | 11317 | |
|
| | 11318 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11319 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11320 | | public static pbr::MessageDescriptor Descriptor { |
| | 11321 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[30]; } |
| | 11322 | | } |
| | 11323 | |
|
| | 11324 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11325 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11326 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 11327 | | get { return Descriptor; } |
| | 11328 | | } |
| | 11329 | |
|
| | 11330 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11331 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11332 | | public PB_AudioSource() { |
| | 11333 | | OnConstruction(); |
| | 11334 | | } |
| | 11335 | |
|
| | 11336 | | partial void OnConstruction(); |
| | 11337 | |
|
| | 11338 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11339 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11340 | | public PB_AudioSource(PB_AudioSource other) : this() { |
| | 11341 | | audioClip_ = other.audioClip_ != null ? other.audioClip_.Clone() : null; |
| | 11342 | | audioClipId_ = other.audioClipId_; |
| | 11343 | | loop_ = other.loop_; |
| | 11344 | | volume_ = other.volume_; |
| | 11345 | | playing_ = other.playing_; |
| | 11346 | | pitch_ = other.pitch_; |
| | 11347 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 11348 | | } |
| | 11349 | |
|
| | 11350 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11351 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11352 | | public PB_AudioSource Clone() { |
| | 11353 | | return new PB_AudioSource(this); |
| | 11354 | | } |
| | 11355 | |
|
| | 11356 | | /// <summary>Field number for the "audioClip" field.</summary> |
| | 11357 | | public const int AudioClipFieldNumber = 1; |
| | 11358 | | private global::DCL.Interface.PB_AudioClip audioClip_; |
| | 11359 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11360 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11361 | | public global::DCL.Interface.PB_AudioClip AudioClip { |
| | 11362 | | get { return audioClip_; } |
| | 11363 | | set { |
| | 11364 | | audioClip_ = value; |
| | 11365 | | } |
| | 11366 | | } |
| | 11367 | |
|
| | 11368 | | /// <summary>Field number for the "audioClipId" field.</summary> |
| | 11369 | | public const int AudioClipIdFieldNumber = 2; |
| | 11370 | | private string audioClipId_ = ""; |
| | 11371 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11372 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11373 | | public string AudioClipId { |
| | 11374 | | get { return audioClipId_; } |
| | 11375 | | set { |
| | 11376 | | audioClipId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 11377 | | } |
| | 11378 | | } |
| | 11379 | |
|
| | 11380 | | /// <summary>Field number for the "loop" field.</summary> |
| | 11381 | | public const int LoopFieldNumber = 3; |
| | 11382 | | private bool loop_; |
| | 11383 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11384 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11385 | | public bool Loop { |
| | 11386 | | get { return loop_; } |
| | 11387 | | set { |
| | 11388 | | loop_ = value; |
| | 11389 | | } |
| | 11390 | | } |
| | 11391 | |
|
| | 11392 | | /// <summary>Field number for the "volume" field.</summary> |
| | 11393 | | public const int VolumeFieldNumber = 4; |
| | 11394 | | private float volume_; |
| | 11395 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11396 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11397 | | public float Volume { |
| | 11398 | | get { return volume_; } |
| | 11399 | | set { |
| | 11400 | | volume_ = value; |
| | 11401 | | } |
| | 11402 | | } |
| | 11403 | |
|
| | 11404 | | /// <summary>Field number for the "playing" field.</summary> |
| | 11405 | | public const int PlayingFieldNumber = 5; |
| | 11406 | | private bool playing_; |
| | 11407 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11408 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11409 | | public bool Playing { |
| | 11410 | | get { return playing_; } |
| | 11411 | | set { |
| | 11412 | | playing_ = value; |
| | 11413 | | } |
| | 11414 | | } |
| | 11415 | |
|
| | 11416 | | /// <summary>Field number for the "pitch" field.</summary> |
| | 11417 | | public const int PitchFieldNumber = 6; |
| | 11418 | | private float pitch_; |
| | 11419 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11420 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11421 | | public float Pitch { |
| | 11422 | | get { return pitch_; } |
| | 11423 | | set { |
| | 11424 | | pitch_ = value; |
| | 11425 | | } |
| | 11426 | | } |
| | 11427 | |
|
| | 11428 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11429 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11430 | | public override bool Equals(object other) { |
| | 11431 | | return Equals(other as PB_AudioSource); |
| | 11432 | | } |
| | 11433 | |
|
| | 11434 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11435 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11436 | | public bool Equals(PB_AudioSource other) { |
| | 11437 | | if (ReferenceEquals(other, null)) { |
| | 11438 | | return false; |
| | 11439 | | } |
| | 11440 | | if (ReferenceEquals(other, this)) { |
| | 11441 | | return true; |
| | 11442 | | } |
| | 11443 | | if (!object.Equals(AudioClip, other.AudioClip)) return false; |
| | 11444 | | if (AudioClipId != other.AudioClipId) return false; |
| | 11445 | | if (Loop != other.Loop) return false; |
| | 11446 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Volume, other.Volume)) return false; |
| | 11447 | | if (Playing != other.Playing) return false; |
| | 11448 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Pitch, other.Pitch)) return false; |
| | 11449 | | return Equals(_unknownFields, other._unknownFields); |
| | 11450 | | } |
| | 11451 | |
|
| | 11452 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11453 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11454 | | public override int GetHashCode() { |
| | 11455 | | int hash = 1; |
| | 11456 | | if (audioClip_ != null) hash ^= AudioClip.GetHashCode(); |
| | 11457 | | if (AudioClipId.Length != 0) hash ^= AudioClipId.GetHashCode(); |
| | 11458 | | if (Loop != false) hash ^= Loop.GetHashCode(); |
| | 11459 | | if (Volume != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Volume); |
| | 11460 | | if (Playing != false) hash ^= Playing.GetHashCode(); |
| | 11461 | | if (Pitch != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Pitch); |
| | 11462 | | if (_unknownFields != null) { |
| | 11463 | | hash ^= _unknownFields.GetHashCode(); |
| | 11464 | | } |
| | 11465 | | return hash; |
| | 11466 | | } |
| | 11467 | |
|
| | 11468 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11469 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11470 | | public override string ToString() { |
| | 11471 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 11472 | | } |
| | 11473 | |
|
| | 11474 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11475 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11476 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 11477 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11478 | | output.WriteRawMessage(this); |
| | 11479 | | #else |
| | 11480 | | if (audioClip_ != null) { |
| | 11481 | | output.WriteRawTag(10); |
| | 11482 | | output.WriteMessage(AudioClip); |
| | 11483 | | } |
| | 11484 | | if (AudioClipId.Length != 0) { |
| | 11485 | | output.WriteRawTag(18); |
| | 11486 | | output.WriteString(AudioClipId); |
| | 11487 | | } |
| | 11488 | | if (Loop != false) { |
| | 11489 | | output.WriteRawTag(24); |
| | 11490 | | output.WriteBool(Loop); |
| | 11491 | | } |
| | 11492 | | if (Volume != 0F) { |
| | 11493 | | output.WriteRawTag(37); |
| | 11494 | | output.WriteFloat(Volume); |
| | 11495 | | } |
| | 11496 | | if (Playing != false) { |
| | 11497 | | output.WriteRawTag(40); |
| | 11498 | | output.WriteBool(Playing); |
| | 11499 | | } |
| | 11500 | | if (Pitch != 0F) { |
| | 11501 | | output.WriteRawTag(53); |
| | 11502 | | output.WriteFloat(Pitch); |
| | 11503 | | } |
| | 11504 | | if (_unknownFields != null) { |
| | 11505 | | _unknownFields.WriteTo(output); |
| | 11506 | | } |
| | 11507 | | #endif |
| | 11508 | | } |
| | 11509 | |
|
| | 11510 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11511 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11512 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11513 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 11514 | | if (audioClip_ != null) { |
| | 11515 | | output.WriteRawTag(10); |
| | 11516 | | output.WriteMessage(AudioClip); |
| | 11517 | | } |
| | 11518 | | if (AudioClipId.Length != 0) { |
| | 11519 | | output.WriteRawTag(18); |
| | 11520 | | output.WriteString(AudioClipId); |
| | 11521 | | } |
| | 11522 | | if (Loop != false) { |
| | 11523 | | output.WriteRawTag(24); |
| | 11524 | | output.WriteBool(Loop); |
| | 11525 | | } |
| | 11526 | | if (Volume != 0F) { |
| | 11527 | | output.WriteRawTag(37); |
| | 11528 | | output.WriteFloat(Volume); |
| | 11529 | | } |
| | 11530 | | if (Playing != false) { |
| | 11531 | | output.WriteRawTag(40); |
| | 11532 | | output.WriteBool(Playing); |
| | 11533 | | } |
| | 11534 | | if (Pitch != 0F) { |
| | 11535 | | output.WriteRawTag(53); |
| | 11536 | | output.WriteFloat(Pitch); |
| | 11537 | | } |
| | 11538 | | if (_unknownFields != null) { |
| | 11539 | | _unknownFields.WriteTo(ref output); |
| | 11540 | | } |
| | 11541 | | } |
| | 11542 | | #endif |
| | 11543 | |
|
| | 11544 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11545 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11546 | | public int CalculateSize() { |
| | 11547 | | int size = 0; |
| | 11548 | | if (audioClip_ != null) { |
| | 11549 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AudioClip); |
| | 11550 | | } |
| | 11551 | | if (AudioClipId.Length != 0) { |
| | 11552 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AudioClipId); |
| | 11553 | | } |
| | 11554 | | if (Loop != false) { |
| | 11555 | | size += 1 + 1; |
| | 11556 | | } |
| | 11557 | | if (Volume != 0F) { |
| | 11558 | | size += 1 + 4; |
| | 11559 | | } |
| | 11560 | | if (Playing != false) { |
| | 11561 | | size += 1 + 1; |
| | 11562 | | } |
| | 11563 | | if (Pitch != 0F) { |
| | 11564 | | size += 1 + 4; |
| | 11565 | | } |
| | 11566 | | if (_unknownFields != null) { |
| | 11567 | | size += _unknownFields.CalculateSize(); |
| | 11568 | | } |
| | 11569 | | return size; |
| | 11570 | | } |
| | 11571 | |
|
| | 11572 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11573 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11574 | | public void MergeFrom(PB_AudioSource other) { |
| | 11575 | | if (other == null) { |
| | 11576 | | return; |
| | 11577 | | } |
| | 11578 | | if (other.audioClip_ != null) { |
| | 11579 | | if (audioClip_ == null) { |
| | 11580 | | AudioClip = new global::DCL.Interface.PB_AudioClip(); |
| | 11581 | | } |
| | 11582 | | AudioClip.MergeFrom(other.AudioClip); |
| | 11583 | | } |
| | 11584 | | if (other.AudioClipId.Length != 0) { |
| | 11585 | | AudioClipId = other.AudioClipId; |
| | 11586 | | } |
| | 11587 | | if (other.Loop != false) { |
| | 11588 | | Loop = other.Loop; |
| | 11589 | | } |
| | 11590 | | if (other.Volume != 0F) { |
| | 11591 | | Volume = other.Volume; |
| | 11592 | | } |
| | 11593 | | if (other.Playing != false) { |
| | 11594 | | Playing = other.Playing; |
| | 11595 | | } |
| | 11596 | | if (other.Pitch != 0F) { |
| | 11597 | | Pitch = other.Pitch; |
| | 11598 | | } |
| | 11599 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 11600 | | } |
| | 11601 | |
|
| | 11602 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11603 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11604 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 11605 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11606 | | input.ReadRawMessage(this); |
| | 11607 | | #else |
| | 11608 | | uint tag; |
| | 11609 | | while ((tag = input.ReadTag()) != 0) { |
| | 11610 | | switch(tag) { |
| | 11611 | | default: |
| | 11612 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 11613 | | break; |
| | 11614 | | case 10: { |
| | 11615 | | if (audioClip_ == null) { |
| | 11616 | | AudioClip = new global::DCL.Interface.PB_AudioClip(); |
| | 11617 | | } |
| | 11618 | | input.ReadMessage(AudioClip); |
| | 11619 | | break; |
| | 11620 | | } |
| | 11621 | | case 18: { |
| | 11622 | | AudioClipId = input.ReadString(); |
| | 11623 | | break; |
| | 11624 | | } |
| | 11625 | | case 24: { |
| | 11626 | | Loop = input.ReadBool(); |
| | 11627 | | break; |
| | 11628 | | } |
| | 11629 | | case 37: { |
| | 11630 | | Volume = input.ReadFloat(); |
| | 11631 | | break; |
| | 11632 | | } |
| | 11633 | | case 40: { |
| | 11634 | | Playing = input.ReadBool(); |
| | 11635 | | break; |
| | 11636 | | } |
| | 11637 | | case 53: { |
| | 11638 | | Pitch = input.ReadFloat(); |
| | 11639 | | break; |
| | 11640 | | } |
| | 11641 | | } |
| | 11642 | | } |
| | 11643 | | #endif |
| | 11644 | | } |
| | 11645 | |
|
| | 11646 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11647 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11648 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11649 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 11650 | | uint tag; |
| | 11651 | | while ((tag = input.ReadTag()) != 0) { |
| | 11652 | | switch(tag) { |
| | 11653 | | default: |
| | 11654 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 11655 | | break; |
| | 11656 | | case 10: { |
| | 11657 | | if (audioClip_ == null) { |
| | 11658 | | AudioClip = new global::DCL.Interface.PB_AudioClip(); |
| | 11659 | | } |
| | 11660 | | input.ReadMessage(AudioClip); |
| | 11661 | | break; |
| | 11662 | | } |
| | 11663 | | case 18: { |
| | 11664 | | AudioClipId = input.ReadString(); |
| | 11665 | | break; |
| | 11666 | | } |
| | 11667 | | case 24: { |
| | 11668 | | Loop = input.ReadBool(); |
| | 11669 | | break; |
| | 11670 | | } |
| | 11671 | | case 37: { |
| | 11672 | | Volume = input.ReadFloat(); |
| | 11673 | | break; |
| | 11674 | | } |
| | 11675 | | case 40: { |
| | 11676 | | Playing = input.ReadBool(); |
| | 11677 | | break; |
| | 11678 | | } |
| | 11679 | | case 53: { |
| | 11680 | | Pitch = input.ReadFloat(); |
| | 11681 | | break; |
| | 11682 | | } |
| | 11683 | | } |
| | 11684 | | } |
| | 11685 | | } |
| | 11686 | | #endif |
| | 11687 | |
|
| | 11688 | | } |
| | 11689 | |
|
| | 11690 | | public sealed partial class PB_AvatarShape : pb::IMessage<PB_AvatarShape> |
| | 11691 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11692 | | , pb::IBufferMessage |
| | 11693 | | #endif |
| | 11694 | | { |
| | 11695 | | private static readonly pb::MessageParser<PB_AvatarShape> _parser = new pb::MessageParser<PB_AvatarShape>(() => new |
| | 11696 | | private pb::UnknownFieldSet _unknownFields; |
| | 11697 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11698 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11699 | | public static pb::MessageParser<PB_AvatarShape> Parser { get { return _parser; } } |
| | 11700 | |
|
| | 11701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11703 | | public static pbr::MessageDescriptor Descriptor { |
| | 11704 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[31]; } |
| | 11705 | | } |
| | 11706 | |
|
| | 11707 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11708 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11709 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 11710 | | get { return Descriptor; } |
| | 11711 | | } |
| | 11712 | |
|
| | 11713 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11714 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11715 | | public PB_AvatarShape() { |
| | 11716 | | OnConstruction(); |
| | 11717 | | } |
| | 11718 | |
|
| | 11719 | | partial void OnConstruction(); |
| | 11720 | |
|
| | 11721 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11722 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11723 | | public PB_AvatarShape(PB_AvatarShape other) : this() { |
| | 11724 | | id_ = other.id_; |
| | 11725 | | baseUrl_ = other.baseUrl_; |
| | 11726 | | name_ = other.name_; |
| | 11727 | | bodyShape_ = other.bodyShape_ != null ? other.bodyShape_.Clone() : null; |
| | 11728 | | wearables_ = other.wearables_.Clone(); |
| | 11729 | | skin_ = other.skin_ != null ? other.skin_.Clone() : null; |
| | 11730 | | hair_ = other.hair_ != null ? other.hair_.Clone() : null; |
| | 11731 | | eyes_ = other.eyes_ != null ? other.eyes_.Clone() : null; |
| | 11732 | | eyebrows_ = other.eyebrows_ != null ? other.eyebrows_.Clone() : null; |
| | 11733 | | mouth_ = other.mouth_ != null ? other.mouth_.Clone() : null; |
| | 11734 | | useDummyModel_ = other.useDummyModel_; |
| | 11735 | | expressionTriggerId_ = other.expressionTriggerId_; |
| | 11736 | | expressionTriggerTimestamp_ = other.expressionTriggerTimestamp_; |
| | 11737 | | emotes_ = other.emotes_.Clone(); |
| | 11738 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 11739 | | } |
| | 11740 | |
|
| | 11741 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11742 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11743 | | public PB_AvatarShape Clone() { |
| | 11744 | | return new PB_AvatarShape(this); |
| | 11745 | | } |
| | 11746 | |
|
| | 11747 | | /// <summary>Field number for the "id" field.</summary> |
| | 11748 | | public const int IdFieldNumber = 1; |
| | 11749 | | private string id_ = ""; |
| | 11750 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11751 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11752 | | public string Id { |
| | 11753 | | get { return id_; } |
| | 11754 | | set { |
| | 11755 | | id_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 11756 | | } |
| | 11757 | | } |
| | 11758 | |
|
| | 11759 | | /// <summary>Field number for the "baseUrl" field.</summary> |
| | 11760 | | public const int BaseUrlFieldNumber = 2; |
| | 11761 | | private string baseUrl_ = ""; |
| | 11762 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11763 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11764 | | public string BaseUrl { |
| | 11765 | | get { return baseUrl_; } |
| | 11766 | | set { |
| | 11767 | | baseUrl_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 11768 | | } |
| | 11769 | | } |
| | 11770 | |
|
| | 11771 | | /// <summary>Field number for the "name" field.</summary> |
| | 11772 | | public const int NameFieldNumber = 3; |
| | 11773 | | private string name_ = ""; |
| | 11774 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11775 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11776 | | public string Name { |
| | 11777 | | get { return name_; } |
| | 11778 | | set { |
| | 11779 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 11780 | | } |
| | 11781 | | } |
| | 11782 | |
|
| | 11783 | | /// <summary>Field number for the "bodyShape" field.</summary> |
| | 11784 | | public const int BodyShapeFieldNumber = 4; |
| | 11785 | | private global::DCL.Interface.PB_Wearable bodyShape_; |
| | 11786 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11787 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11788 | | public global::DCL.Interface.PB_Wearable BodyShape { |
| | 11789 | | get { return bodyShape_; } |
| | 11790 | | set { |
| | 11791 | | bodyShape_ = value; |
| | 11792 | | } |
| | 11793 | | } |
| | 11794 | |
|
| | 11795 | | /// <summary>Field number for the "wearables" field.</summary> |
| | 11796 | | public const int WearablesFieldNumber = 5; |
| | 11797 | | private static readonly pb::FieldCodec<global::DCL.Interface.PB_Wearable> _repeated_wearables_codec |
| | 11798 | | = pb::FieldCodec.ForMessage(42, global::DCL.Interface.PB_Wearable.Parser); |
| | 11799 | | private readonly pbc::RepeatedField<global::DCL.Interface.PB_Wearable> wearables_ = new pbc::RepeatedField<global::D |
| | 11800 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11801 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11802 | | public pbc::RepeatedField<global::DCL.Interface.PB_Wearable> Wearables { |
| | 11803 | | get { return wearables_; } |
| | 11804 | | } |
| | 11805 | |
|
| | 11806 | | /// <summary>Field number for the "skin" field.</summary> |
| | 11807 | | public const int SkinFieldNumber = 6; |
| | 11808 | | private global::DCL.Interface.PB_Skin skin_; |
| | 11809 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11810 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11811 | | public global::DCL.Interface.PB_Skin Skin { |
| | 11812 | | get { return skin_; } |
| | 11813 | | set { |
| | 11814 | | skin_ = value; |
| | 11815 | | } |
| | 11816 | | } |
| | 11817 | |
|
| | 11818 | | /// <summary>Field number for the "hair" field.</summary> |
| | 11819 | | public const int HairFieldNumber = 7; |
| | 11820 | | private global::DCL.Interface.PB_Hair hair_; |
| | 11821 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11822 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11823 | | public global::DCL.Interface.PB_Hair Hair { |
| | 11824 | | get { return hair_; } |
| | 11825 | | set { |
| | 11826 | | hair_ = value; |
| | 11827 | | } |
| | 11828 | | } |
| | 11829 | |
|
| | 11830 | | /// <summary>Field number for the "eyes" field.</summary> |
| | 11831 | | public const int EyesFieldNumber = 8; |
| | 11832 | | private global::DCL.Interface.PB_Eyes eyes_; |
| | 11833 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11834 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11835 | | public global::DCL.Interface.PB_Eyes Eyes { |
| | 11836 | | get { return eyes_; } |
| | 11837 | | set { |
| | 11838 | | eyes_ = value; |
| | 11839 | | } |
| | 11840 | | } |
| | 11841 | |
|
| | 11842 | | /// <summary>Field number for the "eyebrows" field.</summary> |
| | 11843 | | public const int EyebrowsFieldNumber = 9; |
| | 11844 | | private global::DCL.Interface.PB_Face eyebrows_; |
| | 11845 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11846 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11847 | | public global::DCL.Interface.PB_Face Eyebrows { |
| | 11848 | | get { return eyebrows_; } |
| | 11849 | | set { |
| | 11850 | | eyebrows_ = value; |
| | 11851 | | } |
| | 11852 | | } |
| | 11853 | |
|
| | 11854 | | /// <summary>Field number for the "mouth" field.</summary> |
| | 11855 | | public const int MouthFieldNumber = 10; |
| | 11856 | | private global::DCL.Interface.PB_Face mouth_; |
| | 11857 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11858 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11859 | | public global::DCL.Interface.PB_Face Mouth { |
| | 11860 | | get { return mouth_; } |
| | 11861 | | set { |
| | 11862 | | mouth_ = value; |
| | 11863 | | } |
| | 11864 | | } |
| | 11865 | |
|
| | 11866 | | /// <summary>Field number for the "useDummyModel" field.</summary> |
| | 11867 | | public const int UseDummyModelFieldNumber = 11; |
| | 11868 | | private bool useDummyModel_; |
| | 11869 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11870 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11871 | | public bool UseDummyModel { |
| | 11872 | | get { return useDummyModel_; } |
| | 11873 | | set { |
| | 11874 | | useDummyModel_ = value; |
| | 11875 | | } |
| | 11876 | | } |
| | 11877 | |
|
| | 11878 | | /// <summary>Field number for the "expressionTriggerId" field.</summary> |
| | 11879 | | public const int ExpressionTriggerIdFieldNumber = 12; |
| | 11880 | | private string expressionTriggerId_ = ""; |
| | 11881 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11882 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11883 | | public string ExpressionTriggerId { |
| | 11884 | | get { return expressionTriggerId_; } |
| | 11885 | | set { |
| | 11886 | | expressionTriggerId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 11887 | | } |
| | 11888 | | } |
| | 11889 | |
|
| | 11890 | | /// <summary>Field number for the "expressionTriggerTimestamp" field.</summary> |
| | 11891 | | public const int ExpressionTriggerTimestampFieldNumber = 14; |
| | 11892 | | private ulong expressionTriggerTimestamp_; |
| | 11893 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11894 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11895 | | public ulong ExpressionTriggerTimestamp { |
| | 11896 | | get { return expressionTriggerTimestamp_; } |
| | 11897 | | set { |
| | 11898 | | expressionTriggerTimestamp_ = value; |
| | 11899 | | } |
| | 11900 | | } |
| | 11901 | |
|
| | 11902 | | /// <summary>Field number for the "emotes" field.</summary> |
| | 11903 | | public const int EmotesFieldNumber = 15; |
| | 11904 | | private static readonly pb::FieldCodec<string> _repeated_emotes_codec |
| | 11905 | | = pb::FieldCodec.ForString(122); |
| | 11906 | | private readonly pbc::RepeatedField<string> emotes_ = new pbc::RepeatedField<string>(); |
| | 11907 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11908 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11909 | | public pbc::RepeatedField<string> Emotes { |
| | 11910 | | get { return emotes_; } |
| | 11911 | | } |
| | 11912 | |
|
| | 11913 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11914 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11915 | | public override bool Equals(object other) { |
| | 11916 | | return Equals(other as PB_AvatarShape); |
| | 11917 | | } |
| | 11918 | |
|
| | 11919 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11920 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11921 | | public bool Equals(PB_AvatarShape other) { |
| | 11922 | | if (ReferenceEquals(other, null)) { |
| | 11923 | | return false; |
| | 11924 | | } |
| | 11925 | | if (ReferenceEquals(other, this)) { |
| | 11926 | | return true; |
| | 11927 | | } |
| | 11928 | | if (Id != other.Id) return false; |
| | 11929 | | if (BaseUrl != other.BaseUrl) return false; |
| | 11930 | | if (Name != other.Name) return false; |
| | 11931 | | if (!object.Equals(BodyShape, other.BodyShape)) return false; |
| | 11932 | | if(!wearables_.Equals(other.wearables_)) return false; |
| | 11933 | | if (!object.Equals(Skin, other.Skin)) return false; |
| | 11934 | | if (!object.Equals(Hair, other.Hair)) return false; |
| | 11935 | | if (!object.Equals(Eyes, other.Eyes)) return false; |
| | 11936 | | if (!object.Equals(Eyebrows, other.Eyebrows)) return false; |
| | 11937 | | if (!object.Equals(Mouth, other.Mouth)) return false; |
| | 11938 | | if (UseDummyModel != other.UseDummyModel) return false; |
| | 11939 | | if (ExpressionTriggerId != other.ExpressionTriggerId) return false; |
| | 11940 | | if (ExpressionTriggerTimestamp != other.ExpressionTriggerTimestamp) return false; |
| | 11941 | | if(!emotes_.Equals(other.emotes_)) return false; |
| | 11942 | | return Equals(_unknownFields, other._unknownFields); |
| | 11943 | | } |
| | 11944 | |
|
| | 11945 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11946 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11947 | | public override int GetHashCode() { |
| | 11948 | | int hash = 1; |
| | 11949 | | if (Id.Length != 0) hash ^= Id.GetHashCode(); |
| | 11950 | | if (BaseUrl.Length != 0) hash ^= BaseUrl.GetHashCode(); |
| | 11951 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 11952 | | if (bodyShape_ != null) hash ^= BodyShape.GetHashCode(); |
| | 11953 | | hash ^= wearables_.GetHashCode(); |
| | 11954 | | if (skin_ != null) hash ^= Skin.GetHashCode(); |
| | 11955 | | if (hair_ != null) hash ^= Hair.GetHashCode(); |
| | 11956 | | if (eyes_ != null) hash ^= Eyes.GetHashCode(); |
| | 11957 | | if (eyebrows_ != null) hash ^= Eyebrows.GetHashCode(); |
| | 11958 | | if (mouth_ != null) hash ^= Mouth.GetHashCode(); |
| | 11959 | | if (UseDummyModel != false) hash ^= UseDummyModel.GetHashCode(); |
| | 11960 | | if (ExpressionTriggerId.Length != 0) hash ^= ExpressionTriggerId.GetHashCode(); |
| | 11961 | | if (ExpressionTriggerTimestamp != 0UL) hash ^= ExpressionTriggerTimestamp.GetHashCode(); |
| | 11962 | | hash ^= emotes_.GetHashCode(); |
| | 11963 | | if (_unknownFields != null) { |
| | 11964 | | hash ^= _unknownFields.GetHashCode(); |
| | 11965 | | } |
| | 11966 | | return hash; |
| | 11967 | | } |
| | 11968 | |
|
| | 11969 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11970 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11971 | | public override string ToString() { |
| | 11972 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 11973 | | } |
| | 11974 | |
|
| | 11975 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 11976 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 11977 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 11978 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 11979 | | output.WriteRawMessage(this); |
| | 11980 | | #else |
| | 11981 | | if (Id.Length != 0) { |
| | 11982 | | output.WriteRawTag(10); |
| | 11983 | | output.WriteString(Id); |
| | 11984 | | } |
| | 11985 | | if (BaseUrl.Length != 0) { |
| | 11986 | | output.WriteRawTag(18); |
| | 11987 | | output.WriteString(BaseUrl); |
| | 11988 | | } |
| | 11989 | | if (Name.Length != 0) { |
| | 11990 | | output.WriteRawTag(26); |
| | 11991 | | output.WriteString(Name); |
| | 11992 | | } |
| | 11993 | | if (bodyShape_ != null) { |
| | 11994 | | output.WriteRawTag(34); |
| | 11995 | | output.WriteMessage(BodyShape); |
| | 11996 | | } |
| | 11997 | | wearables_.WriteTo(output, _repeated_wearables_codec); |
| | 11998 | | if (skin_ != null) { |
| | 11999 | | output.WriteRawTag(50); |
| | 12000 | | output.WriteMessage(Skin); |
| | 12001 | | } |
| | 12002 | | if (hair_ != null) { |
| | 12003 | | output.WriteRawTag(58); |
| | 12004 | | output.WriteMessage(Hair); |
| | 12005 | | } |
| | 12006 | | if (eyes_ != null) { |
| | 12007 | | output.WriteRawTag(66); |
| | 12008 | | output.WriteMessage(Eyes); |
| | 12009 | | } |
| | 12010 | | if (eyebrows_ != null) { |
| | 12011 | | output.WriteRawTag(74); |
| | 12012 | | output.WriteMessage(Eyebrows); |
| | 12013 | | } |
| | 12014 | | if (mouth_ != null) { |
| | 12015 | | output.WriteRawTag(82); |
| | 12016 | | output.WriteMessage(Mouth); |
| | 12017 | | } |
| | 12018 | | if (UseDummyModel != false) { |
| | 12019 | | output.WriteRawTag(88); |
| | 12020 | | output.WriteBool(UseDummyModel); |
| | 12021 | | } |
| | 12022 | | if (ExpressionTriggerId.Length != 0) { |
| | 12023 | | output.WriteRawTag(98); |
| | 12024 | | output.WriteString(ExpressionTriggerId); |
| | 12025 | | } |
| | 12026 | | if (ExpressionTriggerTimestamp != 0UL) { |
| | 12027 | | output.WriteRawTag(112); |
| | 12028 | | output.WriteUInt64(ExpressionTriggerTimestamp); |
| | 12029 | | } |
| | 12030 | | emotes_.WriteTo(output, _repeated_emotes_codec); |
| | 12031 | | if (_unknownFields != null) { |
| | 12032 | | _unknownFields.WriteTo(output); |
| | 12033 | | } |
| | 12034 | | #endif |
| | 12035 | | } |
| | 12036 | |
|
| | 12037 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12038 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12039 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12040 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 12041 | | if (Id.Length != 0) { |
| | 12042 | | output.WriteRawTag(10); |
| | 12043 | | output.WriteString(Id); |
| | 12044 | | } |
| | 12045 | | if (BaseUrl.Length != 0) { |
| | 12046 | | output.WriteRawTag(18); |
| | 12047 | | output.WriteString(BaseUrl); |
| | 12048 | | } |
| | 12049 | | if (Name.Length != 0) { |
| | 12050 | | output.WriteRawTag(26); |
| | 12051 | | output.WriteString(Name); |
| | 12052 | | } |
| | 12053 | | if (bodyShape_ != null) { |
| | 12054 | | output.WriteRawTag(34); |
| | 12055 | | output.WriteMessage(BodyShape); |
| | 12056 | | } |
| | 12057 | | wearables_.WriteTo(ref output, _repeated_wearables_codec); |
| | 12058 | | if (skin_ != null) { |
| | 12059 | | output.WriteRawTag(50); |
| | 12060 | | output.WriteMessage(Skin); |
| | 12061 | | } |
| | 12062 | | if (hair_ != null) { |
| | 12063 | | output.WriteRawTag(58); |
| | 12064 | | output.WriteMessage(Hair); |
| | 12065 | | } |
| | 12066 | | if (eyes_ != null) { |
| | 12067 | | output.WriteRawTag(66); |
| | 12068 | | output.WriteMessage(Eyes); |
| | 12069 | | } |
| | 12070 | | if (eyebrows_ != null) { |
| | 12071 | | output.WriteRawTag(74); |
| | 12072 | | output.WriteMessage(Eyebrows); |
| | 12073 | | } |
| | 12074 | | if (mouth_ != null) { |
| | 12075 | | output.WriteRawTag(82); |
| | 12076 | | output.WriteMessage(Mouth); |
| | 12077 | | } |
| | 12078 | | if (UseDummyModel != false) { |
| | 12079 | | output.WriteRawTag(88); |
| | 12080 | | output.WriteBool(UseDummyModel); |
| | 12081 | | } |
| | 12082 | | if (ExpressionTriggerId.Length != 0) { |
| | 12083 | | output.WriteRawTag(98); |
| | 12084 | | output.WriteString(ExpressionTriggerId); |
| | 12085 | | } |
| | 12086 | | if (ExpressionTriggerTimestamp != 0UL) { |
| | 12087 | | output.WriteRawTag(112); |
| | 12088 | | output.WriteUInt64(ExpressionTriggerTimestamp); |
| | 12089 | | } |
| | 12090 | | emotes_.WriteTo(ref output, _repeated_emotes_codec); |
| | 12091 | | if (_unknownFields != null) { |
| | 12092 | | _unknownFields.WriteTo(ref output); |
| | 12093 | | } |
| | 12094 | | } |
| | 12095 | | #endif |
| | 12096 | |
|
| | 12097 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12098 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12099 | | public int CalculateSize() { |
| | 12100 | | int size = 0; |
| | 12101 | | if (Id.Length != 0) { |
| | 12102 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); |
| | 12103 | | } |
| | 12104 | | if (BaseUrl.Length != 0) { |
| | 12105 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(BaseUrl); |
| | 12106 | | } |
| | 12107 | | if (Name.Length != 0) { |
| | 12108 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 12109 | | } |
| | 12110 | | if (bodyShape_ != null) { |
| | 12111 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(BodyShape); |
| | 12112 | | } |
| | 12113 | | size += wearables_.CalculateSize(_repeated_wearables_codec); |
| | 12114 | | if (skin_ != null) { |
| | 12115 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Skin); |
| | 12116 | | } |
| | 12117 | | if (hair_ != null) { |
| | 12118 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Hair); |
| | 12119 | | } |
| | 12120 | | if (eyes_ != null) { |
| | 12121 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Eyes); |
| | 12122 | | } |
| | 12123 | | if (eyebrows_ != null) { |
| | 12124 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Eyebrows); |
| | 12125 | | } |
| | 12126 | | if (mouth_ != null) { |
| | 12127 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Mouth); |
| | 12128 | | } |
| | 12129 | | if (UseDummyModel != false) { |
| | 12130 | | size += 1 + 1; |
| | 12131 | | } |
| | 12132 | | if (ExpressionTriggerId.Length != 0) { |
| | 12133 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ExpressionTriggerId); |
| | 12134 | | } |
| | 12135 | | if (ExpressionTriggerTimestamp != 0UL) { |
| | 12136 | | size += 1 + pb::CodedOutputStream.ComputeUInt64Size(ExpressionTriggerTimestamp); |
| | 12137 | | } |
| | 12138 | | size += emotes_.CalculateSize(_repeated_emotes_codec); |
| | 12139 | | if (_unknownFields != null) { |
| | 12140 | | size += _unknownFields.CalculateSize(); |
| | 12141 | | } |
| | 12142 | | return size; |
| | 12143 | | } |
| | 12144 | |
|
| | 12145 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12146 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12147 | | public void MergeFrom(PB_AvatarShape other) { |
| | 12148 | | if (other == null) { |
| | 12149 | | return; |
| | 12150 | | } |
| | 12151 | | if (other.Id.Length != 0) { |
| | 12152 | | Id = other.Id; |
| | 12153 | | } |
| | 12154 | | if (other.BaseUrl.Length != 0) { |
| | 12155 | | BaseUrl = other.BaseUrl; |
| | 12156 | | } |
| | 12157 | | if (other.Name.Length != 0) { |
| | 12158 | | Name = other.Name; |
| | 12159 | | } |
| | 12160 | | if (other.bodyShape_ != null) { |
| | 12161 | | if (bodyShape_ == null) { |
| | 12162 | | BodyShape = new global::DCL.Interface.PB_Wearable(); |
| | 12163 | | } |
| | 12164 | | BodyShape.MergeFrom(other.BodyShape); |
| | 12165 | | } |
| | 12166 | | wearables_.Add(other.wearables_); |
| | 12167 | | if (other.skin_ != null) { |
| | 12168 | | if (skin_ == null) { |
| | 12169 | | Skin = new global::DCL.Interface.PB_Skin(); |
| | 12170 | | } |
| | 12171 | | Skin.MergeFrom(other.Skin); |
| | 12172 | | } |
| | 12173 | | if (other.hair_ != null) { |
| | 12174 | | if (hair_ == null) { |
| | 12175 | | Hair = new global::DCL.Interface.PB_Hair(); |
| | 12176 | | } |
| | 12177 | | Hair.MergeFrom(other.Hair); |
| | 12178 | | } |
| | 12179 | | if (other.eyes_ != null) { |
| | 12180 | | if (eyes_ == null) { |
| | 12181 | | Eyes = new global::DCL.Interface.PB_Eyes(); |
| | 12182 | | } |
| | 12183 | | Eyes.MergeFrom(other.Eyes); |
| | 12184 | | } |
| | 12185 | | if (other.eyebrows_ != null) { |
| | 12186 | | if (eyebrows_ == null) { |
| | 12187 | | Eyebrows = new global::DCL.Interface.PB_Face(); |
| | 12188 | | } |
| | 12189 | | Eyebrows.MergeFrom(other.Eyebrows); |
| | 12190 | | } |
| | 12191 | | if (other.mouth_ != null) { |
| | 12192 | | if (mouth_ == null) { |
| | 12193 | | Mouth = new global::DCL.Interface.PB_Face(); |
| | 12194 | | } |
| | 12195 | | Mouth.MergeFrom(other.Mouth); |
| | 12196 | | } |
| | 12197 | | if (other.UseDummyModel != false) { |
| | 12198 | | UseDummyModel = other.UseDummyModel; |
| | 12199 | | } |
| | 12200 | | if (other.ExpressionTriggerId.Length != 0) { |
| | 12201 | | ExpressionTriggerId = other.ExpressionTriggerId; |
| | 12202 | | } |
| | 12203 | | if (other.ExpressionTriggerTimestamp != 0UL) { |
| | 12204 | | ExpressionTriggerTimestamp = other.ExpressionTriggerTimestamp; |
| | 12205 | | } |
| | 12206 | | emotes_.Add(other.emotes_); |
| | 12207 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 12208 | | } |
| | 12209 | |
|
| | 12210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12212 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 12213 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12214 | | input.ReadRawMessage(this); |
| | 12215 | | #else |
| | 12216 | | uint tag; |
| | 12217 | | while ((tag = input.ReadTag()) != 0) { |
| | 12218 | | switch(tag) { |
| | 12219 | | default: |
| | 12220 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 12221 | | break; |
| | 12222 | | case 10: { |
| | 12223 | | Id = input.ReadString(); |
| | 12224 | | break; |
| | 12225 | | } |
| | 12226 | | case 18: { |
| | 12227 | | BaseUrl = input.ReadString(); |
| | 12228 | | break; |
| | 12229 | | } |
| | 12230 | | case 26: { |
| | 12231 | | Name = input.ReadString(); |
| | 12232 | | break; |
| | 12233 | | } |
| | 12234 | | case 34: { |
| | 12235 | | if (bodyShape_ == null) { |
| | 12236 | | BodyShape = new global::DCL.Interface.PB_Wearable(); |
| | 12237 | | } |
| | 12238 | | input.ReadMessage(BodyShape); |
| | 12239 | | break; |
| | 12240 | | } |
| | 12241 | | case 42: { |
| | 12242 | | wearables_.AddEntriesFrom(input, _repeated_wearables_codec); |
| | 12243 | | break; |
| | 12244 | | } |
| | 12245 | | case 50: { |
| | 12246 | | if (skin_ == null) { |
| | 12247 | | Skin = new global::DCL.Interface.PB_Skin(); |
| | 12248 | | } |
| | 12249 | | input.ReadMessage(Skin); |
| | 12250 | | break; |
| | 12251 | | } |
| | 12252 | | case 58: { |
| | 12253 | | if (hair_ == null) { |
| | 12254 | | Hair = new global::DCL.Interface.PB_Hair(); |
| | 12255 | | } |
| | 12256 | | input.ReadMessage(Hair); |
| | 12257 | | break; |
| | 12258 | | } |
| | 12259 | | case 66: { |
| | 12260 | | if (eyes_ == null) { |
| | 12261 | | Eyes = new global::DCL.Interface.PB_Eyes(); |
| | 12262 | | } |
| | 12263 | | input.ReadMessage(Eyes); |
| | 12264 | | break; |
| | 12265 | | } |
| | 12266 | | case 74: { |
| | 12267 | | if (eyebrows_ == null) { |
| | 12268 | | Eyebrows = new global::DCL.Interface.PB_Face(); |
| | 12269 | | } |
| | 12270 | | input.ReadMessage(Eyebrows); |
| | 12271 | | break; |
| | 12272 | | } |
| | 12273 | | case 82: { |
| | 12274 | | if (mouth_ == null) { |
| | 12275 | | Mouth = new global::DCL.Interface.PB_Face(); |
| | 12276 | | } |
| | 12277 | | input.ReadMessage(Mouth); |
| | 12278 | | break; |
| | 12279 | | } |
| | 12280 | | case 88: { |
| | 12281 | | UseDummyModel = input.ReadBool(); |
| | 12282 | | break; |
| | 12283 | | } |
| | 12284 | | case 98: { |
| | 12285 | | ExpressionTriggerId = input.ReadString(); |
| | 12286 | | break; |
| | 12287 | | } |
| | 12288 | | case 112: { |
| | 12289 | | ExpressionTriggerTimestamp = input.ReadUInt64(); |
| | 12290 | | break; |
| | 12291 | | } |
| | 12292 | | case 122: { |
| | 12293 | | emotes_.AddEntriesFrom(input, _repeated_emotes_codec); |
| | 12294 | | break; |
| | 12295 | | } |
| | 12296 | | } |
| | 12297 | | } |
| | 12298 | | #endif |
| | 12299 | | } |
| | 12300 | |
|
| | 12301 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12302 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12303 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12304 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 12305 | | uint tag; |
| | 12306 | | while ((tag = input.ReadTag()) != 0) { |
| | 12307 | | switch(tag) { |
| | 12308 | | default: |
| | 12309 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 12310 | | break; |
| | 12311 | | case 10: { |
| | 12312 | | Id = input.ReadString(); |
| | 12313 | | break; |
| | 12314 | | } |
| | 12315 | | case 18: { |
| | 12316 | | BaseUrl = input.ReadString(); |
| | 12317 | | break; |
| | 12318 | | } |
| | 12319 | | case 26: { |
| | 12320 | | Name = input.ReadString(); |
| | 12321 | | break; |
| | 12322 | | } |
| | 12323 | | case 34: { |
| | 12324 | | if (bodyShape_ == null) { |
| | 12325 | | BodyShape = new global::DCL.Interface.PB_Wearable(); |
| | 12326 | | } |
| | 12327 | | input.ReadMessage(BodyShape); |
| | 12328 | | break; |
| | 12329 | | } |
| | 12330 | | case 42: { |
| | 12331 | | wearables_.AddEntriesFrom(ref input, _repeated_wearables_codec); |
| | 12332 | | break; |
| | 12333 | | } |
| | 12334 | | case 50: { |
| | 12335 | | if (skin_ == null) { |
| | 12336 | | Skin = new global::DCL.Interface.PB_Skin(); |
| | 12337 | | } |
| | 12338 | | input.ReadMessage(Skin); |
| | 12339 | | break; |
| | 12340 | | } |
| | 12341 | | case 58: { |
| | 12342 | | if (hair_ == null) { |
| | 12343 | | Hair = new global::DCL.Interface.PB_Hair(); |
| | 12344 | | } |
| | 12345 | | input.ReadMessage(Hair); |
| | 12346 | | break; |
| | 12347 | | } |
| | 12348 | | case 66: { |
| | 12349 | | if (eyes_ == null) { |
| | 12350 | | Eyes = new global::DCL.Interface.PB_Eyes(); |
| | 12351 | | } |
| | 12352 | | input.ReadMessage(Eyes); |
| | 12353 | | break; |
| | 12354 | | } |
| | 12355 | | case 74: { |
| | 12356 | | if (eyebrows_ == null) { |
| | 12357 | | Eyebrows = new global::DCL.Interface.PB_Face(); |
| | 12358 | | } |
| | 12359 | | input.ReadMessage(Eyebrows); |
| | 12360 | | break; |
| | 12361 | | } |
| | 12362 | | case 82: { |
| | 12363 | | if (mouth_ == null) { |
| | 12364 | | Mouth = new global::DCL.Interface.PB_Face(); |
| | 12365 | | } |
| | 12366 | | input.ReadMessage(Mouth); |
| | 12367 | | break; |
| | 12368 | | } |
| | 12369 | | case 88: { |
| | 12370 | | UseDummyModel = input.ReadBool(); |
| | 12371 | | break; |
| | 12372 | | } |
| | 12373 | | case 98: { |
| | 12374 | | ExpressionTriggerId = input.ReadString(); |
| | 12375 | | break; |
| | 12376 | | } |
| | 12377 | | case 112: { |
| | 12378 | | ExpressionTriggerTimestamp = input.ReadUInt64(); |
| | 12379 | | break; |
| | 12380 | | } |
| | 12381 | | case 122: { |
| | 12382 | | emotes_.AddEntriesFrom(ref input, _repeated_emotes_codec); |
| | 12383 | | break; |
| | 12384 | | } |
| | 12385 | | } |
| | 12386 | | } |
| | 12387 | | } |
| | 12388 | | #endif |
| | 12389 | |
|
| | 12390 | | } |
| | 12391 | |
|
| | 12392 | | public sealed partial class PB_Wearable : pb::IMessage<PB_Wearable> |
| | 12393 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12394 | | , pb::IBufferMessage |
| | 12395 | | #endif |
| | 12396 | | { |
| | 12397 | | private static readonly pb::MessageParser<PB_Wearable> _parser = new pb::MessageParser<PB_Wearable>(() => new PB_Wea |
| | 12398 | | private pb::UnknownFieldSet _unknownFields; |
| | 12399 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12400 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12401 | | public static pb::MessageParser<PB_Wearable> Parser { get { return _parser; } } |
| | 12402 | |
|
| | 12403 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12404 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12405 | | public static pbr::MessageDescriptor Descriptor { |
| | 12406 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[32]; } |
| | 12407 | | } |
| | 12408 | |
|
| | 12409 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12410 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12411 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 12412 | | get { return Descriptor; } |
| | 12413 | | } |
| | 12414 | |
|
| | 12415 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12416 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12417 | | public PB_Wearable() { |
| | 12418 | | OnConstruction(); |
| | 12419 | | } |
| | 12420 | |
|
| | 12421 | | partial void OnConstruction(); |
| | 12422 | |
|
| | 12423 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12424 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12425 | | public PB_Wearable(PB_Wearable other) : this() { |
| | 12426 | | categody_ = other.categody_; |
| | 12427 | | contentName_ = other.contentName_; |
| | 12428 | | contents_ = other.contents_.Clone(); |
| | 12429 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 12430 | | } |
| | 12431 | |
|
| | 12432 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12433 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12434 | | public PB_Wearable Clone() { |
| | 12435 | | return new PB_Wearable(this); |
| | 12436 | | } |
| | 12437 | |
|
| | 12438 | | /// <summary>Field number for the "categody" field.</summary> |
| | 12439 | | public const int CategodyFieldNumber = 1; |
| | 12440 | | private string categody_ = ""; |
| | 12441 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12442 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12443 | | public string Categody { |
| | 12444 | | get { return categody_; } |
| | 12445 | | set { |
| | 12446 | | categody_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 12447 | | } |
| | 12448 | | } |
| | 12449 | |
|
| | 12450 | | /// <summary>Field number for the "contentName" field.</summary> |
| | 12451 | | public const int ContentNameFieldNumber = 2; |
| | 12452 | | private string contentName_ = ""; |
| | 12453 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12454 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12455 | | public string ContentName { |
| | 12456 | | get { return contentName_; } |
| | 12457 | | set { |
| | 12458 | | contentName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 12459 | | } |
| | 12460 | | } |
| | 12461 | |
|
| | 12462 | | /// <summary>Field number for the "contents" field.</summary> |
| | 12463 | | public const int ContentsFieldNumber = 3; |
| | 12464 | | private static readonly pb::FieldCodec<global::DCL.Interface.PB_ContentMapping> _repeated_contents_codec |
| | 12465 | | = pb::FieldCodec.ForMessage(26, global::DCL.Interface.PB_ContentMapping.Parser); |
| | 12466 | | private readonly pbc::RepeatedField<global::DCL.Interface.PB_ContentMapping> contents_ = new pbc::RepeatedField<glob |
| | 12467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12469 | | public pbc::RepeatedField<global::DCL.Interface.PB_ContentMapping> Contents { |
| | 12470 | | get { return contents_; } |
| | 12471 | | } |
| | 12472 | |
|
| | 12473 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12474 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12475 | | public override bool Equals(object other) { |
| | 12476 | | return Equals(other as PB_Wearable); |
| | 12477 | | } |
| | 12478 | |
|
| | 12479 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12480 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12481 | | public bool Equals(PB_Wearable other) { |
| | 12482 | | if (ReferenceEquals(other, null)) { |
| | 12483 | | return false; |
| | 12484 | | } |
| | 12485 | | if (ReferenceEquals(other, this)) { |
| | 12486 | | return true; |
| | 12487 | | } |
| | 12488 | | if (Categody != other.Categody) return false; |
| | 12489 | | if (ContentName != other.ContentName) return false; |
| | 12490 | | if(!contents_.Equals(other.contents_)) return false; |
| | 12491 | | return Equals(_unknownFields, other._unknownFields); |
| | 12492 | | } |
| | 12493 | |
|
| | 12494 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12495 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12496 | | public override int GetHashCode() { |
| | 12497 | | int hash = 1; |
| | 12498 | | if (Categody.Length != 0) hash ^= Categody.GetHashCode(); |
| | 12499 | | if (ContentName.Length != 0) hash ^= ContentName.GetHashCode(); |
| | 12500 | | hash ^= contents_.GetHashCode(); |
| | 12501 | | if (_unknownFields != null) { |
| | 12502 | | hash ^= _unknownFields.GetHashCode(); |
| | 12503 | | } |
| | 12504 | | return hash; |
| | 12505 | | } |
| | 12506 | |
|
| | 12507 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12508 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12509 | | public override string ToString() { |
| | 12510 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 12511 | | } |
| | 12512 | |
|
| | 12513 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12514 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12515 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 12516 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12517 | | output.WriteRawMessage(this); |
| | 12518 | | #else |
| | 12519 | | if (Categody.Length != 0) { |
| | 12520 | | output.WriteRawTag(10); |
| | 12521 | | output.WriteString(Categody); |
| | 12522 | | } |
| | 12523 | | if (ContentName.Length != 0) { |
| | 12524 | | output.WriteRawTag(18); |
| | 12525 | | output.WriteString(ContentName); |
| | 12526 | | } |
| | 12527 | | contents_.WriteTo(output, _repeated_contents_codec); |
| | 12528 | | if (_unknownFields != null) { |
| | 12529 | | _unknownFields.WriteTo(output); |
| | 12530 | | } |
| | 12531 | | #endif |
| | 12532 | | } |
| | 12533 | |
|
| | 12534 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12535 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12536 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12537 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 12538 | | if (Categody.Length != 0) { |
| | 12539 | | output.WriteRawTag(10); |
| | 12540 | | output.WriteString(Categody); |
| | 12541 | | } |
| | 12542 | | if (ContentName.Length != 0) { |
| | 12543 | | output.WriteRawTag(18); |
| | 12544 | | output.WriteString(ContentName); |
| | 12545 | | } |
| | 12546 | | contents_.WriteTo(ref output, _repeated_contents_codec); |
| | 12547 | | if (_unknownFields != null) { |
| | 12548 | | _unknownFields.WriteTo(ref output); |
| | 12549 | | } |
| | 12550 | | } |
| | 12551 | | #endif |
| | 12552 | |
|
| | 12553 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12554 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12555 | | public int CalculateSize() { |
| | 12556 | | int size = 0; |
| | 12557 | | if (Categody.Length != 0) { |
| | 12558 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Categody); |
| | 12559 | | } |
| | 12560 | | if (ContentName.Length != 0) { |
| | 12561 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(ContentName); |
| | 12562 | | } |
| | 12563 | | size += contents_.CalculateSize(_repeated_contents_codec); |
| | 12564 | | if (_unknownFields != null) { |
| | 12565 | | size += _unknownFields.CalculateSize(); |
| | 12566 | | } |
| | 12567 | | return size; |
| | 12568 | | } |
| | 12569 | |
|
| | 12570 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12571 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12572 | | public void MergeFrom(PB_Wearable other) { |
| | 12573 | | if (other == null) { |
| | 12574 | | return; |
| | 12575 | | } |
| | 12576 | | if (other.Categody.Length != 0) { |
| | 12577 | | Categody = other.Categody; |
| | 12578 | | } |
| | 12579 | | if (other.ContentName.Length != 0) { |
| | 12580 | | ContentName = other.ContentName; |
| | 12581 | | } |
| | 12582 | | contents_.Add(other.contents_); |
| | 12583 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 12584 | | } |
| | 12585 | |
|
| | 12586 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12587 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12588 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 12589 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12590 | | input.ReadRawMessage(this); |
| | 12591 | | #else |
| | 12592 | | uint tag; |
| | 12593 | | while ((tag = input.ReadTag()) != 0) { |
| | 12594 | | switch(tag) { |
| | 12595 | | default: |
| | 12596 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 12597 | | break; |
| | 12598 | | case 10: { |
| | 12599 | | Categody = input.ReadString(); |
| | 12600 | | break; |
| | 12601 | | } |
| | 12602 | | case 18: { |
| | 12603 | | ContentName = input.ReadString(); |
| | 12604 | | break; |
| | 12605 | | } |
| | 12606 | | case 26: { |
| | 12607 | | contents_.AddEntriesFrom(input, _repeated_contents_codec); |
| | 12608 | | break; |
| | 12609 | | } |
| | 12610 | | } |
| | 12611 | | } |
| | 12612 | | #endif |
| | 12613 | | } |
| | 12614 | |
|
| | 12615 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12616 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12617 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12618 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 12619 | | uint tag; |
| | 12620 | | while ((tag = input.ReadTag()) != 0) { |
| | 12621 | | switch(tag) { |
| | 12622 | | default: |
| | 12623 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 12624 | | break; |
| | 12625 | | case 10: { |
| | 12626 | | Categody = input.ReadString(); |
| | 12627 | | break; |
| | 12628 | | } |
| | 12629 | | case 18: { |
| | 12630 | | ContentName = input.ReadString(); |
| | 12631 | | break; |
| | 12632 | | } |
| | 12633 | | case 26: { |
| | 12634 | | contents_.AddEntriesFrom(ref input, _repeated_contents_codec); |
| | 12635 | | break; |
| | 12636 | | } |
| | 12637 | | } |
| | 12638 | | } |
| | 12639 | | } |
| | 12640 | | #endif |
| | 12641 | |
|
| | 12642 | | } |
| | 12643 | |
|
| | 12644 | | public sealed partial class PB_Face : pb::IMessage<PB_Face> |
| | 12645 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12646 | | , pb::IBufferMessage |
| | 12647 | | #endif |
| | 12648 | | { |
| | 12649 | | private static readonly pb::MessageParser<PB_Face> _parser = new pb::MessageParser<PB_Face>(() => new PB_Face()); |
| | 12650 | | private pb::UnknownFieldSet _unknownFields; |
| | 12651 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12652 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12653 | | public static pb::MessageParser<PB_Face> Parser { get { return _parser; } } |
| | 12654 | |
|
| | 12655 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12656 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12657 | | public static pbr::MessageDescriptor Descriptor { |
| | 12658 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[33]; } |
| | 12659 | | } |
| | 12660 | |
|
| | 12661 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12662 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12663 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 12664 | | get { return Descriptor; } |
| | 12665 | | } |
| | 12666 | |
|
| | 12667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12669 | | public PB_Face() { |
| | 12670 | | OnConstruction(); |
| | 12671 | | } |
| | 12672 | |
|
| | 12673 | | partial void OnConstruction(); |
| | 12674 | |
|
| | 12675 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12676 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12677 | | public PB_Face(PB_Face other) : this() { |
| | 12678 | | texture_ = other.texture_; |
| | 12679 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 12680 | | } |
| | 12681 | |
|
| | 12682 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12683 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12684 | | public PB_Face Clone() { |
| | 12685 | | return new PB_Face(this); |
| | 12686 | | } |
| | 12687 | |
|
| | 12688 | | /// <summary>Field number for the "texture" field.</summary> |
| | 12689 | | public const int TextureFieldNumber = 1; |
| | 12690 | | private string texture_ = ""; |
| | 12691 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12692 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12693 | | public string Texture { |
| | 12694 | | get { return texture_; } |
| | 12695 | | set { |
| | 12696 | | texture_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 12697 | | } |
| | 12698 | | } |
| | 12699 | |
|
| | 12700 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12701 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12702 | | public override bool Equals(object other) { |
| | 12703 | | return Equals(other as PB_Face); |
| | 12704 | | } |
| | 12705 | |
|
| | 12706 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12707 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12708 | | public bool Equals(PB_Face other) { |
| | 12709 | | if (ReferenceEquals(other, null)) { |
| | 12710 | | return false; |
| | 12711 | | } |
| | 12712 | | if (ReferenceEquals(other, this)) { |
| | 12713 | | return true; |
| | 12714 | | } |
| | 12715 | | if (Texture != other.Texture) return false; |
| | 12716 | | return Equals(_unknownFields, other._unknownFields); |
| | 12717 | | } |
| | 12718 | |
|
| | 12719 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12720 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12721 | | public override int GetHashCode() { |
| | 12722 | | int hash = 1; |
| | 12723 | | if (Texture.Length != 0) hash ^= Texture.GetHashCode(); |
| | 12724 | | if (_unknownFields != null) { |
| | 12725 | | hash ^= _unknownFields.GetHashCode(); |
| | 12726 | | } |
| | 12727 | | return hash; |
| | 12728 | | } |
| | 12729 | |
|
| | 12730 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12731 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12732 | | public override string ToString() { |
| | 12733 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 12734 | | } |
| | 12735 | |
|
| | 12736 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12737 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12738 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 12739 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12740 | | output.WriteRawMessage(this); |
| | 12741 | | #else |
| | 12742 | | if (Texture.Length != 0) { |
| | 12743 | | output.WriteRawTag(10); |
| | 12744 | | output.WriteString(Texture); |
| | 12745 | | } |
| | 12746 | | if (_unknownFields != null) { |
| | 12747 | | _unknownFields.WriteTo(output); |
| | 12748 | | } |
| | 12749 | | #endif |
| | 12750 | | } |
| | 12751 | |
|
| | 12752 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12753 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12754 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12755 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 12756 | | if (Texture.Length != 0) { |
| | 12757 | | output.WriteRawTag(10); |
| | 12758 | | output.WriteString(Texture); |
| | 12759 | | } |
| | 12760 | | if (_unknownFields != null) { |
| | 12761 | | _unknownFields.WriteTo(ref output); |
| | 12762 | | } |
| | 12763 | | } |
| | 12764 | | #endif |
| | 12765 | |
|
| | 12766 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12767 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12768 | | public int CalculateSize() { |
| | 12769 | | int size = 0; |
| | 12770 | | if (Texture.Length != 0) { |
| | 12771 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Texture); |
| | 12772 | | } |
| | 12773 | | if (_unknownFields != null) { |
| | 12774 | | size += _unknownFields.CalculateSize(); |
| | 12775 | | } |
| | 12776 | | return size; |
| | 12777 | | } |
| | 12778 | |
|
| | 12779 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12780 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12781 | | public void MergeFrom(PB_Face other) { |
| | 12782 | | if (other == null) { |
| | 12783 | | return; |
| | 12784 | | } |
| | 12785 | | if (other.Texture.Length != 0) { |
| | 12786 | | Texture = other.Texture; |
| | 12787 | | } |
| | 12788 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 12789 | | } |
| | 12790 | |
|
| | 12791 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12792 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12793 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 12794 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12795 | | input.ReadRawMessage(this); |
| | 12796 | | #else |
| | 12797 | | uint tag; |
| | 12798 | | while ((tag = input.ReadTag()) != 0) { |
| | 12799 | | switch(tag) { |
| | 12800 | | default: |
| | 12801 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 12802 | | break; |
| | 12803 | | case 10: { |
| | 12804 | | Texture = input.ReadString(); |
| | 12805 | | break; |
| | 12806 | | } |
| | 12807 | | } |
| | 12808 | | } |
| | 12809 | | #endif |
| | 12810 | | } |
| | 12811 | |
|
| | 12812 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12813 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12814 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12815 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 12816 | | uint tag; |
| | 12817 | | while ((tag = input.ReadTag()) != 0) { |
| | 12818 | | switch(tag) { |
| | 12819 | | default: |
| | 12820 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 12821 | | break; |
| | 12822 | | case 10: { |
| | 12823 | | Texture = input.ReadString(); |
| | 12824 | | break; |
| | 12825 | | } |
| | 12826 | | } |
| | 12827 | | } |
| | 12828 | | } |
| | 12829 | | #endif |
| | 12830 | |
|
| | 12831 | | } |
| | 12832 | |
|
| | 12833 | | public sealed partial class PB_Eyes : pb::IMessage<PB_Eyes> |
| | 12834 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12835 | | , pb::IBufferMessage |
| | 12836 | | #endif |
| | 12837 | | { |
| | 12838 | | private static readonly pb::MessageParser<PB_Eyes> _parser = new pb::MessageParser<PB_Eyes>(() => new PB_Eyes()); |
| | 12839 | | private pb::UnknownFieldSet _unknownFields; |
| | 12840 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12841 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12842 | | public static pb::MessageParser<PB_Eyes> Parser { get { return _parser; } } |
| | 12843 | |
|
| | 12844 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12845 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12846 | | public static pbr::MessageDescriptor Descriptor { |
| | 12847 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[34]; } |
| | 12848 | | } |
| | 12849 | |
|
| | 12850 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12851 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12852 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 12853 | | get { return Descriptor; } |
| | 12854 | | } |
| | 12855 | |
|
| | 12856 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12857 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12858 | | public PB_Eyes() { |
| | 12859 | | OnConstruction(); |
| | 12860 | | } |
| | 12861 | |
|
| | 12862 | | partial void OnConstruction(); |
| | 12863 | |
|
| | 12864 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12865 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12866 | | public PB_Eyes(PB_Eyes other) : this() { |
| | 12867 | | texture_ = other.texture_; |
| | 12868 | | mask_ = other.mask_; |
| | 12869 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 12870 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 12871 | | } |
| | 12872 | |
|
| | 12873 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12874 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12875 | | public PB_Eyes Clone() { |
| | 12876 | | return new PB_Eyes(this); |
| | 12877 | | } |
| | 12878 | |
|
| | 12879 | | /// <summary>Field number for the "texture" field.</summary> |
| | 12880 | | public const int TextureFieldNumber = 1; |
| | 12881 | | private string texture_ = ""; |
| | 12882 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12883 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12884 | | public string Texture { |
| | 12885 | | get { return texture_; } |
| | 12886 | | set { |
| | 12887 | | texture_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 12888 | | } |
| | 12889 | | } |
| | 12890 | |
|
| | 12891 | | /// <summary>Field number for the "mask" field.</summary> |
| | 12892 | | public const int MaskFieldNumber = 2; |
| | 12893 | | private string mask_ = ""; |
| | 12894 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12895 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12896 | | public string Mask { |
| | 12897 | | get { return mask_; } |
| | 12898 | | set { |
| | 12899 | | mask_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 12900 | | } |
| | 12901 | | } |
| | 12902 | |
|
| | 12903 | | /// <summary>Field number for the "color" field.</summary> |
| | 12904 | | public const int ColorFieldNumber = 3; |
| | 12905 | | private global::DCL.Interface.PB_Color4 color_; |
| | 12906 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12907 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12908 | | public global::DCL.Interface.PB_Color4 Color { |
| | 12909 | | get { return color_; } |
| | 12910 | | set { |
| | 12911 | | color_ = value; |
| | 12912 | | } |
| | 12913 | | } |
| | 12914 | |
|
| | 12915 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12916 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12917 | | public override bool Equals(object other) { |
| | 12918 | | return Equals(other as PB_Eyes); |
| | 12919 | | } |
| | 12920 | |
|
| | 12921 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12922 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12923 | | public bool Equals(PB_Eyes other) { |
| | 12924 | | if (ReferenceEquals(other, null)) { |
| | 12925 | | return false; |
| | 12926 | | } |
| | 12927 | | if (ReferenceEquals(other, this)) { |
| | 12928 | | return true; |
| | 12929 | | } |
| | 12930 | | if (Texture != other.Texture) return false; |
| | 12931 | | if (Mask != other.Mask) return false; |
| | 12932 | | if (!object.Equals(Color, other.Color)) return false; |
| | 12933 | | return Equals(_unknownFields, other._unknownFields); |
| | 12934 | | } |
| | 12935 | |
|
| | 12936 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12937 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12938 | | public override int GetHashCode() { |
| | 12939 | | int hash = 1; |
| | 12940 | | if (Texture.Length != 0) hash ^= Texture.GetHashCode(); |
| | 12941 | | if (Mask.Length != 0) hash ^= Mask.GetHashCode(); |
| | 12942 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 12943 | | if (_unknownFields != null) { |
| | 12944 | | hash ^= _unknownFields.GetHashCode(); |
| | 12945 | | } |
| | 12946 | | return hash; |
| | 12947 | | } |
| | 12948 | |
|
| | 12949 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12950 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12951 | | public override string ToString() { |
| | 12952 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 12953 | | } |
| | 12954 | |
|
| | 12955 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12956 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12957 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 12958 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12959 | | output.WriteRawMessage(this); |
| | 12960 | | #else |
| | 12961 | | if (Texture.Length != 0) { |
| | 12962 | | output.WriteRawTag(10); |
| | 12963 | | output.WriteString(Texture); |
| | 12964 | | } |
| | 12965 | | if (Mask.Length != 0) { |
| | 12966 | | output.WriteRawTag(18); |
| | 12967 | | output.WriteString(Mask); |
| | 12968 | | } |
| | 12969 | | if (color_ != null) { |
| | 12970 | | output.WriteRawTag(26); |
| | 12971 | | output.WriteMessage(Color); |
| | 12972 | | } |
| | 12973 | | if (_unknownFields != null) { |
| | 12974 | | _unknownFields.WriteTo(output); |
| | 12975 | | } |
| | 12976 | | #endif |
| | 12977 | | } |
| | 12978 | |
|
| | 12979 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 12980 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 12981 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 12982 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 12983 | | if (Texture.Length != 0) { |
| | 12984 | | output.WriteRawTag(10); |
| | 12985 | | output.WriteString(Texture); |
| | 12986 | | } |
| | 12987 | | if (Mask.Length != 0) { |
| | 12988 | | output.WriteRawTag(18); |
| | 12989 | | output.WriteString(Mask); |
| | 12990 | | } |
| | 12991 | | if (color_ != null) { |
| | 12992 | | output.WriteRawTag(26); |
| | 12993 | | output.WriteMessage(Color); |
| | 12994 | | } |
| | 12995 | | if (_unknownFields != null) { |
| | 12996 | | _unknownFields.WriteTo(ref output); |
| | 12997 | | } |
| | 12998 | | } |
| | 12999 | | #endif |
| | 13000 | |
|
| | 13001 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13002 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13003 | | public int CalculateSize() { |
| | 13004 | | int size = 0; |
| | 13005 | | if (Texture.Length != 0) { |
| | 13006 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Texture); |
| | 13007 | | } |
| | 13008 | | if (Mask.Length != 0) { |
| | 13009 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Mask); |
| | 13010 | | } |
| | 13011 | | if (color_ != null) { |
| | 13012 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 13013 | | } |
| | 13014 | | if (_unknownFields != null) { |
| | 13015 | | size += _unknownFields.CalculateSize(); |
| | 13016 | | } |
| | 13017 | | return size; |
| | 13018 | | } |
| | 13019 | |
|
| | 13020 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13021 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13022 | | public void MergeFrom(PB_Eyes other) { |
| | 13023 | | if (other == null) { |
| | 13024 | | return; |
| | 13025 | | } |
| | 13026 | | if (other.Texture.Length != 0) { |
| | 13027 | | Texture = other.Texture; |
| | 13028 | | } |
| | 13029 | | if (other.Mask.Length != 0) { |
| | 13030 | | Mask = other.Mask; |
| | 13031 | | } |
| | 13032 | | if (other.color_ != null) { |
| | 13033 | | if (color_ == null) { |
| | 13034 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 13035 | | } |
| | 13036 | | Color.MergeFrom(other.Color); |
| | 13037 | | } |
| | 13038 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 13039 | | } |
| | 13040 | |
|
| | 13041 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13042 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13043 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 13044 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13045 | | input.ReadRawMessage(this); |
| | 13046 | | #else |
| | 13047 | | uint tag; |
| | 13048 | | while ((tag = input.ReadTag()) != 0) { |
| | 13049 | | switch(tag) { |
| | 13050 | | default: |
| | 13051 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 13052 | | break; |
| | 13053 | | case 10: { |
| | 13054 | | Texture = input.ReadString(); |
| | 13055 | | break; |
| | 13056 | | } |
| | 13057 | | case 18: { |
| | 13058 | | Mask = input.ReadString(); |
| | 13059 | | break; |
| | 13060 | | } |
| | 13061 | | case 26: { |
| | 13062 | | if (color_ == null) { |
| | 13063 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 13064 | | } |
| | 13065 | | input.ReadMessage(Color); |
| | 13066 | | break; |
| | 13067 | | } |
| | 13068 | | } |
| | 13069 | | } |
| | 13070 | | #endif |
| | 13071 | | } |
| | 13072 | |
|
| | 13073 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13074 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13075 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13076 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 13077 | | uint tag; |
| | 13078 | | while ((tag = input.ReadTag()) != 0) { |
| | 13079 | | switch(tag) { |
| | 13080 | | default: |
| | 13081 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 13082 | | break; |
| | 13083 | | case 10: { |
| | 13084 | | Texture = input.ReadString(); |
| | 13085 | | break; |
| | 13086 | | } |
| | 13087 | | case 18: { |
| | 13088 | | Mask = input.ReadString(); |
| | 13089 | | break; |
| | 13090 | | } |
| | 13091 | | case 26: { |
| | 13092 | | if (color_ == null) { |
| | 13093 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 13094 | | } |
| | 13095 | | input.ReadMessage(Color); |
| | 13096 | | break; |
| | 13097 | | } |
| | 13098 | | } |
| | 13099 | | } |
| | 13100 | | } |
| | 13101 | | #endif |
| | 13102 | |
|
| | 13103 | | } |
| | 13104 | |
|
| | 13105 | | public sealed partial class PB_Hair : pb::IMessage<PB_Hair> |
| | 13106 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13107 | | , pb::IBufferMessage |
| | 13108 | | #endif |
| | 13109 | | { |
| | 13110 | | private static readonly pb::MessageParser<PB_Hair> _parser = new pb::MessageParser<PB_Hair>(() => new PB_Hair()); |
| | 13111 | | private pb::UnknownFieldSet _unknownFields; |
| | 13112 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13113 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13114 | | public static pb::MessageParser<PB_Hair> Parser { get { return _parser; } } |
| | 13115 | |
|
| | 13116 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13117 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13118 | | public static pbr::MessageDescriptor Descriptor { |
| | 13119 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[35]; } |
| | 13120 | | } |
| | 13121 | |
|
| | 13122 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13123 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13124 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 13125 | | get { return Descriptor; } |
| | 13126 | | } |
| | 13127 | |
|
| | 13128 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13129 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13130 | | public PB_Hair() { |
| | 13131 | | OnConstruction(); |
| | 13132 | | } |
| | 13133 | |
|
| | 13134 | | partial void OnConstruction(); |
| | 13135 | |
|
| | 13136 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13137 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13138 | | public PB_Hair(PB_Hair other) : this() { |
| | 13139 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 13140 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 13141 | | } |
| | 13142 | |
|
| | 13143 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13144 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13145 | | public PB_Hair Clone() { |
| | 13146 | | return new PB_Hair(this); |
| | 13147 | | } |
| | 13148 | |
|
| | 13149 | | /// <summary>Field number for the "color" field.</summary> |
| | 13150 | | public const int ColorFieldNumber = 1; |
| | 13151 | | private global::DCL.Interface.PB_Color4 color_; |
| | 13152 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13153 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13154 | | public global::DCL.Interface.PB_Color4 Color { |
| | 13155 | | get { return color_; } |
| | 13156 | | set { |
| | 13157 | | color_ = value; |
| | 13158 | | } |
| | 13159 | | } |
| | 13160 | |
|
| | 13161 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13162 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13163 | | public override bool Equals(object other) { |
| | 13164 | | return Equals(other as PB_Hair); |
| | 13165 | | } |
| | 13166 | |
|
| | 13167 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13168 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13169 | | public bool Equals(PB_Hair other) { |
| | 13170 | | if (ReferenceEquals(other, null)) { |
| | 13171 | | return false; |
| | 13172 | | } |
| | 13173 | | if (ReferenceEquals(other, this)) { |
| | 13174 | | return true; |
| | 13175 | | } |
| | 13176 | | if (!object.Equals(Color, other.Color)) return false; |
| | 13177 | | return Equals(_unknownFields, other._unknownFields); |
| | 13178 | | } |
| | 13179 | |
|
| | 13180 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13181 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13182 | | public override int GetHashCode() { |
| | 13183 | | int hash = 1; |
| | 13184 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 13185 | | if (_unknownFields != null) { |
| | 13186 | | hash ^= _unknownFields.GetHashCode(); |
| | 13187 | | } |
| | 13188 | | return hash; |
| | 13189 | | } |
| | 13190 | |
|
| | 13191 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13192 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13193 | | public override string ToString() { |
| | 13194 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 13195 | | } |
| | 13196 | |
|
| | 13197 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13198 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13199 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 13200 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13201 | | output.WriteRawMessage(this); |
| | 13202 | | #else |
| | 13203 | | if (color_ != null) { |
| | 13204 | | output.WriteRawTag(10); |
| | 13205 | | output.WriteMessage(Color); |
| | 13206 | | } |
| | 13207 | | if (_unknownFields != null) { |
| | 13208 | | _unknownFields.WriteTo(output); |
| | 13209 | | } |
| | 13210 | | #endif |
| | 13211 | | } |
| | 13212 | |
|
| | 13213 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13214 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13215 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13216 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 13217 | | if (color_ != null) { |
| | 13218 | | output.WriteRawTag(10); |
| | 13219 | | output.WriteMessage(Color); |
| | 13220 | | } |
| | 13221 | | if (_unknownFields != null) { |
| | 13222 | | _unknownFields.WriteTo(ref output); |
| | 13223 | | } |
| | 13224 | | } |
| | 13225 | | #endif |
| | 13226 | |
|
| | 13227 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13228 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13229 | | public int CalculateSize() { |
| | 13230 | | int size = 0; |
| | 13231 | | if (color_ != null) { |
| | 13232 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 13233 | | } |
| | 13234 | | if (_unknownFields != null) { |
| | 13235 | | size += _unknownFields.CalculateSize(); |
| | 13236 | | } |
| | 13237 | | return size; |
| | 13238 | | } |
| | 13239 | |
|
| | 13240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13242 | | public void MergeFrom(PB_Hair other) { |
| | 13243 | | if (other == null) { |
| | 13244 | | return; |
| | 13245 | | } |
| | 13246 | | if (other.color_ != null) { |
| | 13247 | | if (color_ == null) { |
| | 13248 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 13249 | | } |
| | 13250 | | Color.MergeFrom(other.Color); |
| | 13251 | | } |
| | 13252 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 13253 | | } |
| | 13254 | |
|
| | 13255 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13256 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13257 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 13258 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13259 | | input.ReadRawMessage(this); |
| | 13260 | | #else |
| | 13261 | | uint tag; |
| | 13262 | | while ((tag = input.ReadTag()) != 0) { |
| | 13263 | | switch(tag) { |
| | 13264 | | default: |
| | 13265 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 13266 | | break; |
| | 13267 | | case 10: { |
| | 13268 | | if (color_ == null) { |
| | 13269 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 13270 | | } |
| | 13271 | | input.ReadMessage(Color); |
| | 13272 | | break; |
| | 13273 | | } |
| | 13274 | | } |
| | 13275 | | } |
| | 13276 | | #endif |
| | 13277 | | } |
| | 13278 | |
|
| | 13279 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13280 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13281 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13282 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 13283 | | uint tag; |
| | 13284 | | while ((tag = input.ReadTag()) != 0) { |
| | 13285 | | switch(tag) { |
| | 13286 | | default: |
| | 13287 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 13288 | | break; |
| | 13289 | | case 10: { |
| | 13290 | | if (color_ == null) { |
| | 13291 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 13292 | | } |
| | 13293 | | input.ReadMessage(Color); |
| | 13294 | | break; |
| | 13295 | | } |
| | 13296 | | } |
| | 13297 | | } |
| | 13298 | | } |
| | 13299 | | #endif |
| | 13300 | |
|
| | 13301 | | } |
| | 13302 | |
|
| | 13303 | | public sealed partial class PB_Skin : pb::IMessage<PB_Skin> |
| | 13304 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13305 | | , pb::IBufferMessage |
| | 13306 | | #endif |
| | 13307 | | { |
| | 13308 | | private static readonly pb::MessageParser<PB_Skin> _parser = new pb::MessageParser<PB_Skin>(() => new PB_Skin()); |
| | 13309 | | private pb::UnknownFieldSet _unknownFields; |
| | 13310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13312 | | public static pb::MessageParser<PB_Skin> Parser { get { return _parser; } } |
| | 13313 | |
|
| | 13314 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13315 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13316 | | public static pbr::MessageDescriptor Descriptor { |
| | 13317 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[36]; } |
| | 13318 | | } |
| | 13319 | |
|
| | 13320 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13321 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13322 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 13323 | | get { return Descriptor; } |
| | 13324 | | } |
| | 13325 | |
|
| | 13326 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13327 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13328 | | public PB_Skin() { |
| | 13329 | | OnConstruction(); |
| | 13330 | | } |
| | 13331 | |
|
| | 13332 | | partial void OnConstruction(); |
| | 13333 | |
|
| | 13334 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13335 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13336 | | public PB_Skin(PB_Skin other) : this() { |
| | 13337 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 13338 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 13339 | | } |
| | 13340 | |
|
| | 13341 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13342 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13343 | | public PB_Skin Clone() { |
| | 13344 | | return new PB_Skin(this); |
| | 13345 | | } |
| | 13346 | |
|
| | 13347 | | /// <summary>Field number for the "color" field.</summary> |
| | 13348 | | public const int ColorFieldNumber = 1; |
| | 13349 | | private global::DCL.Interface.PB_Color4 color_; |
| | 13350 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13351 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13352 | | public global::DCL.Interface.PB_Color4 Color { |
| | 13353 | | get { return color_; } |
| | 13354 | | set { |
| | 13355 | | color_ = value; |
| | 13356 | | } |
| | 13357 | | } |
| | 13358 | |
|
| | 13359 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13360 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13361 | | public override bool Equals(object other) { |
| | 13362 | | return Equals(other as PB_Skin); |
| | 13363 | | } |
| | 13364 | |
|
| | 13365 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13366 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13367 | | public bool Equals(PB_Skin other) { |
| | 13368 | | if (ReferenceEquals(other, null)) { |
| | 13369 | | return false; |
| | 13370 | | } |
| | 13371 | | if (ReferenceEquals(other, this)) { |
| | 13372 | | return true; |
| | 13373 | | } |
| | 13374 | | if (!object.Equals(Color, other.Color)) return false; |
| | 13375 | | return Equals(_unknownFields, other._unknownFields); |
| | 13376 | | } |
| | 13377 | |
|
| | 13378 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13379 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13380 | | public override int GetHashCode() { |
| | 13381 | | int hash = 1; |
| | 13382 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 13383 | | if (_unknownFields != null) { |
| | 13384 | | hash ^= _unknownFields.GetHashCode(); |
| | 13385 | | } |
| | 13386 | | return hash; |
| | 13387 | | } |
| | 13388 | |
|
| | 13389 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13390 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13391 | | public override string ToString() { |
| | 13392 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 13393 | | } |
| | 13394 | |
|
| | 13395 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13396 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13397 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 13398 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13399 | | output.WriteRawMessage(this); |
| | 13400 | | #else |
| | 13401 | | if (color_ != null) { |
| | 13402 | | output.WriteRawTag(10); |
| | 13403 | | output.WriteMessage(Color); |
| | 13404 | | } |
| | 13405 | | if (_unknownFields != null) { |
| | 13406 | | _unknownFields.WriteTo(output); |
| | 13407 | | } |
| | 13408 | | #endif |
| | 13409 | | } |
| | 13410 | |
|
| | 13411 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13412 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13413 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13414 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 13415 | | if (color_ != null) { |
| | 13416 | | output.WriteRawTag(10); |
| | 13417 | | output.WriteMessage(Color); |
| | 13418 | | } |
| | 13419 | | if (_unknownFields != null) { |
| | 13420 | | _unknownFields.WriteTo(ref output); |
| | 13421 | | } |
| | 13422 | | } |
| | 13423 | | #endif |
| | 13424 | |
|
| | 13425 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13426 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13427 | | public int CalculateSize() { |
| | 13428 | | int size = 0; |
| | 13429 | | if (color_ != null) { |
| | 13430 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 13431 | | } |
| | 13432 | | if (_unknownFields != null) { |
| | 13433 | | size += _unknownFields.CalculateSize(); |
| | 13434 | | } |
| | 13435 | | return size; |
| | 13436 | | } |
| | 13437 | |
|
| | 13438 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13439 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13440 | | public void MergeFrom(PB_Skin other) { |
| | 13441 | | if (other == null) { |
| | 13442 | | return; |
| | 13443 | | } |
| | 13444 | | if (other.color_ != null) { |
| | 13445 | | if (color_ == null) { |
| | 13446 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 13447 | | } |
| | 13448 | | Color.MergeFrom(other.Color); |
| | 13449 | | } |
| | 13450 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 13451 | | } |
| | 13452 | |
|
| | 13453 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13454 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13455 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 13456 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13457 | | input.ReadRawMessage(this); |
| | 13458 | | #else |
| | 13459 | | uint tag; |
| | 13460 | | while ((tag = input.ReadTag()) != 0) { |
| | 13461 | | switch(tag) { |
| | 13462 | | default: |
| | 13463 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 13464 | | break; |
| | 13465 | | case 10: { |
| | 13466 | | if (color_ == null) { |
| | 13467 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 13468 | | } |
| | 13469 | | input.ReadMessage(Color); |
| | 13470 | | break; |
| | 13471 | | } |
| | 13472 | | } |
| | 13473 | | } |
| | 13474 | | #endif |
| | 13475 | | } |
| | 13476 | |
|
| | 13477 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13478 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13479 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13480 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 13481 | | uint tag; |
| | 13482 | | while ((tag = input.ReadTag()) != 0) { |
| | 13483 | | switch(tag) { |
| | 13484 | | default: |
| | 13485 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 13486 | | break; |
| | 13487 | | case 10: { |
| | 13488 | | if (color_ == null) { |
| | 13489 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 13490 | | } |
| | 13491 | | input.ReadMessage(Color); |
| | 13492 | | break; |
| | 13493 | | } |
| | 13494 | | } |
| | 13495 | | } |
| | 13496 | | } |
| | 13497 | | #endif |
| | 13498 | |
|
| | 13499 | | } |
| | 13500 | |
|
| | 13501 | | public sealed partial class PB_BasicMaterial : pb::IMessage<PB_BasicMaterial> |
| | 13502 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13503 | | , pb::IBufferMessage |
| | 13504 | | #endif |
| | 13505 | | { |
| | 13506 | | private static readonly pb::MessageParser<PB_BasicMaterial> _parser = new pb::MessageParser<PB_BasicMaterial>(() => |
| | 13507 | | private pb::UnknownFieldSet _unknownFields; |
| | 13508 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13509 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13510 | | public static pb::MessageParser<PB_BasicMaterial> Parser { get { return _parser; } } |
| | 13511 | |
|
| | 13512 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13513 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13514 | | public static pbr::MessageDescriptor Descriptor { |
| | 13515 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[37]; } |
| | 13516 | | } |
| | 13517 | |
|
| | 13518 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13519 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13520 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 13521 | | get { return Descriptor; } |
| | 13522 | | } |
| | 13523 | |
|
| | 13524 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13525 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13526 | | public PB_BasicMaterial() { |
| | 13527 | | OnConstruction(); |
| | 13528 | | } |
| | 13529 | |
|
| | 13530 | | partial void OnConstruction(); |
| | 13531 | |
|
| | 13532 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13533 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13534 | | public PB_BasicMaterial(PB_BasicMaterial other) : this() { |
| | 13535 | | texture_ = other.texture_ != null ? other.texture_.Clone() : null; |
| | 13536 | | alphaTest_ = other.alphaTest_; |
| | 13537 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 13538 | | } |
| | 13539 | |
|
| | 13540 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13541 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13542 | | public PB_BasicMaterial Clone() { |
| | 13543 | | return new PB_BasicMaterial(this); |
| | 13544 | | } |
| | 13545 | |
|
| | 13546 | | /// <summary>Field number for the "texture" field.</summary> |
| | 13547 | | public const int TextureFieldNumber = 1; |
| | 13548 | | private global::DCL.Interface.PB_Texture texture_; |
| | 13549 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13550 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13551 | | public global::DCL.Interface.PB_Texture Texture { |
| | 13552 | | get { return texture_; } |
| | 13553 | | set { |
| | 13554 | | texture_ = value; |
| | 13555 | | } |
| | 13556 | | } |
| | 13557 | |
|
| | 13558 | | /// <summary>Field number for the "alphaTest" field.</summary> |
| | 13559 | | public const int AlphaTestFieldNumber = 2; |
| | 13560 | | private float alphaTest_; |
| | 13561 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13562 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13563 | | public float AlphaTest { |
| | 13564 | | get { return alphaTest_; } |
| | 13565 | | set { |
| | 13566 | | alphaTest_ = value; |
| | 13567 | | } |
| | 13568 | | } |
| | 13569 | |
|
| | 13570 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13571 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13572 | | public override bool Equals(object other) { |
| | 13573 | | return Equals(other as PB_BasicMaterial); |
| | 13574 | | } |
| | 13575 | |
|
| | 13576 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13577 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13578 | | public bool Equals(PB_BasicMaterial other) { |
| | 13579 | | if (ReferenceEquals(other, null)) { |
| | 13580 | | return false; |
| | 13581 | | } |
| | 13582 | | if (ReferenceEquals(other, this)) { |
| | 13583 | | return true; |
| | 13584 | | } |
| | 13585 | | if (!object.Equals(Texture, other.Texture)) return false; |
| | 13586 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AlphaTest, other.AlphaTest)) return false |
| | 13587 | | return Equals(_unknownFields, other._unknownFields); |
| | 13588 | | } |
| | 13589 | |
|
| | 13590 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13591 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13592 | | public override int GetHashCode() { |
| | 13593 | | int hash = 1; |
| | 13594 | | if (texture_ != null) hash ^= Texture.GetHashCode(); |
| | 13595 | | if (AlphaTest != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AlphaTest); |
| | 13596 | | if (_unknownFields != null) { |
| | 13597 | | hash ^= _unknownFields.GetHashCode(); |
| | 13598 | | } |
| | 13599 | | return hash; |
| | 13600 | | } |
| | 13601 | |
|
| | 13602 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13603 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13604 | | public override string ToString() { |
| | 13605 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 13606 | | } |
| | 13607 | |
|
| | 13608 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13609 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13610 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 13611 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13612 | | output.WriteRawMessage(this); |
| | 13613 | | #else |
| | 13614 | | if (texture_ != null) { |
| | 13615 | | output.WriteRawTag(10); |
| | 13616 | | output.WriteMessage(Texture); |
| | 13617 | | } |
| | 13618 | | if (AlphaTest != 0F) { |
| | 13619 | | output.WriteRawTag(21); |
| | 13620 | | output.WriteFloat(AlphaTest); |
| | 13621 | | } |
| | 13622 | | if (_unknownFields != null) { |
| | 13623 | | _unknownFields.WriteTo(output); |
| | 13624 | | } |
| | 13625 | | #endif |
| | 13626 | | } |
| | 13627 | |
|
| | 13628 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13629 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13630 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13631 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 13632 | | if (texture_ != null) { |
| | 13633 | | output.WriteRawTag(10); |
| | 13634 | | output.WriteMessage(Texture); |
| | 13635 | | } |
| | 13636 | | if (AlphaTest != 0F) { |
| | 13637 | | output.WriteRawTag(21); |
| | 13638 | | output.WriteFloat(AlphaTest); |
| | 13639 | | } |
| | 13640 | | if (_unknownFields != null) { |
| | 13641 | | _unknownFields.WriteTo(ref output); |
| | 13642 | | } |
| | 13643 | | } |
| | 13644 | | #endif |
| | 13645 | |
|
| | 13646 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13647 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13648 | | public int CalculateSize() { |
| | 13649 | | int size = 0; |
| | 13650 | | if (texture_ != null) { |
| | 13651 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Texture); |
| | 13652 | | } |
| | 13653 | | if (AlphaTest != 0F) { |
| | 13654 | | size += 1 + 4; |
| | 13655 | | } |
| | 13656 | | if (_unknownFields != null) { |
| | 13657 | | size += _unknownFields.CalculateSize(); |
| | 13658 | | } |
| | 13659 | | return size; |
| | 13660 | | } |
| | 13661 | |
|
| | 13662 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13663 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13664 | | public void MergeFrom(PB_BasicMaterial other) { |
| | 13665 | | if (other == null) { |
| | 13666 | | return; |
| | 13667 | | } |
| | 13668 | | if (other.texture_ != null) { |
| | 13669 | | if (texture_ == null) { |
| | 13670 | | Texture = new global::DCL.Interface.PB_Texture(); |
| | 13671 | | } |
| | 13672 | | Texture.MergeFrom(other.Texture); |
| | 13673 | | } |
| | 13674 | | if (other.AlphaTest != 0F) { |
| | 13675 | | AlphaTest = other.AlphaTest; |
| | 13676 | | } |
| | 13677 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 13678 | | } |
| | 13679 | |
|
| | 13680 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13681 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13682 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 13683 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13684 | | input.ReadRawMessage(this); |
| | 13685 | | #else |
| | 13686 | | uint tag; |
| | 13687 | | while ((tag = input.ReadTag()) != 0) { |
| | 13688 | | switch(tag) { |
| | 13689 | | default: |
| | 13690 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 13691 | | break; |
| | 13692 | | case 10: { |
| | 13693 | | if (texture_ == null) { |
| | 13694 | | Texture = new global::DCL.Interface.PB_Texture(); |
| | 13695 | | } |
| | 13696 | | input.ReadMessage(Texture); |
| | 13697 | | break; |
| | 13698 | | } |
| | 13699 | | case 21: { |
| | 13700 | | AlphaTest = input.ReadFloat(); |
| | 13701 | | break; |
| | 13702 | | } |
| | 13703 | | } |
| | 13704 | | } |
| | 13705 | | #endif |
| | 13706 | | } |
| | 13707 | |
|
| | 13708 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13709 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13710 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13711 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 13712 | | uint tag; |
| | 13713 | | while ((tag = input.ReadTag()) != 0) { |
| | 13714 | | switch(tag) { |
| | 13715 | | default: |
| | 13716 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 13717 | | break; |
| | 13718 | | case 10: { |
| | 13719 | | if (texture_ == null) { |
| | 13720 | | Texture = new global::DCL.Interface.PB_Texture(); |
| | 13721 | | } |
| | 13722 | | input.ReadMessage(Texture); |
| | 13723 | | break; |
| | 13724 | | } |
| | 13725 | | case 21: { |
| | 13726 | | AlphaTest = input.ReadFloat(); |
| | 13727 | | break; |
| | 13728 | | } |
| | 13729 | | } |
| | 13730 | | } |
| | 13731 | | } |
| | 13732 | | #endif |
| | 13733 | |
|
| | 13734 | | } |
| | 13735 | |
|
| | 13736 | | public sealed partial class PB_Billboard : pb::IMessage<PB_Billboard> |
| | 13737 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13738 | | , pb::IBufferMessage |
| | 13739 | | #endif |
| | 13740 | | { |
| | 13741 | | private static readonly pb::MessageParser<PB_Billboard> _parser = new pb::MessageParser<PB_Billboard>(() => new PB_B |
| | 13742 | | private pb::UnknownFieldSet _unknownFields; |
| | 13743 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13744 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13745 | | public static pb::MessageParser<PB_Billboard> Parser { get { return _parser; } } |
| | 13746 | |
|
| | 13747 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13748 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13749 | | public static pbr::MessageDescriptor Descriptor { |
| | 13750 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[38]; } |
| | 13751 | | } |
| | 13752 | |
|
| | 13753 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13754 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13755 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 13756 | | get { return Descriptor; } |
| | 13757 | | } |
| | 13758 | |
|
| | 13759 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13760 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13761 | | public PB_Billboard() { |
| | 13762 | | OnConstruction(); |
| | 13763 | | } |
| | 13764 | |
|
| | 13765 | | partial void OnConstruction(); |
| | 13766 | |
|
| | 13767 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13768 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13769 | | public PB_Billboard(PB_Billboard other) : this() { |
| | 13770 | | x_ = other.x_; |
| | 13771 | | y_ = other.y_; |
| | 13772 | | z_ = other.z_; |
| | 13773 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 13774 | | } |
| | 13775 | |
|
| | 13776 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13777 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13778 | | public PB_Billboard Clone() { |
| | 13779 | | return new PB_Billboard(this); |
| | 13780 | | } |
| | 13781 | |
|
| | 13782 | | /// <summary>Field number for the "x" field.</summary> |
| | 13783 | | public const int XFieldNumber = 1; |
| | 13784 | | private bool x_; |
| | 13785 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13786 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13787 | | public bool X { |
| | 13788 | | get { return x_; } |
| | 13789 | | set { |
| | 13790 | | x_ = value; |
| | 13791 | | } |
| | 13792 | | } |
| | 13793 | |
|
| | 13794 | | /// <summary>Field number for the "y" field.</summary> |
| | 13795 | | public const int YFieldNumber = 2; |
| | 13796 | | private bool y_; |
| | 13797 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13798 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13799 | | public bool Y { |
| | 13800 | | get { return y_; } |
| | 13801 | | set { |
| | 13802 | | y_ = value; |
| | 13803 | | } |
| | 13804 | | } |
| | 13805 | |
|
| | 13806 | | /// <summary>Field number for the "z" field.</summary> |
| | 13807 | | public const int ZFieldNumber = 3; |
| | 13808 | | private bool z_; |
| | 13809 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13810 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13811 | | public bool Z { |
| | 13812 | | get { return z_; } |
| | 13813 | | set { |
| | 13814 | | z_ = value; |
| | 13815 | | } |
| | 13816 | | } |
| | 13817 | |
|
| | 13818 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13819 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13820 | | public override bool Equals(object other) { |
| | 13821 | | return Equals(other as PB_Billboard); |
| | 13822 | | } |
| | 13823 | |
|
| | 13824 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13825 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13826 | | public bool Equals(PB_Billboard other) { |
| | 13827 | | if (ReferenceEquals(other, null)) { |
| | 13828 | | return false; |
| | 13829 | | } |
| | 13830 | | if (ReferenceEquals(other, this)) { |
| | 13831 | | return true; |
| | 13832 | | } |
| | 13833 | | if (X != other.X) return false; |
| | 13834 | | if (Y != other.Y) return false; |
| | 13835 | | if (Z != other.Z) return false; |
| | 13836 | | return Equals(_unknownFields, other._unknownFields); |
| | 13837 | | } |
| | 13838 | |
|
| | 13839 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13840 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13841 | | public override int GetHashCode() { |
| | 13842 | | int hash = 1; |
| | 13843 | | if (X != false) hash ^= X.GetHashCode(); |
| | 13844 | | if (Y != false) hash ^= Y.GetHashCode(); |
| | 13845 | | if (Z != false) hash ^= Z.GetHashCode(); |
| | 13846 | | if (_unknownFields != null) { |
| | 13847 | | hash ^= _unknownFields.GetHashCode(); |
| | 13848 | | } |
| | 13849 | | return hash; |
| | 13850 | | } |
| | 13851 | |
|
| | 13852 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13853 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13854 | | public override string ToString() { |
| | 13855 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 13856 | | } |
| | 13857 | |
|
| | 13858 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13859 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13860 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 13861 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13862 | | output.WriteRawMessage(this); |
| | 13863 | | #else |
| | 13864 | | if (X != false) { |
| | 13865 | | output.WriteRawTag(8); |
| | 13866 | | output.WriteBool(X); |
| | 13867 | | } |
| | 13868 | | if (Y != false) { |
| | 13869 | | output.WriteRawTag(16); |
| | 13870 | | output.WriteBool(Y); |
| | 13871 | | } |
| | 13872 | | if (Z != false) { |
| | 13873 | | output.WriteRawTag(24); |
| | 13874 | | output.WriteBool(Z); |
| | 13875 | | } |
| | 13876 | | if (_unknownFields != null) { |
| | 13877 | | _unknownFields.WriteTo(output); |
| | 13878 | | } |
| | 13879 | | #endif |
| | 13880 | | } |
| | 13881 | |
|
| | 13882 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13883 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13884 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13885 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 13886 | | if (X != false) { |
| | 13887 | | output.WriteRawTag(8); |
| | 13888 | | output.WriteBool(X); |
| | 13889 | | } |
| | 13890 | | if (Y != false) { |
| | 13891 | | output.WriteRawTag(16); |
| | 13892 | | output.WriteBool(Y); |
| | 13893 | | } |
| | 13894 | | if (Z != false) { |
| | 13895 | | output.WriteRawTag(24); |
| | 13896 | | output.WriteBool(Z); |
| | 13897 | | } |
| | 13898 | | if (_unknownFields != null) { |
| | 13899 | | _unknownFields.WriteTo(ref output); |
| | 13900 | | } |
| | 13901 | | } |
| | 13902 | | #endif |
| | 13903 | |
|
| | 13904 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13905 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13906 | | public int CalculateSize() { |
| | 13907 | | int size = 0; |
| | 13908 | | if (X != false) { |
| | 13909 | | size += 1 + 1; |
| | 13910 | | } |
| | 13911 | | if (Y != false) { |
| | 13912 | | size += 1 + 1; |
| | 13913 | | } |
| | 13914 | | if (Z != false) { |
| | 13915 | | size += 1 + 1; |
| | 13916 | | } |
| | 13917 | | if (_unknownFields != null) { |
| | 13918 | | size += _unknownFields.CalculateSize(); |
| | 13919 | | } |
| | 13920 | | return size; |
| | 13921 | | } |
| | 13922 | |
|
| | 13923 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13924 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13925 | | public void MergeFrom(PB_Billboard other) { |
| | 13926 | | if (other == null) { |
| | 13927 | | return; |
| | 13928 | | } |
| | 13929 | | if (other.X != false) { |
| | 13930 | | X = other.X; |
| | 13931 | | } |
| | 13932 | | if (other.Y != false) { |
| | 13933 | | Y = other.Y; |
| | 13934 | | } |
| | 13935 | | if (other.Z != false) { |
| | 13936 | | Z = other.Z; |
| | 13937 | | } |
| | 13938 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 13939 | | } |
| | 13940 | |
|
| | 13941 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13942 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13943 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 13944 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13945 | | input.ReadRawMessage(this); |
| | 13946 | | #else |
| | 13947 | | uint tag; |
| | 13948 | | while ((tag = input.ReadTag()) != 0) { |
| | 13949 | | switch(tag) { |
| | 13950 | | default: |
| | 13951 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 13952 | | break; |
| | 13953 | | case 8: { |
| | 13954 | | X = input.ReadBool(); |
| | 13955 | | break; |
| | 13956 | | } |
| | 13957 | | case 16: { |
| | 13958 | | Y = input.ReadBool(); |
| | 13959 | | break; |
| | 13960 | | } |
| | 13961 | | case 24: { |
| | 13962 | | Z = input.ReadBool(); |
| | 13963 | | break; |
| | 13964 | | } |
| | 13965 | | } |
| | 13966 | | } |
| | 13967 | | #endif |
| | 13968 | | } |
| | 13969 | |
|
| | 13970 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 13971 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 13972 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 13973 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 13974 | | uint tag; |
| | 13975 | | while ((tag = input.ReadTag()) != 0) { |
| | 13976 | | switch(tag) { |
| | 13977 | | default: |
| | 13978 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 13979 | | break; |
| | 13980 | | case 8: { |
| | 13981 | | X = input.ReadBool(); |
| | 13982 | | break; |
| | 13983 | | } |
| | 13984 | | case 16: { |
| | 13985 | | Y = input.ReadBool(); |
| | 13986 | | break; |
| | 13987 | | } |
| | 13988 | | case 24: { |
| | 13989 | | Z = input.ReadBool(); |
| | 13990 | | break; |
| | 13991 | | } |
| | 13992 | | } |
| | 13993 | | } |
| | 13994 | | } |
| | 13995 | | #endif |
| | 13996 | |
|
| | 13997 | | } |
| | 13998 | |
|
| | 13999 | | public sealed partial class PB_BoxShape : pb::IMessage<PB_BoxShape> |
| | 14000 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14001 | | , pb::IBufferMessage |
| | 14002 | | #endif |
| | 14003 | | { |
| 0 | 14004 | | private static readonly pb::MessageParser<PB_BoxShape> _parser = new pb::MessageParser<PB_BoxShape>(() => new PB_Box |
| | 14005 | | private pb::UnknownFieldSet _unknownFields; |
| | 14006 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14007 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 14008 | | public static pb::MessageParser<PB_BoxShape> Parser { get { return _parser; } } |
| | 14009 | |
|
| | 14010 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14011 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14012 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 14013 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[39]; } |
| | 14014 | | } |
| | 14015 | |
|
| | 14016 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14017 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14018 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 14019 | | get { return Descriptor; } |
| | 14020 | | } |
| | 14021 | |
|
| | 14022 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14023 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 14024 | | public PB_BoxShape() { |
| | 14025 | | OnConstruction(); |
| 0 | 14026 | | } |
| | 14027 | |
|
| | 14028 | | partial void OnConstruction(); |
| | 14029 | |
|
| | 14030 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14031 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 14032 | | public PB_BoxShape(PB_BoxShape other) : this() { |
| 0 | 14033 | | withCollisions_ = other.withCollisions_; |
| 0 | 14034 | | visible_ = other.visible_; |
| 0 | 14035 | | uvs_ = other.uvs_.Clone(); |
| 0 | 14036 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 14037 | | } |
| | 14038 | |
|
| | 14039 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14040 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14041 | | public PB_BoxShape Clone() { |
| 0 | 14042 | | return new PB_BoxShape(this); |
| | 14043 | | } |
| | 14044 | |
|
| | 14045 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 14046 | | public const int WithCollisionsFieldNumber = 1; |
| | 14047 | | private bool withCollisions_; |
| | 14048 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14049 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14050 | | public bool WithCollisions { |
| 0 | 14051 | | get { return withCollisions_; } |
| | 14052 | | set { |
| 0 | 14053 | | withCollisions_ = value; |
| 0 | 14054 | | } |
| | 14055 | | } |
| | 14056 | |
|
| | 14057 | | /// <summary>Field number for the "visible" field.</summary> |
| | 14058 | | public const int VisibleFieldNumber = 2; |
| | 14059 | | private bool visible_; |
| | 14060 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14061 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14062 | | public bool Visible { |
| 0 | 14063 | | get { return visible_; } |
| | 14064 | | set { |
| 0 | 14065 | | visible_ = value; |
| 0 | 14066 | | } |
| | 14067 | | } |
| | 14068 | |
|
| | 14069 | | /// <summary>Field number for the "uvs" field.</summary> |
| | 14070 | | public const int UvsFieldNumber = 3; |
| 0 | 14071 | | private static readonly pb::FieldCodec<float> _repeated_uvs_codec |
| | 14072 | | = pb::FieldCodec.ForFloat(26); |
| 0 | 14073 | | private readonly pbc::RepeatedField<float> uvs_ = new pbc::RepeatedField<float>(); |
| | 14074 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14075 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14076 | | public pbc::RepeatedField<float> Uvs { |
| 0 | 14077 | | get { return uvs_; } |
| | 14078 | | } |
| | 14079 | |
|
| | 14080 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14081 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14082 | | public override bool Equals(object other) { |
| 0 | 14083 | | return Equals(other as PB_BoxShape); |
| | 14084 | | } |
| | 14085 | |
|
| | 14086 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14087 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14088 | | public bool Equals(PB_BoxShape other) { |
| 0 | 14089 | | if (ReferenceEquals(other, null)) { |
| 0 | 14090 | | return false; |
| | 14091 | | } |
| 0 | 14092 | | if (ReferenceEquals(other, this)) { |
| 0 | 14093 | | return true; |
| | 14094 | | } |
| 0 | 14095 | | if (WithCollisions != other.WithCollisions) return false; |
| 0 | 14096 | | if (Visible != other.Visible) return false; |
| 0 | 14097 | | if(!uvs_.Equals(other.uvs_)) return false; |
| 0 | 14098 | | return Equals(_unknownFields, other._unknownFields); |
| | 14099 | | } |
| | 14100 | |
|
| | 14101 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14102 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14103 | | public override int GetHashCode() { |
| 0 | 14104 | | int hash = 1; |
| 0 | 14105 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| 0 | 14106 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| 0 | 14107 | | hash ^= uvs_.GetHashCode(); |
| 0 | 14108 | | if (_unknownFields != null) { |
| 0 | 14109 | | hash ^= _unknownFields.GetHashCode(); |
| | 14110 | | } |
| 0 | 14111 | | return hash; |
| | 14112 | | } |
| | 14113 | |
|
| | 14114 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14115 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14116 | | public override string ToString() { |
| 0 | 14117 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 14118 | | } |
| | 14119 | |
|
| | 14120 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14121 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14122 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 14123 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14124 | | output.WriteRawMessage(this); |
| | 14125 | | #else |
| 0 | 14126 | | if (WithCollisions != false) { |
| 0 | 14127 | | output.WriteRawTag(8); |
| 0 | 14128 | | output.WriteBool(WithCollisions); |
| | 14129 | | } |
| 0 | 14130 | | if (Visible != false) { |
| 0 | 14131 | | output.WriteRawTag(16); |
| 0 | 14132 | | output.WriteBool(Visible); |
| | 14133 | | } |
| 0 | 14134 | | uvs_.WriteTo(output, _repeated_uvs_codec); |
| 0 | 14135 | | if (_unknownFields != null) { |
| 0 | 14136 | | _unknownFields.WriteTo(output); |
| | 14137 | | } |
| | 14138 | | #endif |
| 0 | 14139 | | } |
| | 14140 | |
|
| | 14141 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14142 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14143 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14144 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 14145 | | if (WithCollisions != false) { |
| | 14146 | | output.WriteRawTag(8); |
| | 14147 | | output.WriteBool(WithCollisions); |
| | 14148 | | } |
| | 14149 | | if (Visible != false) { |
| | 14150 | | output.WriteRawTag(16); |
| | 14151 | | output.WriteBool(Visible); |
| | 14152 | | } |
| | 14153 | | uvs_.WriteTo(ref output, _repeated_uvs_codec); |
| | 14154 | | if (_unknownFields != null) { |
| | 14155 | | _unknownFields.WriteTo(ref output); |
| | 14156 | | } |
| | 14157 | | } |
| | 14158 | | #endif |
| | 14159 | |
|
| | 14160 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14161 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14162 | | public int CalculateSize() { |
| 0 | 14163 | | int size = 0; |
| 0 | 14164 | | if (WithCollisions != false) { |
| 0 | 14165 | | size += 1 + 1; |
| | 14166 | | } |
| 0 | 14167 | | if (Visible != false) { |
| 0 | 14168 | | size += 1 + 1; |
| | 14169 | | } |
| 0 | 14170 | | size += uvs_.CalculateSize(_repeated_uvs_codec); |
| 0 | 14171 | | if (_unknownFields != null) { |
| 0 | 14172 | | size += _unknownFields.CalculateSize(); |
| | 14173 | | } |
| 0 | 14174 | | return size; |
| | 14175 | | } |
| | 14176 | |
|
| | 14177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14179 | | public void MergeFrom(PB_BoxShape other) { |
| 0 | 14180 | | if (other == null) { |
| 0 | 14181 | | return; |
| | 14182 | | } |
| 0 | 14183 | | if (other.WithCollisions != false) { |
| 0 | 14184 | | WithCollisions = other.WithCollisions; |
| | 14185 | | } |
| 0 | 14186 | | if (other.Visible != false) { |
| 0 | 14187 | | Visible = other.Visible; |
| | 14188 | | } |
| 0 | 14189 | | uvs_.Add(other.uvs_); |
| 0 | 14190 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 14191 | | } |
| | 14192 | |
|
| | 14193 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14194 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14195 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 14196 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14197 | | input.ReadRawMessage(this); |
| | 14198 | | #else |
| | 14199 | | uint tag; |
| 0 | 14200 | | while ((tag = input.ReadTag()) != 0) { |
| | 14201 | | switch(tag) { |
| | 14202 | | default: |
| 0 | 14203 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 14204 | | break; |
| | 14205 | | case 8: { |
| 0 | 14206 | | WithCollisions = input.ReadBool(); |
| 0 | 14207 | | break; |
| | 14208 | | } |
| | 14209 | | case 16: { |
| 0 | 14210 | | Visible = input.ReadBool(); |
| 0 | 14211 | | break; |
| | 14212 | | } |
| | 14213 | | case 26: |
| | 14214 | | case 29: { |
| 0 | 14215 | | uvs_.AddEntriesFrom(input, _repeated_uvs_codec); |
| | 14216 | | break; |
| | 14217 | | } |
| | 14218 | | } |
| | 14219 | | } |
| | 14220 | | #endif |
| 0 | 14221 | | } |
| | 14222 | |
|
| | 14223 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14224 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14225 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14226 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 14227 | | uint tag; |
| | 14228 | | while ((tag = input.ReadTag()) != 0) { |
| | 14229 | | switch(tag) { |
| | 14230 | | default: |
| | 14231 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 14232 | | break; |
| | 14233 | | case 8: { |
| | 14234 | | WithCollisions = input.ReadBool(); |
| | 14235 | | break; |
| | 14236 | | } |
| | 14237 | | case 16: { |
| | 14238 | | Visible = input.ReadBool(); |
| | 14239 | | break; |
| | 14240 | | } |
| | 14241 | | case 26: |
| | 14242 | | case 29: { |
| | 14243 | | uvs_.AddEntriesFrom(ref input, _repeated_uvs_codec); |
| | 14244 | | break; |
| | 14245 | | } |
| | 14246 | | } |
| | 14247 | | } |
| | 14248 | | } |
| | 14249 | | #endif |
| | 14250 | |
|
| | 14251 | | } |
| | 14252 | |
|
| | 14253 | | public sealed partial class PB_CircleShape : pb::IMessage<PB_CircleShape> |
| | 14254 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14255 | | , pb::IBufferMessage |
| | 14256 | | #endif |
| | 14257 | | { |
| | 14258 | | private static readonly pb::MessageParser<PB_CircleShape> _parser = new pb::MessageParser<PB_CircleShape>(() => new |
| | 14259 | | private pb::UnknownFieldSet _unknownFields; |
| | 14260 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14261 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14262 | | public static pb::MessageParser<PB_CircleShape> Parser { get { return _parser; } } |
| | 14263 | |
|
| | 14264 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14265 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14266 | | public static pbr::MessageDescriptor Descriptor { |
| | 14267 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[40]; } |
| | 14268 | | } |
| | 14269 | |
|
| | 14270 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14271 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14272 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 14273 | | get { return Descriptor; } |
| | 14274 | | } |
| | 14275 | |
|
| | 14276 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14277 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14278 | | public PB_CircleShape() { |
| | 14279 | | OnConstruction(); |
| | 14280 | | } |
| | 14281 | |
|
| | 14282 | | partial void OnConstruction(); |
| | 14283 | |
|
| | 14284 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14285 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14286 | | public PB_CircleShape(PB_CircleShape other) : this() { |
| | 14287 | | withCollisions_ = other.withCollisions_; |
| | 14288 | | visible_ = other.visible_; |
| | 14289 | | segments_ = other.segments_; |
| | 14290 | | arc_ = other.arc_; |
| | 14291 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 14292 | | } |
| | 14293 | |
|
| | 14294 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14295 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14296 | | public PB_CircleShape Clone() { |
| | 14297 | | return new PB_CircleShape(this); |
| | 14298 | | } |
| | 14299 | |
|
| | 14300 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 14301 | | public const int WithCollisionsFieldNumber = 1; |
| | 14302 | | private bool withCollisions_; |
| | 14303 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14304 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14305 | | public bool WithCollisions { |
| | 14306 | | get { return withCollisions_; } |
| | 14307 | | set { |
| | 14308 | | withCollisions_ = value; |
| | 14309 | | } |
| | 14310 | | } |
| | 14311 | |
|
| | 14312 | | /// <summary>Field number for the "visible" field.</summary> |
| | 14313 | | public const int VisibleFieldNumber = 2; |
| | 14314 | | private bool visible_; |
| | 14315 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14316 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14317 | | public bool Visible { |
| | 14318 | | get { return visible_; } |
| | 14319 | | set { |
| | 14320 | | visible_ = value; |
| | 14321 | | } |
| | 14322 | | } |
| | 14323 | |
|
| | 14324 | | /// <summary>Field number for the "segments" field.</summary> |
| | 14325 | | public const int SegmentsFieldNumber = 3; |
| | 14326 | | private float segments_; |
| | 14327 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14328 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14329 | | public float Segments { |
| | 14330 | | get { return segments_; } |
| | 14331 | | set { |
| | 14332 | | segments_ = value; |
| | 14333 | | } |
| | 14334 | | } |
| | 14335 | |
|
| | 14336 | | /// <summary>Field number for the "arc" field.</summary> |
| | 14337 | | public const int ArcFieldNumber = 4; |
| | 14338 | | private float arc_; |
| | 14339 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14340 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14341 | | public float Arc { |
| | 14342 | | get { return arc_; } |
| | 14343 | | set { |
| | 14344 | | arc_ = value; |
| | 14345 | | } |
| | 14346 | | } |
| | 14347 | |
|
| | 14348 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14349 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14350 | | public override bool Equals(object other) { |
| | 14351 | | return Equals(other as PB_CircleShape); |
| | 14352 | | } |
| | 14353 | |
|
| | 14354 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14355 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14356 | | public bool Equals(PB_CircleShape other) { |
| | 14357 | | if (ReferenceEquals(other, null)) { |
| | 14358 | | return false; |
| | 14359 | | } |
| | 14360 | | if (ReferenceEquals(other, this)) { |
| | 14361 | | return true; |
| | 14362 | | } |
| | 14363 | | if (WithCollisions != other.WithCollisions) return false; |
| | 14364 | | if (Visible != other.Visible) return false; |
| | 14365 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Segments, other.Segments)) return false; |
| | 14366 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Arc, other.Arc)) return false; |
| | 14367 | | return Equals(_unknownFields, other._unknownFields); |
| | 14368 | | } |
| | 14369 | |
|
| | 14370 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14371 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14372 | | public override int GetHashCode() { |
| | 14373 | | int hash = 1; |
| | 14374 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 14375 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 14376 | | if (Segments != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Segments); |
| | 14377 | | if (Arc != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Arc); |
| | 14378 | | if (_unknownFields != null) { |
| | 14379 | | hash ^= _unknownFields.GetHashCode(); |
| | 14380 | | } |
| | 14381 | | return hash; |
| | 14382 | | } |
| | 14383 | |
|
| | 14384 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14385 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14386 | | public override string ToString() { |
| | 14387 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 14388 | | } |
| | 14389 | |
|
| | 14390 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14391 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14392 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 14393 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14394 | | output.WriteRawMessage(this); |
| | 14395 | | #else |
| | 14396 | | if (WithCollisions != false) { |
| | 14397 | | output.WriteRawTag(8); |
| | 14398 | | output.WriteBool(WithCollisions); |
| | 14399 | | } |
| | 14400 | | if (Visible != false) { |
| | 14401 | | output.WriteRawTag(16); |
| | 14402 | | output.WriteBool(Visible); |
| | 14403 | | } |
| | 14404 | | if (Segments != 0F) { |
| | 14405 | | output.WriteRawTag(29); |
| | 14406 | | output.WriteFloat(Segments); |
| | 14407 | | } |
| | 14408 | | if (Arc != 0F) { |
| | 14409 | | output.WriteRawTag(37); |
| | 14410 | | output.WriteFloat(Arc); |
| | 14411 | | } |
| | 14412 | | if (_unknownFields != null) { |
| | 14413 | | _unknownFields.WriteTo(output); |
| | 14414 | | } |
| | 14415 | | #endif |
| | 14416 | | } |
| | 14417 | |
|
| | 14418 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14419 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14420 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14421 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 14422 | | if (WithCollisions != false) { |
| | 14423 | | output.WriteRawTag(8); |
| | 14424 | | output.WriteBool(WithCollisions); |
| | 14425 | | } |
| | 14426 | | if (Visible != false) { |
| | 14427 | | output.WriteRawTag(16); |
| | 14428 | | output.WriteBool(Visible); |
| | 14429 | | } |
| | 14430 | | if (Segments != 0F) { |
| | 14431 | | output.WriteRawTag(29); |
| | 14432 | | output.WriteFloat(Segments); |
| | 14433 | | } |
| | 14434 | | if (Arc != 0F) { |
| | 14435 | | output.WriteRawTag(37); |
| | 14436 | | output.WriteFloat(Arc); |
| | 14437 | | } |
| | 14438 | | if (_unknownFields != null) { |
| | 14439 | | _unknownFields.WriteTo(ref output); |
| | 14440 | | } |
| | 14441 | | } |
| | 14442 | | #endif |
| | 14443 | |
|
| | 14444 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14445 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14446 | | public int CalculateSize() { |
| | 14447 | | int size = 0; |
| | 14448 | | if (WithCollisions != false) { |
| | 14449 | | size += 1 + 1; |
| | 14450 | | } |
| | 14451 | | if (Visible != false) { |
| | 14452 | | size += 1 + 1; |
| | 14453 | | } |
| | 14454 | | if (Segments != 0F) { |
| | 14455 | | size += 1 + 4; |
| | 14456 | | } |
| | 14457 | | if (Arc != 0F) { |
| | 14458 | | size += 1 + 4; |
| | 14459 | | } |
| | 14460 | | if (_unknownFields != null) { |
| | 14461 | | size += _unknownFields.CalculateSize(); |
| | 14462 | | } |
| | 14463 | | return size; |
| | 14464 | | } |
| | 14465 | |
|
| | 14466 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14467 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14468 | | public void MergeFrom(PB_CircleShape other) { |
| | 14469 | | if (other == null) { |
| | 14470 | | return; |
| | 14471 | | } |
| | 14472 | | if (other.WithCollisions != false) { |
| | 14473 | | WithCollisions = other.WithCollisions; |
| | 14474 | | } |
| | 14475 | | if (other.Visible != false) { |
| | 14476 | | Visible = other.Visible; |
| | 14477 | | } |
| | 14478 | | if (other.Segments != 0F) { |
| | 14479 | | Segments = other.Segments; |
| | 14480 | | } |
| | 14481 | | if (other.Arc != 0F) { |
| | 14482 | | Arc = other.Arc; |
| | 14483 | | } |
| | 14484 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 14485 | | } |
| | 14486 | |
|
| | 14487 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14488 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14489 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 14490 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14491 | | input.ReadRawMessage(this); |
| | 14492 | | #else |
| | 14493 | | uint tag; |
| | 14494 | | while ((tag = input.ReadTag()) != 0) { |
| | 14495 | | switch(tag) { |
| | 14496 | | default: |
| | 14497 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 14498 | | break; |
| | 14499 | | case 8: { |
| | 14500 | | WithCollisions = input.ReadBool(); |
| | 14501 | | break; |
| | 14502 | | } |
| | 14503 | | case 16: { |
| | 14504 | | Visible = input.ReadBool(); |
| | 14505 | | break; |
| | 14506 | | } |
| | 14507 | | case 29: { |
| | 14508 | | Segments = input.ReadFloat(); |
| | 14509 | | break; |
| | 14510 | | } |
| | 14511 | | case 37: { |
| | 14512 | | Arc = input.ReadFloat(); |
| | 14513 | | break; |
| | 14514 | | } |
| | 14515 | | } |
| | 14516 | | } |
| | 14517 | | #endif |
| | 14518 | | } |
| | 14519 | |
|
| | 14520 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14521 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14522 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14523 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 14524 | | uint tag; |
| | 14525 | | while ((tag = input.ReadTag()) != 0) { |
| | 14526 | | switch(tag) { |
| | 14527 | | default: |
| | 14528 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 14529 | | break; |
| | 14530 | | case 8: { |
| | 14531 | | WithCollisions = input.ReadBool(); |
| | 14532 | | break; |
| | 14533 | | } |
| | 14534 | | case 16: { |
| | 14535 | | Visible = input.ReadBool(); |
| | 14536 | | break; |
| | 14537 | | } |
| | 14538 | | case 29: { |
| | 14539 | | Segments = input.ReadFloat(); |
| | 14540 | | break; |
| | 14541 | | } |
| | 14542 | | case 37: { |
| | 14543 | | Arc = input.ReadFloat(); |
| | 14544 | | break; |
| | 14545 | | } |
| | 14546 | | } |
| | 14547 | | } |
| | 14548 | | } |
| | 14549 | | #endif |
| | 14550 | |
|
| | 14551 | | } |
| | 14552 | |
|
| | 14553 | | public sealed partial class PB_ConeShape : pb::IMessage<PB_ConeShape> |
| | 14554 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14555 | | , pb::IBufferMessage |
| | 14556 | | #endif |
| | 14557 | | { |
| | 14558 | | private static readonly pb::MessageParser<PB_ConeShape> _parser = new pb::MessageParser<PB_ConeShape>(() => new PB_C |
| | 14559 | | private pb::UnknownFieldSet _unknownFields; |
| | 14560 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14561 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14562 | | public static pb::MessageParser<PB_ConeShape> Parser { get { return _parser; } } |
| | 14563 | |
|
| | 14564 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14565 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14566 | | public static pbr::MessageDescriptor Descriptor { |
| | 14567 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[41]; } |
| | 14568 | | } |
| | 14569 | |
|
| | 14570 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14571 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14572 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 14573 | | get { return Descriptor; } |
| | 14574 | | } |
| | 14575 | |
|
| | 14576 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14577 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14578 | | public PB_ConeShape() { |
| | 14579 | | OnConstruction(); |
| | 14580 | | } |
| | 14581 | |
|
| | 14582 | | partial void OnConstruction(); |
| | 14583 | |
|
| | 14584 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14585 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14586 | | public PB_ConeShape(PB_ConeShape other) : this() { |
| | 14587 | | withCollisions_ = other.withCollisions_; |
| | 14588 | | visible_ = other.visible_; |
| | 14589 | | radiusTop_ = other.radiusTop_; |
| | 14590 | | radiusBottom_ = other.radiusBottom_; |
| | 14591 | | segmentsHeight_ = other.segmentsHeight_; |
| | 14592 | | segmentsRadial_ = other.segmentsRadial_; |
| | 14593 | | openEnded_ = other.openEnded_; |
| | 14594 | | radius_ = other.radius_; |
| | 14595 | | arc_ = other.arc_; |
| | 14596 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 14597 | | } |
| | 14598 | |
|
| | 14599 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14600 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14601 | | public PB_ConeShape Clone() { |
| | 14602 | | return new PB_ConeShape(this); |
| | 14603 | | } |
| | 14604 | |
|
| | 14605 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 14606 | | public const int WithCollisionsFieldNumber = 1; |
| | 14607 | | private bool withCollisions_; |
| | 14608 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14609 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14610 | | public bool WithCollisions { |
| | 14611 | | get { return withCollisions_; } |
| | 14612 | | set { |
| | 14613 | | withCollisions_ = value; |
| | 14614 | | } |
| | 14615 | | } |
| | 14616 | |
|
| | 14617 | | /// <summary>Field number for the "visible" field.</summary> |
| | 14618 | | public const int VisibleFieldNumber = 2; |
| | 14619 | | private bool visible_; |
| | 14620 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14621 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14622 | | public bool Visible { |
| | 14623 | | get { return visible_; } |
| | 14624 | | set { |
| | 14625 | | visible_ = value; |
| | 14626 | | } |
| | 14627 | | } |
| | 14628 | |
|
| | 14629 | | /// <summary>Field number for the "radiusTop" field.</summary> |
| | 14630 | | public const int RadiusTopFieldNumber = 3; |
| | 14631 | | private float radiusTop_; |
| | 14632 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14633 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14634 | | public float RadiusTop { |
| | 14635 | | get { return radiusTop_; } |
| | 14636 | | set { |
| | 14637 | | radiusTop_ = value; |
| | 14638 | | } |
| | 14639 | | } |
| | 14640 | |
|
| | 14641 | | /// <summary>Field number for the "radiusBottom" field.</summary> |
| | 14642 | | public const int RadiusBottomFieldNumber = 4; |
| | 14643 | | private float radiusBottom_; |
| | 14644 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14645 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14646 | | public float RadiusBottom { |
| | 14647 | | get { return radiusBottom_; } |
| | 14648 | | set { |
| | 14649 | | radiusBottom_ = value; |
| | 14650 | | } |
| | 14651 | | } |
| | 14652 | |
|
| | 14653 | | /// <summary>Field number for the "segmentsHeight" field.</summary> |
| | 14654 | | public const int SegmentsHeightFieldNumber = 5; |
| | 14655 | | private float segmentsHeight_; |
| | 14656 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14657 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14658 | | public float SegmentsHeight { |
| | 14659 | | get { return segmentsHeight_; } |
| | 14660 | | set { |
| | 14661 | | segmentsHeight_ = value; |
| | 14662 | | } |
| | 14663 | | } |
| | 14664 | |
|
| | 14665 | | /// <summary>Field number for the "segmentsRadial" field.</summary> |
| | 14666 | | public const int SegmentsRadialFieldNumber = 6; |
| | 14667 | | private float segmentsRadial_; |
| | 14668 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14669 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14670 | | public float SegmentsRadial { |
| | 14671 | | get { return segmentsRadial_; } |
| | 14672 | | set { |
| | 14673 | | segmentsRadial_ = value; |
| | 14674 | | } |
| | 14675 | | } |
| | 14676 | |
|
| | 14677 | | /// <summary>Field number for the "openEnded" field.</summary> |
| | 14678 | | public const int OpenEndedFieldNumber = 7; |
| | 14679 | | private bool openEnded_; |
| | 14680 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14681 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14682 | | public bool OpenEnded { |
| | 14683 | | get { return openEnded_; } |
| | 14684 | | set { |
| | 14685 | | openEnded_ = value; |
| | 14686 | | } |
| | 14687 | | } |
| | 14688 | |
|
| | 14689 | | /// <summary>Field number for the "radius" field.</summary> |
| | 14690 | | public const int RadiusFieldNumber = 8; |
| | 14691 | | private float radius_; |
| | 14692 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14693 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14694 | | public float Radius { |
| | 14695 | | get { return radius_; } |
| | 14696 | | set { |
| | 14697 | | radius_ = value; |
| | 14698 | | } |
| | 14699 | | } |
| | 14700 | |
|
| | 14701 | | /// <summary>Field number for the "arc" field.</summary> |
| | 14702 | | public const int ArcFieldNumber = 9; |
| | 14703 | | private float arc_; |
| | 14704 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14705 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14706 | | public float Arc { |
| | 14707 | | get { return arc_; } |
| | 14708 | | set { |
| | 14709 | | arc_ = value; |
| | 14710 | | } |
| | 14711 | | } |
| | 14712 | |
|
| | 14713 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14714 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14715 | | public override bool Equals(object other) { |
| | 14716 | | return Equals(other as PB_ConeShape); |
| | 14717 | | } |
| | 14718 | |
|
| | 14719 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14720 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14721 | | public bool Equals(PB_ConeShape other) { |
| | 14722 | | if (ReferenceEquals(other, null)) { |
| | 14723 | | return false; |
| | 14724 | | } |
| | 14725 | | if (ReferenceEquals(other, this)) { |
| | 14726 | | return true; |
| | 14727 | | } |
| | 14728 | | if (WithCollisions != other.WithCollisions) return false; |
| | 14729 | | if (Visible != other.Visible) return false; |
| | 14730 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return false |
| | 14731 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) return |
| | 14732 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SegmentsHeight, other.SegmentsHeight)) re |
| | 14733 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SegmentsRadial, other.SegmentsRadial)) re |
| | 14734 | | if (OpenEnded != other.OpenEnded) return false; |
| | 14735 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Radius, other.Radius)) return false; |
| | 14736 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Arc, other.Arc)) return false; |
| | 14737 | | return Equals(_unknownFields, other._unknownFields); |
| | 14738 | | } |
| | 14739 | |
|
| | 14740 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14741 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14742 | | public override int GetHashCode() { |
| | 14743 | | int hash = 1; |
| | 14744 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 14745 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 14746 | | if (RadiusTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop); |
| | 14747 | | if (RadiusBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBot |
| | 14748 | | if (SegmentsHeight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Segment |
| | 14749 | | if (SegmentsRadial != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Segment |
| | 14750 | | if (OpenEnded != false) hash ^= OpenEnded.GetHashCode(); |
| | 14751 | | if (Radius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Radius); |
| | 14752 | | if (Arc != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Arc); |
| | 14753 | | if (_unknownFields != null) { |
| | 14754 | | hash ^= _unknownFields.GetHashCode(); |
| | 14755 | | } |
| | 14756 | | return hash; |
| | 14757 | | } |
| | 14758 | |
|
| | 14759 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14760 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14761 | | public override string ToString() { |
| | 14762 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 14763 | | } |
| | 14764 | |
|
| | 14765 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14766 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14767 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 14768 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14769 | | output.WriteRawMessage(this); |
| | 14770 | | #else |
| | 14771 | | if (WithCollisions != false) { |
| | 14772 | | output.WriteRawTag(8); |
| | 14773 | | output.WriteBool(WithCollisions); |
| | 14774 | | } |
| | 14775 | | if (Visible != false) { |
| | 14776 | | output.WriteRawTag(16); |
| | 14777 | | output.WriteBool(Visible); |
| | 14778 | | } |
| | 14779 | | if (RadiusTop != 0F) { |
| | 14780 | | output.WriteRawTag(29); |
| | 14781 | | output.WriteFloat(RadiusTop); |
| | 14782 | | } |
| | 14783 | | if (RadiusBottom != 0F) { |
| | 14784 | | output.WriteRawTag(37); |
| | 14785 | | output.WriteFloat(RadiusBottom); |
| | 14786 | | } |
| | 14787 | | if (SegmentsHeight != 0F) { |
| | 14788 | | output.WriteRawTag(45); |
| | 14789 | | output.WriteFloat(SegmentsHeight); |
| | 14790 | | } |
| | 14791 | | if (SegmentsRadial != 0F) { |
| | 14792 | | output.WriteRawTag(53); |
| | 14793 | | output.WriteFloat(SegmentsRadial); |
| | 14794 | | } |
| | 14795 | | if (OpenEnded != false) { |
| | 14796 | | output.WriteRawTag(56); |
| | 14797 | | output.WriteBool(OpenEnded); |
| | 14798 | | } |
| | 14799 | | if (Radius != 0F) { |
| | 14800 | | output.WriteRawTag(69); |
| | 14801 | | output.WriteFloat(Radius); |
| | 14802 | | } |
| | 14803 | | if (Arc != 0F) { |
| | 14804 | | output.WriteRawTag(77); |
| | 14805 | | output.WriteFloat(Arc); |
| | 14806 | | } |
| | 14807 | | if (_unknownFields != null) { |
| | 14808 | | _unknownFields.WriteTo(output); |
| | 14809 | | } |
| | 14810 | | #endif |
| | 14811 | | } |
| | 14812 | |
|
| | 14813 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14814 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14815 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14816 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 14817 | | if (WithCollisions != false) { |
| | 14818 | | output.WriteRawTag(8); |
| | 14819 | | output.WriteBool(WithCollisions); |
| | 14820 | | } |
| | 14821 | | if (Visible != false) { |
| | 14822 | | output.WriteRawTag(16); |
| | 14823 | | output.WriteBool(Visible); |
| | 14824 | | } |
| | 14825 | | if (RadiusTop != 0F) { |
| | 14826 | | output.WriteRawTag(29); |
| | 14827 | | output.WriteFloat(RadiusTop); |
| | 14828 | | } |
| | 14829 | | if (RadiusBottom != 0F) { |
| | 14830 | | output.WriteRawTag(37); |
| | 14831 | | output.WriteFloat(RadiusBottom); |
| | 14832 | | } |
| | 14833 | | if (SegmentsHeight != 0F) { |
| | 14834 | | output.WriteRawTag(45); |
| | 14835 | | output.WriteFloat(SegmentsHeight); |
| | 14836 | | } |
| | 14837 | | if (SegmentsRadial != 0F) { |
| | 14838 | | output.WriteRawTag(53); |
| | 14839 | | output.WriteFloat(SegmentsRadial); |
| | 14840 | | } |
| | 14841 | | if (OpenEnded != false) { |
| | 14842 | | output.WriteRawTag(56); |
| | 14843 | | output.WriteBool(OpenEnded); |
| | 14844 | | } |
| | 14845 | | if (Radius != 0F) { |
| | 14846 | | output.WriteRawTag(69); |
| | 14847 | | output.WriteFloat(Radius); |
| | 14848 | | } |
| | 14849 | | if (Arc != 0F) { |
| | 14850 | | output.WriteRawTag(77); |
| | 14851 | | output.WriteFloat(Arc); |
| | 14852 | | } |
| | 14853 | | if (_unknownFields != null) { |
| | 14854 | | _unknownFields.WriteTo(ref output); |
| | 14855 | | } |
| | 14856 | | } |
| | 14857 | | #endif |
| | 14858 | |
|
| | 14859 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14860 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14861 | | public int CalculateSize() { |
| | 14862 | | int size = 0; |
| | 14863 | | if (WithCollisions != false) { |
| | 14864 | | size += 1 + 1; |
| | 14865 | | } |
| | 14866 | | if (Visible != false) { |
| | 14867 | | size += 1 + 1; |
| | 14868 | | } |
| | 14869 | | if (RadiusTop != 0F) { |
| | 14870 | | size += 1 + 4; |
| | 14871 | | } |
| | 14872 | | if (RadiusBottom != 0F) { |
| | 14873 | | size += 1 + 4; |
| | 14874 | | } |
| | 14875 | | if (SegmentsHeight != 0F) { |
| | 14876 | | size += 1 + 4; |
| | 14877 | | } |
| | 14878 | | if (SegmentsRadial != 0F) { |
| | 14879 | | size += 1 + 4; |
| | 14880 | | } |
| | 14881 | | if (OpenEnded != false) { |
| | 14882 | | size += 1 + 1; |
| | 14883 | | } |
| | 14884 | | if (Radius != 0F) { |
| | 14885 | | size += 1 + 4; |
| | 14886 | | } |
| | 14887 | | if (Arc != 0F) { |
| | 14888 | | size += 1 + 4; |
| | 14889 | | } |
| | 14890 | | if (_unknownFields != null) { |
| | 14891 | | size += _unknownFields.CalculateSize(); |
| | 14892 | | } |
| | 14893 | | return size; |
| | 14894 | | } |
| | 14895 | |
|
| | 14896 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14897 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14898 | | public void MergeFrom(PB_ConeShape other) { |
| | 14899 | | if (other == null) { |
| | 14900 | | return; |
| | 14901 | | } |
| | 14902 | | if (other.WithCollisions != false) { |
| | 14903 | | WithCollisions = other.WithCollisions; |
| | 14904 | | } |
| | 14905 | | if (other.Visible != false) { |
| | 14906 | | Visible = other.Visible; |
| | 14907 | | } |
| | 14908 | | if (other.RadiusTop != 0F) { |
| | 14909 | | RadiusTop = other.RadiusTop; |
| | 14910 | | } |
| | 14911 | | if (other.RadiusBottom != 0F) { |
| | 14912 | | RadiusBottom = other.RadiusBottom; |
| | 14913 | | } |
| | 14914 | | if (other.SegmentsHeight != 0F) { |
| | 14915 | | SegmentsHeight = other.SegmentsHeight; |
| | 14916 | | } |
| | 14917 | | if (other.SegmentsRadial != 0F) { |
| | 14918 | | SegmentsRadial = other.SegmentsRadial; |
| | 14919 | | } |
| | 14920 | | if (other.OpenEnded != false) { |
| | 14921 | | OpenEnded = other.OpenEnded; |
| | 14922 | | } |
| | 14923 | | if (other.Radius != 0F) { |
| | 14924 | | Radius = other.Radius; |
| | 14925 | | } |
| | 14926 | | if (other.Arc != 0F) { |
| | 14927 | | Arc = other.Arc; |
| | 14928 | | } |
| | 14929 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 14930 | | } |
| | 14931 | |
|
| | 14932 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14933 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14934 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 14935 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14936 | | input.ReadRawMessage(this); |
| | 14937 | | #else |
| | 14938 | | uint tag; |
| | 14939 | | while ((tag = input.ReadTag()) != 0) { |
| | 14940 | | switch(tag) { |
| | 14941 | | default: |
| | 14942 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 14943 | | break; |
| | 14944 | | case 8: { |
| | 14945 | | WithCollisions = input.ReadBool(); |
| | 14946 | | break; |
| | 14947 | | } |
| | 14948 | | case 16: { |
| | 14949 | | Visible = input.ReadBool(); |
| | 14950 | | break; |
| | 14951 | | } |
| | 14952 | | case 29: { |
| | 14953 | | RadiusTop = input.ReadFloat(); |
| | 14954 | | break; |
| | 14955 | | } |
| | 14956 | | case 37: { |
| | 14957 | | RadiusBottom = input.ReadFloat(); |
| | 14958 | | break; |
| | 14959 | | } |
| | 14960 | | case 45: { |
| | 14961 | | SegmentsHeight = input.ReadFloat(); |
| | 14962 | | break; |
| | 14963 | | } |
| | 14964 | | case 53: { |
| | 14965 | | SegmentsRadial = input.ReadFloat(); |
| | 14966 | | break; |
| | 14967 | | } |
| | 14968 | | case 56: { |
| | 14969 | | OpenEnded = input.ReadBool(); |
| | 14970 | | break; |
| | 14971 | | } |
| | 14972 | | case 69: { |
| | 14973 | | Radius = input.ReadFloat(); |
| | 14974 | | break; |
| | 14975 | | } |
| | 14976 | | case 77: { |
| | 14977 | | Arc = input.ReadFloat(); |
| | 14978 | | break; |
| | 14979 | | } |
| | 14980 | | } |
| | 14981 | | } |
| | 14982 | | #endif |
| | 14983 | | } |
| | 14984 | |
|
| | 14985 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 14986 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 14987 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 14988 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 14989 | | uint tag; |
| | 14990 | | while ((tag = input.ReadTag()) != 0) { |
| | 14991 | | switch(tag) { |
| | 14992 | | default: |
| | 14993 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 14994 | | break; |
| | 14995 | | case 8: { |
| | 14996 | | WithCollisions = input.ReadBool(); |
| | 14997 | | break; |
| | 14998 | | } |
| | 14999 | | case 16: { |
| | 15000 | | Visible = input.ReadBool(); |
| | 15001 | | break; |
| | 15002 | | } |
| | 15003 | | case 29: { |
| | 15004 | | RadiusTop = input.ReadFloat(); |
| | 15005 | | break; |
| | 15006 | | } |
| | 15007 | | case 37: { |
| | 15008 | | RadiusBottom = input.ReadFloat(); |
| | 15009 | | break; |
| | 15010 | | } |
| | 15011 | | case 45: { |
| | 15012 | | SegmentsHeight = input.ReadFloat(); |
| | 15013 | | break; |
| | 15014 | | } |
| | 15015 | | case 53: { |
| | 15016 | | SegmentsRadial = input.ReadFloat(); |
| | 15017 | | break; |
| | 15018 | | } |
| | 15019 | | case 56: { |
| | 15020 | | OpenEnded = input.ReadBool(); |
| | 15021 | | break; |
| | 15022 | | } |
| | 15023 | | case 69: { |
| | 15024 | | Radius = input.ReadFloat(); |
| | 15025 | | break; |
| | 15026 | | } |
| | 15027 | | case 77: { |
| | 15028 | | Arc = input.ReadFloat(); |
| | 15029 | | break; |
| | 15030 | | } |
| | 15031 | | } |
| | 15032 | | } |
| | 15033 | | } |
| | 15034 | | #endif |
| | 15035 | |
|
| | 15036 | | } |
| | 15037 | |
|
| | 15038 | | public sealed partial class PB_CylinderShape : pb::IMessage<PB_CylinderShape> |
| | 15039 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15040 | | , pb::IBufferMessage |
| | 15041 | | #endif |
| | 15042 | | { |
| | 15043 | | private static readonly pb::MessageParser<PB_CylinderShape> _parser = new pb::MessageParser<PB_CylinderShape>(() => |
| | 15044 | | private pb::UnknownFieldSet _unknownFields; |
| | 15045 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15046 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15047 | | public static pb::MessageParser<PB_CylinderShape> Parser { get { return _parser; } } |
| | 15048 | |
|
| | 15049 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15050 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15051 | | public static pbr::MessageDescriptor Descriptor { |
| | 15052 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[42]; } |
| | 15053 | | } |
| | 15054 | |
|
| | 15055 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15056 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15057 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 15058 | | get { return Descriptor; } |
| | 15059 | | } |
| | 15060 | |
|
| | 15061 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15062 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15063 | | public PB_CylinderShape() { |
| | 15064 | | OnConstruction(); |
| | 15065 | | } |
| | 15066 | |
|
| | 15067 | | partial void OnConstruction(); |
| | 15068 | |
|
| | 15069 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15070 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15071 | | public PB_CylinderShape(PB_CylinderShape other) : this() { |
| | 15072 | | withCollisions_ = other.withCollisions_; |
| | 15073 | | visible_ = other.visible_; |
| | 15074 | | radiusTop_ = other.radiusTop_; |
| | 15075 | | radiusBottom_ = other.radiusBottom_; |
| | 15076 | | segmentsHeight_ = other.segmentsHeight_; |
| | 15077 | | segmentsRadial_ = other.segmentsRadial_; |
| | 15078 | | openEnded_ = other.openEnded_; |
| | 15079 | | radius_ = other.radius_; |
| | 15080 | | arc_ = other.arc_; |
| | 15081 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 15082 | | } |
| | 15083 | |
|
| | 15084 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15085 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15086 | | public PB_CylinderShape Clone() { |
| | 15087 | | return new PB_CylinderShape(this); |
| | 15088 | | } |
| | 15089 | |
|
| | 15090 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 15091 | | public const int WithCollisionsFieldNumber = 1; |
| | 15092 | | private bool withCollisions_; |
| | 15093 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15094 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15095 | | public bool WithCollisions { |
| | 15096 | | get { return withCollisions_; } |
| | 15097 | | set { |
| | 15098 | | withCollisions_ = value; |
| | 15099 | | } |
| | 15100 | | } |
| | 15101 | |
|
| | 15102 | | /// <summary>Field number for the "visible" field.</summary> |
| | 15103 | | public const int VisibleFieldNumber = 2; |
| | 15104 | | private bool visible_; |
| | 15105 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15106 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15107 | | public bool Visible { |
| | 15108 | | get { return visible_; } |
| | 15109 | | set { |
| | 15110 | | visible_ = value; |
| | 15111 | | } |
| | 15112 | | } |
| | 15113 | |
|
| | 15114 | | /// <summary>Field number for the "radiusTop" field.</summary> |
| | 15115 | | public const int RadiusTopFieldNumber = 3; |
| | 15116 | | private float radiusTop_; |
| | 15117 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15118 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15119 | | public float RadiusTop { |
| | 15120 | | get { return radiusTop_; } |
| | 15121 | | set { |
| | 15122 | | radiusTop_ = value; |
| | 15123 | | } |
| | 15124 | | } |
| | 15125 | |
|
| | 15126 | | /// <summary>Field number for the "radiusBottom" field.</summary> |
| | 15127 | | public const int RadiusBottomFieldNumber = 4; |
| | 15128 | | private float radiusBottom_; |
| | 15129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15131 | | public float RadiusBottom { |
| | 15132 | | get { return radiusBottom_; } |
| | 15133 | | set { |
| | 15134 | | radiusBottom_ = value; |
| | 15135 | | } |
| | 15136 | | } |
| | 15137 | |
|
| | 15138 | | /// <summary>Field number for the "segmentsHeight" field.</summary> |
| | 15139 | | public const int SegmentsHeightFieldNumber = 5; |
| | 15140 | | private float segmentsHeight_; |
| | 15141 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15142 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15143 | | public float SegmentsHeight { |
| | 15144 | | get { return segmentsHeight_; } |
| | 15145 | | set { |
| | 15146 | | segmentsHeight_ = value; |
| | 15147 | | } |
| | 15148 | | } |
| | 15149 | |
|
| | 15150 | | /// <summary>Field number for the "segmentsRadial" field.</summary> |
| | 15151 | | public const int SegmentsRadialFieldNumber = 6; |
| | 15152 | | private float segmentsRadial_; |
| | 15153 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15154 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15155 | | public float SegmentsRadial { |
| | 15156 | | get { return segmentsRadial_; } |
| | 15157 | | set { |
| | 15158 | | segmentsRadial_ = value; |
| | 15159 | | } |
| | 15160 | | } |
| | 15161 | |
|
| | 15162 | | /// <summary>Field number for the "openEnded" field.</summary> |
| | 15163 | | public const int OpenEndedFieldNumber = 7; |
| | 15164 | | private bool openEnded_; |
| | 15165 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15166 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15167 | | public bool OpenEnded { |
| | 15168 | | get { return openEnded_; } |
| | 15169 | | set { |
| | 15170 | | openEnded_ = value; |
| | 15171 | | } |
| | 15172 | | } |
| | 15173 | |
|
| | 15174 | | /// <summary>Field number for the "radius" field.</summary> |
| | 15175 | | public const int RadiusFieldNumber = 8; |
| | 15176 | | private float radius_; |
| | 15177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15179 | | public float Radius { |
| | 15180 | | get { return radius_; } |
| | 15181 | | set { |
| | 15182 | | radius_ = value; |
| | 15183 | | } |
| | 15184 | | } |
| | 15185 | |
|
| | 15186 | | /// <summary>Field number for the "arc" field.</summary> |
| | 15187 | | public const int ArcFieldNumber = 9; |
| | 15188 | | private float arc_; |
| | 15189 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15190 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15191 | | public float Arc { |
| | 15192 | | get { return arc_; } |
| | 15193 | | set { |
| | 15194 | | arc_ = value; |
| | 15195 | | } |
| | 15196 | | } |
| | 15197 | |
|
| | 15198 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15199 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15200 | | public override bool Equals(object other) { |
| | 15201 | | return Equals(other as PB_CylinderShape); |
| | 15202 | | } |
| | 15203 | |
|
| | 15204 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15205 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15206 | | public bool Equals(PB_CylinderShape other) { |
| | 15207 | | if (ReferenceEquals(other, null)) { |
| | 15208 | | return false; |
| | 15209 | | } |
| | 15210 | | if (ReferenceEquals(other, this)) { |
| | 15211 | | return true; |
| | 15212 | | } |
| | 15213 | | if (WithCollisions != other.WithCollisions) return false; |
| | 15214 | | if (Visible != other.Visible) return false; |
| | 15215 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusTop, other.RadiusTop)) return false |
| | 15216 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(RadiusBottom, other.RadiusBottom)) return |
| | 15217 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SegmentsHeight, other.SegmentsHeight)) re |
| | 15218 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SegmentsRadial, other.SegmentsRadial)) re |
| | 15219 | | if (OpenEnded != other.OpenEnded) return false; |
| | 15220 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Radius, other.Radius)) return false; |
| | 15221 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Arc, other.Arc)) return false; |
| | 15222 | | return Equals(_unknownFields, other._unknownFields); |
| | 15223 | | } |
| | 15224 | |
|
| | 15225 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15226 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15227 | | public override int GetHashCode() { |
| | 15228 | | int hash = 1; |
| | 15229 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 15230 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 15231 | | if (RadiusTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusTop); |
| | 15232 | | if (RadiusBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(RadiusBot |
| | 15233 | | if (SegmentsHeight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Segment |
| | 15234 | | if (SegmentsRadial != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Segment |
| | 15235 | | if (OpenEnded != false) hash ^= OpenEnded.GetHashCode(); |
| | 15236 | | if (Radius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Radius); |
| | 15237 | | if (Arc != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Arc); |
| | 15238 | | if (_unknownFields != null) { |
| | 15239 | | hash ^= _unknownFields.GetHashCode(); |
| | 15240 | | } |
| | 15241 | | return hash; |
| | 15242 | | } |
| | 15243 | |
|
| | 15244 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15245 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15246 | | public override string ToString() { |
| | 15247 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 15248 | | } |
| | 15249 | |
|
| | 15250 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15251 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15252 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 15253 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15254 | | output.WriteRawMessage(this); |
| | 15255 | | #else |
| | 15256 | | if (WithCollisions != false) { |
| | 15257 | | output.WriteRawTag(8); |
| | 15258 | | output.WriteBool(WithCollisions); |
| | 15259 | | } |
| | 15260 | | if (Visible != false) { |
| | 15261 | | output.WriteRawTag(16); |
| | 15262 | | output.WriteBool(Visible); |
| | 15263 | | } |
| | 15264 | | if (RadiusTop != 0F) { |
| | 15265 | | output.WriteRawTag(29); |
| | 15266 | | output.WriteFloat(RadiusTop); |
| | 15267 | | } |
| | 15268 | | if (RadiusBottom != 0F) { |
| | 15269 | | output.WriteRawTag(37); |
| | 15270 | | output.WriteFloat(RadiusBottom); |
| | 15271 | | } |
| | 15272 | | if (SegmentsHeight != 0F) { |
| | 15273 | | output.WriteRawTag(45); |
| | 15274 | | output.WriteFloat(SegmentsHeight); |
| | 15275 | | } |
| | 15276 | | if (SegmentsRadial != 0F) { |
| | 15277 | | output.WriteRawTag(53); |
| | 15278 | | output.WriteFloat(SegmentsRadial); |
| | 15279 | | } |
| | 15280 | | if (OpenEnded != false) { |
| | 15281 | | output.WriteRawTag(56); |
| | 15282 | | output.WriteBool(OpenEnded); |
| | 15283 | | } |
| | 15284 | | if (Radius != 0F) { |
| | 15285 | | output.WriteRawTag(69); |
| | 15286 | | output.WriteFloat(Radius); |
| | 15287 | | } |
| | 15288 | | if (Arc != 0F) { |
| | 15289 | | output.WriteRawTag(77); |
| | 15290 | | output.WriteFloat(Arc); |
| | 15291 | | } |
| | 15292 | | if (_unknownFields != null) { |
| | 15293 | | _unknownFields.WriteTo(output); |
| | 15294 | | } |
| | 15295 | | #endif |
| | 15296 | | } |
| | 15297 | |
|
| | 15298 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15299 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15300 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15301 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 15302 | | if (WithCollisions != false) { |
| | 15303 | | output.WriteRawTag(8); |
| | 15304 | | output.WriteBool(WithCollisions); |
| | 15305 | | } |
| | 15306 | | if (Visible != false) { |
| | 15307 | | output.WriteRawTag(16); |
| | 15308 | | output.WriteBool(Visible); |
| | 15309 | | } |
| | 15310 | | if (RadiusTop != 0F) { |
| | 15311 | | output.WriteRawTag(29); |
| | 15312 | | output.WriteFloat(RadiusTop); |
| | 15313 | | } |
| | 15314 | | if (RadiusBottom != 0F) { |
| | 15315 | | output.WriteRawTag(37); |
| | 15316 | | output.WriteFloat(RadiusBottom); |
| | 15317 | | } |
| | 15318 | | if (SegmentsHeight != 0F) { |
| | 15319 | | output.WriteRawTag(45); |
| | 15320 | | output.WriteFloat(SegmentsHeight); |
| | 15321 | | } |
| | 15322 | | if (SegmentsRadial != 0F) { |
| | 15323 | | output.WriteRawTag(53); |
| | 15324 | | output.WriteFloat(SegmentsRadial); |
| | 15325 | | } |
| | 15326 | | if (OpenEnded != false) { |
| | 15327 | | output.WriteRawTag(56); |
| | 15328 | | output.WriteBool(OpenEnded); |
| | 15329 | | } |
| | 15330 | | if (Radius != 0F) { |
| | 15331 | | output.WriteRawTag(69); |
| | 15332 | | output.WriteFloat(Radius); |
| | 15333 | | } |
| | 15334 | | if (Arc != 0F) { |
| | 15335 | | output.WriteRawTag(77); |
| | 15336 | | output.WriteFloat(Arc); |
| | 15337 | | } |
| | 15338 | | if (_unknownFields != null) { |
| | 15339 | | _unknownFields.WriteTo(ref output); |
| | 15340 | | } |
| | 15341 | | } |
| | 15342 | | #endif |
| | 15343 | |
|
| | 15344 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15345 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15346 | | public int CalculateSize() { |
| | 15347 | | int size = 0; |
| | 15348 | | if (WithCollisions != false) { |
| | 15349 | | size += 1 + 1; |
| | 15350 | | } |
| | 15351 | | if (Visible != false) { |
| | 15352 | | size += 1 + 1; |
| | 15353 | | } |
| | 15354 | | if (RadiusTop != 0F) { |
| | 15355 | | size += 1 + 4; |
| | 15356 | | } |
| | 15357 | | if (RadiusBottom != 0F) { |
| | 15358 | | size += 1 + 4; |
| | 15359 | | } |
| | 15360 | | if (SegmentsHeight != 0F) { |
| | 15361 | | size += 1 + 4; |
| | 15362 | | } |
| | 15363 | | if (SegmentsRadial != 0F) { |
| | 15364 | | size += 1 + 4; |
| | 15365 | | } |
| | 15366 | | if (OpenEnded != false) { |
| | 15367 | | size += 1 + 1; |
| | 15368 | | } |
| | 15369 | | if (Radius != 0F) { |
| | 15370 | | size += 1 + 4; |
| | 15371 | | } |
| | 15372 | | if (Arc != 0F) { |
| | 15373 | | size += 1 + 4; |
| | 15374 | | } |
| | 15375 | | if (_unknownFields != null) { |
| | 15376 | | size += _unknownFields.CalculateSize(); |
| | 15377 | | } |
| | 15378 | | return size; |
| | 15379 | | } |
| | 15380 | |
|
| | 15381 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15382 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15383 | | public void MergeFrom(PB_CylinderShape other) { |
| | 15384 | | if (other == null) { |
| | 15385 | | return; |
| | 15386 | | } |
| | 15387 | | if (other.WithCollisions != false) { |
| | 15388 | | WithCollisions = other.WithCollisions; |
| | 15389 | | } |
| | 15390 | | if (other.Visible != false) { |
| | 15391 | | Visible = other.Visible; |
| | 15392 | | } |
| | 15393 | | if (other.RadiusTop != 0F) { |
| | 15394 | | RadiusTop = other.RadiusTop; |
| | 15395 | | } |
| | 15396 | | if (other.RadiusBottom != 0F) { |
| | 15397 | | RadiusBottom = other.RadiusBottom; |
| | 15398 | | } |
| | 15399 | | if (other.SegmentsHeight != 0F) { |
| | 15400 | | SegmentsHeight = other.SegmentsHeight; |
| | 15401 | | } |
| | 15402 | | if (other.SegmentsRadial != 0F) { |
| | 15403 | | SegmentsRadial = other.SegmentsRadial; |
| | 15404 | | } |
| | 15405 | | if (other.OpenEnded != false) { |
| | 15406 | | OpenEnded = other.OpenEnded; |
| | 15407 | | } |
| | 15408 | | if (other.Radius != 0F) { |
| | 15409 | | Radius = other.Radius; |
| | 15410 | | } |
| | 15411 | | if (other.Arc != 0F) { |
| | 15412 | | Arc = other.Arc; |
| | 15413 | | } |
| | 15414 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 15415 | | } |
| | 15416 | |
|
| | 15417 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15418 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15419 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 15420 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15421 | | input.ReadRawMessage(this); |
| | 15422 | | #else |
| | 15423 | | uint tag; |
| | 15424 | | while ((tag = input.ReadTag()) != 0) { |
| | 15425 | | switch(tag) { |
| | 15426 | | default: |
| | 15427 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 15428 | | break; |
| | 15429 | | case 8: { |
| | 15430 | | WithCollisions = input.ReadBool(); |
| | 15431 | | break; |
| | 15432 | | } |
| | 15433 | | case 16: { |
| | 15434 | | Visible = input.ReadBool(); |
| | 15435 | | break; |
| | 15436 | | } |
| | 15437 | | case 29: { |
| | 15438 | | RadiusTop = input.ReadFloat(); |
| | 15439 | | break; |
| | 15440 | | } |
| | 15441 | | case 37: { |
| | 15442 | | RadiusBottom = input.ReadFloat(); |
| | 15443 | | break; |
| | 15444 | | } |
| | 15445 | | case 45: { |
| | 15446 | | SegmentsHeight = input.ReadFloat(); |
| | 15447 | | break; |
| | 15448 | | } |
| | 15449 | | case 53: { |
| | 15450 | | SegmentsRadial = input.ReadFloat(); |
| | 15451 | | break; |
| | 15452 | | } |
| | 15453 | | case 56: { |
| | 15454 | | OpenEnded = input.ReadBool(); |
| | 15455 | | break; |
| | 15456 | | } |
| | 15457 | | case 69: { |
| | 15458 | | Radius = input.ReadFloat(); |
| | 15459 | | break; |
| | 15460 | | } |
| | 15461 | | case 77: { |
| | 15462 | | Arc = input.ReadFloat(); |
| | 15463 | | break; |
| | 15464 | | } |
| | 15465 | | } |
| | 15466 | | } |
| | 15467 | | #endif |
| | 15468 | | } |
| | 15469 | |
|
| | 15470 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15471 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15472 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15473 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 15474 | | uint tag; |
| | 15475 | | while ((tag = input.ReadTag()) != 0) { |
| | 15476 | | switch(tag) { |
| | 15477 | | default: |
| | 15478 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 15479 | | break; |
| | 15480 | | case 8: { |
| | 15481 | | WithCollisions = input.ReadBool(); |
| | 15482 | | break; |
| | 15483 | | } |
| | 15484 | | case 16: { |
| | 15485 | | Visible = input.ReadBool(); |
| | 15486 | | break; |
| | 15487 | | } |
| | 15488 | | case 29: { |
| | 15489 | | RadiusTop = input.ReadFloat(); |
| | 15490 | | break; |
| | 15491 | | } |
| | 15492 | | case 37: { |
| | 15493 | | RadiusBottom = input.ReadFloat(); |
| | 15494 | | break; |
| | 15495 | | } |
| | 15496 | | case 45: { |
| | 15497 | | SegmentsHeight = input.ReadFloat(); |
| | 15498 | | break; |
| | 15499 | | } |
| | 15500 | | case 53: { |
| | 15501 | | SegmentsRadial = input.ReadFloat(); |
| | 15502 | | break; |
| | 15503 | | } |
| | 15504 | | case 56: { |
| | 15505 | | OpenEnded = input.ReadBool(); |
| | 15506 | | break; |
| | 15507 | | } |
| | 15508 | | case 69: { |
| | 15509 | | Radius = input.ReadFloat(); |
| | 15510 | | break; |
| | 15511 | | } |
| | 15512 | | case 77: { |
| | 15513 | | Arc = input.ReadFloat(); |
| | 15514 | | break; |
| | 15515 | | } |
| | 15516 | | } |
| | 15517 | | } |
| | 15518 | | } |
| | 15519 | | #endif |
| | 15520 | |
|
| | 15521 | | } |
| | 15522 | |
|
| | 15523 | | public sealed partial class PB_GlobalPointerDown : pb::IMessage<PB_GlobalPointerDown> |
| | 15524 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15525 | | , pb::IBufferMessage |
| | 15526 | | #endif |
| | 15527 | | { |
| | 15528 | | private static readonly pb::MessageParser<PB_GlobalPointerDown> _parser = new pb::MessageParser<PB_GlobalPointerDown |
| | 15529 | | private pb::UnknownFieldSet _unknownFields; |
| | 15530 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15531 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15532 | | public static pb::MessageParser<PB_GlobalPointerDown> Parser { get { return _parser; } } |
| | 15533 | |
|
| | 15534 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15535 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15536 | | public static pbr::MessageDescriptor Descriptor { |
| | 15537 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[43]; } |
| | 15538 | | } |
| | 15539 | |
|
| | 15540 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15541 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15542 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 15543 | | get { return Descriptor; } |
| | 15544 | | } |
| | 15545 | |
|
| | 15546 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15547 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15548 | | public PB_GlobalPointerDown() { |
| | 15549 | | OnConstruction(); |
| | 15550 | | } |
| | 15551 | |
|
| | 15552 | | partial void OnConstruction(); |
| | 15553 | |
|
| | 15554 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15555 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15556 | | public PB_GlobalPointerDown(PB_GlobalPointerDown other) : this() { |
| | 15557 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 15558 | | } |
| | 15559 | |
|
| | 15560 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15561 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15562 | | public PB_GlobalPointerDown Clone() { |
| | 15563 | | return new PB_GlobalPointerDown(this); |
| | 15564 | | } |
| | 15565 | |
|
| | 15566 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15567 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15568 | | public override bool Equals(object other) { |
| | 15569 | | return Equals(other as PB_GlobalPointerDown); |
| | 15570 | | } |
| | 15571 | |
|
| | 15572 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15573 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15574 | | public bool Equals(PB_GlobalPointerDown other) { |
| | 15575 | | if (ReferenceEquals(other, null)) { |
| | 15576 | | return false; |
| | 15577 | | } |
| | 15578 | | if (ReferenceEquals(other, this)) { |
| | 15579 | | return true; |
| | 15580 | | } |
| | 15581 | | return Equals(_unknownFields, other._unknownFields); |
| | 15582 | | } |
| | 15583 | |
|
| | 15584 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15585 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15586 | | public override int GetHashCode() { |
| | 15587 | | int hash = 1; |
| | 15588 | | if (_unknownFields != null) { |
| | 15589 | | hash ^= _unknownFields.GetHashCode(); |
| | 15590 | | } |
| | 15591 | | return hash; |
| | 15592 | | } |
| | 15593 | |
|
| | 15594 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15595 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15596 | | public override string ToString() { |
| | 15597 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 15598 | | } |
| | 15599 | |
|
| | 15600 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15601 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15602 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 15603 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15604 | | output.WriteRawMessage(this); |
| | 15605 | | #else |
| | 15606 | | if (_unknownFields != null) { |
| | 15607 | | _unknownFields.WriteTo(output); |
| | 15608 | | } |
| | 15609 | | #endif |
| | 15610 | | } |
| | 15611 | |
|
| | 15612 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15613 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15614 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15615 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 15616 | | if (_unknownFields != null) { |
| | 15617 | | _unknownFields.WriteTo(ref output); |
| | 15618 | | } |
| | 15619 | | } |
| | 15620 | | #endif |
| | 15621 | |
|
| | 15622 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15623 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15624 | | public int CalculateSize() { |
| | 15625 | | int size = 0; |
| | 15626 | | if (_unknownFields != null) { |
| | 15627 | | size += _unknownFields.CalculateSize(); |
| | 15628 | | } |
| | 15629 | | return size; |
| | 15630 | | } |
| | 15631 | |
|
| | 15632 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15633 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15634 | | public void MergeFrom(PB_GlobalPointerDown other) { |
| | 15635 | | if (other == null) { |
| | 15636 | | return; |
| | 15637 | | } |
| | 15638 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 15639 | | } |
| | 15640 | |
|
| | 15641 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15642 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15643 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 15644 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15645 | | input.ReadRawMessage(this); |
| | 15646 | | #else |
| | 15647 | | uint tag; |
| | 15648 | | while ((tag = input.ReadTag()) != 0) { |
| | 15649 | | switch(tag) { |
| | 15650 | | default: |
| | 15651 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 15652 | | break; |
| | 15653 | | } |
| | 15654 | | } |
| | 15655 | | #endif |
| | 15656 | | } |
| | 15657 | |
|
| | 15658 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15659 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15660 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15661 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 15662 | | uint tag; |
| | 15663 | | while ((tag = input.ReadTag()) != 0) { |
| | 15664 | | switch(tag) { |
| | 15665 | | default: |
| | 15666 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 15667 | | break; |
| | 15668 | | } |
| | 15669 | | } |
| | 15670 | | } |
| | 15671 | | #endif |
| | 15672 | |
|
| | 15673 | | } |
| | 15674 | |
|
| | 15675 | | public sealed partial class PB_GlobalPointerUp : pb::IMessage<PB_GlobalPointerUp> |
| | 15676 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15677 | | , pb::IBufferMessage |
| | 15678 | | #endif |
| | 15679 | | { |
| | 15680 | | private static readonly pb::MessageParser<PB_GlobalPointerUp> _parser = new pb::MessageParser<PB_GlobalPointerUp>(() |
| | 15681 | | private pb::UnknownFieldSet _unknownFields; |
| | 15682 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15683 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15684 | | public static pb::MessageParser<PB_GlobalPointerUp> Parser { get { return _parser; } } |
| | 15685 | |
|
| | 15686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15688 | | public static pbr::MessageDescriptor Descriptor { |
| | 15689 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[44]; } |
| | 15690 | | } |
| | 15691 | |
|
| | 15692 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15693 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15694 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 15695 | | get { return Descriptor; } |
| | 15696 | | } |
| | 15697 | |
|
| | 15698 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15699 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15700 | | public PB_GlobalPointerUp() { |
| | 15701 | | OnConstruction(); |
| | 15702 | | } |
| | 15703 | |
|
| | 15704 | | partial void OnConstruction(); |
| | 15705 | |
|
| | 15706 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15707 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15708 | | public PB_GlobalPointerUp(PB_GlobalPointerUp other) : this() { |
| | 15709 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 15710 | | } |
| | 15711 | |
|
| | 15712 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15713 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15714 | | public PB_GlobalPointerUp Clone() { |
| | 15715 | | return new PB_GlobalPointerUp(this); |
| | 15716 | | } |
| | 15717 | |
|
| | 15718 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15719 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15720 | | public override bool Equals(object other) { |
| | 15721 | | return Equals(other as PB_GlobalPointerUp); |
| | 15722 | | } |
| | 15723 | |
|
| | 15724 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15725 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15726 | | public bool Equals(PB_GlobalPointerUp other) { |
| | 15727 | | if (ReferenceEquals(other, null)) { |
| | 15728 | | return false; |
| | 15729 | | } |
| | 15730 | | if (ReferenceEquals(other, this)) { |
| | 15731 | | return true; |
| | 15732 | | } |
| | 15733 | | return Equals(_unknownFields, other._unknownFields); |
| | 15734 | | } |
| | 15735 | |
|
| | 15736 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15737 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15738 | | public override int GetHashCode() { |
| | 15739 | | int hash = 1; |
| | 15740 | | if (_unknownFields != null) { |
| | 15741 | | hash ^= _unknownFields.GetHashCode(); |
| | 15742 | | } |
| | 15743 | | return hash; |
| | 15744 | | } |
| | 15745 | |
|
| | 15746 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15747 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15748 | | public override string ToString() { |
| | 15749 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 15750 | | } |
| | 15751 | |
|
| | 15752 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15753 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15754 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 15755 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15756 | | output.WriteRawMessage(this); |
| | 15757 | | #else |
| | 15758 | | if (_unknownFields != null) { |
| | 15759 | | _unknownFields.WriteTo(output); |
| | 15760 | | } |
| | 15761 | | #endif |
| | 15762 | | } |
| | 15763 | |
|
| | 15764 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15765 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15766 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15767 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 15768 | | if (_unknownFields != null) { |
| | 15769 | | _unknownFields.WriteTo(ref output); |
| | 15770 | | } |
| | 15771 | | } |
| | 15772 | | #endif |
| | 15773 | |
|
| | 15774 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15775 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15776 | | public int CalculateSize() { |
| | 15777 | | int size = 0; |
| | 15778 | | if (_unknownFields != null) { |
| | 15779 | | size += _unknownFields.CalculateSize(); |
| | 15780 | | } |
| | 15781 | | return size; |
| | 15782 | | } |
| | 15783 | |
|
| | 15784 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15785 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15786 | | public void MergeFrom(PB_GlobalPointerUp other) { |
| | 15787 | | if (other == null) { |
| | 15788 | | return; |
| | 15789 | | } |
| | 15790 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 15791 | | } |
| | 15792 | |
|
| | 15793 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15794 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15795 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 15796 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15797 | | input.ReadRawMessage(this); |
| | 15798 | | #else |
| | 15799 | | uint tag; |
| | 15800 | | while ((tag = input.ReadTag()) != 0) { |
| | 15801 | | switch(tag) { |
| | 15802 | | default: |
| | 15803 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 15804 | | break; |
| | 15805 | | } |
| | 15806 | | } |
| | 15807 | | #endif |
| | 15808 | | } |
| | 15809 | |
|
| | 15810 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15811 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15812 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15813 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 15814 | | uint tag; |
| | 15815 | | while ((tag = input.ReadTag()) != 0) { |
| | 15816 | | switch(tag) { |
| | 15817 | | default: |
| | 15818 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 15819 | | break; |
| | 15820 | | } |
| | 15821 | | } |
| | 15822 | | } |
| | 15823 | | #endif |
| | 15824 | |
|
| | 15825 | | } |
| | 15826 | |
|
| | 15827 | | public sealed partial class PB_GLTFShape : pb::IMessage<PB_GLTFShape> |
| | 15828 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15829 | | , pb::IBufferMessage |
| | 15830 | | #endif |
| | 15831 | | { |
| | 15832 | | private static readonly pb::MessageParser<PB_GLTFShape> _parser = new pb::MessageParser<PB_GLTFShape>(() => new PB_G |
| | 15833 | | private pb::UnknownFieldSet _unknownFields; |
| | 15834 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15835 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15836 | | public static pb::MessageParser<PB_GLTFShape> Parser { get { return _parser; } } |
| | 15837 | |
|
| | 15838 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15839 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15840 | | public static pbr::MessageDescriptor Descriptor { |
| | 15841 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[45]; } |
| | 15842 | | } |
| | 15843 | |
|
| | 15844 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15845 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15846 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 15847 | | get { return Descriptor; } |
| | 15848 | | } |
| | 15849 | |
|
| | 15850 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15851 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15852 | | public PB_GLTFShape() { |
| | 15853 | | OnConstruction(); |
| | 15854 | | } |
| | 15855 | |
|
| | 15856 | | partial void OnConstruction(); |
| | 15857 | |
|
| | 15858 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15859 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15860 | | public PB_GLTFShape(PB_GLTFShape other) : this() { |
| | 15861 | | withCollisions_ = other.withCollisions_; |
| | 15862 | | visible_ = other.visible_; |
| | 15863 | | src_ = other.src_; |
| | 15864 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 15865 | | } |
| | 15866 | |
|
| | 15867 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15868 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15869 | | public PB_GLTFShape Clone() { |
| | 15870 | | return new PB_GLTFShape(this); |
| | 15871 | | } |
| | 15872 | |
|
| | 15873 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 15874 | | public const int WithCollisionsFieldNumber = 1; |
| | 15875 | | private bool withCollisions_; |
| | 15876 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15877 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15878 | | public bool WithCollisions { |
| | 15879 | | get { return withCollisions_; } |
| | 15880 | | set { |
| | 15881 | | withCollisions_ = value; |
| | 15882 | | } |
| | 15883 | | } |
| | 15884 | |
|
| | 15885 | | /// <summary>Field number for the "visible" field.</summary> |
| | 15886 | | public const int VisibleFieldNumber = 2; |
| | 15887 | | private bool visible_; |
| | 15888 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15889 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15890 | | public bool Visible { |
| | 15891 | | get { return visible_; } |
| | 15892 | | set { |
| | 15893 | | visible_ = value; |
| | 15894 | | } |
| | 15895 | | } |
| | 15896 | |
|
| | 15897 | | /// <summary>Field number for the "src" field.</summary> |
| | 15898 | | public const int SrcFieldNumber = 3; |
| | 15899 | | private string src_ = ""; |
| | 15900 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15901 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15902 | | public string Src { |
| | 15903 | | get { return src_; } |
| | 15904 | | set { |
| | 15905 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 15906 | | } |
| | 15907 | | } |
| | 15908 | |
|
| | 15909 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15910 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15911 | | public override bool Equals(object other) { |
| | 15912 | | return Equals(other as PB_GLTFShape); |
| | 15913 | | } |
| | 15914 | |
|
| | 15915 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15916 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15917 | | public bool Equals(PB_GLTFShape other) { |
| | 15918 | | if (ReferenceEquals(other, null)) { |
| | 15919 | | return false; |
| | 15920 | | } |
| | 15921 | | if (ReferenceEquals(other, this)) { |
| | 15922 | | return true; |
| | 15923 | | } |
| | 15924 | | if (WithCollisions != other.WithCollisions) return false; |
| | 15925 | | if (Visible != other.Visible) return false; |
| | 15926 | | if (Src != other.Src) return false; |
| | 15927 | | return Equals(_unknownFields, other._unknownFields); |
| | 15928 | | } |
| | 15929 | |
|
| | 15930 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15931 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15932 | | public override int GetHashCode() { |
| | 15933 | | int hash = 1; |
| | 15934 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 15935 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 15936 | | if (Src.Length != 0) hash ^= Src.GetHashCode(); |
| | 15937 | | if (_unknownFields != null) { |
| | 15938 | | hash ^= _unknownFields.GetHashCode(); |
| | 15939 | | } |
| | 15940 | | return hash; |
| | 15941 | | } |
| | 15942 | |
|
| | 15943 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15944 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15945 | | public override string ToString() { |
| | 15946 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 15947 | | } |
| | 15948 | |
|
| | 15949 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15950 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15951 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 15952 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15953 | | output.WriteRawMessage(this); |
| | 15954 | | #else |
| | 15955 | | if (WithCollisions != false) { |
| | 15956 | | output.WriteRawTag(8); |
| | 15957 | | output.WriteBool(WithCollisions); |
| | 15958 | | } |
| | 15959 | | if (Visible != false) { |
| | 15960 | | output.WriteRawTag(16); |
| | 15961 | | output.WriteBool(Visible); |
| | 15962 | | } |
| | 15963 | | if (Src.Length != 0) { |
| | 15964 | | output.WriteRawTag(26); |
| | 15965 | | output.WriteString(Src); |
| | 15966 | | } |
| | 15967 | | if (_unknownFields != null) { |
| | 15968 | | _unknownFields.WriteTo(output); |
| | 15969 | | } |
| | 15970 | | #endif |
| | 15971 | | } |
| | 15972 | |
|
| | 15973 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 15974 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15975 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15976 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 15977 | | if (WithCollisions != false) { |
| | 15978 | | output.WriteRawTag(8); |
| | 15979 | | output.WriteBool(WithCollisions); |
| | 15980 | | } |
| | 15981 | | if (Visible != false) { |
| | 15982 | | output.WriteRawTag(16); |
| | 15983 | | output.WriteBool(Visible); |
| | 15984 | | } |
| | 15985 | | if (Src.Length != 0) { |
| | 15986 | | output.WriteRawTag(26); |
| | 15987 | | output.WriteString(Src); |
| | 15988 | | } |
| | 15989 | | if (_unknownFields != null) { |
| | 15990 | | _unknownFields.WriteTo(ref output); |
| | 15991 | | } |
| | 15992 | | } |
| | 15993 | | #endif |
| | 15994 | |
|
| | 15995 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 15996 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 15997 | | public int CalculateSize() { |
| | 15998 | | int size = 0; |
| | 15999 | | if (WithCollisions != false) { |
| | 16000 | | size += 1 + 1; |
| | 16001 | | } |
| | 16002 | | if (Visible != false) { |
| | 16003 | | size += 1 + 1; |
| | 16004 | | } |
| | 16005 | | if (Src.Length != 0) { |
| | 16006 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 16007 | | } |
| | 16008 | | if (_unknownFields != null) { |
| | 16009 | | size += _unknownFields.CalculateSize(); |
| | 16010 | | } |
| | 16011 | | return size; |
| | 16012 | | } |
| | 16013 | |
|
| | 16014 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16015 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16016 | | public void MergeFrom(PB_GLTFShape other) { |
| | 16017 | | if (other == null) { |
| | 16018 | | return; |
| | 16019 | | } |
| | 16020 | | if (other.WithCollisions != false) { |
| | 16021 | | WithCollisions = other.WithCollisions; |
| | 16022 | | } |
| | 16023 | | if (other.Visible != false) { |
| | 16024 | | Visible = other.Visible; |
| | 16025 | | } |
| | 16026 | | if (other.Src.Length != 0) { |
| | 16027 | | Src = other.Src; |
| | 16028 | | } |
| | 16029 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 16030 | | } |
| | 16031 | |
|
| | 16032 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16033 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16034 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 16035 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16036 | | input.ReadRawMessage(this); |
| | 16037 | | #else |
| | 16038 | | uint tag; |
| | 16039 | | while ((tag = input.ReadTag()) != 0) { |
| | 16040 | | switch(tag) { |
| | 16041 | | default: |
| | 16042 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 16043 | | break; |
| | 16044 | | case 8: { |
| | 16045 | | WithCollisions = input.ReadBool(); |
| | 16046 | | break; |
| | 16047 | | } |
| | 16048 | | case 16: { |
| | 16049 | | Visible = input.ReadBool(); |
| | 16050 | | break; |
| | 16051 | | } |
| | 16052 | | case 26: { |
| | 16053 | | Src = input.ReadString(); |
| | 16054 | | break; |
| | 16055 | | } |
| | 16056 | | } |
| | 16057 | | } |
| | 16058 | | #endif |
| | 16059 | | } |
| | 16060 | |
|
| | 16061 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16062 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16063 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16064 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 16065 | | uint tag; |
| | 16066 | | while ((tag = input.ReadTag()) != 0) { |
| | 16067 | | switch(tag) { |
| | 16068 | | default: |
| | 16069 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 16070 | | break; |
| | 16071 | | case 8: { |
| | 16072 | | WithCollisions = input.ReadBool(); |
| | 16073 | | break; |
| | 16074 | | } |
| | 16075 | | case 16: { |
| | 16076 | | Visible = input.ReadBool(); |
| | 16077 | | break; |
| | 16078 | | } |
| | 16079 | | case 26: { |
| | 16080 | | Src = input.ReadString(); |
| | 16081 | | break; |
| | 16082 | | } |
| | 16083 | | } |
| | 16084 | | } |
| | 16085 | | } |
| | 16086 | | #endif |
| | 16087 | |
|
| | 16088 | | } |
| | 16089 | |
|
| | 16090 | | public sealed partial class PB_Material : pb::IMessage<PB_Material> |
| | 16091 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16092 | | , pb::IBufferMessage |
| | 16093 | | #endif |
| | 16094 | | { |
| | 16095 | | private static readonly pb::MessageParser<PB_Material> _parser = new pb::MessageParser<PB_Material>(() => new PB_Mat |
| | 16096 | | private pb::UnknownFieldSet _unknownFields; |
| | 16097 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16098 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16099 | | public static pb::MessageParser<PB_Material> Parser { get { return _parser; } } |
| | 16100 | |
|
| | 16101 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16102 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16103 | | public static pbr::MessageDescriptor Descriptor { |
| | 16104 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[46]; } |
| | 16105 | | } |
| | 16106 | |
|
| | 16107 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16108 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16109 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 16110 | | get { return Descriptor; } |
| | 16111 | | } |
| | 16112 | |
|
| | 16113 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16114 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16115 | | public PB_Material() { |
| | 16116 | | OnConstruction(); |
| | 16117 | | } |
| | 16118 | |
|
| | 16119 | | partial void OnConstruction(); |
| | 16120 | |
|
| | 16121 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16122 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16123 | | public PB_Material(PB_Material other) : this() { |
| | 16124 | | alpha_ = other.alpha_; |
| | 16125 | | albedoColor_ = other.albedoColor_ != null ? other.albedoColor_.Clone() : null; |
| | 16126 | | emissiveColor_ = other.emissiveColor_ != null ? other.emissiveColor_.Clone() : null; |
| | 16127 | | metallic_ = other.metallic_; |
| | 16128 | | roughness_ = other.roughness_; |
| | 16129 | | ambientColor_ = other.ambientColor_ != null ? other.ambientColor_.Clone() : null; |
| | 16130 | | reflectionColor_ = other.reflectionColor_ != null ? other.reflectionColor_.Clone() : null; |
| | 16131 | | reflectivityColor_ = other.reflectivityColor_ != null ? other.reflectivityColor_.Clone() : null; |
| | 16132 | | directIntensity_ = other.directIntensity_; |
| | 16133 | | microSurface_ = other.microSurface_; |
| | 16134 | | emissiveIntensity_ = other.emissiveIntensity_; |
| | 16135 | | environmentIntensity_ = other.environmentIntensity_; |
| | 16136 | | specularIntensity_ = other.specularIntensity_; |
| | 16137 | | albedoTexture_ = other.albedoTexture_ != null ? other.albedoTexture_.Clone() : null; |
| | 16138 | | alphaTexture_ = other.alphaTexture_ != null ? other.alphaTexture_.Clone() : null; |
| | 16139 | | emissiveTexture_ = other.emissiveTexture_ != null ? other.emissiveTexture_.Clone() : null; |
| | 16140 | | bumpTexture_ = other.bumpTexture_ != null ? other.bumpTexture_.Clone() : null; |
| | 16141 | | refractionTexture_ = other.refractionTexture_ != null ? other.refractionTexture_.Clone() : null; |
| | 16142 | | disableLighting_ = other.disableLighting_; |
| | 16143 | | transparencyMode_ = other.transparencyMode_; |
| | 16144 | | hasAlpha_ = other.hasAlpha_; |
| | 16145 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 16146 | | } |
| | 16147 | |
|
| | 16148 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16149 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16150 | | public PB_Material Clone() { |
| | 16151 | | return new PB_Material(this); |
| | 16152 | | } |
| | 16153 | |
|
| | 16154 | | /// <summary>Field number for the "alpha" field.</summary> |
| | 16155 | | public const int AlphaFieldNumber = 1; |
| | 16156 | | private float alpha_; |
| | 16157 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16158 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16159 | | public float Alpha { |
| | 16160 | | get { return alpha_; } |
| | 16161 | | set { |
| | 16162 | | alpha_ = value; |
| | 16163 | | } |
| | 16164 | | } |
| | 16165 | |
|
| | 16166 | | /// <summary>Field number for the "albedoColor" field.</summary> |
| | 16167 | | public const int AlbedoColorFieldNumber = 2; |
| | 16168 | | private global::DCL.Interface.PB_Color3 albedoColor_; |
| | 16169 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16170 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16171 | | public global::DCL.Interface.PB_Color3 AlbedoColor { |
| | 16172 | | get { return albedoColor_; } |
| | 16173 | | set { |
| | 16174 | | albedoColor_ = value; |
| | 16175 | | } |
| | 16176 | | } |
| | 16177 | |
|
| | 16178 | | /// <summary>Field number for the "emissiveColor" field.</summary> |
| | 16179 | | public const int EmissiveColorFieldNumber = 3; |
| | 16180 | | private global::DCL.Interface.PB_Color3 emissiveColor_; |
| | 16181 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16182 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16183 | | public global::DCL.Interface.PB_Color3 EmissiveColor { |
| | 16184 | | get { return emissiveColor_; } |
| | 16185 | | set { |
| | 16186 | | emissiveColor_ = value; |
| | 16187 | | } |
| | 16188 | | } |
| | 16189 | |
|
| | 16190 | | /// <summary>Field number for the "metallic" field.</summary> |
| | 16191 | | public const int MetallicFieldNumber = 4; |
| | 16192 | | private float metallic_; |
| | 16193 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16194 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16195 | | public float Metallic { |
| | 16196 | | get { return metallic_; } |
| | 16197 | | set { |
| | 16198 | | metallic_ = value; |
| | 16199 | | } |
| | 16200 | | } |
| | 16201 | |
|
| | 16202 | | /// <summary>Field number for the "roughness" field.</summary> |
| | 16203 | | public const int RoughnessFieldNumber = 5; |
| | 16204 | | private float roughness_; |
| | 16205 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16206 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16207 | | public float Roughness { |
| | 16208 | | get { return roughness_; } |
| | 16209 | | set { |
| | 16210 | | roughness_ = value; |
| | 16211 | | } |
| | 16212 | | } |
| | 16213 | |
|
| | 16214 | | /// <summary>Field number for the "ambientColor" field.</summary> |
| | 16215 | | public const int AmbientColorFieldNumber = 6; |
| | 16216 | | private global::DCL.Interface.PB_Color3 ambientColor_; |
| | 16217 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16218 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16219 | | public global::DCL.Interface.PB_Color3 AmbientColor { |
| | 16220 | | get { return ambientColor_; } |
| | 16221 | | set { |
| | 16222 | | ambientColor_ = value; |
| | 16223 | | } |
| | 16224 | | } |
| | 16225 | |
|
| | 16226 | | /// <summary>Field number for the "reflectionColor" field.</summary> |
| | 16227 | | public const int ReflectionColorFieldNumber = 7; |
| | 16228 | | private global::DCL.Interface.PB_Color3 reflectionColor_; |
| | 16229 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16230 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16231 | | public global::DCL.Interface.PB_Color3 ReflectionColor { |
| | 16232 | | get { return reflectionColor_; } |
| | 16233 | | set { |
| | 16234 | | reflectionColor_ = value; |
| | 16235 | | } |
| | 16236 | | } |
| | 16237 | |
|
| | 16238 | | /// <summary>Field number for the "reflectivityColor" field.</summary> |
| | 16239 | | public const int ReflectivityColorFieldNumber = 8; |
| | 16240 | | private global::DCL.Interface.PB_Color3 reflectivityColor_; |
| | 16241 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16242 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16243 | | public global::DCL.Interface.PB_Color3 ReflectivityColor { |
| | 16244 | | get { return reflectivityColor_; } |
| | 16245 | | set { |
| | 16246 | | reflectivityColor_ = value; |
| | 16247 | | } |
| | 16248 | | } |
| | 16249 | |
|
| | 16250 | | /// <summary>Field number for the "directIntensity" field.</summary> |
| | 16251 | | public const int DirectIntensityFieldNumber = 9; |
| | 16252 | | private float directIntensity_; |
| | 16253 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16254 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16255 | | public float DirectIntensity { |
| | 16256 | | get { return directIntensity_; } |
| | 16257 | | set { |
| | 16258 | | directIntensity_ = value; |
| | 16259 | | } |
| | 16260 | | } |
| | 16261 | |
|
| | 16262 | | /// <summary>Field number for the "microSurface" field.</summary> |
| | 16263 | | public const int MicroSurfaceFieldNumber = 10; |
| | 16264 | | private float microSurface_; |
| | 16265 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16266 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16267 | | public float MicroSurface { |
| | 16268 | | get { return microSurface_; } |
| | 16269 | | set { |
| | 16270 | | microSurface_ = value; |
| | 16271 | | } |
| | 16272 | | } |
| | 16273 | |
|
| | 16274 | | /// <summary>Field number for the "emissiveIntensity" field.</summary> |
| | 16275 | | public const int EmissiveIntensityFieldNumber = 11; |
| | 16276 | | private float emissiveIntensity_; |
| | 16277 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16278 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16279 | | public float EmissiveIntensity { |
| | 16280 | | get { return emissiveIntensity_; } |
| | 16281 | | set { |
| | 16282 | | emissiveIntensity_ = value; |
| | 16283 | | } |
| | 16284 | | } |
| | 16285 | |
|
| | 16286 | | /// <summary>Field number for the "environmentIntensity" field.</summary> |
| | 16287 | | public const int EnvironmentIntensityFieldNumber = 12; |
| | 16288 | | private float environmentIntensity_; |
| | 16289 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16290 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16291 | | public float EnvironmentIntensity { |
| | 16292 | | get { return environmentIntensity_; } |
| | 16293 | | set { |
| | 16294 | | environmentIntensity_ = value; |
| | 16295 | | } |
| | 16296 | | } |
| | 16297 | |
|
| | 16298 | | /// <summary>Field number for the "specularIntensity" field.</summary> |
| | 16299 | | public const int SpecularIntensityFieldNumber = 13; |
| | 16300 | | private float specularIntensity_; |
| | 16301 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16302 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16303 | | public float SpecularIntensity { |
| | 16304 | | get { return specularIntensity_; } |
| | 16305 | | set { |
| | 16306 | | specularIntensity_ = value; |
| | 16307 | | } |
| | 16308 | | } |
| | 16309 | |
|
| | 16310 | | /// <summary>Field number for the "albedoTexture" field.</summary> |
| | 16311 | | public const int AlbedoTextureFieldNumber = 14; |
| | 16312 | | private global::DCL.Interface.PB_Texture albedoTexture_; |
| | 16313 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16314 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16315 | | public global::DCL.Interface.PB_Texture AlbedoTexture { |
| | 16316 | | get { return albedoTexture_; } |
| | 16317 | | set { |
| | 16318 | | albedoTexture_ = value; |
| | 16319 | | } |
| | 16320 | | } |
| | 16321 | |
|
| | 16322 | | /// <summary>Field number for the "alphaTexture" field.</summary> |
| | 16323 | | public const int AlphaTextureFieldNumber = 15; |
| | 16324 | | private global::DCL.Interface.PB_Texture alphaTexture_; |
| | 16325 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16326 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16327 | | public global::DCL.Interface.PB_Texture AlphaTexture { |
| | 16328 | | get { return alphaTexture_; } |
| | 16329 | | set { |
| | 16330 | | alphaTexture_ = value; |
| | 16331 | | } |
| | 16332 | | } |
| | 16333 | |
|
| | 16334 | | /// <summary>Field number for the "emissiveTexture" field.</summary> |
| | 16335 | | public const int EmissiveTextureFieldNumber = 16; |
| | 16336 | | private global::DCL.Interface.PB_Texture emissiveTexture_; |
| | 16337 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16338 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16339 | | public global::DCL.Interface.PB_Texture EmissiveTexture { |
| | 16340 | | get { return emissiveTexture_; } |
| | 16341 | | set { |
| | 16342 | | emissiveTexture_ = value; |
| | 16343 | | } |
| | 16344 | | } |
| | 16345 | |
|
| | 16346 | | /// <summary>Field number for the "bumpTexture" field.</summary> |
| | 16347 | | public const int BumpTextureFieldNumber = 17; |
| | 16348 | | private global::DCL.Interface.PB_Texture bumpTexture_; |
| | 16349 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16350 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16351 | | public global::DCL.Interface.PB_Texture BumpTexture { |
| | 16352 | | get { return bumpTexture_; } |
| | 16353 | | set { |
| | 16354 | | bumpTexture_ = value; |
| | 16355 | | } |
| | 16356 | | } |
| | 16357 | |
|
| | 16358 | | /// <summary>Field number for the "refractionTexture" field.</summary> |
| | 16359 | | public const int RefractionTextureFieldNumber = 18; |
| | 16360 | | private global::DCL.Interface.PB_Texture refractionTexture_; |
| | 16361 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16362 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16363 | | public global::DCL.Interface.PB_Texture RefractionTexture { |
| | 16364 | | get { return refractionTexture_; } |
| | 16365 | | set { |
| | 16366 | | refractionTexture_ = value; |
| | 16367 | | } |
| | 16368 | | } |
| | 16369 | |
|
| | 16370 | | /// <summary>Field number for the "disableLighting" field.</summary> |
| | 16371 | | public const int DisableLightingFieldNumber = 19; |
| | 16372 | | private bool disableLighting_; |
| | 16373 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16374 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16375 | | public bool DisableLighting { |
| | 16376 | | get { return disableLighting_; } |
| | 16377 | | set { |
| | 16378 | | disableLighting_ = value; |
| | 16379 | | } |
| | 16380 | | } |
| | 16381 | |
|
| | 16382 | | /// <summary>Field number for the "transparencyMode" field.</summary> |
| | 16383 | | public const int TransparencyModeFieldNumber = 20; |
| | 16384 | | private float transparencyMode_; |
| | 16385 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16386 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16387 | | public float TransparencyMode { |
| | 16388 | | get { return transparencyMode_; } |
| | 16389 | | set { |
| | 16390 | | transparencyMode_ = value; |
| | 16391 | | } |
| | 16392 | | } |
| | 16393 | |
|
| | 16394 | | /// <summary>Field number for the "hasAlpha" field.</summary> |
| | 16395 | | public const int HasAlphaFieldNumber = 21; |
| | 16396 | | private bool hasAlpha_; |
| | 16397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16399 | | public bool HasAlpha { |
| | 16400 | | get { return hasAlpha_; } |
| | 16401 | | set { |
| | 16402 | | hasAlpha_ = value; |
| | 16403 | | } |
| | 16404 | | } |
| | 16405 | |
|
| | 16406 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16407 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16408 | | public override bool Equals(object other) { |
| | 16409 | | return Equals(other as PB_Material); |
| | 16410 | | } |
| | 16411 | |
|
| | 16412 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16413 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16414 | | public bool Equals(PB_Material other) { |
| | 16415 | | if (ReferenceEquals(other, null)) { |
| | 16416 | | return false; |
| | 16417 | | } |
| | 16418 | | if (ReferenceEquals(other, this)) { |
| | 16419 | | return true; |
| | 16420 | | } |
| | 16421 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Alpha, other.Alpha)) return false; |
| | 16422 | | if (!object.Equals(AlbedoColor, other.AlbedoColor)) return false; |
| | 16423 | | if (!object.Equals(EmissiveColor, other.EmissiveColor)) return false; |
| | 16424 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Metallic, other.Metallic)) return false; |
| | 16425 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Roughness, other.Roughness)) return false |
| | 16426 | | if (!object.Equals(AmbientColor, other.AmbientColor)) return false; |
| | 16427 | | if (!object.Equals(ReflectionColor, other.ReflectionColor)) return false; |
| | 16428 | | if (!object.Equals(ReflectivityColor, other.ReflectivityColor)) return false; |
| | 16429 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(DirectIntensity, other.DirectIntensity)) |
| | 16430 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MicroSurface, other.MicroSurface)) return |
| | 16431 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EmissiveIntensity, other.EmissiveIntensit |
| | 16432 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(EnvironmentIntensity, other.EnvironmentIn |
| | 16433 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SpecularIntensity, other.SpecularIntensit |
| | 16434 | | if (!object.Equals(AlbedoTexture, other.AlbedoTexture)) return false; |
| | 16435 | | if (!object.Equals(AlphaTexture, other.AlphaTexture)) return false; |
| | 16436 | | if (!object.Equals(EmissiveTexture, other.EmissiveTexture)) return false; |
| | 16437 | | if (!object.Equals(BumpTexture, other.BumpTexture)) return false; |
| | 16438 | | if (!object.Equals(RefractionTexture, other.RefractionTexture)) return false; |
| | 16439 | | if (DisableLighting != other.DisableLighting) return false; |
| | 16440 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(TransparencyMode, other.TransparencyMode) |
| | 16441 | | if (HasAlpha != other.HasAlpha) return false; |
| | 16442 | | return Equals(_unknownFields, other._unknownFields); |
| | 16443 | | } |
| | 16444 | |
|
| | 16445 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16446 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16447 | | public override int GetHashCode() { |
| | 16448 | | int hash = 1; |
| | 16449 | | if (Alpha != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Alpha); |
| | 16450 | | if (albedoColor_ != null) hash ^= AlbedoColor.GetHashCode(); |
| | 16451 | | if (emissiveColor_ != null) hash ^= EmissiveColor.GetHashCode(); |
| | 16452 | | if (Metallic != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Metallic); |
| | 16453 | | if (Roughness != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Roughness); |
| | 16454 | | if (ambientColor_ != null) hash ^= AmbientColor.GetHashCode(); |
| | 16455 | | if (reflectionColor_ != null) hash ^= ReflectionColor.GetHashCode(); |
| | 16456 | | if (reflectivityColor_ != null) hash ^= ReflectivityColor.GetHashCode(); |
| | 16457 | | if (DirectIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Direct |
| | 16458 | | if (MicroSurface != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MicroSurf |
| | 16459 | | if (EmissiveIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Emis |
| | 16460 | | if (EnvironmentIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(E |
| | 16461 | | if (SpecularIntensity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Spec |
| | 16462 | | if (albedoTexture_ != null) hash ^= AlbedoTexture.GetHashCode(); |
| | 16463 | | if (alphaTexture_ != null) hash ^= AlphaTexture.GetHashCode(); |
| | 16464 | | if (emissiveTexture_ != null) hash ^= EmissiveTexture.GetHashCode(); |
| | 16465 | | if (bumpTexture_ != null) hash ^= BumpTexture.GetHashCode(); |
| | 16466 | | if (refractionTexture_ != null) hash ^= RefractionTexture.GetHashCode(); |
| | 16467 | | if (DisableLighting != false) hash ^= DisableLighting.GetHashCode(); |
| | 16468 | | if (TransparencyMode != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Trans |
| | 16469 | | if (HasAlpha != false) hash ^= HasAlpha.GetHashCode(); |
| | 16470 | | if (_unknownFields != null) { |
| | 16471 | | hash ^= _unknownFields.GetHashCode(); |
| | 16472 | | } |
| | 16473 | | return hash; |
| | 16474 | | } |
| | 16475 | |
|
| | 16476 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16477 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16478 | | public override string ToString() { |
| | 16479 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 16480 | | } |
| | 16481 | |
|
| | 16482 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16483 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16484 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 16485 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16486 | | output.WriteRawMessage(this); |
| | 16487 | | #else |
| | 16488 | | if (Alpha != 0F) { |
| | 16489 | | output.WriteRawTag(13); |
| | 16490 | | output.WriteFloat(Alpha); |
| | 16491 | | } |
| | 16492 | | if (albedoColor_ != null) { |
| | 16493 | | output.WriteRawTag(18); |
| | 16494 | | output.WriteMessage(AlbedoColor); |
| | 16495 | | } |
| | 16496 | | if (emissiveColor_ != null) { |
| | 16497 | | output.WriteRawTag(26); |
| | 16498 | | output.WriteMessage(EmissiveColor); |
| | 16499 | | } |
| | 16500 | | if (Metallic != 0F) { |
| | 16501 | | output.WriteRawTag(37); |
| | 16502 | | output.WriteFloat(Metallic); |
| | 16503 | | } |
| | 16504 | | if (Roughness != 0F) { |
| | 16505 | | output.WriteRawTag(45); |
| | 16506 | | output.WriteFloat(Roughness); |
| | 16507 | | } |
| | 16508 | | if (ambientColor_ != null) { |
| | 16509 | | output.WriteRawTag(50); |
| | 16510 | | output.WriteMessage(AmbientColor); |
| | 16511 | | } |
| | 16512 | | if (reflectionColor_ != null) { |
| | 16513 | | output.WriteRawTag(58); |
| | 16514 | | output.WriteMessage(ReflectionColor); |
| | 16515 | | } |
| | 16516 | | if (reflectivityColor_ != null) { |
| | 16517 | | output.WriteRawTag(66); |
| | 16518 | | output.WriteMessage(ReflectivityColor); |
| | 16519 | | } |
| | 16520 | | if (DirectIntensity != 0F) { |
| | 16521 | | output.WriteRawTag(77); |
| | 16522 | | output.WriteFloat(DirectIntensity); |
| | 16523 | | } |
| | 16524 | | if (MicroSurface != 0F) { |
| | 16525 | | output.WriteRawTag(85); |
| | 16526 | | output.WriteFloat(MicroSurface); |
| | 16527 | | } |
| | 16528 | | if (EmissiveIntensity != 0F) { |
| | 16529 | | output.WriteRawTag(93); |
| | 16530 | | output.WriteFloat(EmissiveIntensity); |
| | 16531 | | } |
| | 16532 | | if (EnvironmentIntensity != 0F) { |
| | 16533 | | output.WriteRawTag(101); |
| | 16534 | | output.WriteFloat(EnvironmentIntensity); |
| | 16535 | | } |
| | 16536 | | if (SpecularIntensity != 0F) { |
| | 16537 | | output.WriteRawTag(109); |
| | 16538 | | output.WriteFloat(SpecularIntensity); |
| | 16539 | | } |
| | 16540 | | if (albedoTexture_ != null) { |
| | 16541 | | output.WriteRawTag(114); |
| | 16542 | | output.WriteMessage(AlbedoTexture); |
| | 16543 | | } |
| | 16544 | | if (alphaTexture_ != null) { |
| | 16545 | | output.WriteRawTag(122); |
| | 16546 | | output.WriteMessage(AlphaTexture); |
| | 16547 | | } |
| | 16548 | | if (emissiveTexture_ != null) { |
| | 16549 | | output.WriteRawTag(130, 1); |
| | 16550 | | output.WriteMessage(EmissiveTexture); |
| | 16551 | | } |
| | 16552 | | if (bumpTexture_ != null) { |
| | 16553 | | output.WriteRawTag(138, 1); |
| | 16554 | | output.WriteMessage(BumpTexture); |
| | 16555 | | } |
| | 16556 | | if (refractionTexture_ != null) { |
| | 16557 | | output.WriteRawTag(146, 1); |
| | 16558 | | output.WriteMessage(RefractionTexture); |
| | 16559 | | } |
| | 16560 | | if (DisableLighting != false) { |
| | 16561 | | output.WriteRawTag(152, 1); |
| | 16562 | | output.WriteBool(DisableLighting); |
| | 16563 | | } |
| | 16564 | | if (TransparencyMode != 0F) { |
| | 16565 | | output.WriteRawTag(165, 1); |
| | 16566 | | output.WriteFloat(TransparencyMode); |
| | 16567 | | } |
| | 16568 | | if (HasAlpha != false) { |
| | 16569 | | output.WriteRawTag(168, 1); |
| | 16570 | | output.WriteBool(HasAlpha); |
| | 16571 | | } |
| | 16572 | | if (_unknownFields != null) { |
| | 16573 | | _unknownFields.WriteTo(output); |
| | 16574 | | } |
| | 16575 | | #endif |
| | 16576 | | } |
| | 16577 | |
|
| | 16578 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16579 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16580 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16581 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 16582 | | if (Alpha != 0F) { |
| | 16583 | | output.WriteRawTag(13); |
| | 16584 | | output.WriteFloat(Alpha); |
| | 16585 | | } |
| | 16586 | | if (albedoColor_ != null) { |
| | 16587 | | output.WriteRawTag(18); |
| | 16588 | | output.WriteMessage(AlbedoColor); |
| | 16589 | | } |
| | 16590 | | if (emissiveColor_ != null) { |
| | 16591 | | output.WriteRawTag(26); |
| | 16592 | | output.WriteMessage(EmissiveColor); |
| | 16593 | | } |
| | 16594 | | if (Metallic != 0F) { |
| | 16595 | | output.WriteRawTag(37); |
| | 16596 | | output.WriteFloat(Metallic); |
| | 16597 | | } |
| | 16598 | | if (Roughness != 0F) { |
| | 16599 | | output.WriteRawTag(45); |
| | 16600 | | output.WriteFloat(Roughness); |
| | 16601 | | } |
| | 16602 | | if (ambientColor_ != null) { |
| | 16603 | | output.WriteRawTag(50); |
| | 16604 | | output.WriteMessage(AmbientColor); |
| | 16605 | | } |
| | 16606 | | if (reflectionColor_ != null) { |
| | 16607 | | output.WriteRawTag(58); |
| | 16608 | | output.WriteMessage(ReflectionColor); |
| | 16609 | | } |
| | 16610 | | if (reflectivityColor_ != null) { |
| | 16611 | | output.WriteRawTag(66); |
| | 16612 | | output.WriteMessage(ReflectivityColor); |
| | 16613 | | } |
| | 16614 | | if (DirectIntensity != 0F) { |
| | 16615 | | output.WriteRawTag(77); |
| | 16616 | | output.WriteFloat(DirectIntensity); |
| | 16617 | | } |
| | 16618 | | if (MicroSurface != 0F) { |
| | 16619 | | output.WriteRawTag(85); |
| | 16620 | | output.WriteFloat(MicroSurface); |
| | 16621 | | } |
| | 16622 | | if (EmissiveIntensity != 0F) { |
| | 16623 | | output.WriteRawTag(93); |
| | 16624 | | output.WriteFloat(EmissiveIntensity); |
| | 16625 | | } |
| | 16626 | | if (EnvironmentIntensity != 0F) { |
| | 16627 | | output.WriteRawTag(101); |
| | 16628 | | output.WriteFloat(EnvironmentIntensity); |
| | 16629 | | } |
| | 16630 | | if (SpecularIntensity != 0F) { |
| | 16631 | | output.WriteRawTag(109); |
| | 16632 | | output.WriteFloat(SpecularIntensity); |
| | 16633 | | } |
| | 16634 | | if (albedoTexture_ != null) { |
| | 16635 | | output.WriteRawTag(114); |
| | 16636 | | output.WriteMessage(AlbedoTexture); |
| | 16637 | | } |
| | 16638 | | if (alphaTexture_ != null) { |
| | 16639 | | output.WriteRawTag(122); |
| | 16640 | | output.WriteMessage(AlphaTexture); |
| | 16641 | | } |
| | 16642 | | if (emissiveTexture_ != null) { |
| | 16643 | | output.WriteRawTag(130, 1); |
| | 16644 | | output.WriteMessage(EmissiveTexture); |
| | 16645 | | } |
| | 16646 | | if (bumpTexture_ != null) { |
| | 16647 | | output.WriteRawTag(138, 1); |
| | 16648 | | output.WriteMessage(BumpTexture); |
| | 16649 | | } |
| | 16650 | | if (refractionTexture_ != null) { |
| | 16651 | | output.WriteRawTag(146, 1); |
| | 16652 | | output.WriteMessage(RefractionTexture); |
| | 16653 | | } |
| | 16654 | | if (DisableLighting != false) { |
| | 16655 | | output.WriteRawTag(152, 1); |
| | 16656 | | output.WriteBool(DisableLighting); |
| | 16657 | | } |
| | 16658 | | if (TransparencyMode != 0F) { |
| | 16659 | | output.WriteRawTag(165, 1); |
| | 16660 | | output.WriteFloat(TransparencyMode); |
| | 16661 | | } |
| | 16662 | | if (HasAlpha != false) { |
| | 16663 | | output.WriteRawTag(168, 1); |
| | 16664 | | output.WriteBool(HasAlpha); |
| | 16665 | | } |
| | 16666 | | if (_unknownFields != null) { |
| | 16667 | | _unknownFields.WriteTo(ref output); |
| | 16668 | | } |
| | 16669 | | } |
| | 16670 | | #endif |
| | 16671 | |
|
| | 16672 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16673 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16674 | | public int CalculateSize() { |
| | 16675 | | int size = 0; |
| | 16676 | | if (Alpha != 0F) { |
| | 16677 | | size += 1 + 4; |
| | 16678 | | } |
| | 16679 | | if (albedoColor_ != null) { |
| | 16680 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlbedoColor); |
| | 16681 | | } |
| | 16682 | | if (emissiveColor_ != null) { |
| | 16683 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(EmissiveColor); |
| | 16684 | | } |
| | 16685 | | if (Metallic != 0F) { |
| | 16686 | | size += 1 + 4; |
| | 16687 | | } |
| | 16688 | | if (Roughness != 0F) { |
| | 16689 | | size += 1 + 4; |
| | 16690 | | } |
| | 16691 | | if (ambientColor_ != null) { |
| | 16692 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AmbientColor); |
| | 16693 | | } |
| | 16694 | | if (reflectionColor_ != null) { |
| | 16695 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReflectionColor); |
| | 16696 | | } |
| | 16697 | | if (reflectivityColor_ != null) { |
| | 16698 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(ReflectivityColor); |
| | 16699 | | } |
| | 16700 | | if (DirectIntensity != 0F) { |
| | 16701 | | size += 1 + 4; |
| | 16702 | | } |
| | 16703 | | if (MicroSurface != 0F) { |
| | 16704 | | size += 1 + 4; |
| | 16705 | | } |
| | 16706 | | if (EmissiveIntensity != 0F) { |
| | 16707 | | size += 1 + 4; |
| | 16708 | | } |
| | 16709 | | if (EnvironmentIntensity != 0F) { |
| | 16710 | | size += 1 + 4; |
| | 16711 | | } |
| | 16712 | | if (SpecularIntensity != 0F) { |
| | 16713 | | size += 1 + 4; |
| | 16714 | | } |
| | 16715 | | if (albedoTexture_ != null) { |
| | 16716 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlbedoTexture); |
| | 16717 | | } |
| | 16718 | | if (alphaTexture_ != null) { |
| | 16719 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(AlphaTexture); |
| | 16720 | | } |
| | 16721 | | if (emissiveTexture_ != null) { |
| | 16722 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(EmissiveTexture); |
| | 16723 | | } |
| | 16724 | | if (bumpTexture_ != null) { |
| | 16725 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(BumpTexture); |
| | 16726 | | } |
| | 16727 | | if (refractionTexture_ != null) { |
| | 16728 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(RefractionTexture); |
| | 16729 | | } |
| | 16730 | | if (DisableLighting != false) { |
| | 16731 | | size += 2 + 1; |
| | 16732 | | } |
| | 16733 | | if (TransparencyMode != 0F) { |
| | 16734 | | size += 2 + 4; |
| | 16735 | | } |
| | 16736 | | if (HasAlpha != false) { |
| | 16737 | | size += 2 + 1; |
| | 16738 | | } |
| | 16739 | | if (_unknownFields != null) { |
| | 16740 | | size += _unknownFields.CalculateSize(); |
| | 16741 | | } |
| | 16742 | | return size; |
| | 16743 | | } |
| | 16744 | |
|
| | 16745 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16746 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16747 | | public void MergeFrom(PB_Material other) { |
| | 16748 | | if (other == null) { |
| | 16749 | | return; |
| | 16750 | | } |
| | 16751 | | if (other.Alpha != 0F) { |
| | 16752 | | Alpha = other.Alpha; |
| | 16753 | | } |
| | 16754 | | if (other.albedoColor_ != null) { |
| | 16755 | | if (albedoColor_ == null) { |
| | 16756 | | AlbedoColor = new global::DCL.Interface.PB_Color3(); |
| | 16757 | | } |
| | 16758 | | AlbedoColor.MergeFrom(other.AlbedoColor); |
| | 16759 | | } |
| | 16760 | | if (other.emissiveColor_ != null) { |
| | 16761 | | if (emissiveColor_ == null) { |
| | 16762 | | EmissiveColor = new global::DCL.Interface.PB_Color3(); |
| | 16763 | | } |
| | 16764 | | EmissiveColor.MergeFrom(other.EmissiveColor); |
| | 16765 | | } |
| | 16766 | | if (other.Metallic != 0F) { |
| | 16767 | | Metallic = other.Metallic; |
| | 16768 | | } |
| | 16769 | | if (other.Roughness != 0F) { |
| | 16770 | | Roughness = other.Roughness; |
| | 16771 | | } |
| | 16772 | | if (other.ambientColor_ != null) { |
| | 16773 | | if (ambientColor_ == null) { |
| | 16774 | | AmbientColor = new global::DCL.Interface.PB_Color3(); |
| | 16775 | | } |
| | 16776 | | AmbientColor.MergeFrom(other.AmbientColor); |
| | 16777 | | } |
| | 16778 | | if (other.reflectionColor_ != null) { |
| | 16779 | | if (reflectionColor_ == null) { |
| | 16780 | | ReflectionColor = new global::DCL.Interface.PB_Color3(); |
| | 16781 | | } |
| | 16782 | | ReflectionColor.MergeFrom(other.ReflectionColor); |
| | 16783 | | } |
| | 16784 | | if (other.reflectivityColor_ != null) { |
| | 16785 | | if (reflectivityColor_ == null) { |
| | 16786 | | ReflectivityColor = new global::DCL.Interface.PB_Color3(); |
| | 16787 | | } |
| | 16788 | | ReflectivityColor.MergeFrom(other.ReflectivityColor); |
| | 16789 | | } |
| | 16790 | | if (other.DirectIntensity != 0F) { |
| | 16791 | | DirectIntensity = other.DirectIntensity; |
| | 16792 | | } |
| | 16793 | | if (other.MicroSurface != 0F) { |
| | 16794 | | MicroSurface = other.MicroSurface; |
| | 16795 | | } |
| | 16796 | | if (other.EmissiveIntensity != 0F) { |
| | 16797 | | EmissiveIntensity = other.EmissiveIntensity; |
| | 16798 | | } |
| | 16799 | | if (other.EnvironmentIntensity != 0F) { |
| | 16800 | | EnvironmentIntensity = other.EnvironmentIntensity; |
| | 16801 | | } |
| | 16802 | | if (other.SpecularIntensity != 0F) { |
| | 16803 | | SpecularIntensity = other.SpecularIntensity; |
| | 16804 | | } |
| | 16805 | | if (other.albedoTexture_ != null) { |
| | 16806 | | if (albedoTexture_ == null) { |
| | 16807 | | AlbedoTexture = new global::DCL.Interface.PB_Texture(); |
| | 16808 | | } |
| | 16809 | | AlbedoTexture.MergeFrom(other.AlbedoTexture); |
| | 16810 | | } |
| | 16811 | | if (other.alphaTexture_ != null) { |
| | 16812 | | if (alphaTexture_ == null) { |
| | 16813 | | AlphaTexture = new global::DCL.Interface.PB_Texture(); |
| | 16814 | | } |
| | 16815 | | AlphaTexture.MergeFrom(other.AlphaTexture); |
| | 16816 | | } |
| | 16817 | | if (other.emissiveTexture_ != null) { |
| | 16818 | | if (emissiveTexture_ == null) { |
| | 16819 | | EmissiveTexture = new global::DCL.Interface.PB_Texture(); |
| | 16820 | | } |
| | 16821 | | EmissiveTexture.MergeFrom(other.EmissiveTexture); |
| | 16822 | | } |
| | 16823 | | if (other.bumpTexture_ != null) { |
| | 16824 | | if (bumpTexture_ == null) { |
| | 16825 | | BumpTexture = new global::DCL.Interface.PB_Texture(); |
| | 16826 | | } |
| | 16827 | | BumpTexture.MergeFrom(other.BumpTexture); |
| | 16828 | | } |
| | 16829 | | if (other.refractionTexture_ != null) { |
| | 16830 | | if (refractionTexture_ == null) { |
| | 16831 | | RefractionTexture = new global::DCL.Interface.PB_Texture(); |
| | 16832 | | } |
| | 16833 | | RefractionTexture.MergeFrom(other.RefractionTexture); |
| | 16834 | | } |
| | 16835 | | if (other.DisableLighting != false) { |
| | 16836 | | DisableLighting = other.DisableLighting; |
| | 16837 | | } |
| | 16838 | | if (other.TransparencyMode != 0F) { |
| | 16839 | | TransparencyMode = other.TransparencyMode; |
| | 16840 | | } |
| | 16841 | | if (other.HasAlpha != false) { |
| | 16842 | | HasAlpha = other.HasAlpha; |
| | 16843 | | } |
| | 16844 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 16845 | | } |
| | 16846 | |
|
| | 16847 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16848 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16849 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 16850 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16851 | | input.ReadRawMessage(this); |
| | 16852 | | #else |
| | 16853 | | uint tag; |
| | 16854 | | while ((tag = input.ReadTag()) != 0) { |
| | 16855 | | switch(tag) { |
| | 16856 | | default: |
| | 16857 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 16858 | | break; |
| | 16859 | | case 13: { |
| | 16860 | | Alpha = input.ReadFloat(); |
| | 16861 | | break; |
| | 16862 | | } |
| | 16863 | | case 18: { |
| | 16864 | | if (albedoColor_ == null) { |
| | 16865 | | AlbedoColor = new global::DCL.Interface.PB_Color3(); |
| | 16866 | | } |
| | 16867 | | input.ReadMessage(AlbedoColor); |
| | 16868 | | break; |
| | 16869 | | } |
| | 16870 | | case 26: { |
| | 16871 | | if (emissiveColor_ == null) { |
| | 16872 | | EmissiveColor = new global::DCL.Interface.PB_Color3(); |
| | 16873 | | } |
| | 16874 | | input.ReadMessage(EmissiveColor); |
| | 16875 | | break; |
| | 16876 | | } |
| | 16877 | | case 37: { |
| | 16878 | | Metallic = input.ReadFloat(); |
| | 16879 | | break; |
| | 16880 | | } |
| | 16881 | | case 45: { |
| | 16882 | | Roughness = input.ReadFloat(); |
| | 16883 | | break; |
| | 16884 | | } |
| | 16885 | | case 50: { |
| | 16886 | | if (ambientColor_ == null) { |
| | 16887 | | AmbientColor = new global::DCL.Interface.PB_Color3(); |
| | 16888 | | } |
| | 16889 | | input.ReadMessage(AmbientColor); |
| | 16890 | | break; |
| | 16891 | | } |
| | 16892 | | case 58: { |
| | 16893 | | if (reflectionColor_ == null) { |
| | 16894 | | ReflectionColor = new global::DCL.Interface.PB_Color3(); |
| | 16895 | | } |
| | 16896 | | input.ReadMessage(ReflectionColor); |
| | 16897 | | break; |
| | 16898 | | } |
| | 16899 | | case 66: { |
| | 16900 | | if (reflectivityColor_ == null) { |
| | 16901 | | ReflectivityColor = new global::DCL.Interface.PB_Color3(); |
| | 16902 | | } |
| | 16903 | | input.ReadMessage(ReflectivityColor); |
| | 16904 | | break; |
| | 16905 | | } |
| | 16906 | | case 77: { |
| | 16907 | | DirectIntensity = input.ReadFloat(); |
| | 16908 | | break; |
| | 16909 | | } |
| | 16910 | | case 85: { |
| | 16911 | | MicroSurface = input.ReadFloat(); |
| | 16912 | | break; |
| | 16913 | | } |
| | 16914 | | case 93: { |
| | 16915 | | EmissiveIntensity = input.ReadFloat(); |
| | 16916 | | break; |
| | 16917 | | } |
| | 16918 | | case 101: { |
| | 16919 | | EnvironmentIntensity = input.ReadFloat(); |
| | 16920 | | break; |
| | 16921 | | } |
| | 16922 | | case 109: { |
| | 16923 | | SpecularIntensity = input.ReadFloat(); |
| | 16924 | | break; |
| | 16925 | | } |
| | 16926 | | case 114: { |
| | 16927 | | if (albedoTexture_ == null) { |
| | 16928 | | AlbedoTexture = new global::DCL.Interface.PB_Texture(); |
| | 16929 | | } |
| | 16930 | | input.ReadMessage(AlbedoTexture); |
| | 16931 | | break; |
| | 16932 | | } |
| | 16933 | | case 122: { |
| | 16934 | | if (alphaTexture_ == null) { |
| | 16935 | | AlphaTexture = new global::DCL.Interface.PB_Texture(); |
| | 16936 | | } |
| | 16937 | | input.ReadMessage(AlphaTexture); |
| | 16938 | | break; |
| | 16939 | | } |
| | 16940 | | case 130: { |
| | 16941 | | if (emissiveTexture_ == null) { |
| | 16942 | | EmissiveTexture = new global::DCL.Interface.PB_Texture(); |
| | 16943 | | } |
| | 16944 | | input.ReadMessage(EmissiveTexture); |
| | 16945 | | break; |
| | 16946 | | } |
| | 16947 | | case 138: { |
| | 16948 | | if (bumpTexture_ == null) { |
| | 16949 | | BumpTexture = new global::DCL.Interface.PB_Texture(); |
| | 16950 | | } |
| | 16951 | | input.ReadMessage(BumpTexture); |
| | 16952 | | break; |
| | 16953 | | } |
| | 16954 | | case 146: { |
| | 16955 | | if (refractionTexture_ == null) { |
| | 16956 | | RefractionTexture = new global::DCL.Interface.PB_Texture(); |
| | 16957 | | } |
| | 16958 | | input.ReadMessage(RefractionTexture); |
| | 16959 | | break; |
| | 16960 | | } |
| | 16961 | | case 152: { |
| | 16962 | | DisableLighting = input.ReadBool(); |
| | 16963 | | break; |
| | 16964 | | } |
| | 16965 | | case 165: { |
| | 16966 | | TransparencyMode = input.ReadFloat(); |
| | 16967 | | break; |
| | 16968 | | } |
| | 16969 | | case 168: { |
| | 16970 | | HasAlpha = input.ReadBool(); |
| | 16971 | | break; |
| | 16972 | | } |
| | 16973 | | } |
| | 16974 | | } |
| | 16975 | | #endif |
| | 16976 | | } |
| | 16977 | |
|
| | 16978 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 16979 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 16980 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 16981 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 16982 | | uint tag; |
| | 16983 | | while ((tag = input.ReadTag()) != 0) { |
| | 16984 | | switch(tag) { |
| | 16985 | | default: |
| | 16986 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 16987 | | break; |
| | 16988 | | case 13: { |
| | 16989 | | Alpha = input.ReadFloat(); |
| | 16990 | | break; |
| | 16991 | | } |
| | 16992 | | case 18: { |
| | 16993 | | if (albedoColor_ == null) { |
| | 16994 | | AlbedoColor = new global::DCL.Interface.PB_Color3(); |
| | 16995 | | } |
| | 16996 | | input.ReadMessage(AlbedoColor); |
| | 16997 | | break; |
| | 16998 | | } |
| | 16999 | | case 26: { |
| | 17000 | | if (emissiveColor_ == null) { |
| | 17001 | | EmissiveColor = new global::DCL.Interface.PB_Color3(); |
| | 17002 | | } |
| | 17003 | | input.ReadMessage(EmissiveColor); |
| | 17004 | | break; |
| | 17005 | | } |
| | 17006 | | case 37: { |
| | 17007 | | Metallic = input.ReadFloat(); |
| | 17008 | | break; |
| | 17009 | | } |
| | 17010 | | case 45: { |
| | 17011 | | Roughness = input.ReadFloat(); |
| | 17012 | | break; |
| | 17013 | | } |
| | 17014 | | case 50: { |
| | 17015 | | if (ambientColor_ == null) { |
| | 17016 | | AmbientColor = new global::DCL.Interface.PB_Color3(); |
| | 17017 | | } |
| | 17018 | | input.ReadMessage(AmbientColor); |
| | 17019 | | break; |
| | 17020 | | } |
| | 17021 | | case 58: { |
| | 17022 | | if (reflectionColor_ == null) { |
| | 17023 | | ReflectionColor = new global::DCL.Interface.PB_Color3(); |
| | 17024 | | } |
| | 17025 | | input.ReadMessage(ReflectionColor); |
| | 17026 | | break; |
| | 17027 | | } |
| | 17028 | | case 66: { |
| | 17029 | | if (reflectivityColor_ == null) { |
| | 17030 | | ReflectivityColor = new global::DCL.Interface.PB_Color3(); |
| | 17031 | | } |
| | 17032 | | input.ReadMessage(ReflectivityColor); |
| | 17033 | | break; |
| | 17034 | | } |
| | 17035 | | case 77: { |
| | 17036 | | DirectIntensity = input.ReadFloat(); |
| | 17037 | | break; |
| | 17038 | | } |
| | 17039 | | case 85: { |
| | 17040 | | MicroSurface = input.ReadFloat(); |
| | 17041 | | break; |
| | 17042 | | } |
| | 17043 | | case 93: { |
| | 17044 | | EmissiveIntensity = input.ReadFloat(); |
| | 17045 | | break; |
| | 17046 | | } |
| | 17047 | | case 101: { |
| | 17048 | | EnvironmentIntensity = input.ReadFloat(); |
| | 17049 | | break; |
| | 17050 | | } |
| | 17051 | | case 109: { |
| | 17052 | | SpecularIntensity = input.ReadFloat(); |
| | 17053 | | break; |
| | 17054 | | } |
| | 17055 | | case 114: { |
| | 17056 | | if (albedoTexture_ == null) { |
| | 17057 | | AlbedoTexture = new global::DCL.Interface.PB_Texture(); |
| | 17058 | | } |
| | 17059 | | input.ReadMessage(AlbedoTexture); |
| | 17060 | | break; |
| | 17061 | | } |
| | 17062 | | case 122: { |
| | 17063 | | if (alphaTexture_ == null) { |
| | 17064 | | AlphaTexture = new global::DCL.Interface.PB_Texture(); |
| | 17065 | | } |
| | 17066 | | input.ReadMessage(AlphaTexture); |
| | 17067 | | break; |
| | 17068 | | } |
| | 17069 | | case 130: { |
| | 17070 | | if (emissiveTexture_ == null) { |
| | 17071 | | EmissiveTexture = new global::DCL.Interface.PB_Texture(); |
| | 17072 | | } |
| | 17073 | | input.ReadMessage(EmissiveTexture); |
| | 17074 | | break; |
| | 17075 | | } |
| | 17076 | | case 138: { |
| | 17077 | | if (bumpTexture_ == null) { |
| | 17078 | | BumpTexture = new global::DCL.Interface.PB_Texture(); |
| | 17079 | | } |
| | 17080 | | input.ReadMessage(BumpTexture); |
| | 17081 | | break; |
| | 17082 | | } |
| | 17083 | | case 146: { |
| | 17084 | | if (refractionTexture_ == null) { |
| | 17085 | | RefractionTexture = new global::DCL.Interface.PB_Texture(); |
| | 17086 | | } |
| | 17087 | | input.ReadMessage(RefractionTexture); |
| | 17088 | | break; |
| | 17089 | | } |
| | 17090 | | case 152: { |
| | 17091 | | DisableLighting = input.ReadBool(); |
| | 17092 | | break; |
| | 17093 | | } |
| | 17094 | | case 165: { |
| | 17095 | | TransparencyMode = input.ReadFloat(); |
| | 17096 | | break; |
| | 17097 | | } |
| | 17098 | | case 168: { |
| | 17099 | | HasAlpha = input.ReadBool(); |
| | 17100 | | break; |
| | 17101 | | } |
| | 17102 | | } |
| | 17103 | | } |
| | 17104 | | } |
| | 17105 | | #endif |
| | 17106 | |
|
| | 17107 | | } |
| | 17108 | |
|
| | 17109 | | public sealed partial class PB_NFTShape : pb::IMessage<PB_NFTShape> |
| | 17110 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17111 | | , pb::IBufferMessage |
| | 17112 | | #endif |
| | 17113 | | { |
| | 17114 | | private static readonly pb::MessageParser<PB_NFTShape> _parser = new pb::MessageParser<PB_NFTShape>(() => new PB_NFT |
| | 17115 | | private pb::UnknownFieldSet _unknownFields; |
| | 17116 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17117 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17118 | | public static pb::MessageParser<PB_NFTShape> Parser { get { return _parser; } } |
| | 17119 | |
|
| | 17120 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17121 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17122 | | public static pbr::MessageDescriptor Descriptor { |
| | 17123 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[47]; } |
| | 17124 | | } |
| | 17125 | |
|
| | 17126 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17127 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17128 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 17129 | | get { return Descriptor; } |
| | 17130 | | } |
| | 17131 | |
|
| | 17132 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17133 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17134 | | public PB_NFTShape() { |
| | 17135 | | OnConstruction(); |
| | 17136 | | } |
| | 17137 | |
|
| | 17138 | | partial void OnConstruction(); |
| | 17139 | |
|
| | 17140 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17141 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17142 | | public PB_NFTShape(PB_NFTShape other) : this() { |
| | 17143 | | withCollisions_ = other.withCollisions_; |
| | 17144 | | visible_ = other.visible_; |
| | 17145 | | src_ = other.src_; |
| | 17146 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 17147 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 17148 | | } |
| | 17149 | |
|
| | 17150 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17151 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17152 | | public PB_NFTShape Clone() { |
| | 17153 | | return new PB_NFTShape(this); |
| | 17154 | | } |
| | 17155 | |
|
| | 17156 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 17157 | | public const int WithCollisionsFieldNumber = 1; |
| | 17158 | | private bool withCollisions_; |
| | 17159 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17160 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17161 | | public bool WithCollisions { |
| | 17162 | | get { return withCollisions_; } |
| | 17163 | | set { |
| | 17164 | | withCollisions_ = value; |
| | 17165 | | } |
| | 17166 | | } |
| | 17167 | |
|
| | 17168 | | /// <summary>Field number for the "visible" field.</summary> |
| | 17169 | | public const int VisibleFieldNumber = 2; |
| | 17170 | | private bool visible_; |
| | 17171 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17172 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17173 | | public bool Visible { |
| | 17174 | | get { return visible_; } |
| | 17175 | | set { |
| | 17176 | | visible_ = value; |
| | 17177 | | } |
| | 17178 | | } |
| | 17179 | |
|
| | 17180 | | /// <summary>Field number for the "src" field.</summary> |
| | 17181 | | public const int SrcFieldNumber = 3; |
| | 17182 | | private string src_ = ""; |
| | 17183 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17184 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17185 | | public string Src { |
| | 17186 | | get { return src_; } |
| | 17187 | | set { |
| | 17188 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 17189 | | } |
| | 17190 | | } |
| | 17191 | |
|
| | 17192 | | /// <summary>Field number for the "color" field.</summary> |
| | 17193 | | public const int ColorFieldNumber = 4; |
| | 17194 | | private global::DCL.Interface.PB_Color3 color_; |
| | 17195 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17196 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17197 | | public global::DCL.Interface.PB_Color3 Color { |
| | 17198 | | get { return color_; } |
| | 17199 | | set { |
| | 17200 | | color_ = value; |
| | 17201 | | } |
| | 17202 | | } |
| | 17203 | |
|
| | 17204 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17205 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17206 | | public override bool Equals(object other) { |
| | 17207 | | return Equals(other as PB_NFTShape); |
| | 17208 | | } |
| | 17209 | |
|
| | 17210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17212 | | public bool Equals(PB_NFTShape other) { |
| | 17213 | | if (ReferenceEquals(other, null)) { |
| | 17214 | | return false; |
| | 17215 | | } |
| | 17216 | | if (ReferenceEquals(other, this)) { |
| | 17217 | | return true; |
| | 17218 | | } |
| | 17219 | | if (WithCollisions != other.WithCollisions) return false; |
| | 17220 | | if (Visible != other.Visible) return false; |
| | 17221 | | if (Src != other.Src) return false; |
| | 17222 | | if (!object.Equals(Color, other.Color)) return false; |
| | 17223 | | return Equals(_unknownFields, other._unknownFields); |
| | 17224 | | } |
| | 17225 | |
|
| | 17226 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17227 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17228 | | public override int GetHashCode() { |
| | 17229 | | int hash = 1; |
| | 17230 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 17231 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 17232 | | if (Src.Length != 0) hash ^= Src.GetHashCode(); |
| | 17233 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 17234 | | if (_unknownFields != null) { |
| | 17235 | | hash ^= _unknownFields.GetHashCode(); |
| | 17236 | | } |
| | 17237 | | return hash; |
| | 17238 | | } |
| | 17239 | |
|
| | 17240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17242 | | public override string ToString() { |
| | 17243 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 17244 | | } |
| | 17245 | |
|
| | 17246 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17247 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17248 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 17249 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17250 | | output.WriteRawMessage(this); |
| | 17251 | | #else |
| | 17252 | | if (WithCollisions != false) { |
| | 17253 | | output.WriteRawTag(8); |
| | 17254 | | output.WriteBool(WithCollisions); |
| | 17255 | | } |
| | 17256 | | if (Visible != false) { |
| | 17257 | | output.WriteRawTag(16); |
| | 17258 | | output.WriteBool(Visible); |
| | 17259 | | } |
| | 17260 | | if (Src.Length != 0) { |
| | 17261 | | output.WriteRawTag(26); |
| | 17262 | | output.WriteString(Src); |
| | 17263 | | } |
| | 17264 | | if (color_ != null) { |
| | 17265 | | output.WriteRawTag(34); |
| | 17266 | | output.WriteMessage(Color); |
| | 17267 | | } |
| | 17268 | | if (_unknownFields != null) { |
| | 17269 | | _unknownFields.WriteTo(output); |
| | 17270 | | } |
| | 17271 | | #endif |
| | 17272 | | } |
| | 17273 | |
|
| | 17274 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17275 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17276 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17277 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 17278 | | if (WithCollisions != false) { |
| | 17279 | | output.WriteRawTag(8); |
| | 17280 | | output.WriteBool(WithCollisions); |
| | 17281 | | } |
| | 17282 | | if (Visible != false) { |
| | 17283 | | output.WriteRawTag(16); |
| | 17284 | | output.WriteBool(Visible); |
| | 17285 | | } |
| | 17286 | | if (Src.Length != 0) { |
| | 17287 | | output.WriteRawTag(26); |
| | 17288 | | output.WriteString(Src); |
| | 17289 | | } |
| | 17290 | | if (color_ != null) { |
| | 17291 | | output.WriteRawTag(34); |
| | 17292 | | output.WriteMessage(Color); |
| | 17293 | | } |
| | 17294 | | if (_unknownFields != null) { |
| | 17295 | | _unknownFields.WriteTo(ref output); |
| | 17296 | | } |
| | 17297 | | } |
| | 17298 | | #endif |
| | 17299 | |
|
| | 17300 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17301 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17302 | | public int CalculateSize() { |
| | 17303 | | int size = 0; |
| | 17304 | | if (WithCollisions != false) { |
| | 17305 | | size += 1 + 1; |
| | 17306 | | } |
| | 17307 | | if (Visible != false) { |
| | 17308 | | size += 1 + 1; |
| | 17309 | | } |
| | 17310 | | if (Src.Length != 0) { |
| | 17311 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 17312 | | } |
| | 17313 | | if (color_ != null) { |
| | 17314 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 17315 | | } |
| | 17316 | | if (_unknownFields != null) { |
| | 17317 | | size += _unknownFields.CalculateSize(); |
| | 17318 | | } |
| | 17319 | | return size; |
| | 17320 | | } |
| | 17321 | |
|
| | 17322 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17323 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17324 | | public void MergeFrom(PB_NFTShape other) { |
| | 17325 | | if (other == null) { |
| | 17326 | | return; |
| | 17327 | | } |
| | 17328 | | if (other.WithCollisions != false) { |
| | 17329 | | WithCollisions = other.WithCollisions; |
| | 17330 | | } |
| | 17331 | | if (other.Visible != false) { |
| | 17332 | | Visible = other.Visible; |
| | 17333 | | } |
| | 17334 | | if (other.Src.Length != 0) { |
| | 17335 | | Src = other.Src; |
| | 17336 | | } |
| | 17337 | | if (other.color_ != null) { |
| | 17338 | | if (color_ == null) { |
| | 17339 | | Color = new global::DCL.Interface.PB_Color3(); |
| | 17340 | | } |
| | 17341 | | Color.MergeFrom(other.Color); |
| | 17342 | | } |
| | 17343 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 17344 | | } |
| | 17345 | |
|
| | 17346 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17347 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17348 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 17349 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17350 | | input.ReadRawMessage(this); |
| | 17351 | | #else |
| | 17352 | | uint tag; |
| | 17353 | | while ((tag = input.ReadTag()) != 0) { |
| | 17354 | | switch(tag) { |
| | 17355 | | default: |
| | 17356 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 17357 | | break; |
| | 17358 | | case 8: { |
| | 17359 | | WithCollisions = input.ReadBool(); |
| | 17360 | | break; |
| | 17361 | | } |
| | 17362 | | case 16: { |
| | 17363 | | Visible = input.ReadBool(); |
| | 17364 | | break; |
| | 17365 | | } |
| | 17366 | | case 26: { |
| | 17367 | | Src = input.ReadString(); |
| | 17368 | | break; |
| | 17369 | | } |
| | 17370 | | case 34: { |
| | 17371 | | if (color_ == null) { |
| | 17372 | | Color = new global::DCL.Interface.PB_Color3(); |
| | 17373 | | } |
| | 17374 | | input.ReadMessage(Color); |
| | 17375 | | break; |
| | 17376 | | } |
| | 17377 | | } |
| | 17378 | | } |
| | 17379 | | #endif |
| | 17380 | | } |
| | 17381 | |
|
| | 17382 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17383 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17384 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17385 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 17386 | | uint tag; |
| | 17387 | | while ((tag = input.ReadTag()) != 0) { |
| | 17388 | | switch(tag) { |
| | 17389 | | default: |
| | 17390 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 17391 | | break; |
| | 17392 | | case 8: { |
| | 17393 | | WithCollisions = input.ReadBool(); |
| | 17394 | | break; |
| | 17395 | | } |
| | 17396 | | case 16: { |
| | 17397 | | Visible = input.ReadBool(); |
| | 17398 | | break; |
| | 17399 | | } |
| | 17400 | | case 26: { |
| | 17401 | | Src = input.ReadString(); |
| | 17402 | | break; |
| | 17403 | | } |
| | 17404 | | case 34: { |
| | 17405 | | if (color_ == null) { |
| | 17406 | | Color = new global::DCL.Interface.PB_Color3(); |
| | 17407 | | } |
| | 17408 | | input.ReadMessage(Color); |
| | 17409 | | break; |
| | 17410 | | } |
| | 17411 | | } |
| | 17412 | | } |
| | 17413 | | } |
| | 17414 | | #endif |
| | 17415 | |
|
| | 17416 | | } |
| | 17417 | |
|
| | 17418 | | public sealed partial class PB_OBJShape : pb::IMessage<PB_OBJShape> |
| | 17419 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17420 | | , pb::IBufferMessage |
| | 17421 | | #endif |
| | 17422 | | { |
| | 17423 | | private static readonly pb::MessageParser<PB_OBJShape> _parser = new pb::MessageParser<PB_OBJShape>(() => new PB_OBJ |
| | 17424 | | private pb::UnknownFieldSet _unknownFields; |
| | 17425 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17426 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17427 | | public static pb::MessageParser<PB_OBJShape> Parser { get { return _parser; } } |
| | 17428 | |
|
| | 17429 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17430 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17431 | | public static pbr::MessageDescriptor Descriptor { |
| | 17432 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[48]; } |
| | 17433 | | } |
| | 17434 | |
|
| | 17435 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17436 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17437 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 17438 | | get { return Descriptor; } |
| | 17439 | | } |
| | 17440 | |
|
| | 17441 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17442 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17443 | | public PB_OBJShape() { |
| | 17444 | | OnConstruction(); |
| | 17445 | | } |
| | 17446 | |
|
| | 17447 | | partial void OnConstruction(); |
| | 17448 | |
|
| | 17449 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17450 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17451 | | public PB_OBJShape(PB_OBJShape other) : this() { |
| | 17452 | | withCollisions_ = other.withCollisions_; |
| | 17453 | | visible_ = other.visible_; |
| | 17454 | | src_ = other.src_; |
| | 17455 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 17456 | | } |
| | 17457 | |
|
| | 17458 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17459 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17460 | | public PB_OBJShape Clone() { |
| | 17461 | | return new PB_OBJShape(this); |
| | 17462 | | } |
| | 17463 | |
|
| | 17464 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 17465 | | public const int WithCollisionsFieldNumber = 1; |
| | 17466 | | private bool withCollisions_; |
| | 17467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17469 | | public bool WithCollisions { |
| | 17470 | | get { return withCollisions_; } |
| | 17471 | | set { |
| | 17472 | | withCollisions_ = value; |
| | 17473 | | } |
| | 17474 | | } |
| | 17475 | |
|
| | 17476 | | /// <summary>Field number for the "visible" field.</summary> |
| | 17477 | | public const int VisibleFieldNumber = 2; |
| | 17478 | | private bool visible_; |
| | 17479 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17480 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17481 | | public bool Visible { |
| | 17482 | | get { return visible_; } |
| | 17483 | | set { |
| | 17484 | | visible_ = value; |
| | 17485 | | } |
| | 17486 | | } |
| | 17487 | |
|
| | 17488 | | /// <summary>Field number for the "src" field.</summary> |
| | 17489 | | public const int SrcFieldNumber = 3; |
| | 17490 | | private string src_ = ""; |
| | 17491 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17492 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17493 | | public string Src { |
| | 17494 | | get { return src_; } |
| | 17495 | | set { |
| | 17496 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 17497 | | } |
| | 17498 | | } |
| | 17499 | |
|
| | 17500 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17501 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17502 | | public override bool Equals(object other) { |
| | 17503 | | return Equals(other as PB_OBJShape); |
| | 17504 | | } |
| | 17505 | |
|
| | 17506 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17507 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17508 | | public bool Equals(PB_OBJShape other) { |
| | 17509 | | if (ReferenceEquals(other, null)) { |
| | 17510 | | return false; |
| | 17511 | | } |
| | 17512 | | if (ReferenceEquals(other, this)) { |
| | 17513 | | return true; |
| | 17514 | | } |
| | 17515 | | if (WithCollisions != other.WithCollisions) return false; |
| | 17516 | | if (Visible != other.Visible) return false; |
| | 17517 | | if (Src != other.Src) return false; |
| | 17518 | | return Equals(_unknownFields, other._unknownFields); |
| | 17519 | | } |
| | 17520 | |
|
| | 17521 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17522 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17523 | | public override int GetHashCode() { |
| | 17524 | | int hash = 1; |
| | 17525 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 17526 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 17527 | | if (Src.Length != 0) hash ^= Src.GetHashCode(); |
| | 17528 | | if (_unknownFields != null) { |
| | 17529 | | hash ^= _unknownFields.GetHashCode(); |
| | 17530 | | } |
| | 17531 | | return hash; |
| | 17532 | | } |
| | 17533 | |
|
| | 17534 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17535 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17536 | | public override string ToString() { |
| | 17537 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 17538 | | } |
| | 17539 | |
|
| | 17540 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17541 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17542 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 17543 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17544 | | output.WriteRawMessage(this); |
| | 17545 | | #else |
| | 17546 | | if (WithCollisions != false) { |
| | 17547 | | output.WriteRawTag(8); |
| | 17548 | | output.WriteBool(WithCollisions); |
| | 17549 | | } |
| | 17550 | | if (Visible != false) { |
| | 17551 | | output.WriteRawTag(16); |
| | 17552 | | output.WriteBool(Visible); |
| | 17553 | | } |
| | 17554 | | if (Src.Length != 0) { |
| | 17555 | | output.WriteRawTag(26); |
| | 17556 | | output.WriteString(Src); |
| | 17557 | | } |
| | 17558 | | if (_unknownFields != null) { |
| | 17559 | | _unknownFields.WriteTo(output); |
| | 17560 | | } |
| | 17561 | | #endif |
| | 17562 | | } |
| | 17563 | |
|
| | 17564 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17565 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17566 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17567 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 17568 | | if (WithCollisions != false) { |
| | 17569 | | output.WriteRawTag(8); |
| | 17570 | | output.WriteBool(WithCollisions); |
| | 17571 | | } |
| | 17572 | | if (Visible != false) { |
| | 17573 | | output.WriteRawTag(16); |
| | 17574 | | output.WriteBool(Visible); |
| | 17575 | | } |
| | 17576 | | if (Src.Length != 0) { |
| | 17577 | | output.WriteRawTag(26); |
| | 17578 | | output.WriteString(Src); |
| | 17579 | | } |
| | 17580 | | if (_unknownFields != null) { |
| | 17581 | | _unknownFields.WriteTo(ref output); |
| | 17582 | | } |
| | 17583 | | } |
| | 17584 | | #endif |
| | 17585 | |
|
| | 17586 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17587 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17588 | | public int CalculateSize() { |
| | 17589 | | int size = 0; |
| | 17590 | | if (WithCollisions != false) { |
| | 17591 | | size += 1 + 1; |
| | 17592 | | } |
| | 17593 | | if (Visible != false) { |
| | 17594 | | size += 1 + 1; |
| | 17595 | | } |
| | 17596 | | if (Src.Length != 0) { |
| | 17597 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 17598 | | } |
| | 17599 | | if (_unknownFields != null) { |
| | 17600 | | size += _unknownFields.CalculateSize(); |
| | 17601 | | } |
| | 17602 | | return size; |
| | 17603 | | } |
| | 17604 | |
|
| | 17605 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17606 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17607 | | public void MergeFrom(PB_OBJShape other) { |
| | 17608 | | if (other == null) { |
| | 17609 | | return; |
| | 17610 | | } |
| | 17611 | | if (other.WithCollisions != false) { |
| | 17612 | | WithCollisions = other.WithCollisions; |
| | 17613 | | } |
| | 17614 | | if (other.Visible != false) { |
| | 17615 | | Visible = other.Visible; |
| | 17616 | | } |
| | 17617 | | if (other.Src.Length != 0) { |
| | 17618 | | Src = other.Src; |
| | 17619 | | } |
| | 17620 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 17621 | | } |
| | 17622 | |
|
| | 17623 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17624 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17625 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 17626 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17627 | | input.ReadRawMessage(this); |
| | 17628 | | #else |
| | 17629 | | uint tag; |
| | 17630 | | while ((tag = input.ReadTag()) != 0) { |
| | 17631 | | switch(tag) { |
| | 17632 | | default: |
| | 17633 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 17634 | | break; |
| | 17635 | | case 8: { |
| | 17636 | | WithCollisions = input.ReadBool(); |
| | 17637 | | break; |
| | 17638 | | } |
| | 17639 | | case 16: { |
| | 17640 | | Visible = input.ReadBool(); |
| | 17641 | | break; |
| | 17642 | | } |
| | 17643 | | case 26: { |
| | 17644 | | Src = input.ReadString(); |
| | 17645 | | break; |
| | 17646 | | } |
| | 17647 | | } |
| | 17648 | | } |
| | 17649 | | #endif |
| | 17650 | | } |
| | 17651 | |
|
| | 17652 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17653 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17654 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17655 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 17656 | | uint tag; |
| | 17657 | | while ((tag = input.ReadTag()) != 0) { |
| | 17658 | | switch(tag) { |
| | 17659 | | default: |
| | 17660 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 17661 | | break; |
| | 17662 | | case 8: { |
| | 17663 | | WithCollisions = input.ReadBool(); |
| | 17664 | | break; |
| | 17665 | | } |
| | 17666 | | case 16: { |
| | 17667 | | Visible = input.ReadBool(); |
| | 17668 | | break; |
| | 17669 | | } |
| | 17670 | | case 26: { |
| | 17671 | | Src = input.ReadString(); |
| | 17672 | | break; |
| | 17673 | | } |
| | 17674 | | } |
| | 17675 | | } |
| | 17676 | | } |
| | 17677 | | #endif |
| | 17678 | |
|
| | 17679 | | } |
| | 17680 | |
|
| | 17681 | | public sealed partial class PB_PlaneShape : pb::IMessage<PB_PlaneShape> |
| | 17682 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17683 | | , pb::IBufferMessage |
| | 17684 | | #endif |
| | 17685 | | { |
| | 17686 | | private static readonly pb::MessageParser<PB_PlaneShape> _parser = new pb::MessageParser<PB_PlaneShape>(() => new PB |
| | 17687 | | private pb::UnknownFieldSet _unknownFields; |
| | 17688 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17689 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17690 | | public static pb::MessageParser<PB_PlaneShape> Parser { get { return _parser; } } |
| | 17691 | |
|
| | 17692 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17693 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17694 | | public static pbr::MessageDescriptor Descriptor { |
| | 17695 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[49]; } |
| | 17696 | | } |
| | 17697 | |
|
| | 17698 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17699 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17700 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 17701 | | get { return Descriptor; } |
| | 17702 | | } |
| | 17703 | |
|
| | 17704 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17705 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17706 | | public PB_PlaneShape() { |
| | 17707 | | OnConstruction(); |
| | 17708 | | } |
| | 17709 | |
|
| | 17710 | | partial void OnConstruction(); |
| | 17711 | |
|
| | 17712 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17713 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17714 | | public PB_PlaneShape(PB_PlaneShape other) : this() { |
| | 17715 | | withCollisions_ = other.withCollisions_; |
| | 17716 | | visible_ = other.visible_; |
| | 17717 | | width_ = other.width_; |
| | 17718 | | height_ = other.height_; |
| | 17719 | | uvs_ = other.uvs_.Clone(); |
| | 17720 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 17721 | | } |
| | 17722 | |
|
| | 17723 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17724 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17725 | | public PB_PlaneShape Clone() { |
| | 17726 | | return new PB_PlaneShape(this); |
| | 17727 | | } |
| | 17728 | |
|
| | 17729 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 17730 | | public const int WithCollisionsFieldNumber = 1; |
| | 17731 | | private bool withCollisions_; |
| | 17732 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17733 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17734 | | public bool WithCollisions { |
| | 17735 | | get { return withCollisions_; } |
| | 17736 | | set { |
| | 17737 | | withCollisions_ = value; |
| | 17738 | | } |
| | 17739 | | } |
| | 17740 | |
|
| | 17741 | | /// <summary>Field number for the "visible" field.</summary> |
| | 17742 | | public const int VisibleFieldNumber = 2; |
| | 17743 | | private bool visible_; |
| | 17744 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17745 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17746 | | public bool Visible { |
| | 17747 | | get { return visible_; } |
| | 17748 | | set { |
| | 17749 | | visible_ = value; |
| | 17750 | | } |
| | 17751 | | } |
| | 17752 | |
|
| | 17753 | | /// <summary>Field number for the "width" field.</summary> |
| | 17754 | | public const int WidthFieldNumber = 3; |
| | 17755 | | private float width_; |
| | 17756 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17757 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17758 | | public float Width { |
| | 17759 | | get { return width_; } |
| | 17760 | | set { |
| | 17761 | | width_ = value; |
| | 17762 | | } |
| | 17763 | | } |
| | 17764 | |
|
| | 17765 | | /// <summary>Field number for the "height" field.</summary> |
| | 17766 | | public const int HeightFieldNumber = 4; |
| | 17767 | | private float height_; |
| | 17768 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17769 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17770 | | public float Height { |
| | 17771 | | get { return height_; } |
| | 17772 | | set { |
| | 17773 | | height_ = value; |
| | 17774 | | } |
| | 17775 | | } |
| | 17776 | |
|
| | 17777 | | /// <summary>Field number for the "uvs" field.</summary> |
| | 17778 | | public const int UvsFieldNumber = 5; |
| | 17779 | | private static readonly pb::FieldCodec<float> _repeated_uvs_codec |
| | 17780 | | = pb::FieldCodec.ForFloat(42); |
| | 17781 | | private readonly pbc::RepeatedField<float> uvs_ = new pbc::RepeatedField<float>(); |
| | 17782 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17783 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17784 | | public pbc::RepeatedField<float> Uvs { |
| | 17785 | | get { return uvs_; } |
| | 17786 | | } |
| | 17787 | |
|
| | 17788 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17789 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17790 | | public override bool Equals(object other) { |
| | 17791 | | return Equals(other as PB_PlaneShape); |
| | 17792 | | } |
| | 17793 | |
|
| | 17794 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17795 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17796 | | public bool Equals(PB_PlaneShape other) { |
| | 17797 | | if (ReferenceEquals(other, null)) { |
| | 17798 | | return false; |
| | 17799 | | } |
| | 17800 | | if (ReferenceEquals(other, this)) { |
| | 17801 | | return true; |
| | 17802 | | } |
| | 17803 | | if (WithCollisions != other.WithCollisions) return false; |
| | 17804 | | if (Visible != other.Visible) return false; |
| | 17805 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false; |
| | 17806 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false; |
| | 17807 | | if(!uvs_.Equals(other.uvs_)) return false; |
| | 17808 | | return Equals(_unknownFields, other._unknownFields); |
| | 17809 | | } |
| | 17810 | |
|
| | 17811 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17812 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17813 | | public override int GetHashCode() { |
| | 17814 | | int hash = 1; |
| | 17815 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 17816 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 17817 | | if (Width != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width); |
| | 17818 | | if (Height != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height); |
| | 17819 | | hash ^= uvs_.GetHashCode(); |
| | 17820 | | if (_unknownFields != null) { |
| | 17821 | | hash ^= _unknownFields.GetHashCode(); |
| | 17822 | | } |
| | 17823 | | return hash; |
| | 17824 | | } |
| | 17825 | |
|
| | 17826 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17827 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17828 | | public override string ToString() { |
| | 17829 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 17830 | | } |
| | 17831 | |
|
| | 17832 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17833 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17834 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 17835 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17836 | | output.WriteRawMessage(this); |
| | 17837 | | #else |
| | 17838 | | if (WithCollisions != false) { |
| | 17839 | | output.WriteRawTag(8); |
| | 17840 | | output.WriteBool(WithCollisions); |
| | 17841 | | } |
| | 17842 | | if (Visible != false) { |
| | 17843 | | output.WriteRawTag(16); |
| | 17844 | | output.WriteBool(Visible); |
| | 17845 | | } |
| | 17846 | | if (Width != 0F) { |
| | 17847 | | output.WriteRawTag(29); |
| | 17848 | | output.WriteFloat(Width); |
| | 17849 | | } |
| | 17850 | | if (Height != 0F) { |
| | 17851 | | output.WriteRawTag(37); |
| | 17852 | | output.WriteFloat(Height); |
| | 17853 | | } |
| | 17854 | | uvs_.WriteTo(output, _repeated_uvs_codec); |
| | 17855 | | if (_unknownFields != null) { |
| | 17856 | | _unknownFields.WriteTo(output); |
| | 17857 | | } |
| | 17858 | | #endif |
| | 17859 | | } |
| | 17860 | |
|
| | 17861 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17862 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17863 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17864 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 17865 | | if (WithCollisions != false) { |
| | 17866 | | output.WriteRawTag(8); |
| | 17867 | | output.WriteBool(WithCollisions); |
| | 17868 | | } |
| | 17869 | | if (Visible != false) { |
| | 17870 | | output.WriteRawTag(16); |
| | 17871 | | output.WriteBool(Visible); |
| | 17872 | | } |
| | 17873 | | if (Width != 0F) { |
| | 17874 | | output.WriteRawTag(29); |
| | 17875 | | output.WriteFloat(Width); |
| | 17876 | | } |
| | 17877 | | if (Height != 0F) { |
| | 17878 | | output.WriteRawTag(37); |
| | 17879 | | output.WriteFloat(Height); |
| | 17880 | | } |
| | 17881 | | uvs_.WriteTo(ref output, _repeated_uvs_codec); |
| | 17882 | | if (_unknownFields != null) { |
| | 17883 | | _unknownFields.WriteTo(ref output); |
| | 17884 | | } |
| | 17885 | | } |
| | 17886 | | #endif |
| | 17887 | |
|
| | 17888 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17889 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17890 | | public int CalculateSize() { |
| | 17891 | | int size = 0; |
| | 17892 | | if (WithCollisions != false) { |
| | 17893 | | size += 1 + 1; |
| | 17894 | | } |
| | 17895 | | if (Visible != false) { |
| | 17896 | | size += 1 + 1; |
| | 17897 | | } |
| | 17898 | | if (Width != 0F) { |
| | 17899 | | size += 1 + 4; |
| | 17900 | | } |
| | 17901 | | if (Height != 0F) { |
| | 17902 | | size += 1 + 4; |
| | 17903 | | } |
| | 17904 | | size += uvs_.CalculateSize(_repeated_uvs_codec); |
| | 17905 | | if (_unknownFields != null) { |
| | 17906 | | size += _unknownFields.CalculateSize(); |
| | 17907 | | } |
| | 17908 | | return size; |
| | 17909 | | } |
| | 17910 | |
|
| | 17911 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17912 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17913 | | public void MergeFrom(PB_PlaneShape other) { |
| | 17914 | | if (other == null) { |
| | 17915 | | return; |
| | 17916 | | } |
| | 17917 | | if (other.WithCollisions != false) { |
| | 17918 | | WithCollisions = other.WithCollisions; |
| | 17919 | | } |
| | 17920 | | if (other.Visible != false) { |
| | 17921 | | Visible = other.Visible; |
| | 17922 | | } |
| | 17923 | | if (other.Width != 0F) { |
| | 17924 | | Width = other.Width; |
| | 17925 | | } |
| | 17926 | | if (other.Height != 0F) { |
| | 17927 | | Height = other.Height; |
| | 17928 | | } |
| | 17929 | | uvs_.Add(other.uvs_); |
| | 17930 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 17931 | | } |
| | 17932 | |
|
| | 17933 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17934 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17935 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 17936 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17937 | | input.ReadRawMessage(this); |
| | 17938 | | #else |
| | 17939 | | uint tag; |
| | 17940 | | while ((tag = input.ReadTag()) != 0) { |
| | 17941 | | switch(tag) { |
| | 17942 | | default: |
| | 17943 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 17944 | | break; |
| | 17945 | | case 8: { |
| | 17946 | | WithCollisions = input.ReadBool(); |
| | 17947 | | break; |
| | 17948 | | } |
| | 17949 | | case 16: { |
| | 17950 | | Visible = input.ReadBool(); |
| | 17951 | | break; |
| | 17952 | | } |
| | 17953 | | case 29: { |
| | 17954 | | Width = input.ReadFloat(); |
| | 17955 | | break; |
| | 17956 | | } |
| | 17957 | | case 37: { |
| | 17958 | | Height = input.ReadFloat(); |
| | 17959 | | break; |
| | 17960 | | } |
| | 17961 | | case 42: |
| | 17962 | | case 45: { |
| | 17963 | | uvs_.AddEntriesFrom(input, _repeated_uvs_codec); |
| | 17964 | | break; |
| | 17965 | | } |
| | 17966 | | } |
| | 17967 | | } |
| | 17968 | | #endif |
| | 17969 | | } |
| | 17970 | |
|
| | 17971 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 17972 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 17973 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 17974 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 17975 | | uint tag; |
| | 17976 | | while ((tag = input.ReadTag()) != 0) { |
| | 17977 | | switch(tag) { |
| | 17978 | | default: |
| | 17979 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 17980 | | break; |
| | 17981 | | case 8: { |
| | 17982 | | WithCollisions = input.ReadBool(); |
| | 17983 | | break; |
| | 17984 | | } |
| | 17985 | | case 16: { |
| | 17986 | | Visible = input.ReadBool(); |
| | 17987 | | break; |
| | 17988 | | } |
| | 17989 | | case 29: { |
| | 17990 | | Width = input.ReadFloat(); |
| | 17991 | | break; |
| | 17992 | | } |
| | 17993 | | case 37: { |
| | 17994 | | Height = input.ReadFloat(); |
| | 17995 | | break; |
| | 17996 | | } |
| | 17997 | | case 42: |
| | 17998 | | case 45: { |
| | 17999 | | uvs_.AddEntriesFrom(ref input, _repeated_uvs_codec); |
| | 18000 | | break; |
| | 18001 | | } |
| | 18002 | | } |
| | 18003 | | } |
| | 18004 | | } |
| | 18005 | | #endif |
| | 18006 | |
|
| | 18007 | | } |
| | 18008 | |
|
| | 18009 | | public sealed partial class PB_Shape : pb::IMessage<PB_Shape> |
| | 18010 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18011 | | , pb::IBufferMessage |
| | 18012 | | #endif |
| | 18013 | | { |
| | 18014 | | private static readonly pb::MessageParser<PB_Shape> _parser = new pb::MessageParser<PB_Shape>(() => new PB_Shape()); |
| | 18015 | | private pb::UnknownFieldSet _unknownFields; |
| | 18016 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18017 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18018 | | public static pb::MessageParser<PB_Shape> Parser { get { return _parser; } } |
| | 18019 | |
|
| | 18020 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18021 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18022 | | public static pbr::MessageDescriptor Descriptor { |
| | 18023 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[50]; } |
| | 18024 | | } |
| | 18025 | |
|
| | 18026 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18027 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18028 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 18029 | | get { return Descriptor; } |
| | 18030 | | } |
| | 18031 | |
|
| | 18032 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18033 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18034 | | public PB_Shape() { |
| | 18035 | | OnConstruction(); |
| | 18036 | | } |
| | 18037 | |
|
| | 18038 | | partial void OnConstruction(); |
| | 18039 | |
|
| | 18040 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18041 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18042 | | public PB_Shape(PB_Shape other) : this() { |
| | 18043 | | withCollisions_ = other.withCollisions_; |
| | 18044 | | visible_ = other.visible_; |
| | 18045 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 18046 | | } |
| | 18047 | |
|
| | 18048 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18049 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18050 | | public PB_Shape Clone() { |
| | 18051 | | return new PB_Shape(this); |
| | 18052 | | } |
| | 18053 | |
|
| | 18054 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 18055 | | public const int WithCollisionsFieldNumber = 1; |
| | 18056 | | private bool withCollisions_; |
| | 18057 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18058 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18059 | | public bool WithCollisions { |
| | 18060 | | get { return withCollisions_; } |
| | 18061 | | set { |
| | 18062 | | withCollisions_ = value; |
| | 18063 | | } |
| | 18064 | | } |
| | 18065 | |
|
| | 18066 | | /// <summary>Field number for the "visible" field.</summary> |
| | 18067 | | public const int VisibleFieldNumber = 2; |
| | 18068 | | private bool visible_; |
| | 18069 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18070 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18071 | | public bool Visible { |
| | 18072 | | get { return visible_; } |
| | 18073 | | set { |
| | 18074 | | visible_ = value; |
| | 18075 | | } |
| | 18076 | | } |
| | 18077 | |
|
| | 18078 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18079 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18080 | | public override bool Equals(object other) { |
| | 18081 | | return Equals(other as PB_Shape); |
| | 18082 | | } |
| | 18083 | |
|
| | 18084 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18085 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18086 | | public bool Equals(PB_Shape other) { |
| | 18087 | | if (ReferenceEquals(other, null)) { |
| | 18088 | | return false; |
| | 18089 | | } |
| | 18090 | | if (ReferenceEquals(other, this)) { |
| | 18091 | | return true; |
| | 18092 | | } |
| | 18093 | | if (WithCollisions != other.WithCollisions) return false; |
| | 18094 | | if (Visible != other.Visible) return false; |
| | 18095 | | return Equals(_unknownFields, other._unknownFields); |
| | 18096 | | } |
| | 18097 | |
|
| | 18098 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18099 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18100 | | public override int GetHashCode() { |
| | 18101 | | int hash = 1; |
| | 18102 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 18103 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 18104 | | if (_unknownFields != null) { |
| | 18105 | | hash ^= _unknownFields.GetHashCode(); |
| | 18106 | | } |
| | 18107 | | return hash; |
| | 18108 | | } |
| | 18109 | |
|
| | 18110 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18111 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18112 | | public override string ToString() { |
| | 18113 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 18114 | | } |
| | 18115 | |
|
| | 18116 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18117 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18118 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 18119 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18120 | | output.WriteRawMessage(this); |
| | 18121 | | #else |
| | 18122 | | if (WithCollisions != false) { |
| | 18123 | | output.WriteRawTag(8); |
| | 18124 | | output.WriteBool(WithCollisions); |
| | 18125 | | } |
| | 18126 | | if (Visible != false) { |
| | 18127 | | output.WriteRawTag(16); |
| | 18128 | | output.WriteBool(Visible); |
| | 18129 | | } |
| | 18130 | | if (_unknownFields != null) { |
| | 18131 | | _unknownFields.WriteTo(output); |
| | 18132 | | } |
| | 18133 | | #endif |
| | 18134 | | } |
| | 18135 | |
|
| | 18136 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18137 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18138 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18139 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 18140 | | if (WithCollisions != false) { |
| | 18141 | | output.WriteRawTag(8); |
| | 18142 | | output.WriteBool(WithCollisions); |
| | 18143 | | } |
| | 18144 | | if (Visible != false) { |
| | 18145 | | output.WriteRawTag(16); |
| | 18146 | | output.WriteBool(Visible); |
| | 18147 | | } |
| | 18148 | | if (_unknownFields != null) { |
| | 18149 | | _unknownFields.WriteTo(ref output); |
| | 18150 | | } |
| | 18151 | | } |
| | 18152 | | #endif |
| | 18153 | |
|
| | 18154 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18155 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18156 | | public int CalculateSize() { |
| | 18157 | | int size = 0; |
| | 18158 | | if (WithCollisions != false) { |
| | 18159 | | size += 1 + 1; |
| | 18160 | | } |
| | 18161 | | if (Visible != false) { |
| | 18162 | | size += 1 + 1; |
| | 18163 | | } |
| | 18164 | | if (_unknownFields != null) { |
| | 18165 | | size += _unknownFields.CalculateSize(); |
| | 18166 | | } |
| | 18167 | | return size; |
| | 18168 | | } |
| | 18169 | |
|
| | 18170 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18171 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18172 | | public void MergeFrom(PB_Shape other) { |
| | 18173 | | if (other == null) { |
| | 18174 | | return; |
| | 18175 | | } |
| | 18176 | | if (other.WithCollisions != false) { |
| | 18177 | | WithCollisions = other.WithCollisions; |
| | 18178 | | } |
| | 18179 | | if (other.Visible != false) { |
| | 18180 | | Visible = other.Visible; |
| | 18181 | | } |
| | 18182 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 18183 | | } |
| | 18184 | |
|
| | 18185 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18186 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18187 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 18188 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18189 | | input.ReadRawMessage(this); |
| | 18190 | | #else |
| | 18191 | | uint tag; |
| | 18192 | | while ((tag = input.ReadTag()) != 0) { |
| | 18193 | | switch(tag) { |
| | 18194 | | default: |
| | 18195 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 18196 | | break; |
| | 18197 | | case 8: { |
| | 18198 | | WithCollisions = input.ReadBool(); |
| | 18199 | | break; |
| | 18200 | | } |
| | 18201 | | case 16: { |
| | 18202 | | Visible = input.ReadBool(); |
| | 18203 | | break; |
| | 18204 | | } |
| | 18205 | | } |
| | 18206 | | } |
| | 18207 | | #endif |
| | 18208 | | } |
| | 18209 | |
|
| | 18210 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18211 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18212 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18213 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 18214 | | uint tag; |
| | 18215 | | while ((tag = input.ReadTag()) != 0) { |
| | 18216 | | switch(tag) { |
| | 18217 | | default: |
| | 18218 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 18219 | | break; |
| | 18220 | | case 8: { |
| | 18221 | | WithCollisions = input.ReadBool(); |
| | 18222 | | break; |
| | 18223 | | } |
| | 18224 | | case 16: { |
| | 18225 | | Visible = input.ReadBool(); |
| | 18226 | | break; |
| | 18227 | | } |
| | 18228 | | } |
| | 18229 | | } |
| | 18230 | | } |
| | 18231 | | #endif |
| | 18232 | |
|
| | 18233 | | } |
| | 18234 | |
|
| | 18235 | | public sealed partial class PB_SphereShape : pb::IMessage<PB_SphereShape> |
| | 18236 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18237 | | , pb::IBufferMessage |
| | 18238 | | #endif |
| | 18239 | | { |
| | 18240 | | private static readonly pb::MessageParser<PB_SphereShape> _parser = new pb::MessageParser<PB_SphereShape>(() => new |
| | 18241 | | private pb::UnknownFieldSet _unknownFields; |
| | 18242 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18243 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18244 | | public static pb::MessageParser<PB_SphereShape> Parser { get { return _parser; } } |
| | 18245 | |
|
| | 18246 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18247 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18248 | | public static pbr::MessageDescriptor Descriptor { |
| | 18249 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[51]; } |
| | 18250 | | } |
| | 18251 | |
|
| | 18252 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18253 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18254 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 18255 | | get { return Descriptor; } |
| | 18256 | | } |
| | 18257 | |
|
| | 18258 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18259 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18260 | | public PB_SphereShape() { |
| | 18261 | | OnConstruction(); |
| | 18262 | | } |
| | 18263 | |
|
| | 18264 | | partial void OnConstruction(); |
| | 18265 | |
|
| | 18266 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18267 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18268 | | public PB_SphereShape(PB_SphereShape other) : this() { |
| | 18269 | | withCollisions_ = other.withCollisions_; |
| | 18270 | | visible_ = other.visible_; |
| | 18271 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 18272 | | } |
| | 18273 | |
|
| | 18274 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18275 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18276 | | public PB_SphereShape Clone() { |
| | 18277 | | return new PB_SphereShape(this); |
| | 18278 | | } |
| | 18279 | |
|
| | 18280 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 18281 | | public const int WithCollisionsFieldNumber = 1; |
| | 18282 | | private bool withCollisions_; |
| | 18283 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18284 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18285 | | public bool WithCollisions { |
| | 18286 | | get { return withCollisions_; } |
| | 18287 | | set { |
| | 18288 | | withCollisions_ = value; |
| | 18289 | | } |
| | 18290 | | } |
| | 18291 | |
|
| | 18292 | | /// <summary>Field number for the "visible" field.</summary> |
| | 18293 | | public const int VisibleFieldNumber = 2; |
| | 18294 | | private bool visible_; |
| | 18295 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18296 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18297 | | public bool Visible { |
| | 18298 | | get { return visible_; } |
| | 18299 | | set { |
| | 18300 | | visible_ = value; |
| | 18301 | | } |
| | 18302 | | } |
| | 18303 | |
|
| | 18304 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18305 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18306 | | public override bool Equals(object other) { |
| | 18307 | | return Equals(other as PB_SphereShape); |
| | 18308 | | } |
| | 18309 | |
|
| | 18310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18312 | | public bool Equals(PB_SphereShape other) { |
| | 18313 | | if (ReferenceEquals(other, null)) { |
| | 18314 | | return false; |
| | 18315 | | } |
| | 18316 | | if (ReferenceEquals(other, this)) { |
| | 18317 | | return true; |
| | 18318 | | } |
| | 18319 | | if (WithCollisions != other.WithCollisions) return false; |
| | 18320 | | if (Visible != other.Visible) return false; |
| | 18321 | | return Equals(_unknownFields, other._unknownFields); |
| | 18322 | | } |
| | 18323 | |
|
| | 18324 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18325 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18326 | | public override int GetHashCode() { |
| | 18327 | | int hash = 1; |
| | 18328 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 18329 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 18330 | | if (_unknownFields != null) { |
| | 18331 | | hash ^= _unknownFields.GetHashCode(); |
| | 18332 | | } |
| | 18333 | | return hash; |
| | 18334 | | } |
| | 18335 | |
|
| | 18336 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18337 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18338 | | public override string ToString() { |
| | 18339 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 18340 | | } |
| | 18341 | |
|
| | 18342 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18343 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18344 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 18345 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18346 | | output.WriteRawMessage(this); |
| | 18347 | | #else |
| | 18348 | | if (WithCollisions != false) { |
| | 18349 | | output.WriteRawTag(8); |
| | 18350 | | output.WriteBool(WithCollisions); |
| | 18351 | | } |
| | 18352 | | if (Visible != false) { |
| | 18353 | | output.WriteRawTag(16); |
| | 18354 | | output.WriteBool(Visible); |
| | 18355 | | } |
| | 18356 | | if (_unknownFields != null) { |
| | 18357 | | _unknownFields.WriteTo(output); |
| | 18358 | | } |
| | 18359 | | #endif |
| | 18360 | | } |
| | 18361 | |
|
| | 18362 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18363 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18364 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18365 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 18366 | | if (WithCollisions != false) { |
| | 18367 | | output.WriteRawTag(8); |
| | 18368 | | output.WriteBool(WithCollisions); |
| | 18369 | | } |
| | 18370 | | if (Visible != false) { |
| | 18371 | | output.WriteRawTag(16); |
| | 18372 | | output.WriteBool(Visible); |
| | 18373 | | } |
| | 18374 | | if (_unknownFields != null) { |
| | 18375 | | _unknownFields.WriteTo(ref output); |
| | 18376 | | } |
| | 18377 | | } |
| | 18378 | | #endif |
| | 18379 | |
|
| | 18380 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18381 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18382 | | public int CalculateSize() { |
| | 18383 | | int size = 0; |
| | 18384 | | if (WithCollisions != false) { |
| | 18385 | | size += 1 + 1; |
| | 18386 | | } |
| | 18387 | | if (Visible != false) { |
| | 18388 | | size += 1 + 1; |
| | 18389 | | } |
| | 18390 | | if (_unknownFields != null) { |
| | 18391 | | size += _unknownFields.CalculateSize(); |
| | 18392 | | } |
| | 18393 | | return size; |
| | 18394 | | } |
| | 18395 | |
|
| | 18396 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18397 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18398 | | public void MergeFrom(PB_SphereShape other) { |
| | 18399 | | if (other == null) { |
| | 18400 | | return; |
| | 18401 | | } |
| | 18402 | | if (other.WithCollisions != false) { |
| | 18403 | | WithCollisions = other.WithCollisions; |
| | 18404 | | } |
| | 18405 | | if (other.Visible != false) { |
| | 18406 | | Visible = other.Visible; |
| | 18407 | | } |
| | 18408 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 18409 | | } |
| | 18410 | |
|
| | 18411 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18412 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18413 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 18414 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18415 | | input.ReadRawMessage(this); |
| | 18416 | | #else |
| | 18417 | | uint tag; |
| | 18418 | | while ((tag = input.ReadTag()) != 0) { |
| | 18419 | | switch(tag) { |
| | 18420 | | default: |
| | 18421 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 18422 | | break; |
| | 18423 | | case 8: { |
| | 18424 | | WithCollisions = input.ReadBool(); |
| | 18425 | | break; |
| | 18426 | | } |
| | 18427 | | case 16: { |
| | 18428 | | Visible = input.ReadBool(); |
| | 18429 | | break; |
| | 18430 | | } |
| | 18431 | | } |
| | 18432 | | } |
| | 18433 | | #endif |
| | 18434 | | } |
| | 18435 | |
|
| | 18436 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18437 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18438 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18439 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 18440 | | uint tag; |
| | 18441 | | while ((tag = input.ReadTag()) != 0) { |
| | 18442 | | switch(tag) { |
| | 18443 | | default: |
| | 18444 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 18445 | | break; |
| | 18446 | | case 8: { |
| | 18447 | | WithCollisions = input.ReadBool(); |
| | 18448 | | break; |
| | 18449 | | } |
| | 18450 | | case 16: { |
| | 18451 | | Visible = input.ReadBool(); |
| | 18452 | | break; |
| | 18453 | | } |
| | 18454 | | } |
| | 18455 | | } |
| | 18456 | | } |
| | 18457 | | #endif |
| | 18458 | |
|
| | 18459 | | } |
| | 18460 | |
|
| | 18461 | | public sealed partial class PB_TextShape : pb::IMessage<PB_TextShape> |
| | 18462 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18463 | | , pb::IBufferMessage |
| | 18464 | | #endif |
| | 18465 | | { |
| | 18466 | | private static readonly pb::MessageParser<PB_TextShape> _parser = new pb::MessageParser<PB_TextShape>(() => new PB_T |
| | 18467 | | private pb::UnknownFieldSet _unknownFields; |
| | 18468 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18469 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18470 | | public static pb::MessageParser<PB_TextShape> Parser { get { return _parser; } } |
| | 18471 | |
|
| | 18472 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18473 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18474 | | public static pbr::MessageDescriptor Descriptor { |
| | 18475 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[52]; } |
| | 18476 | | } |
| | 18477 | |
|
| | 18478 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18479 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18480 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 18481 | | get { return Descriptor; } |
| | 18482 | | } |
| | 18483 | |
|
| | 18484 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18485 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18486 | | public PB_TextShape() { |
| | 18487 | | OnConstruction(); |
| | 18488 | | } |
| | 18489 | |
|
| | 18490 | | partial void OnConstruction(); |
| | 18491 | |
|
| | 18492 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18493 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18494 | | public PB_TextShape(PB_TextShape other) : this() { |
| | 18495 | | withCollisions_ = other.withCollisions_; |
| | 18496 | | visible_ = other.visible_; |
| | 18497 | | outlineWidth_ = other.outlineWidth_; |
| | 18498 | | outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null; |
| | 18499 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 18500 | | fontSize_ = other.fontSize_; |
| | 18501 | | fontWeight_ = other.fontWeight_; |
| | 18502 | | opacity_ = other.opacity_; |
| | 18503 | | value_ = other.value_; |
| | 18504 | | lineSpacing_ = other.lineSpacing_; |
| | 18505 | | lineCount_ = other.lineCount_; |
| | 18506 | | resizeToFit_ = other.resizeToFit_; |
| | 18507 | | textWrapping_ = other.textWrapping_; |
| | 18508 | | shadowBlur_ = other.shadowBlur_; |
| | 18509 | | shadowOffsetX_ = other.shadowOffsetX_; |
| | 18510 | | shadowOffsetY_ = other.shadowOffsetY_; |
| | 18511 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| | 18512 | | zIndex_ = other.zIndex_; |
| | 18513 | | hTextAlign_ = other.hTextAlign_; |
| | 18514 | | vTextAlign_ = other.vTextAlign_; |
| | 18515 | | width_ = other.width_; |
| | 18516 | | height_ = other.height_; |
| | 18517 | | paddingTop_ = other.paddingTop_; |
| | 18518 | | paddingRight_ = other.paddingRight_; |
| | 18519 | | paddingBottom_ = other.paddingBottom_; |
| | 18520 | | paddingLeft_ = other.paddingLeft_; |
| | 18521 | | isPickable_ = other.isPickable_; |
| | 18522 | | billboard_ = other.billboard_; |
| | 18523 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 18524 | | } |
| | 18525 | |
|
| | 18526 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18527 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18528 | | public PB_TextShape Clone() { |
| | 18529 | | return new PB_TextShape(this); |
| | 18530 | | } |
| | 18531 | |
|
| | 18532 | | /// <summary>Field number for the "withCollisions" field.</summary> |
| | 18533 | | public const int WithCollisionsFieldNumber = 1; |
| | 18534 | | private bool withCollisions_; |
| | 18535 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18536 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18537 | | public bool WithCollisions { |
| | 18538 | | get { return withCollisions_; } |
| | 18539 | | set { |
| | 18540 | | withCollisions_ = value; |
| | 18541 | | } |
| | 18542 | | } |
| | 18543 | |
|
| | 18544 | | /// <summary>Field number for the "visible" field.</summary> |
| | 18545 | | public const int VisibleFieldNumber = 2; |
| | 18546 | | private bool visible_; |
| | 18547 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18548 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18549 | | public bool Visible { |
| | 18550 | | get { return visible_; } |
| | 18551 | | set { |
| | 18552 | | visible_ = value; |
| | 18553 | | } |
| | 18554 | | } |
| | 18555 | |
|
| | 18556 | | /// <summary>Field number for the "outlineWidth" field.</summary> |
| | 18557 | | public const int OutlineWidthFieldNumber = 3; |
| | 18558 | | private float outlineWidth_; |
| | 18559 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18560 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18561 | | public float OutlineWidth { |
| | 18562 | | get { return outlineWidth_; } |
| | 18563 | | set { |
| | 18564 | | outlineWidth_ = value; |
| | 18565 | | } |
| | 18566 | | } |
| | 18567 | |
|
| | 18568 | | /// <summary>Field number for the "outlineColor" field.</summary> |
| | 18569 | | public const int OutlineColorFieldNumber = 4; |
| | 18570 | | private global::DCL.Interface.PB_Color3 outlineColor_; |
| | 18571 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18572 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18573 | | public global::DCL.Interface.PB_Color3 OutlineColor { |
| | 18574 | | get { return outlineColor_; } |
| | 18575 | | set { |
| | 18576 | | outlineColor_ = value; |
| | 18577 | | } |
| | 18578 | | } |
| | 18579 | |
|
| | 18580 | | /// <summary>Field number for the "color" field.</summary> |
| | 18581 | | public const int ColorFieldNumber = 5; |
| | 18582 | | private global::DCL.Interface.PB_Color3 color_; |
| | 18583 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18584 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18585 | | public global::DCL.Interface.PB_Color3 Color { |
| | 18586 | | get { return color_; } |
| | 18587 | | set { |
| | 18588 | | color_ = value; |
| | 18589 | | } |
| | 18590 | | } |
| | 18591 | |
|
| | 18592 | | /// <summary>Field number for the "fontSize" field.</summary> |
| | 18593 | | public const int FontSizeFieldNumber = 6; |
| | 18594 | | private float fontSize_; |
| | 18595 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18596 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18597 | | public float FontSize { |
| | 18598 | | get { return fontSize_; } |
| | 18599 | | set { |
| | 18600 | | fontSize_ = value; |
| | 18601 | | } |
| | 18602 | | } |
| | 18603 | |
|
| | 18604 | | /// <summary>Field number for the "fontWeight" field.</summary> |
| | 18605 | | public const int FontWeightFieldNumber = 7; |
| | 18606 | | private string fontWeight_ = ""; |
| | 18607 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18608 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18609 | | public string FontWeight { |
| | 18610 | | get { return fontWeight_; } |
| | 18611 | | set { |
| | 18612 | | fontWeight_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 18613 | | } |
| | 18614 | | } |
| | 18615 | |
|
| | 18616 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 18617 | | public const int OpacityFieldNumber = 8; |
| | 18618 | | private float opacity_; |
| | 18619 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18620 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18621 | | public float Opacity { |
| | 18622 | | get { return opacity_; } |
| | 18623 | | set { |
| | 18624 | | opacity_ = value; |
| | 18625 | | } |
| | 18626 | | } |
| | 18627 | |
|
| | 18628 | | /// <summary>Field number for the "value" field.</summary> |
| | 18629 | | public const int ValueFieldNumber = 9; |
| | 18630 | | private string value_ = ""; |
| | 18631 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18632 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18633 | | public string Value { |
| | 18634 | | get { return value_; } |
| | 18635 | | set { |
| | 18636 | | value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 18637 | | } |
| | 18638 | | } |
| | 18639 | |
|
| | 18640 | | /// <summary>Field number for the "lineSpacing" field.</summary> |
| | 18641 | | public const int LineSpacingFieldNumber = 10; |
| | 18642 | | private string lineSpacing_ = ""; |
| | 18643 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18644 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18645 | | public string LineSpacing { |
| | 18646 | | get { return lineSpacing_; } |
| | 18647 | | set { |
| | 18648 | | lineSpacing_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 18649 | | } |
| | 18650 | | } |
| | 18651 | |
|
| | 18652 | | /// <summary>Field number for the "lineCount" field.</summary> |
| | 18653 | | public const int LineCountFieldNumber = 11; |
| | 18654 | | private float lineCount_; |
| | 18655 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18656 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18657 | | public float LineCount { |
| | 18658 | | get { return lineCount_; } |
| | 18659 | | set { |
| | 18660 | | lineCount_ = value; |
| | 18661 | | } |
| | 18662 | | } |
| | 18663 | |
|
| | 18664 | | /// <summary>Field number for the "resizeToFit" field.</summary> |
| | 18665 | | public const int ResizeToFitFieldNumber = 12; |
| | 18666 | | private bool resizeToFit_; |
| | 18667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18669 | | public bool ResizeToFit { |
| | 18670 | | get { return resizeToFit_; } |
| | 18671 | | set { |
| | 18672 | | resizeToFit_ = value; |
| | 18673 | | } |
| | 18674 | | } |
| | 18675 | |
|
| | 18676 | | /// <summary>Field number for the "textWrapping" field.</summary> |
| | 18677 | | public const int TextWrappingFieldNumber = 13; |
| | 18678 | | private bool textWrapping_; |
| | 18679 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18680 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18681 | | public bool TextWrapping { |
| | 18682 | | get { return textWrapping_; } |
| | 18683 | | set { |
| | 18684 | | textWrapping_ = value; |
| | 18685 | | } |
| | 18686 | | } |
| | 18687 | |
|
| | 18688 | | /// <summary>Field number for the "shadowBlur" field.</summary> |
| | 18689 | | public const int ShadowBlurFieldNumber = 14; |
| | 18690 | | private float shadowBlur_; |
| | 18691 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18692 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18693 | | public float ShadowBlur { |
| | 18694 | | get { return shadowBlur_; } |
| | 18695 | | set { |
| | 18696 | | shadowBlur_ = value; |
| | 18697 | | } |
| | 18698 | | } |
| | 18699 | |
|
| | 18700 | | /// <summary>Field number for the "shadowOffsetX" field.</summary> |
| | 18701 | | public const int ShadowOffsetXFieldNumber = 15; |
| | 18702 | | private float shadowOffsetX_; |
| | 18703 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18704 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18705 | | public float ShadowOffsetX { |
| | 18706 | | get { return shadowOffsetX_; } |
| | 18707 | | set { |
| | 18708 | | shadowOffsetX_ = value; |
| | 18709 | | } |
| | 18710 | | } |
| | 18711 | |
|
| | 18712 | | /// <summary>Field number for the "shadowOffsetY" field.</summary> |
| | 18713 | | public const int ShadowOffsetYFieldNumber = 16; |
| | 18714 | | private float shadowOffsetY_; |
| | 18715 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18716 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18717 | | public float ShadowOffsetY { |
| | 18718 | | get { return shadowOffsetY_; } |
| | 18719 | | set { |
| | 18720 | | shadowOffsetY_ = value; |
| | 18721 | | } |
| | 18722 | | } |
| | 18723 | |
|
| | 18724 | | /// <summary>Field number for the "shadowColor" field.</summary> |
| | 18725 | | public const int ShadowColorFieldNumber = 17; |
| | 18726 | | private global::DCL.Interface.PB_Color3 shadowColor_; |
| | 18727 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18728 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18729 | | public global::DCL.Interface.PB_Color3 ShadowColor { |
| | 18730 | | get { return shadowColor_; } |
| | 18731 | | set { |
| | 18732 | | shadowColor_ = value; |
| | 18733 | | } |
| | 18734 | | } |
| | 18735 | |
|
| | 18736 | | /// <summary>Field number for the "zIndex" field.</summary> |
| | 18737 | | public const int ZIndexFieldNumber = 18; |
| | 18738 | | private float zIndex_; |
| | 18739 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18740 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18741 | | public float ZIndex { |
| | 18742 | | get { return zIndex_; } |
| | 18743 | | set { |
| | 18744 | | zIndex_ = value; |
| | 18745 | | } |
| | 18746 | | } |
| | 18747 | |
|
| | 18748 | | /// <summary>Field number for the "hTextAlign" field.</summary> |
| | 18749 | | public const int HTextAlignFieldNumber = 19; |
| | 18750 | | private string hTextAlign_ = ""; |
| | 18751 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18752 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18753 | | public string HTextAlign { |
| | 18754 | | get { return hTextAlign_; } |
| | 18755 | | set { |
| | 18756 | | hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 18757 | | } |
| | 18758 | | } |
| | 18759 | |
|
| | 18760 | | /// <summary>Field number for the "vTextAlign" field.</summary> |
| | 18761 | | public const int VTextAlignFieldNumber = 20; |
| | 18762 | | private string vTextAlign_ = ""; |
| | 18763 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18764 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18765 | | public string VTextAlign { |
| | 18766 | | get { return vTextAlign_; } |
| | 18767 | | set { |
| | 18768 | | vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 18769 | | } |
| | 18770 | | } |
| | 18771 | |
|
| | 18772 | | /// <summary>Field number for the "width" field.</summary> |
| | 18773 | | public const int WidthFieldNumber = 21; |
| | 18774 | | private float width_; |
| | 18775 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18776 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18777 | | public float Width { |
| | 18778 | | get { return width_; } |
| | 18779 | | set { |
| | 18780 | | width_ = value; |
| | 18781 | | } |
| | 18782 | | } |
| | 18783 | |
|
| | 18784 | | /// <summary>Field number for the "height" field.</summary> |
| | 18785 | | public const int HeightFieldNumber = 22; |
| | 18786 | | private float height_; |
| | 18787 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18788 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18789 | | public float Height { |
| | 18790 | | get { return height_; } |
| | 18791 | | set { |
| | 18792 | | height_ = value; |
| | 18793 | | } |
| | 18794 | | } |
| | 18795 | |
|
| | 18796 | | /// <summary>Field number for the "paddingTop" field.</summary> |
| | 18797 | | public const int PaddingTopFieldNumber = 23; |
| | 18798 | | private float paddingTop_; |
| | 18799 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18800 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18801 | | public float PaddingTop { |
| | 18802 | | get { return paddingTop_; } |
| | 18803 | | set { |
| | 18804 | | paddingTop_ = value; |
| | 18805 | | } |
| | 18806 | | } |
| | 18807 | |
|
| | 18808 | | /// <summary>Field number for the "paddingRight" field.</summary> |
| | 18809 | | public const int PaddingRightFieldNumber = 24; |
| | 18810 | | private float paddingRight_; |
| | 18811 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18812 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18813 | | public float PaddingRight { |
| | 18814 | | get { return paddingRight_; } |
| | 18815 | | set { |
| | 18816 | | paddingRight_ = value; |
| | 18817 | | } |
| | 18818 | | } |
| | 18819 | |
|
| | 18820 | | /// <summary>Field number for the "paddingBottom" field.</summary> |
| | 18821 | | public const int PaddingBottomFieldNumber = 25; |
| | 18822 | | private float paddingBottom_; |
| | 18823 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18824 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18825 | | public float PaddingBottom { |
| | 18826 | | get { return paddingBottom_; } |
| | 18827 | | set { |
| | 18828 | | paddingBottom_ = value; |
| | 18829 | | } |
| | 18830 | | } |
| | 18831 | |
|
| | 18832 | | /// <summary>Field number for the "paddingLeft" field.</summary> |
| | 18833 | | public const int PaddingLeftFieldNumber = 26; |
| | 18834 | | private float paddingLeft_; |
| | 18835 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18836 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18837 | | public float PaddingLeft { |
| | 18838 | | get { return paddingLeft_; } |
| | 18839 | | set { |
| | 18840 | | paddingLeft_ = value; |
| | 18841 | | } |
| | 18842 | | } |
| | 18843 | |
|
| | 18844 | | /// <summary>Field number for the "isPickable" field.</summary> |
| | 18845 | | public const int IsPickableFieldNumber = 27; |
| | 18846 | | private bool isPickable_; |
| | 18847 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18848 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18849 | | public bool IsPickable { |
| | 18850 | | get { return isPickable_; } |
| | 18851 | | set { |
| | 18852 | | isPickable_ = value; |
| | 18853 | | } |
| | 18854 | | } |
| | 18855 | |
|
| | 18856 | | /// <summary>Field number for the "billboard" field.</summary> |
| | 18857 | | public const int BillboardFieldNumber = 28; |
| | 18858 | | private bool billboard_; |
| | 18859 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18860 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18861 | | public bool Billboard { |
| | 18862 | | get { return billboard_; } |
| | 18863 | | set { |
| | 18864 | | billboard_ = value; |
| | 18865 | | } |
| | 18866 | | } |
| | 18867 | |
|
| | 18868 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18869 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18870 | | public override bool Equals(object other) { |
| | 18871 | | return Equals(other as PB_TextShape); |
| | 18872 | | } |
| | 18873 | |
|
| | 18874 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18875 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18876 | | public bool Equals(PB_TextShape other) { |
| | 18877 | | if (ReferenceEquals(other, null)) { |
| | 18878 | | return false; |
| | 18879 | | } |
| | 18880 | | if (ReferenceEquals(other, this)) { |
| | 18881 | | return true; |
| | 18882 | | } |
| | 18883 | | if (WithCollisions != other.WithCollisions) return false; |
| | 18884 | | if (Visible != other.Visible) return false; |
| | 18885 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return |
| | 18886 | | if (!object.Equals(OutlineColor, other.OutlineColor)) return false; |
| | 18887 | | if (!object.Equals(Color, other.Color)) return false; |
| | 18888 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| | 18889 | | if (FontWeight != other.FontWeight) return false; |
| | 18890 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 18891 | | if (Value != other.Value) return false; |
| | 18892 | | if (LineSpacing != other.LineSpacing) return false; |
| | 18893 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineCount, other.LineCount)) return false |
| | 18894 | | if (ResizeToFit != other.ResizeToFit) return false; |
| | 18895 | | if (TextWrapping != other.TextWrapping) return false; |
| | 18896 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| | 18897 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| | 18898 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| | 18899 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| | 18900 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ZIndex, other.ZIndex)) return false; |
| | 18901 | | if (HTextAlign != other.HTextAlign) return false; |
| | 18902 | | if (VTextAlign != other.VTextAlign) return false; |
| | 18903 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Width, other.Width)) return false; |
| | 18904 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Height, other.Height)) return false; |
| | 18905 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 18906 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 18907 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 18908 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 18909 | | if (IsPickable != other.IsPickable) return false; |
| | 18910 | | if (Billboard != other.Billboard) return false; |
| | 18911 | | return Equals(_unknownFields, other._unknownFields); |
| | 18912 | | } |
| | 18913 | |
|
| | 18914 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18915 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18916 | | public override int GetHashCode() { |
| | 18917 | | int hash = 1; |
| | 18918 | | if (WithCollisions != false) hash ^= WithCollisions.GetHashCode(); |
| | 18919 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 18920 | | if (OutlineWidth != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWi |
| | 18921 | | if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode(); |
| | 18922 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 18923 | | if (FontSize != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| | 18924 | | if (FontWeight.Length != 0) hash ^= FontWeight.GetHashCode(); |
| | 18925 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 18926 | | if (Value.Length != 0) hash ^= Value.GetHashCode(); |
| | 18927 | | if (LineSpacing.Length != 0) hash ^= LineSpacing.GetHashCode(); |
| | 18928 | | if (LineCount != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineCount); |
| | 18929 | | if (ResizeToFit != false) hash ^= ResizeToFit.GetHashCode(); |
| | 18930 | | if (TextWrapping != false) hash ^= TextWrapping.GetHashCode(); |
| | 18931 | | if (ShadowBlur != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur) |
| | 18932 | | if (ShadowOffsetX != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOf |
| | 18933 | | if (ShadowOffsetY != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOf |
| | 18934 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| | 18935 | | if (ZIndex != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ZIndex); |
| | 18936 | | if (HTextAlign.Length != 0) hash ^= HTextAlign.GetHashCode(); |
| | 18937 | | if (VTextAlign.Length != 0) hash ^= VTextAlign.GetHashCode(); |
| | 18938 | | if (Width != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Width); |
| | 18939 | | if (Height != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Height); |
| | 18940 | | if (PaddingTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop) |
| | 18941 | | if (PaddingRight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRi |
| | 18942 | | if (PaddingBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingB |
| | 18943 | | if (PaddingLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLef |
| | 18944 | | if (IsPickable != false) hash ^= IsPickable.GetHashCode(); |
| | 18945 | | if (Billboard != false) hash ^= Billboard.GetHashCode(); |
| | 18946 | | if (_unknownFields != null) { |
| | 18947 | | hash ^= _unknownFields.GetHashCode(); |
| | 18948 | | } |
| | 18949 | | return hash; |
| | 18950 | | } |
| | 18951 | |
|
| | 18952 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18953 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18954 | | public override string ToString() { |
| | 18955 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 18956 | | } |
| | 18957 | |
|
| | 18958 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 18959 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 18960 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 18961 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 18962 | | output.WriteRawMessage(this); |
| | 18963 | | #else |
| | 18964 | | if (WithCollisions != false) { |
| | 18965 | | output.WriteRawTag(8); |
| | 18966 | | output.WriteBool(WithCollisions); |
| | 18967 | | } |
| | 18968 | | if (Visible != false) { |
| | 18969 | | output.WriteRawTag(16); |
| | 18970 | | output.WriteBool(Visible); |
| | 18971 | | } |
| | 18972 | | if (OutlineWidth != 0F) { |
| | 18973 | | output.WriteRawTag(29); |
| | 18974 | | output.WriteFloat(OutlineWidth); |
| | 18975 | | } |
| | 18976 | | if (outlineColor_ != null) { |
| | 18977 | | output.WriteRawTag(34); |
| | 18978 | | output.WriteMessage(OutlineColor); |
| | 18979 | | } |
| | 18980 | | if (color_ != null) { |
| | 18981 | | output.WriteRawTag(42); |
| | 18982 | | output.WriteMessage(Color); |
| | 18983 | | } |
| | 18984 | | if (FontSize != 0F) { |
| | 18985 | | output.WriteRawTag(53); |
| | 18986 | | output.WriteFloat(FontSize); |
| | 18987 | | } |
| | 18988 | | if (FontWeight.Length != 0) { |
| | 18989 | | output.WriteRawTag(58); |
| | 18990 | | output.WriteString(FontWeight); |
| | 18991 | | } |
| | 18992 | | if (Opacity != 0F) { |
| | 18993 | | output.WriteRawTag(69); |
| | 18994 | | output.WriteFloat(Opacity); |
| | 18995 | | } |
| | 18996 | | if (Value.Length != 0) { |
| | 18997 | | output.WriteRawTag(74); |
| | 18998 | | output.WriteString(Value); |
| | 18999 | | } |
| | 19000 | | if (LineSpacing.Length != 0) { |
| | 19001 | | output.WriteRawTag(82); |
| | 19002 | | output.WriteString(LineSpacing); |
| | 19003 | | } |
| | 19004 | | if (LineCount != 0F) { |
| | 19005 | | output.WriteRawTag(93); |
| | 19006 | | output.WriteFloat(LineCount); |
| | 19007 | | } |
| | 19008 | | if (ResizeToFit != false) { |
| | 19009 | | output.WriteRawTag(96); |
| | 19010 | | output.WriteBool(ResizeToFit); |
| | 19011 | | } |
| | 19012 | | if (TextWrapping != false) { |
| | 19013 | | output.WriteRawTag(104); |
| | 19014 | | output.WriteBool(TextWrapping); |
| | 19015 | | } |
| | 19016 | | if (ShadowBlur != 0F) { |
| | 19017 | | output.WriteRawTag(117); |
| | 19018 | | output.WriteFloat(ShadowBlur); |
| | 19019 | | } |
| | 19020 | | if (ShadowOffsetX != 0F) { |
| | 19021 | | output.WriteRawTag(125); |
| | 19022 | | output.WriteFloat(ShadowOffsetX); |
| | 19023 | | } |
| | 19024 | | if (ShadowOffsetY != 0F) { |
| | 19025 | | output.WriteRawTag(133, 1); |
| | 19026 | | output.WriteFloat(ShadowOffsetY); |
| | 19027 | | } |
| | 19028 | | if (shadowColor_ != null) { |
| | 19029 | | output.WriteRawTag(138, 1); |
| | 19030 | | output.WriteMessage(ShadowColor); |
| | 19031 | | } |
| | 19032 | | if (ZIndex != 0F) { |
| | 19033 | | output.WriteRawTag(149, 1); |
| | 19034 | | output.WriteFloat(ZIndex); |
| | 19035 | | } |
| | 19036 | | if (HTextAlign.Length != 0) { |
| | 19037 | | output.WriteRawTag(154, 1); |
| | 19038 | | output.WriteString(HTextAlign); |
| | 19039 | | } |
| | 19040 | | if (VTextAlign.Length != 0) { |
| | 19041 | | output.WriteRawTag(162, 1); |
| | 19042 | | output.WriteString(VTextAlign); |
| | 19043 | | } |
| | 19044 | | if (Width != 0F) { |
| | 19045 | | output.WriteRawTag(173, 1); |
| | 19046 | | output.WriteFloat(Width); |
| | 19047 | | } |
| | 19048 | | if (Height != 0F) { |
| | 19049 | | output.WriteRawTag(181, 1); |
| | 19050 | | output.WriteFloat(Height); |
| | 19051 | | } |
| | 19052 | | if (PaddingTop != 0F) { |
| | 19053 | | output.WriteRawTag(189, 1); |
| | 19054 | | output.WriteFloat(PaddingTop); |
| | 19055 | | } |
| | 19056 | | if (PaddingRight != 0F) { |
| | 19057 | | output.WriteRawTag(197, 1); |
| | 19058 | | output.WriteFloat(PaddingRight); |
| | 19059 | | } |
| | 19060 | | if (PaddingBottom != 0F) { |
| | 19061 | | output.WriteRawTag(205, 1); |
| | 19062 | | output.WriteFloat(PaddingBottom); |
| | 19063 | | } |
| | 19064 | | if (PaddingLeft != 0F) { |
| | 19065 | | output.WriteRawTag(213, 1); |
| | 19066 | | output.WriteFloat(PaddingLeft); |
| | 19067 | | } |
| | 19068 | | if (IsPickable != false) { |
| | 19069 | | output.WriteRawTag(216, 1); |
| | 19070 | | output.WriteBool(IsPickable); |
| | 19071 | | } |
| | 19072 | | if (Billboard != false) { |
| | 19073 | | output.WriteRawTag(224, 1); |
| | 19074 | | output.WriteBool(Billboard); |
| | 19075 | | } |
| | 19076 | | if (_unknownFields != null) { |
| | 19077 | | _unknownFields.WriteTo(output); |
| | 19078 | | } |
| | 19079 | | #endif |
| | 19080 | | } |
| | 19081 | |
|
| | 19082 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19083 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19084 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19085 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 19086 | | if (WithCollisions != false) { |
| | 19087 | | output.WriteRawTag(8); |
| | 19088 | | output.WriteBool(WithCollisions); |
| | 19089 | | } |
| | 19090 | | if (Visible != false) { |
| | 19091 | | output.WriteRawTag(16); |
| | 19092 | | output.WriteBool(Visible); |
| | 19093 | | } |
| | 19094 | | if (OutlineWidth != 0F) { |
| | 19095 | | output.WriteRawTag(29); |
| | 19096 | | output.WriteFloat(OutlineWidth); |
| | 19097 | | } |
| | 19098 | | if (outlineColor_ != null) { |
| | 19099 | | output.WriteRawTag(34); |
| | 19100 | | output.WriteMessage(OutlineColor); |
| | 19101 | | } |
| | 19102 | | if (color_ != null) { |
| | 19103 | | output.WriteRawTag(42); |
| | 19104 | | output.WriteMessage(Color); |
| | 19105 | | } |
| | 19106 | | if (FontSize != 0F) { |
| | 19107 | | output.WriteRawTag(53); |
| | 19108 | | output.WriteFloat(FontSize); |
| | 19109 | | } |
| | 19110 | | if (FontWeight.Length != 0) { |
| | 19111 | | output.WriteRawTag(58); |
| | 19112 | | output.WriteString(FontWeight); |
| | 19113 | | } |
| | 19114 | | if (Opacity != 0F) { |
| | 19115 | | output.WriteRawTag(69); |
| | 19116 | | output.WriteFloat(Opacity); |
| | 19117 | | } |
| | 19118 | | if (Value.Length != 0) { |
| | 19119 | | output.WriteRawTag(74); |
| | 19120 | | output.WriteString(Value); |
| | 19121 | | } |
| | 19122 | | if (LineSpacing.Length != 0) { |
| | 19123 | | output.WriteRawTag(82); |
| | 19124 | | output.WriteString(LineSpacing); |
| | 19125 | | } |
| | 19126 | | if (LineCount != 0F) { |
| | 19127 | | output.WriteRawTag(93); |
| | 19128 | | output.WriteFloat(LineCount); |
| | 19129 | | } |
| | 19130 | | if (ResizeToFit != false) { |
| | 19131 | | output.WriteRawTag(96); |
| | 19132 | | output.WriteBool(ResizeToFit); |
| | 19133 | | } |
| | 19134 | | if (TextWrapping != false) { |
| | 19135 | | output.WriteRawTag(104); |
| | 19136 | | output.WriteBool(TextWrapping); |
| | 19137 | | } |
| | 19138 | | if (ShadowBlur != 0F) { |
| | 19139 | | output.WriteRawTag(117); |
| | 19140 | | output.WriteFloat(ShadowBlur); |
| | 19141 | | } |
| | 19142 | | if (ShadowOffsetX != 0F) { |
| | 19143 | | output.WriteRawTag(125); |
| | 19144 | | output.WriteFloat(ShadowOffsetX); |
| | 19145 | | } |
| | 19146 | | if (ShadowOffsetY != 0F) { |
| | 19147 | | output.WriteRawTag(133, 1); |
| | 19148 | | output.WriteFloat(ShadowOffsetY); |
| | 19149 | | } |
| | 19150 | | if (shadowColor_ != null) { |
| | 19151 | | output.WriteRawTag(138, 1); |
| | 19152 | | output.WriteMessage(ShadowColor); |
| | 19153 | | } |
| | 19154 | | if (ZIndex != 0F) { |
| | 19155 | | output.WriteRawTag(149, 1); |
| | 19156 | | output.WriteFloat(ZIndex); |
| | 19157 | | } |
| | 19158 | | if (HTextAlign.Length != 0) { |
| | 19159 | | output.WriteRawTag(154, 1); |
| | 19160 | | output.WriteString(HTextAlign); |
| | 19161 | | } |
| | 19162 | | if (VTextAlign.Length != 0) { |
| | 19163 | | output.WriteRawTag(162, 1); |
| | 19164 | | output.WriteString(VTextAlign); |
| | 19165 | | } |
| | 19166 | | if (Width != 0F) { |
| | 19167 | | output.WriteRawTag(173, 1); |
| | 19168 | | output.WriteFloat(Width); |
| | 19169 | | } |
| | 19170 | | if (Height != 0F) { |
| | 19171 | | output.WriteRawTag(181, 1); |
| | 19172 | | output.WriteFloat(Height); |
| | 19173 | | } |
| | 19174 | | if (PaddingTop != 0F) { |
| | 19175 | | output.WriteRawTag(189, 1); |
| | 19176 | | output.WriteFloat(PaddingTop); |
| | 19177 | | } |
| | 19178 | | if (PaddingRight != 0F) { |
| | 19179 | | output.WriteRawTag(197, 1); |
| | 19180 | | output.WriteFloat(PaddingRight); |
| | 19181 | | } |
| | 19182 | | if (PaddingBottom != 0F) { |
| | 19183 | | output.WriteRawTag(205, 1); |
| | 19184 | | output.WriteFloat(PaddingBottom); |
| | 19185 | | } |
| | 19186 | | if (PaddingLeft != 0F) { |
| | 19187 | | output.WriteRawTag(213, 1); |
| | 19188 | | output.WriteFloat(PaddingLeft); |
| | 19189 | | } |
| | 19190 | | if (IsPickable != false) { |
| | 19191 | | output.WriteRawTag(216, 1); |
| | 19192 | | output.WriteBool(IsPickable); |
| | 19193 | | } |
| | 19194 | | if (Billboard != false) { |
| | 19195 | | output.WriteRawTag(224, 1); |
| | 19196 | | output.WriteBool(Billboard); |
| | 19197 | | } |
| | 19198 | | if (_unknownFields != null) { |
| | 19199 | | _unknownFields.WriteTo(ref output); |
| | 19200 | | } |
| | 19201 | | } |
| | 19202 | | #endif |
| | 19203 | |
|
| | 19204 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19205 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19206 | | public int CalculateSize() { |
| | 19207 | | int size = 0; |
| | 19208 | | if (WithCollisions != false) { |
| | 19209 | | size += 1 + 1; |
| | 19210 | | } |
| | 19211 | | if (Visible != false) { |
| | 19212 | | size += 1 + 1; |
| | 19213 | | } |
| | 19214 | | if (OutlineWidth != 0F) { |
| | 19215 | | size += 1 + 4; |
| | 19216 | | } |
| | 19217 | | if (outlineColor_ != null) { |
| | 19218 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor); |
| | 19219 | | } |
| | 19220 | | if (color_ != null) { |
| | 19221 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 19222 | | } |
| | 19223 | | if (FontSize != 0F) { |
| | 19224 | | size += 1 + 4; |
| | 19225 | | } |
| | 19226 | | if (FontWeight.Length != 0) { |
| | 19227 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(FontWeight); |
| | 19228 | | } |
| | 19229 | | if (Opacity != 0F) { |
| | 19230 | | size += 1 + 4; |
| | 19231 | | } |
| | 19232 | | if (Value.Length != 0) { |
| | 19233 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); |
| | 19234 | | } |
| | 19235 | | if (LineSpacing.Length != 0) { |
| | 19236 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(LineSpacing); |
| | 19237 | | } |
| | 19238 | | if (LineCount != 0F) { |
| | 19239 | | size += 1 + 4; |
| | 19240 | | } |
| | 19241 | | if (ResizeToFit != false) { |
| | 19242 | | size += 1 + 1; |
| | 19243 | | } |
| | 19244 | | if (TextWrapping != false) { |
| | 19245 | | size += 1 + 1; |
| | 19246 | | } |
| | 19247 | | if (ShadowBlur != 0F) { |
| | 19248 | | size += 1 + 4; |
| | 19249 | | } |
| | 19250 | | if (ShadowOffsetX != 0F) { |
| | 19251 | | size += 1 + 4; |
| | 19252 | | } |
| | 19253 | | if (ShadowOffsetY != 0F) { |
| | 19254 | | size += 2 + 4; |
| | 19255 | | } |
| | 19256 | | if (shadowColor_ != null) { |
| | 19257 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 19258 | | } |
| | 19259 | | if (ZIndex != 0F) { |
| | 19260 | | size += 2 + 4; |
| | 19261 | | } |
| | 19262 | | if (HTextAlign.Length != 0) { |
| | 19263 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(HTextAlign); |
| | 19264 | | } |
| | 19265 | | if (VTextAlign.Length != 0) { |
| | 19266 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(VTextAlign); |
| | 19267 | | } |
| | 19268 | | if (Width != 0F) { |
| | 19269 | | size += 2 + 4; |
| | 19270 | | } |
| | 19271 | | if (Height != 0F) { |
| | 19272 | | size += 2 + 4; |
| | 19273 | | } |
| | 19274 | | if (PaddingTop != 0F) { |
| | 19275 | | size += 2 + 4; |
| | 19276 | | } |
| | 19277 | | if (PaddingRight != 0F) { |
| | 19278 | | size += 2 + 4; |
| | 19279 | | } |
| | 19280 | | if (PaddingBottom != 0F) { |
| | 19281 | | size += 2 + 4; |
| | 19282 | | } |
| | 19283 | | if (PaddingLeft != 0F) { |
| | 19284 | | size += 2 + 4; |
| | 19285 | | } |
| | 19286 | | if (IsPickable != false) { |
| | 19287 | | size += 2 + 1; |
| | 19288 | | } |
| | 19289 | | if (Billboard != false) { |
| | 19290 | | size += 2 + 1; |
| | 19291 | | } |
| | 19292 | | if (_unknownFields != null) { |
| | 19293 | | size += _unknownFields.CalculateSize(); |
| | 19294 | | } |
| | 19295 | | return size; |
| | 19296 | | } |
| | 19297 | |
|
| | 19298 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19299 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19300 | | public void MergeFrom(PB_TextShape other) { |
| | 19301 | | if (other == null) { |
| | 19302 | | return; |
| | 19303 | | } |
| | 19304 | | if (other.WithCollisions != false) { |
| | 19305 | | WithCollisions = other.WithCollisions; |
| | 19306 | | } |
| | 19307 | | if (other.Visible != false) { |
| | 19308 | | Visible = other.Visible; |
| | 19309 | | } |
| | 19310 | | if (other.OutlineWidth != 0F) { |
| | 19311 | | OutlineWidth = other.OutlineWidth; |
| | 19312 | | } |
| | 19313 | | if (other.outlineColor_ != null) { |
| | 19314 | | if (outlineColor_ == null) { |
| | 19315 | | OutlineColor = new global::DCL.Interface.PB_Color3(); |
| | 19316 | | } |
| | 19317 | | OutlineColor.MergeFrom(other.OutlineColor); |
| | 19318 | | } |
| | 19319 | | if (other.color_ != null) { |
| | 19320 | | if (color_ == null) { |
| | 19321 | | Color = new global::DCL.Interface.PB_Color3(); |
| | 19322 | | } |
| | 19323 | | Color.MergeFrom(other.Color); |
| | 19324 | | } |
| | 19325 | | if (other.FontSize != 0F) { |
| | 19326 | | FontSize = other.FontSize; |
| | 19327 | | } |
| | 19328 | | if (other.FontWeight.Length != 0) { |
| | 19329 | | FontWeight = other.FontWeight; |
| | 19330 | | } |
| | 19331 | | if (other.Opacity != 0F) { |
| | 19332 | | Opacity = other.Opacity; |
| | 19333 | | } |
| | 19334 | | if (other.Value.Length != 0) { |
| | 19335 | | Value = other.Value; |
| | 19336 | | } |
| | 19337 | | if (other.LineSpacing.Length != 0) { |
| | 19338 | | LineSpacing = other.LineSpacing; |
| | 19339 | | } |
| | 19340 | | if (other.LineCount != 0F) { |
| | 19341 | | LineCount = other.LineCount; |
| | 19342 | | } |
| | 19343 | | if (other.ResizeToFit != false) { |
| | 19344 | | ResizeToFit = other.ResizeToFit; |
| | 19345 | | } |
| | 19346 | | if (other.TextWrapping != false) { |
| | 19347 | | TextWrapping = other.TextWrapping; |
| | 19348 | | } |
| | 19349 | | if (other.ShadowBlur != 0F) { |
| | 19350 | | ShadowBlur = other.ShadowBlur; |
| | 19351 | | } |
| | 19352 | | if (other.ShadowOffsetX != 0F) { |
| | 19353 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 19354 | | } |
| | 19355 | | if (other.ShadowOffsetY != 0F) { |
| | 19356 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 19357 | | } |
| | 19358 | | if (other.shadowColor_ != null) { |
| | 19359 | | if (shadowColor_ == null) { |
| | 19360 | | ShadowColor = new global::DCL.Interface.PB_Color3(); |
| | 19361 | | } |
| | 19362 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 19363 | | } |
| | 19364 | | if (other.ZIndex != 0F) { |
| | 19365 | | ZIndex = other.ZIndex; |
| | 19366 | | } |
| | 19367 | | if (other.HTextAlign.Length != 0) { |
| | 19368 | | HTextAlign = other.HTextAlign; |
| | 19369 | | } |
| | 19370 | | if (other.VTextAlign.Length != 0) { |
| | 19371 | | VTextAlign = other.VTextAlign; |
| | 19372 | | } |
| | 19373 | | if (other.Width != 0F) { |
| | 19374 | | Width = other.Width; |
| | 19375 | | } |
| | 19376 | | if (other.Height != 0F) { |
| | 19377 | | Height = other.Height; |
| | 19378 | | } |
| | 19379 | | if (other.PaddingTop != 0F) { |
| | 19380 | | PaddingTop = other.PaddingTop; |
| | 19381 | | } |
| | 19382 | | if (other.PaddingRight != 0F) { |
| | 19383 | | PaddingRight = other.PaddingRight; |
| | 19384 | | } |
| | 19385 | | if (other.PaddingBottom != 0F) { |
| | 19386 | | PaddingBottom = other.PaddingBottom; |
| | 19387 | | } |
| | 19388 | | if (other.PaddingLeft != 0F) { |
| | 19389 | | PaddingLeft = other.PaddingLeft; |
| | 19390 | | } |
| | 19391 | | if (other.IsPickable != false) { |
| | 19392 | | IsPickable = other.IsPickable; |
| | 19393 | | } |
| | 19394 | | if (other.Billboard != false) { |
| | 19395 | | Billboard = other.Billboard; |
| | 19396 | | } |
| | 19397 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 19398 | | } |
| | 19399 | |
|
| | 19400 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19401 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19402 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 19403 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19404 | | input.ReadRawMessage(this); |
| | 19405 | | #else |
| | 19406 | | uint tag; |
| | 19407 | | while ((tag = input.ReadTag()) != 0) { |
| | 19408 | | switch(tag) { |
| | 19409 | | default: |
| | 19410 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 19411 | | break; |
| | 19412 | | case 8: { |
| | 19413 | | WithCollisions = input.ReadBool(); |
| | 19414 | | break; |
| | 19415 | | } |
| | 19416 | | case 16: { |
| | 19417 | | Visible = input.ReadBool(); |
| | 19418 | | break; |
| | 19419 | | } |
| | 19420 | | case 29: { |
| | 19421 | | OutlineWidth = input.ReadFloat(); |
| | 19422 | | break; |
| | 19423 | | } |
| | 19424 | | case 34: { |
| | 19425 | | if (outlineColor_ == null) { |
| | 19426 | | OutlineColor = new global::DCL.Interface.PB_Color3(); |
| | 19427 | | } |
| | 19428 | | input.ReadMessage(OutlineColor); |
| | 19429 | | break; |
| | 19430 | | } |
| | 19431 | | case 42: { |
| | 19432 | | if (color_ == null) { |
| | 19433 | | Color = new global::DCL.Interface.PB_Color3(); |
| | 19434 | | } |
| | 19435 | | input.ReadMessage(Color); |
| | 19436 | | break; |
| | 19437 | | } |
| | 19438 | | case 53: { |
| | 19439 | | FontSize = input.ReadFloat(); |
| | 19440 | | break; |
| | 19441 | | } |
| | 19442 | | case 58: { |
| | 19443 | | FontWeight = input.ReadString(); |
| | 19444 | | break; |
| | 19445 | | } |
| | 19446 | | case 69: { |
| | 19447 | | Opacity = input.ReadFloat(); |
| | 19448 | | break; |
| | 19449 | | } |
| | 19450 | | case 74: { |
| | 19451 | | Value = input.ReadString(); |
| | 19452 | | break; |
| | 19453 | | } |
| | 19454 | | case 82: { |
| | 19455 | | LineSpacing = input.ReadString(); |
| | 19456 | | break; |
| | 19457 | | } |
| | 19458 | | case 93: { |
| | 19459 | | LineCount = input.ReadFloat(); |
| | 19460 | | break; |
| | 19461 | | } |
| | 19462 | | case 96: { |
| | 19463 | | ResizeToFit = input.ReadBool(); |
| | 19464 | | break; |
| | 19465 | | } |
| | 19466 | | case 104: { |
| | 19467 | | TextWrapping = input.ReadBool(); |
| | 19468 | | break; |
| | 19469 | | } |
| | 19470 | | case 117: { |
| | 19471 | | ShadowBlur = input.ReadFloat(); |
| | 19472 | | break; |
| | 19473 | | } |
| | 19474 | | case 125: { |
| | 19475 | | ShadowOffsetX = input.ReadFloat(); |
| | 19476 | | break; |
| | 19477 | | } |
| | 19478 | | case 133: { |
| | 19479 | | ShadowOffsetY = input.ReadFloat(); |
| | 19480 | | break; |
| | 19481 | | } |
| | 19482 | | case 138: { |
| | 19483 | | if (shadowColor_ == null) { |
| | 19484 | | ShadowColor = new global::DCL.Interface.PB_Color3(); |
| | 19485 | | } |
| | 19486 | | input.ReadMessage(ShadowColor); |
| | 19487 | | break; |
| | 19488 | | } |
| | 19489 | | case 149: { |
| | 19490 | | ZIndex = input.ReadFloat(); |
| | 19491 | | break; |
| | 19492 | | } |
| | 19493 | | case 154: { |
| | 19494 | | HTextAlign = input.ReadString(); |
| | 19495 | | break; |
| | 19496 | | } |
| | 19497 | | case 162: { |
| | 19498 | | VTextAlign = input.ReadString(); |
| | 19499 | | break; |
| | 19500 | | } |
| | 19501 | | case 173: { |
| | 19502 | | Width = input.ReadFloat(); |
| | 19503 | | break; |
| | 19504 | | } |
| | 19505 | | case 181: { |
| | 19506 | | Height = input.ReadFloat(); |
| | 19507 | | break; |
| | 19508 | | } |
| | 19509 | | case 189: { |
| | 19510 | | PaddingTop = input.ReadFloat(); |
| | 19511 | | break; |
| | 19512 | | } |
| | 19513 | | case 197: { |
| | 19514 | | PaddingRight = input.ReadFloat(); |
| | 19515 | | break; |
| | 19516 | | } |
| | 19517 | | case 205: { |
| | 19518 | | PaddingBottom = input.ReadFloat(); |
| | 19519 | | break; |
| | 19520 | | } |
| | 19521 | | case 213: { |
| | 19522 | | PaddingLeft = input.ReadFloat(); |
| | 19523 | | break; |
| | 19524 | | } |
| | 19525 | | case 216: { |
| | 19526 | | IsPickable = input.ReadBool(); |
| | 19527 | | break; |
| | 19528 | | } |
| | 19529 | | case 224: { |
| | 19530 | | Billboard = input.ReadBool(); |
| | 19531 | | break; |
| | 19532 | | } |
| | 19533 | | } |
| | 19534 | | } |
| | 19535 | | #endif |
| | 19536 | | } |
| | 19537 | |
|
| | 19538 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19539 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19540 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19541 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 19542 | | uint tag; |
| | 19543 | | while ((tag = input.ReadTag()) != 0) { |
| | 19544 | | switch(tag) { |
| | 19545 | | default: |
| | 19546 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 19547 | | break; |
| | 19548 | | case 8: { |
| | 19549 | | WithCollisions = input.ReadBool(); |
| | 19550 | | break; |
| | 19551 | | } |
| | 19552 | | case 16: { |
| | 19553 | | Visible = input.ReadBool(); |
| | 19554 | | break; |
| | 19555 | | } |
| | 19556 | | case 29: { |
| | 19557 | | OutlineWidth = input.ReadFloat(); |
| | 19558 | | break; |
| | 19559 | | } |
| | 19560 | | case 34: { |
| | 19561 | | if (outlineColor_ == null) { |
| | 19562 | | OutlineColor = new global::DCL.Interface.PB_Color3(); |
| | 19563 | | } |
| | 19564 | | input.ReadMessage(OutlineColor); |
| | 19565 | | break; |
| | 19566 | | } |
| | 19567 | | case 42: { |
| | 19568 | | if (color_ == null) { |
| | 19569 | | Color = new global::DCL.Interface.PB_Color3(); |
| | 19570 | | } |
| | 19571 | | input.ReadMessage(Color); |
| | 19572 | | break; |
| | 19573 | | } |
| | 19574 | | case 53: { |
| | 19575 | | FontSize = input.ReadFloat(); |
| | 19576 | | break; |
| | 19577 | | } |
| | 19578 | | case 58: { |
| | 19579 | | FontWeight = input.ReadString(); |
| | 19580 | | break; |
| | 19581 | | } |
| | 19582 | | case 69: { |
| | 19583 | | Opacity = input.ReadFloat(); |
| | 19584 | | break; |
| | 19585 | | } |
| | 19586 | | case 74: { |
| | 19587 | | Value = input.ReadString(); |
| | 19588 | | break; |
| | 19589 | | } |
| | 19590 | | case 82: { |
| | 19591 | | LineSpacing = input.ReadString(); |
| | 19592 | | break; |
| | 19593 | | } |
| | 19594 | | case 93: { |
| | 19595 | | LineCount = input.ReadFloat(); |
| | 19596 | | break; |
| | 19597 | | } |
| | 19598 | | case 96: { |
| | 19599 | | ResizeToFit = input.ReadBool(); |
| | 19600 | | break; |
| | 19601 | | } |
| | 19602 | | case 104: { |
| | 19603 | | TextWrapping = input.ReadBool(); |
| | 19604 | | break; |
| | 19605 | | } |
| | 19606 | | case 117: { |
| | 19607 | | ShadowBlur = input.ReadFloat(); |
| | 19608 | | break; |
| | 19609 | | } |
| | 19610 | | case 125: { |
| | 19611 | | ShadowOffsetX = input.ReadFloat(); |
| | 19612 | | break; |
| | 19613 | | } |
| | 19614 | | case 133: { |
| | 19615 | | ShadowOffsetY = input.ReadFloat(); |
| | 19616 | | break; |
| | 19617 | | } |
| | 19618 | | case 138: { |
| | 19619 | | if (shadowColor_ == null) { |
| | 19620 | | ShadowColor = new global::DCL.Interface.PB_Color3(); |
| | 19621 | | } |
| | 19622 | | input.ReadMessage(ShadowColor); |
| | 19623 | | break; |
| | 19624 | | } |
| | 19625 | | case 149: { |
| | 19626 | | ZIndex = input.ReadFloat(); |
| | 19627 | | break; |
| | 19628 | | } |
| | 19629 | | case 154: { |
| | 19630 | | HTextAlign = input.ReadString(); |
| | 19631 | | break; |
| | 19632 | | } |
| | 19633 | | case 162: { |
| | 19634 | | VTextAlign = input.ReadString(); |
| | 19635 | | break; |
| | 19636 | | } |
| | 19637 | | case 173: { |
| | 19638 | | Width = input.ReadFloat(); |
| | 19639 | | break; |
| | 19640 | | } |
| | 19641 | | case 181: { |
| | 19642 | | Height = input.ReadFloat(); |
| | 19643 | | break; |
| | 19644 | | } |
| | 19645 | | case 189: { |
| | 19646 | | PaddingTop = input.ReadFloat(); |
| | 19647 | | break; |
| | 19648 | | } |
| | 19649 | | case 197: { |
| | 19650 | | PaddingRight = input.ReadFloat(); |
| | 19651 | | break; |
| | 19652 | | } |
| | 19653 | | case 205: { |
| | 19654 | | PaddingBottom = input.ReadFloat(); |
| | 19655 | | break; |
| | 19656 | | } |
| | 19657 | | case 213: { |
| | 19658 | | PaddingLeft = input.ReadFloat(); |
| | 19659 | | break; |
| | 19660 | | } |
| | 19661 | | case 216: { |
| | 19662 | | IsPickable = input.ReadBool(); |
| | 19663 | | break; |
| | 19664 | | } |
| | 19665 | | case 224: { |
| | 19666 | | Billboard = input.ReadBool(); |
| | 19667 | | break; |
| | 19668 | | } |
| | 19669 | | } |
| | 19670 | | } |
| | 19671 | | } |
| | 19672 | | #endif |
| | 19673 | |
|
| | 19674 | | } |
| | 19675 | |
|
| | 19676 | | public sealed partial class PB_Texture : pb::IMessage<PB_Texture> |
| | 19677 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19678 | | , pb::IBufferMessage |
| | 19679 | | #endif |
| | 19680 | | { |
| | 19681 | | private static readonly pb::MessageParser<PB_Texture> _parser = new pb::MessageParser<PB_Texture>(() => new PB_Textu |
| | 19682 | | private pb::UnknownFieldSet _unknownFields; |
| | 19683 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19684 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19685 | | public static pb::MessageParser<PB_Texture> Parser { get { return _parser; } } |
| | 19686 | |
|
| | 19687 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19688 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19689 | | public static pbr::MessageDescriptor Descriptor { |
| | 19690 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[53]; } |
| | 19691 | | } |
| | 19692 | |
|
| | 19693 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19694 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19695 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 19696 | | get { return Descriptor; } |
| | 19697 | | } |
| | 19698 | |
|
| | 19699 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19700 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19701 | | public PB_Texture() { |
| | 19702 | | OnConstruction(); |
| | 19703 | | } |
| | 19704 | |
|
| | 19705 | | partial void OnConstruction(); |
| | 19706 | |
|
| | 19707 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19708 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19709 | | public PB_Texture(PB_Texture other) : this() { |
| | 19710 | | src_ = other.src_; |
| | 19711 | | samplingMode_ = other.samplingMode_; |
| | 19712 | | wrap_ = other.wrap_; |
| | 19713 | | hasAlpha_ = other.hasAlpha_; |
| | 19714 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 19715 | | } |
| | 19716 | |
|
| | 19717 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19718 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19719 | | public PB_Texture Clone() { |
| | 19720 | | return new PB_Texture(this); |
| | 19721 | | } |
| | 19722 | |
|
| | 19723 | | /// <summary>Field number for the "src" field.</summary> |
| | 19724 | | public const int SrcFieldNumber = 1; |
| | 19725 | | private string src_ = ""; |
| | 19726 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19727 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19728 | | public string Src { |
| | 19729 | | get { return src_; } |
| | 19730 | | set { |
| | 19731 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 19732 | | } |
| | 19733 | | } |
| | 19734 | |
|
| | 19735 | | /// <summary>Field number for the "samplingMode" field.</summary> |
| | 19736 | | public const int SamplingModeFieldNumber = 2; |
| | 19737 | | private float samplingMode_; |
| | 19738 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19739 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19740 | | public float SamplingMode { |
| | 19741 | | get { return samplingMode_; } |
| | 19742 | | set { |
| | 19743 | | samplingMode_ = value; |
| | 19744 | | } |
| | 19745 | | } |
| | 19746 | |
|
| | 19747 | | /// <summary>Field number for the "wrap" field.</summary> |
| | 19748 | | public const int WrapFieldNumber = 3; |
| | 19749 | | private float wrap_; |
| | 19750 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19751 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19752 | | public float Wrap { |
| | 19753 | | get { return wrap_; } |
| | 19754 | | set { |
| | 19755 | | wrap_ = value; |
| | 19756 | | } |
| | 19757 | | } |
| | 19758 | |
|
| | 19759 | | /// <summary>Field number for the "hasAlpha" field.</summary> |
| | 19760 | | public const int HasAlphaFieldNumber = 4; |
| | 19761 | | private bool hasAlpha_; |
| | 19762 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19763 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19764 | | public bool HasAlpha { |
| | 19765 | | get { return hasAlpha_; } |
| | 19766 | | set { |
| | 19767 | | hasAlpha_ = value; |
| | 19768 | | } |
| | 19769 | | } |
| | 19770 | |
|
| | 19771 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19772 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19773 | | public override bool Equals(object other) { |
| | 19774 | | return Equals(other as PB_Texture); |
| | 19775 | | } |
| | 19776 | |
|
| | 19777 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19778 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19779 | | public bool Equals(PB_Texture other) { |
| | 19780 | | if (ReferenceEquals(other, null)) { |
| | 19781 | | return false; |
| | 19782 | | } |
| | 19783 | | if (ReferenceEquals(other, this)) { |
| | 19784 | | return true; |
| | 19785 | | } |
| | 19786 | | if (Src != other.Src) return false; |
| | 19787 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SamplingMode, other.SamplingMode)) return |
| | 19788 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Wrap, other.Wrap)) return false; |
| | 19789 | | if (HasAlpha != other.HasAlpha) return false; |
| | 19790 | | return Equals(_unknownFields, other._unknownFields); |
| | 19791 | | } |
| | 19792 | |
|
| | 19793 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19794 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19795 | | public override int GetHashCode() { |
| | 19796 | | int hash = 1; |
| | 19797 | | if (Src.Length != 0) hash ^= Src.GetHashCode(); |
| | 19798 | | if (SamplingMode != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SamplingM |
| | 19799 | | if (Wrap != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Wrap); |
| | 19800 | | if (HasAlpha != false) hash ^= HasAlpha.GetHashCode(); |
| | 19801 | | if (_unknownFields != null) { |
| | 19802 | | hash ^= _unknownFields.GetHashCode(); |
| | 19803 | | } |
| | 19804 | | return hash; |
| | 19805 | | } |
| | 19806 | |
|
| | 19807 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19808 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19809 | | public override string ToString() { |
| | 19810 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 19811 | | } |
| | 19812 | |
|
| | 19813 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19814 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19815 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 19816 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19817 | | output.WriteRawMessage(this); |
| | 19818 | | #else |
| | 19819 | | if (Src.Length != 0) { |
| | 19820 | | output.WriteRawTag(10); |
| | 19821 | | output.WriteString(Src); |
| | 19822 | | } |
| | 19823 | | if (SamplingMode != 0F) { |
| | 19824 | | output.WriteRawTag(21); |
| | 19825 | | output.WriteFloat(SamplingMode); |
| | 19826 | | } |
| | 19827 | | if (Wrap != 0F) { |
| | 19828 | | output.WriteRawTag(29); |
| | 19829 | | output.WriteFloat(Wrap); |
| | 19830 | | } |
| | 19831 | | if (HasAlpha != false) { |
| | 19832 | | output.WriteRawTag(32); |
| | 19833 | | output.WriteBool(HasAlpha); |
| | 19834 | | } |
| | 19835 | | if (_unknownFields != null) { |
| | 19836 | | _unknownFields.WriteTo(output); |
| | 19837 | | } |
| | 19838 | | #endif |
| | 19839 | | } |
| | 19840 | |
|
| | 19841 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19842 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19843 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19844 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 19845 | | if (Src.Length != 0) { |
| | 19846 | | output.WriteRawTag(10); |
| | 19847 | | output.WriteString(Src); |
| | 19848 | | } |
| | 19849 | | if (SamplingMode != 0F) { |
| | 19850 | | output.WriteRawTag(21); |
| | 19851 | | output.WriteFloat(SamplingMode); |
| | 19852 | | } |
| | 19853 | | if (Wrap != 0F) { |
| | 19854 | | output.WriteRawTag(29); |
| | 19855 | | output.WriteFloat(Wrap); |
| | 19856 | | } |
| | 19857 | | if (HasAlpha != false) { |
| | 19858 | | output.WriteRawTag(32); |
| | 19859 | | output.WriteBool(HasAlpha); |
| | 19860 | | } |
| | 19861 | | if (_unknownFields != null) { |
| | 19862 | | _unknownFields.WriteTo(ref output); |
| | 19863 | | } |
| | 19864 | | } |
| | 19865 | | #endif |
| | 19866 | |
|
| | 19867 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19868 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19869 | | public int CalculateSize() { |
| | 19870 | | int size = 0; |
| | 19871 | | if (Src.Length != 0) { |
| | 19872 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 19873 | | } |
| | 19874 | | if (SamplingMode != 0F) { |
| | 19875 | | size += 1 + 4; |
| | 19876 | | } |
| | 19877 | | if (Wrap != 0F) { |
| | 19878 | | size += 1 + 4; |
| | 19879 | | } |
| | 19880 | | if (HasAlpha != false) { |
| | 19881 | | size += 1 + 1; |
| | 19882 | | } |
| | 19883 | | if (_unknownFields != null) { |
| | 19884 | | size += _unknownFields.CalculateSize(); |
| | 19885 | | } |
| | 19886 | | return size; |
| | 19887 | | } |
| | 19888 | |
|
| | 19889 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19890 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19891 | | public void MergeFrom(PB_Texture other) { |
| | 19892 | | if (other == null) { |
| | 19893 | | return; |
| | 19894 | | } |
| | 19895 | | if (other.Src.Length != 0) { |
| | 19896 | | Src = other.Src; |
| | 19897 | | } |
| | 19898 | | if (other.SamplingMode != 0F) { |
| | 19899 | | SamplingMode = other.SamplingMode; |
| | 19900 | | } |
| | 19901 | | if (other.Wrap != 0F) { |
| | 19902 | | Wrap = other.Wrap; |
| | 19903 | | } |
| | 19904 | | if (other.HasAlpha != false) { |
| | 19905 | | HasAlpha = other.HasAlpha; |
| | 19906 | | } |
| | 19907 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 19908 | | } |
| | 19909 | |
|
| | 19910 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19911 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19912 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 19913 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19914 | | input.ReadRawMessage(this); |
| | 19915 | | #else |
| | 19916 | | uint tag; |
| | 19917 | | while ((tag = input.ReadTag()) != 0) { |
| | 19918 | | switch(tag) { |
| | 19919 | | default: |
| | 19920 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 19921 | | break; |
| | 19922 | | case 10: { |
| | 19923 | | Src = input.ReadString(); |
| | 19924 | | break; |
| | 19925 | | } |
| | 19926 | | case 21: { |
| | 19927 | | SamplingMode = input.ReadFloat(); |
| | 19928 | | break; |
| | 19929 | | } |
| | 19930 | | case 29: { |
| | 19931 | | Wrap = input.ReadFloat(); |
| | 19932 | | break; |
| | 19933 | | } |
| | 19934 | | case 32: { |
| | 19935 | | HasAlpha = input.ReadBool(); |
| | 19936 | | break; |
| | 19937 | | } |
| | 19938 | | } |
| | 19939 | | } |
| | 19940 | | #endif |
| | 19941 | | } |
| | 19942 | |
|
| | 19943 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19944 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19945 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19946 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 19947 | | uint tag; |
| | 19948 | | while ((tag = input.ReadTag()) != 0) { |
| | 19949 | | switch(tag) { |
| | 19950 | | default: |
| | 19951 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 19952 | | break; |
| | 19953 | | case 10: { |
| | 19954 | | Src = input.ReadString(); |
| | 19955 | | break; |
| | 19956 | | } |
| | 19957 | | case 21: { |
| | 19958 | | SamplingMode = input.ReadFloat(); |
| | 19959 | | break; |
| | 19960 | | } |
| | 19961 | | case 29: { |
| | 19962 | | Wrap = input.ReadFloat(); |
| | 19963 | | break; |
| | 19964 | | } |
| | 19965 | | case 32: { |
| | 19966 | | HasAlpha = input.ReadBool(); |
| | 19967 | | break; |
| | 19968 | | } |
| | 19969 | | } |
| | 19970 | | } |
| | 19971 | | } |
| | 19972 | | #endif |
| | 19973 | |
|
| | 19974 | | } |
| | 19975 | |
|
| | 19976 | | public sealed partial class PB_UIButton : pb::IMessage<PB_UIButton> |
| | 19977 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 19978 | | , pb::IBufferMessage |
| | 19979 | | #endif |
| | 19980 | | { |
| | 19981 | | private static readonly pb::MessageParser<PB_UIButton> _parser = new pb::MessageParser<PB_UIButton>(() => new PB_UIB |
| | 19982 | | private pb::UnknownFieldSet _unknownFields; |
| | 19983 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19984 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19985 | | public static pb::MessageParser<PB_UIButton> Parser { get { return _parser; } } |
| | 19986 | |
|
| | 19987 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19988 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19989 | | public static pbr::MessageDescriptor Descriptor { |
| | 19990 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[54]; } |
| | 19991 | | } |
| | 19992 | |
|
| | 19993 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 19994 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 19995 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 19996 | | get { return Descriptor; } |
| | 19997 | | } |
| | 19998 | |
|
| | 19999 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20000 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20001 | | public PB_UIButton() { |
| | 20002 | | OnConstruction(); |
| | 20003 | | } |
| | 20004 | |
|
| | 20005 | | partial void OnConstruction(); |
| | 20006 | |
|
| | 20007 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20008 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20009 | | public PB_UIButton(PB_UIButton other) : this() { |
| | 20010 | | name_ = other.name_; |
| | 20011 | | visible_ = other.visible_; |
| | 20012 | | opacity_ = other.opacity_; |
| | 20013 | | hAlign_ = other.hAlign_; |
| | 20014 | | vAlign_ = other.vAlign_; |
| | 20015 | | width_ = other.width_; |
| | 20016 | | height_ = other.height_; |
| | 20017 | | positionX_ = other.positionX_; |
| | 20018 | | positionY_ = other.positionY_; |
| | 20019 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 20020 | | parent_ = other.parent_ != null ? other.parent_.Clone() : null; |
| | 20021 | | fontSize_ = other.fontSize_; |
| | 20022 | | fontWeight_ = other.fontWeight_; |
| | 20023 | | thickness_ = other.thickness_; |
| | 20024 | | cornerRadius_ = other.cornerRadius_; |
| | 20025 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 20026 | | background_ = other.background_ != null ? other.background_.Clone() : null; |
| | 20027 | | paddingTop_ = other.paddingTop_; |
| | 20028 | | paddingRight_ = other.paddingRight_; |
| | 20029 | | paddingBottom_ = other.paddingBottom_; |
| | 20030 | | paddingLeft_ = other.paddingLeft_; |
| | 20031 | | shadowBlur_ = other.shadowBlur_; |
| | 20032 | | shadowOffsetX_ = other.shadowOffsetX_; |
| | 20033 | | shadowOffsetY_ = other.shadowOffsetY_; |
| | 20034 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| | 20035 | | text_ = other.text_; |
| | 20036 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 20037 | | } |
| | 20038 | |
|
| | 20039 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20040 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20041 | | public PB_UIButton Clone() { |
| | 20042 | | return new PB_UIButton(this); |
| | 20043 | | } |
| | 20044 | |
|
| | 20045 | | /// <summary>Field number for the "name" field.</summary> |
| | 20046 | | public const int NameFieldNumber = 1; |
| | 20047 | | private string name_ = ""; |
| | 20048 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20049 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20050 | | public string Name { |
| | 20051 | | get { return name_; } |
| | 20052 | | set { |
| | 20053 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20054 | | } |
| | 20055 | | } |
| | 20056 | |
|
| | 20057 | | /// <summary>Field number for the "visible" field.</summary> |
| | 20058 | | public const int VisibleFieldNumber = 2; |
| | 20059 | | private bool visible_; |
| | 20060 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20061 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20062 | | public bool Visible { |
| | 20063 | | get { return visible_; } |
| | 20064 | | set { |
| | 20065 | | visible_ = value; |
| | 20066 | | } |
| | 20067 | | } |
| | 20068 | |
|
| | 20069 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 20070 | | public const int OpacityFieldNumber = 3; |
| | 20071 | | private float opacity_; |
| | 20072 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20073 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20074 | | public float Opacity { |
| | 20075 | | get { return opacity_; } |
| | 20076 | | set { |
| | 20077 | | opacity_ = value; |
| | 20078 | | } |
| | 20079 | | } |
| | 20080 | |
|
| | 20081 | | /// <summary>Field number for the "hAlign" field.</summary> |
| | 20082 | | public const int HAlignFieldNumber = 4; |
| | 20083 | | private string hAlign_ = ""; |
| | 20084 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20085 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20086 | | public string HAlign { |
| | 20087 | | get { return hAlign_; } |
| | 20088 | | set { |
| | 20089 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20090 | | } |
| | 20091 | | } |
| | 20092 | |
|
| | 20093 | | /// <summary>Field number for the "vAlign" field.</summary> |
| | 20094 | | public const int VAlignFieldNumber = 5; |
| | 20095 | | private string vAlign_ = ""; |
| | 20096 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20097 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20098 | | public string VAlign { |
| | 20099 | | get { return vAlign_; } |
| | 20100 | | set { |
| | 20101 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20102 | | } |
| | 20103 | | } |
| | 20104 | |
|
| | 20105 | | /// <summary>Field number for the "width" field.</summary> |
| | 20106 | | public const int WidthFieldNumber = 6; |
| | 20107 | | private string width_ = ""; |
| | 20108 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20109 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20110 | | public string Width { |
| | 20111 | | get { return width_; } |
| | 20112 | | set { |
| | 20113 | | width_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20114 | | } |
| | 20115 | | } |
| | 20116 | |
|
| | 20117 | | /// <summary>Field number for the "height" field.</summary> |
| | 20118 | | public const int HeightFieldNumber = 7; |
| | 20119 | | private string height_ = ""; |
| | 20120 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20121 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20122 | | public string Height { |
| | 20123 | | get { return height_; } |
| | 20124 | | set { |
| | 20125 | | height_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20126 | | } |
| | 20127 | | } |
| | 20128 | |
|
| | 20129 | | /// <summary>Field number for the "positionX" field.</summary> |
| | 20130 | | public const int PositionXFieldNumber = 8; |
| | 20131 | | private string positionX_ = ""; |
| | 20132 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20133 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20134 | | public string PositionX { |
| | 20135 | | get { return positionX_; } |
| | 20136 | | set { |
| | 20137 | | positionX_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20138 | | } |
| | 20139 | | } |
| | 20140 | |
|
| | 20141 | | /// <summary>Field number for the "positionY" field.</summary> |
| | 20142 | | public const int PositionYFieldNumber = 9; |
| | 20143 | | private string positionY_ = ""; |
| | 20144 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20145 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20146 | | public string PositionY { |
| | 20147 | | get { return positionY_; } |
| | 20148 | | set { |
| | 20149 | | positionY_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20150 | | } |
| | 20151 | | } |
| | 20152 | |
|
| | 20153 | | /// <summary>Field number for the "isPointerBlocker" field.</summary> |
| | 20154 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 20155 | | private bool isPointerBlocker_; |
| | 20156 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20157 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20158 | | public bool IsPointerBlocker { |
| | 20159 | | get { return isPointerBlocker_; } |
| | 20160 | | set { |
| | 20161 | | isPointerBlocker_ = value; |
| | 20162 | | } |
| | 20163 | | } |
| | 20164 | |
|
| | 20165 | | /// <summary>Field number for the "parent" field.</summary> |
| | 20166 | | public const int ParentFieldNumber = 11; |
| | 20167 | | private global::DCL.Interface.PB_UIShape parent_; |
| | 20168 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20169 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20170 | | public global::DCL.Interface.PB_UIShape Parent { |
| | 20171 | | get { return parent_; } |
| | 20172 | | set { |
| | 20173 | | parent_ = value; |
| | 20174 | | } |
| | 20175 | | } |
| | 20176 | |
|
| | 20177 | | /// <summary>Field number for the "fontSize" field.</summary> |
| | 20178 | | public const int FontSizeFieldNumber = 12; |
| | 20179 | | private float fontSize_; |
| | 20180 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20181 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20182 | | public float FontSize { |
| | 20183 | | get { return fontSize_; } |
| | 20184 | | set { |
| | 20185 | | fontSize_ = value; |
| | 20186 | | } |
| | 20187 | | } |
| | 20188 | |
|
| | 20189 | | /// <summary>Field number for the "fontWeight" field.</summary> |
| | 20190 | | public const int FontWeightFieldNumber = 13; |
| | 20191 | | private string fontWeight_ = ""; |
| | 20192 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20193 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20194 | | public string FontWeight { |
| | 20195 | | get { return fontWeight_; } |
| | 20196 | | set { |
| | 20197 | | fontWeight_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20198 | | } |
| | 20199 | | } |
| | 20200 | |
|
| | 20201 | | /// <summary>Field number for the "thickness" field.</summary> |
| | 20202 | | public const int ThicknessFieldNumber = 14; |
| | 20203 | | private float thickness_; |
| | 20204 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20205 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20206 | | public float Thickness { |
| | 20207 | | get { return thickness_; } |
| | 20208 | | set { |
| | 20209 | | thickness_ = value; |
| | 20210 | | } |
| | 20211 | | } |
| | 20212 | |
|
| | 20213 | | /// <summary>Field number for the "cornerRadius" field.</summary> |
| | 20214 | | public const int CornerRadiusFieldNumber = 15; |
| | 20215 | | private float cornerRadius_; |
| | 20216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20218 | | public float CornerRadius { |
| | 20219 | | get { return cornerRadius_; } |
| | 20220 | | set { |
| | 20221 | | cornerRadius_ = value; |
| | 20222 | | } |
| | 20223 | | } |
| | 20224 | |
|
| | 20225 | | /// <summary>Field number for the "color" field.</summary> |
| | 20226 | | public const int ColorFieldNumber = 16; |
| | 20227 | | private global::DCL.Interface.PB_Color4 color_; |
| | 20228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20230 | | public global::DCL.Interface.PB_Color4 Color { |
| | 20231 | | get { return color_; } |
| | 20232 | | set { |
| | 20233 | | color_ = value; |
| | 20234 | | } |
| | 20235 | | } |
| | 20236 | |
|
| | 20237 | | /// <summary>Field number for the "background" field.</summary> |
| | 20238 | | public const int BackgroundFieldNumber = 17; |
| | 20239 | | private global::DCL.Interface.PB_Color4 background_; |
| | 20240 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20241 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20242 | | public global::DCL.Interface.PB_Color4 Background { |
| | 20243 | | get { return background_; } |
| | 20244 | | set { |
| | 20245 | | background_ = value; |
| | 20246 | | } |
| | 20247 | | } |
| | 20248 | |
|
| | 20249 | | /// <summary>Field number for the "paddingTop" field.</summary> |
| | 20250 | | public const int PaddingTopFieldNumber = 18; |
| | 20251 | | private float paddingTop_; |
| | 20252 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20253 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20254 | | public float PaddingTop { |
| | 20255 | | get { return paddingTop_; } |
| | 20256 | | set { |
| | 20257 | | paddingTop_ = value; |
| | 20258 | | } |
| | 20259 | | } |
| | 20260 | |
|
| | 20261 | | /// <summary>Field number for the "paddingRight" field.</summary> |
| | 20262 | | public const int PaddingRightFieldNumber = 19; |
| | 20263 | | private float paddingRight_; |
| | 20264 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20265 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20266 | | public float PaddingRight { |
| | 20267 | | get { return paddingRight_; } |
| | 20268 | | set { |
| | 20269 | | paddingRight_ = value; |
| | 20270 | | } |
| | 20271 | | } |
| | 20272 | |
|
| | 20273 | | /// <summary>Field number for the "paddingBottom" field.</summary> |
| | 20274 | | public const int PaddingBottomFieldNumber = 20; |
| | 20275 | | private float paddingBottom_; |
| | 20276 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20277 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20278 | | public float PaddingBottom { |
| | 20279 | | get { return paddingBottom_; } |
| | 20280 | | set { |
| | 20281 | | paddingBottom_ = value; |
| | 20282 | | } |
| | 20283 | | } |
| | 20284 | |
|
| | 20285 | | /// <summary>Field number for the "paddingLeft" field.</summary> |
| | 20286 | | public const int PaddingLeftFieldNumber = 21; |
| | 20287 | | private float paddingLeft_; |
| | 20288 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20289 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20290 | | public float PaddingLeft { |
| | 20291 | | get { return paddingLeft_; } |
| | 20292 | | set { |
| | 20293 | | paddingLeft_ = value; |
| | 20294 | | } |
| | 20295 | | } |
| | 20296 | |
|
| | 20297 | | /// <summary>Field number for the "shadowBlur" field.</summary> |
| | 20298 | | public const int ShadowBlurFieldNumber = 22; |
| | 20299 | | private float shadowBlur_; |
| | 20300 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20301 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20302 | | public float ShadowBlur { |
| | 20303 | | get { return shadowBlur_; } |
| | 20304 | | set { |
| | 20305 | | shadowBlur_ = value; |
| | 20306 | | } |
| | 20307 | | } |
| | 20308 | |
|
| | 20309 | | /// <summary>Field number for the "shadowOffsetX" field.</summary> |
| | 20310 | | public const int ShadowOffsetXFieldNumber = 23; |
| | 20311 | | private float shadowOffsetX_; |
| | 20312 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20313 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20314 | | public float ShadowOffsetX { |
| | 20315 | | get { return shadowOffsetX_; } |
| | 20316 | | set { |
| | 20317 | | shadowOffsetX_ = value; |
| | 20318 | | } |
| | 20319 | | } |
| | 20320 | |
|
| | 20321 | | /// <summary>Field number for the "shadowOffsetY" field.</summary> |
| | 20322 | | public const int ShadowOffsetYFieldNumber = 24; |
| | 20323 | | private float shadowOffsetY_; |
| | 20324 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20325 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20326 | | public float ShadowOffsetY { |
| | 20327 | | get { return shadowOffsetY_; } |
| | 20328 | | set { |
| | 20329 | | shadowOffsetY_ = value; |
| | 20330 | | } |
| | 20331 | | } |
| | 20332 | |
|
| | 20333 | | /// <summary>Field number for the "shadowColor" field.</summary> |
| | 20334 | | public const int ShadowColorFieldNumber = 25; |
| | 20335 | | private global::DCL.Interface.PB_Color4 shadowColor_; |
| | 20336 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20337 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20338 | | public global::DCL.Interface.PB_Color4 ShadowColor { |
| | 20339 | | get { return shadowColor_; } |
| | 20340 | | set { |
| | 20341 | | shadowColor_ = value; |
| | 20342 | | } |
| | 20343 | | } |
| | 20344 | |
|
| | 20345 | | /// <summary>Field number for the "text" field.</summary> |
| | 20346 | | public const int TextFieldNumber = 26; |
| | 20347 | | private string text_ = ""; |
| | 20348 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20349 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20350 | | public string Text { |
| | 20351 | | get { return text_; } |
| | 20352 | | set { |
| | 20353 | | text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 20354 | | } |
| | 20355 | | } |
| | 20356 | |
|
| | 20357 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20358 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20359 | | public override bool Equals(object other) { |
| | 20360 | | return Equals(other as PB_UIButton); |
| | 20361 | | } |
| | 20362 | |
|
| | 20363 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20364 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20365 | | public bool Equals(PB_UIButton other) { |
| | 20366 | | if (ReferenceEquals(other, null)) { |
| | 20367 | | return false; |
| | 20368 | | } |
| | 20369 | | if (ReferenceEquals(other, this)) { |
| | 20370 | | return true; |
| | 20371 | | } |
| | 20372 | | if (Name != other.Name) return false; |
| | 20373 | | if (Visible != other.Visible) return false; |
| | 20374 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 20375 | | if (HAlign != other.HAlign) return false; |
| | 20376 | | if (VAlign != other.VAlign) return false; |
| | 20377 | | if (Width != other.Width) return false; |
| | 20378 | | if (Height != other.Height) return false; |
| | 20379 | | if (PositionX != other.PositionX) return false; |
| | 20380 | | if (PositionY != other.PositionY) return false; |
| | 20381 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 20382 | | if (!object.Equals(Parent, other.Parent)) return false; |
| | 20383 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| | 20384 | | if (FontWeight != other.FontWeight) return false; |
| | 20385 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Thickness, other.Thickness)) return false |
| | 20386 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(CornerRadius, other.CornerRadius)) return |
| | 20387 | | if (!object.Equals(Color, other.Color)) return false; |
| | 20388 | | if (!object.Equals(Background, other.Background)) return false; |
| | 20389 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 20390 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 20391 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 20392 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 20393 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| | 20394 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| | 20395 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| | 20396 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| | 20397 | | if (Text != other.Text) return false; |
| | 20398 | | return Equals(_unknownFields, other._unknownFields); |
| | 20399 | | } |
| | 20400 | |
|
| | 20401 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20402 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20403 | | public override int GetHashCode() { |
| | 20404 | | int hash = 1; |
| | 20405 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 20406 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 20407 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 20408 | | if (HAlign.Length != 0) hash ^= HAlign.GetHashCode(); |
| | 20409 | | if (VAlign.Length != 0) hash ^= VAlign.GetHashCode(); |
| | 20410 | | if (Width.Length != 0) hash ^= Width.GetHashCode(); |
| | 20411 | | if (Height.Length != 0) hash ^= Height.GetHashCode(); |
| | 20412 | | if (PositionX.Length != 0) hash ^= PositionX.GetHashCode(); |
| | 20413 | | if (PositionY.Length != 0) hash ^= PositionY.GetHashCode(); |
| | 20414 | | if (IsPointerBlocker != false) hash ^= IsPointerBlocker.GetHashCode(); |
| | 20415 | | if (parent_ != null) hash ^= Parent.GetHashCode(); |
| | 20416 | | if (FontSize != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| | 20417 | | if (FontWeight.Length != 0) hash ^= FontWeight.GetHashCode(); |
| | 20418 | | if (Thickness != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Thickness); |
| | 20419 | | if (CornerRadius != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(CornerRad |
| | 20420 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 20421 | | if (background_ != null) hash ^= Background.GetHashCode(); |
| | 20422 | | if (PaddingTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop) |
| | 20423 | | if (PaddingRight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRi |
| | 20424 | | if (PaddingBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingB |
| | 20425 | | if (PaddingLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLef |
| | 20426 | | if (ShadowBlur != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur) |
| | 20427 | | if (ShadowOffsetX != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOf |
| | 20428 | | if (ShadowOffsetY != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOf |
| | 20429 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| | 20430 | | if (Text.Length != 0) hash ^= Text.GetHashCode(); |
| | 20431 | | if (_unknownFields != null) { |
| | 20432 | | hash ^= _unknownFields.GetHashCode(); |
| | 20433 | | } |
| | 20434 | | return hash; |
| | 20435 | | } |
| | 20436 | |
|
| | 20437 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20438 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20439 | | public override string ToString() { |
| | 20440 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 20441 | | } |
| | 20442 | |
|
| | 20443 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20444 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20445 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 20446 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 20447 | | output.WriteRawMessage(this); |
| | 20448 | | #else |
| | 20449 | | if (Name.Length != 0) { |
| | 20450 | | output.WriteRawTag(10); |
| | 20451 | | output.WriteString(Name); |
| | 20452 | | } |
| | 20453 | | if (Visible != false) { |
| | 20454 | | output.WriteRawTag(16); |
| | 20455 | | output.WriteBool(Visible); |
| | 20456 | | } |
| | 20457 | | if (Opacity != 0F) { |
| | 20458 | | output.WriteRawTag(29); |
| | 20459 | | output.WriteFloat(Opacity); |
| | 20460 | | } |
| | 20461 | | if (HAlign.Length != 0) { |
| | 20462 | | output.WriteRawTag(34); |
| | 20463 | | output.WriteString(HAlign); |
| | 20464 | | } |
| | 20465 | | if (VAlign.Length != 0) { |
| | 20466 | | output.WriteRawTag(42); |
| | 20467 | | output.WriteString(VAlign); |
| | 20468 | | } |
| | 20469 | | if (Width.Length != 0) { |
| | 20470 | | output.WriteRawTag(50); |
| | 20471 | | output.WriteString(Width); |
| | 20472 | | } |
| | 20473 | | if (Height.Length != 0) { |
| | 20474 | | output.WriteRawTag(58); |
| | 20475 | | output.WriteString(Height); |
| | 20476 | | } |
| | 20477 | | if (PositionX.Length != 0) { |
| | 20478 | | output.WriteRawTag(66); |
| | 20479 | | output.WriteString(PositionX); |
| | 20480 | | } |
| | 20481 | | if (PositionY.Length != 0) { |
| | 20482 | | output.WriteRawTag(74); |
| | 20483 | | output.WriteString(PositionY); |
| | 20484 | | } |
| | 20485 | | if (IsPointerBlocker != false) { |
| | 20486 | | output.WriteRawTag(80); |
| | 20487 | | output.WriteBool(IsPointerBlocker); |
| | 20488 | | } |
| | 20489 | | if (parent_ != null) { |
| | 20490 | | output.WriteRawTag(90); |
| | 20491 | | output.WriteMessage(Parent); |
| | 20492 | | } |
| | 20493 | | if (FontSize != 0F) { |
| | 20494 | | output.WriteRawTag(101); |
| | 20495 | | output.WriteFloat(FontSize); |
| | 20496 | | } |
| | 20497 | | if (FontWeight.Length != 0) { |
| | 20498 | | output.WriteRawTag(106); |
| | 20499 | | output.WriteString(FontWeight); |
| | 20500 | | } |
| | 20501 | | if (Thickness != 0F) { |
| | 20502 | | output.WriteRawTag(117); |
| | 20503 | | output.WriteFloat(Thickness); |
| | 20504 | | } |
| | 20505 | | if (CornerRadius != 0F) { |
| | 20506 | | output.WriteRawTag(125); |
| | 20507 | | output.WriteFloat(CornerRadius); |
| | 20508 | | } |
| | 20509 | | if (color_ != null) { |
| | 20510 | | output.WriteRawTag(130, 1); |
| | 20511 | | output.WriteMessage(Color); |
| | 20512 | | } |
| | 20513 | | if (background_ != null) { |
| | 20514 | | output.WriteRawTag(138, 1); |
| | 20515 | | output.WriteMessage(Background); |
| | 20516 | | } |
| | 20517 | | if (PaddingTop != 0F) { |
| | 20518 | | output.WriteRawTag(149, 1); |
| | 20519 | | output.WriteFloat(PaddingTop); |
| | 20520 | | } |
| | 20521 | | if (PaddingRight != 0F) { |
| | 20522 | | output.WriteRawTag(157, 1); |
| | 20523 | | output.WriteFloat(PaddingRight); |
| | 20524 | | } |
| | 20525 | | if (PaddingBottom != 0F) { |
| | 20526 | | output.WriteRawTag(165, 1); |
| | 20527 | | output.WriteFloat(PaddingBottom); |
| | 20528 | | } |
| | 20529 | | if (PaddingLeft != 0F) { |
| | 20530 | | output.WriteRawTag(173, 1); |
| | 20531 | | output.WriteFloat(PaddingLeft); |
| | 20532 | | } |
| | 20533 | | if (ShadowBlur != 0F) { |
| | 20534 | | output.WriteRawTag(181, 1); |
| | 20535 | | output.WriteFloat(ShadowBlur); |
| | 20536 | | } |
| | 20537 | | if (ShadowOffsetX != 0F) { |
| | 20538 | | output.WriteRawTag(189, 1); |
| | 20539 | | output.WriteFloat(ShadowOffsetX); |
| | 20540 | | } |
| | 20541 | | if (ShadowOffsetY != 0F) { |
| | 20542 | | output.WriteRawTag(197, 1); |
| | 20543 | | output.WriteFloat(ShadowOffsetY); |
| | 20544 | | } |
| | 20545 | | if (shadowColor_ != null) { |
| | 20546 | | output.WriteRawTag(202, 1); |
| | 20547 | | output.WriteMessage(ShadowColor); |
| | 20548 | | } |
| | 20549 | | if (Text.Length != 0) { |
| | 20550 | | output.WriteRawTag(210, 1); |
| | 20551 | | output.WriteString(Text); |
| | 20552 | | } |
| | 20553 | | if (_unknownFields != null) { |
| | 20554 | | _unknownFields.WriteTo(output); |
| | 20555 | | } |
| | 20556 | | #endif |
| | 20557 | | } |
| | 20558 | |
|
| | 20559 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 20560 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20561 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20562 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 20563 | | if (Name.Length != 0) { |
| | 20564 | | output.WriteRawTag(10); |
| | 20565 | | output.WriteString(Name); |
| | 20566 | | } |
| | 20567 | | if (Visible != false) { |
| | 20568 | | output.WriteRawTag(16); |
| | 20569 | | output.WriteBool(Visible); |
| | 20570 | | } |
| | 20571 | | if (Opacity != 0F) { |
| | 20572 | | output.WriteRawTag(29); |
| | 20573 | | output.WriteFloat(Opacity); |
| | 20574 | | } |
| | 20575 | | if (HAlign.Length != 0) { |
| | 20576 | | output.WriteRawTag(34); |
| | 20577 | | output.WriteString(HAlign); |
| | 20578 | | } |
| | 20579 | | if (VAlign.Length != 0) { |
| | 20580 | | output.WriteRawTag(42); |
| | 20581 | | output.WriteString(VAlign); |
| | 20582 | | } |
| | 20583 | | if (Width.Length != 0) { |
| | 20584 | | output.WriteRawTag(50); |
| | 20585 | | output.WriteString(Width); |
| | 20586 | | } |
| | 20587 | | if (Height.Length != 0) { |
| | 20588 | | output.WriteRawTag(58); |
| | 20589 | | output.WriteString(Height); |
| | 20590 | | } |
| | 20591 | | if (PositionX.Length != 0) { |
| | 20592 | | output.WriteRawTag(66); |
| | 20593 | | output.WriteString(PositionX); |
| | 20594 | | } |
| | 20595 | | if (PositionY.Length != 0) { |
| | 20596 | | output.WriteRawTag(74); |
| | 20597 | | output.WriteString(PositionY); |
| | 20598 | | } |
| | 20599 | | if (IsPointerBlocker != false) { |
| | 20600 | | output.WriteRawTag(80); |
| | 20601 | | output.WriteBool(IsPointerBlocker); |
| | 20602 | | } |
| | 20603 | | if (parent_ != null) { |
| | 20604 | | output.WriteRawTag(90); |
| | 20605 | | output.WriteMessage(Parent); |
| | 20606 | | } |
| | 20607 | | if (FontSize != 0F) { |
| | 20608 | | output.WriteRawTag(101); |
| | 20609 | | output.WriteFloat(FontSize); |
| | 20610 | | } |
| | 20611 | | if (FontWeight.Length != 0) { |
| | 20612 | | output.WriteRawTag(106); |
| | 20613 | | output.WriteString(FontWeight); |
| | 20614 | | } |
| | 20615 | | if (Thickness != 0F) { |
| | 20616 | | output.WriteRawTag(117); |
| | 20617 | | output.WriteFloat(Thickness); |
| | 20618 | | } |
| | 20619 | | if (CornerRadius != 0F) { |
| | 20620 | | output.WriteRawTag(125); |
| | 20621 | | output.WriteFloat(CornerRadius); |
| | 20622 | | } |
| | 20623 | | if (color_ != null) { |
| | 20624 | | output.WriteRawTag(130, 1); |
| | 20625 | | output.WriteMessage(Color); |
| | 20626 | | } |
| | 20627 | | if (background_ != null) { |
| | 20628 | | output.WriteRawTag(138, 1); |
| | 20629 | | output.WriteMessage(Background); |
| | 20630 | | } |
| | 20631 | | if (PaddingTop != 0F) { |
| | 20632 | | output.WriteRawTag(149, 1); |
| | 20633 | | output.WriteFloat(PaddingTop); |
| | 20634 | | } |
| | 20635 | | if (PaddingRight != 0F) { |
| | 20636 | | output.WriteRawTag(157, 1); |
| | 20637 | | output.WriteFloat(PaddingRight); |
| | 20638 | | } |
| | 20639 | | if (PaddingBottom != 0F) { |
| | 20640 | | output.WriteRawTag(165, 1); |
| | 20641 | | output.WriteFloat(PaddingBottom); |
| | 20642 | | } |
| | 20643 | | if (PaddingLeft != 0F) { |
| | 20644 | | output.WriteRawTag(173, 1); |
| | 20645 | | output.WriteFloat(PaddingLeft); |
| | 20646 | | } |
| | 20647 | | if (ShadowBlur != 0F) { |
| | 20648 | | output.WriteRawTag(181, 1); |
| | 20649 | | output.WriteFloat(ShadowBlur); |
| | 20650 | | } |
| | 20651 | | if (ShadowOffsetX != 0F) { |
| | 20652 | | output.WriteRawTag(189, 1); |
| | 20653 | | output.WriteFloat(ShadowOffsetX); |
| | 20654 | | } |
| | 20655 | | if (ShadowOffsetY != 0F) { |
| | 20656 | | output.WriteRawTag(197, 1); |
| | 20657 | | output.WriteFloat(ShadowOffsetY); |
| | 20658 | | } |
| | 20659 | | if (shadowColor_ != null) { |
| | 20660 | | output.WriteRawTag(202, 1); |
| | 20661 | | output.WriteMessage(ShadowColor); |
| | 20662 | | } |
| | 20663 | | if (Text.Length != 0) { |
| | 20664 | | output.WriteRawTag(210, 1); |
| | 20665 | | output.WriteString(Text); |
| | 20666 | | } |
| | 20667 | | if (_unknownFields != null) { |
| | 20668 | | _unknownFields.WriteTo(ref output); |
| | 20669 | | } |
| | 20670 | | } |
| | 20671 | | #endif |
| | 20672 | |
|
| | 20673 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20674 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20675 | | public int CalculateSize() { |
| | 20676 | | int size = 0; |
| | 20677 | | if (Name.Length != 0) { |
| | 20678 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 20679 | | } |
| | 20680 | | if (Visible != false) { |
| | 20681 | | size += 1 + 1; |
| | 20682 | | } |
| | 20683 | | if (Opacity != 0F) { |
| | 20684 | | size += 1 + 4; |
| | 20685 | | } |
| | 20686 | | if (HAlign.Length != 0) { |
| | 20687 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 20688 | | } |
| | 20689 | | if (VAlign.Length != 0) { |
| | 20690 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 20691 | | } |
| | 20692 | | if (Width.Length != 0) { |
| | 20693 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Width); |
| | 20694 | | } |
| | 20695 | | if (Height.Length != 0) { |
| | 20696 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Height); |
| | 20697 | | } |
| | 20698 | | if (PositionX.Length != 0) { |
| | 20699 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionX); |
| | 20700 | | } |
| | 20701 | | if (PositionY.Length != 0) { |
| | 20702 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionY); |
| | 20703 | | } |
| | 20704 | | if (IsPointerBlocker != false) { |
| | 20705 | | size += 1 + 1; |
| | 20706 | | } |
| | 20707 | | if (parent_ != null) { |
| | 20708 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); |
| | 20709 | | } |
| | 20710 | | if (FontSize != 0F) { |
| | 20711 | | size += 1 + 4; |
| | 20712 | | } |
| | 20713 | | if (FontWeight.Length != 0) { |
| | 20714 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(FontWeight); |
| | 20715 | | } |
| | 20716 | | if (Thickness != 0F) { |
| | 20717 | | size += 1 + 4; |
| | 20718 | | } |
| | 20719 | | if (CornerRadius != 0F) { |
| | 20720 | | size += 1 + 4; |
| | 20721 | | } |
| | 20722 | | if (color_ != null) { |
| | 20723 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 20724 | | } |
| | 20725 | | if (background_ != null) { |
| | 20726 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Background); |
| | 20727 | | } |
| | 20728 | | if (PaddingTop != 0F) { |
| | 20729 | | size += 2 + 4; |
| | 20730 | | } |
| | 20731 | | if (PaddingRight != 0F) { |
| | 20732 | | size += 2 + 4; |
| | 20733 | | } |
| | 20734 | | if (PaddingBottom != 0F) { |
| | 20735 | | size += 2 + 4; |
| | 20736 | | } |
| | 20737 | | if (PaddingLeft != 0F) { |
| | 20738 | | size += 2 + 4; |
| | 20739 | | } |
| | 20740 | | if (ShadowBlur != 0F) { |
| | 20741 | | size += 2 + 4; |
| | 20742 | | } |
| | 20743 | | if (ShadowOffsetX != 0F) { |
| | 20744 | | size += 2 + 4; |
| | 20745 | | } |
| | 20746 | | if (ShadowOffsetY != 0F) { |
| | 20747 | | size += 2 + 4; |
| | 20748 | | } |
| | 20749 | | if (shadowColor_ != null) { |
| | 20750 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 20751 | | } |
| | 20752 | | if (Text.Length != 0) { |
| | 20753 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(Text); |
| | 20754 | | } |
| | 20755 | | if (_unknownFields != null) { |
| | 20756 | | size += _unknownFields.CalculateSize(); |
| | 20757 | | } |
| | 20758 | | return size; |
| | 20759 | | } |
| | 20760 | |
|
| | 20761 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20762 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20763 | | public void MergeFrom(PB_UIButton other) { |
| | 20764 | | if (other == null) { |
| | 20765 | | return; |
| | 20766 | | } |
| | 20767 | | if (other.Name.Length != 0) { |
| | 20768 | | Name = other.Name; |
| | 20769 | | } |
| | 20770 | | if (other.Visible != false) { |
| | 20771 | | Visible = other.Visible; |
| | 20772 | | } |
| | 20773 | | if (other.Opacity != 0F) { |
| | 20774 | | Opacity = other.Opacity; |
| | 20775 | | } |
| | 20776 | | if (other.HAlign.Length != 0) { |
| | 20777 | | HAlign = other.HAlign; |
| | 20778 | | } |
| | 20779 | | if (other.VAlign.Length != 0) { |
| | 20780 | | VAlign = other.VAlign; |
| | 20781 | | } |
| | 20782 | | if (other.Width.Length != 0) { |
| | 20783 | | Width = other.Width; |
| | 20784 | | } |
| | 20785 | | if (other.Height.Length != 0) { |
| | 20786 | | Height = other.Height; |
| | 20787 | | } |
| | 20788 | | if (other.PositionX.Length != 0) { |
| | 20789 | | PositionX = other.PositionX; |
| | 20790 | | } |
| | 20791 | | if (other.PositionY.Length != 0) { |
| | 20792 | | PositionY = other.PositionY; |
| | 20793 | | } |
| | 20794 | | if (other.IsPointerBlocker != false) { |
| | 20795 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 20796 | | } |
| | 20797 | | if (other.parent_ != null) { |
| | 20798 | | if (parent_ == null) { |
| | 20799 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 20800 | | } |
| | 20801 | | Parent.MergeFrom(other.Parent); |
| | 20802 | | } |
| | 20803 | | if (other.FontSize != 0F) { |
| | 20804 | | FontSize = other.FontSize; |
| | 20805 | | } |
| | 20806 | | if (other.FontWeight.Length != 0) { |
| | 20807 | | FontWeight = other.FontWeight; |
| | 20808 | | } |
| | 20809 | | if (other.Thickness != 0F) { |
| | 20810 | | Thickness = other.Thickness; |
| | 20811 | | } |
| | 20812 | | if (other.CornerRadius != 0F) { |
| | 20813 | | CornerRadius = other.CornerRadius; |
| | 20814 | | } |
| | 20815 | | if (other.color_ != null) { |
| | 20816 | | if (color_ == null) { |
| | 20817 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 20818 | | } |
| | 20819 | | Color.MergeFrom(other.Color); |
| | 20820 | | } |
| | 20821 | | if (other.background_ != null) { |
| | 20822 | | if (background_ == null) { |
| | 20823 | | Background = new global::DCL.Interface.PB_Color4(); |
| | 20824 | | } |
| | 20825 | | Background.MergeFrom(other.Background); |
| | 20826 | | } |
| | 20827 | | if (other.PaddingTop != 0F) { |
| | 20828 | | PaddingTop = other.PaddingTop; |
| | 20829 | | } |
| | 20830 | | if (other.PaddingRight != 0F) { |
| | 20831 | | PaddingRight = other.PaddingRight; |
| | 20832 | | } |
| | 20833 | | if (other.PaddingBottom != 0F) { |
| | 20834 | | PaddingBottom = other.PaddingBottom; |
| | 20835 | | } |
| | 20836 | | if (other.PaddingLeft != 0F) { |
| | 20837 | | PaddingLeft = other.PaddingLeft; |
| | 20838 | | } |
| | 20839 | | if (other.ShadowBlur != 0F) { |
| | 20840 | | ShadowBlur = other.ShadowBlur; |
| | 20841 | | } |
| | 20842 | | if (other.ShadowOffsetX != 0F) { |
| | 20843 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 20844 | | } |
| | 20845 | | if (other.ShadowOffsetY != 0F) { |
| | 20846 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 20847 | | } |
| | 20848 | | if (other.shadowColor_ != null) { |
| | 20849 | | if (shadowColor_ == null) { |
| | 20850 | | ShadowColor = new global::DCL.Interface.PB_Color4(); |
| | 20851 | | } |
| | 20852 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 20853 | | } |
| | 20854 | | if (other.Text.Length != 0) { |
| | 20855 | | Text = other.Text; |
| | 20856 | | } |
| | 20857 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 20858 | | } |
| | 20859 | |
|
| | 20860 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20861 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20862 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 20863 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 20864 | | input.ReadRawMessage(this); |
| | 20865 | | #else |
| | 20866 | | uint tag; |
| | 20867 | | while ((tag = input.ReadTag()) != 0) { |
| | 20868 | | switch(tag) { |
| | 20869 | | default: |
| | 20870 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 20871 | | break; |
| | 20872 | | case 10: { |
| | 20873 | | Name = input.ReadString(); |
| | 20874 | | break; |
| | 20875 | | } |
| | 20876 | | case 16: { |
| | 20877 | | Visible = input.ReadBool(); |
| | 20878 | | break; |
| | 20879 | | } |
| | 20880 | | case 29: { |
| | 20881 | | Opacity = input.ReadFloat(); |
| | 20882 | | break; |
| | 20883 | | } |
| | 20884 | | case 34: { |
| | 20885 | | HAlign = input.ReadString(); |
| | 20886 | | break; |
| | 20887 | | } |
| | 20888 | | case 42: { |
| | 20889 | | VAlign = input.ReadString(); |
| | 20890 | | break; |
| | 20891 | | } |
| | 20892 | | case 50: { |
| | 20893 | | Width = input.ReadString(); |
| | 20894 | | break; |
| | 20895 | | } |
| | 20896 | | case 58: { |
| | 20897 | | Height = input.ReadString(); |
| | 20898 | | break; |
| | 20899 | | } |
| | 20900 | | case 66: { |
| | 20901 | | PositionX = input.ReadString(); |
| | 20902 | | break; |
| | 20903 | | } |
| | 20904 | | case 74: { |
| | 20905 | | PositionY = input.ReadString(); |
| | 20906 | | break; |
| | 20907 | | } |
| | 20908 | | case 80: { |
| | 20909 | | IsPointerBlocker = input.ReadBool(); |
| | 20910 | | break; |
| | 20911 | | } |
| | 20912 | | case 90: { |
| | 20913 | | if (parent_ == null) { |
| | 20914 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 20915 | | } |
| | 20916 | | input.ReadMessage(Parent); |
| | 20917 | | break; |
| | 20918 | | } |
| | 20919 | | case 101: { |
| | 20920 | | FontSize = input.ReadFloat(); |
| | 20921 | | break; |
| | 20922 | | } |
| | 20923 | | case 106: { |
| | 20924 | | FontWeight = input.ReadString(); |
| | 20925 | | break; |
| | 20926 | | } |
| | 20927 | | case 117: { |
| | 20928 | | Thickness = input.ReadFloat(); |
| | 20929 | | break; |
| | 20930 | | } |
| | 20931 | | case 125: { |
| | 20932 | | CornerRadius = input.ReadFloat(); |
| | 20933 | | break; |
| | 20934 | | } |
| | 20935 | | case 130: { |
| | 20936 | | if (color_ == null) { |
| | 20937 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 20938 | | } |
| | 20939 | | input.ReadMessage(Color); |
| | 20940 | | break; |
| | 20941 | | } |
| | 20942 | | case 138: { |
| | 20943 | | if (background_ == null) { |
| | 20944 | | Background = new global::DCL.Interface.PB_Color4(); |
| | 20945 | | } |
| | 20946 | | input.ReadMessage(Background); |
| | 20947 | | break; |
| | 20948 | | } |
| | 20949 | | case 149: { |
| | 20950 | | PaddingTop = input.ReadFloat(); |
| | 20951 | | break; |
| | 20952 | | } |
| | 20953 | | case 157: { |
| | 20954 | | PaddingRight = input.ReadFloat(); |
| | 20955 | | break; |
| | 20956 | | } |
| | 20957 | | case 165: { |
| | 20958 | | PaddingBottom = input.ReadFloat(); |
| | 20959 | | break; |
| | 20960 | | } |
| | 20961 | | case 173: { |
| | 20962 | | PaddingLeft = input.ReadFloat(); |
| | 20963 | | break; |
| | 20964 | | } |
| | 20965 | | case 181: { |
| | 20966 | | ShadowBlur = input.ReadFloat(); |
| | 20967 | | break; |
| | 20968 | | } |
| | 20969 | | case 189: { |
| | 20970 | | ShadowOffsetX = input.ReadFloat(); |
| | 20971 | | break; |
| | 20972 | | } |
| | 20973 | | case 197: { |
| | 20974 | | ShadowOffsetY = input.ReadFloat(); |
| | 20975 | | break; |
| | 20976 | | } |
| | 20977 | | case 202: { |
| | 20978 | | if (shadowColor_ == null) { |
| | 20979 | | ShadowColor = new global::DCL.Interface.PB_Color4(); |
| | 20980 | | } |
| | 20981 | | input.ReadMessage(ShadowColor); |
| | 20982 | | break; |
| | 20983 | | } |
| | 20984 | | case 210: { |
| | 20985 | | Text = input.ReadString(); |
| | 20986 | | break; |
| | 20987 | | } |
| | 20988 | | } |
| | 20989 | | } |
| | 20990 | | #endif |
| | 20991 | | } |
| | 20992 | |
|
| | 20993 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 20994 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 20995 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 20996 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 20997 | | uint tag; |
| | 20998 | | while ((tag = input.ReadTag()) != 0) { |
| | 20999 | | switch(tag) { |
| | 21000 | | default: |
| | 21001 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 21002 | | break; |
| | 21003 | | case 10: { |
| | 21004 | | Name = input.ReadString(); |
| | 21005 | | break; |
| | 21006 | | } |
| | 21007 | | case 16: { |
| | 21008 | | Visible = input.ReadBool(); |
| | 21009 | | break; |
| | 21010 | | } |
| | 21011 | | case 29: { |
| | 21012 | | Opacity = input.ReadFloat(); |
| | 21013 | | break; |
| | 21014 | | } |
| | 21015 | | case 34: { |
| | 21016 | | HAlign = input.ReadString(); |
| | 21017 | | break; |
| | 21018 | | } |
| | 21019 | | case 42: { |
| | 21020 | | VAlign = input.ReadString(); |
| | 21021 | | break; |
| | 21022 | | } |
| | 21023 | | case 50: { |
| | 21024 | | Width = input.ReadString(); |
| | 21025 | | break; |
| | 21026 | | } |
| | 21027 | | case 58: { |
| | 21028 | | Height = input.ReadString(); |
| | 21029 | | break; |
| | 21030 | | } |
| | 21031 | | case 66: { |
| | 21032 | | PositionX = input.ReadString(); |
| | 21033 | | break; |
| | 21034 | | } |
| | 21035 | | case 74: { |
| | 21036 | | PositionY = input.ReadString(); |
| | 21037 | | break; |
| | 21038 | | } |
| | 21039 | | case 80: { |
| | 21040 | | IsPointerBlocker = input.ReadBool(); |
| | 21041 | | break; |
| | 21042 | | } |
| | 21043 | | case 90: { |
| | 21044 | | if (parent_ == null) { |
| | 21045 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 21046 | | } |
| | 21047 | | input.ReadMessage(Parent); |
| | 21048 | | break; |
| | 21049 | | } |
| | 21050 | | case 101: { |
| | 21051 | | FontSize = input.ReadFloat(); |
| | 21052 | | break; |
| | 21053 | | } |
| | 21054 | | case 106: { |
| | 21055 | | FontWeight = input.ReadString(); |
| | 21056 | | break; |
| | 21057 | | } |
| | 21058 | | case 117: { |
| | 21059 | | Thickness = input.ReadFloat(); |
| | 21060 | | break; |
| | 21061 | | } |
| | 21062 | | case 125: { |
| | 21063 | | CornerRadius = input.ReadFloat(); |
| | 21064 | | break; |
| | 21065 | | } |
| | 21066 | | case 130: { |
| | 21067 | | if (color_ == null) { |
| | 21068 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 21069 | | } |
| | 21070 | | input.ReadMessage(Color); |
| | 21071 | | break; |
| | 21072 | | } |
| | 21073 | | case 138: { |
| | 21074 | | if (background_ == null) { |
| | 21075 | | Background = new global::DCL.Interface.PB_Color4(); |
| | 21076 | | } |
| | 21077 | | input.ReadMessage(Background); |
| | 21078 | | break; |
| | 21079 | | } |
| | 21080 | | case 149: { |
| | 21081 | | PaddingTop = input.ReadFloat(); |
| | 21082 | | break; |
| | 21083 | | } |
| | 21084 | | case 157: { |
| | 21085 | | PaddingRight = input.ReadFloat(); |
| | 21086 | | break; |
| | 21087 | | } |
| | 21088 | | case 165: { |
| | 21089 | | PaddingBottom = input.ReadFloat(); |
| | 21090 | | break; |
| | 21091 | | } |
| | 21092 | | case 173: { |
| | 21093 | | PaddingLeft = input.ReadFloat(); |
| | 21094 | | break; |
| | 21095 | | } |
| | 21096 | | case 181: { |
| | 21097 | | ShadowBlur = input.ReadFloat(); |
| | 21098 | | break; |
| | 21099 | | } |
| | 21100 | | case 189: { |
| | 21101 | | ShadowOffsetX = input.ReadFloat(); |
| | 21102 | | break; |
| | 21103 | | } |
| | 21104 | | case 197: { |
| | 21105 | | ShadowOffsetY = input.ReadFloat(); |
| | 21106 | | break; |
| | 21107 | | } |
| | 21108 | | case 202: { |
| | 21109 | | if (shadowColor_ == null) { |
| | 21110 | | ShadowColor = new global::DCL.Interface.PB_Color4(); |
| | 21111 | | } |
| | 21112 | | input.ReadMessage(ShadowColor); |
| | 21113 | | break; |
| | 21114 | | } |
| | 21115 | | case 210: { |
| | 21116 | | Text = input.ReadString(); |
| | 21117 | | break; |
| | 21118 | | } |
| | 21119 | | } |
| | 21120 | | } |
| | 21121 | | } |
| | 21122 | | #endif |
| | 21123 | |
|
| | 21124 | | } |
| | 21125 | |
|
| | 21126 | | public sealed partial class PB_UICanvas : pb::IMessage<PB_UICanvas> |
| | 21127 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 21128 | | , pb::IBufferMessage |
| | 21129 | | #endif |
| | 21130 | | { |
| | 21131 | | private static readonly pb::MessageParser<PB_UICanvas> _parser = new pb::MessageParser<PB_UICanvas>(() => new PB_UIC |
| | 21132 | | private pb::UnknownFieldSet _unknownFields; |
| | 21133 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21134 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21135 | | public static pb::MessageParser<PB_UICanvas> Parser { get { return _parser; } } |
| | 21136 | |
|
| | 21137 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21138 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21139 | | public static pbr::MessageDescriptor Descriptor { |
| | 21140 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[55]; } |
| | 21141 | | } |
| | 21142 | |
|
| | 21143 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21144 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21145 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 21146 | | get { return Descriptor; } |
| | 21147 | | } |
| | 21148 | |
|
| | 21149 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21150 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21151 | | public PB_UICanvas() { |
| | 21152 | | OnConstruction(); |
| | 21153 | | } |
| | 21154 | |
|
| | 21155 | | partial void OnConstruction(); |
| | 21156 | |
|
| | 21157 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21158 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21159 | | public PB_UICanvas(PB_UICanvas other) : this() { |
| | 21160 | | name_ = other.name_; |
| | 21161 | | visible_ = other.visible_; |
| | 21162 | | opacity_ = other.opacity_; |
| | 21163 | | hAlign_ = other.hAlign_; |
| | 21164 | | vAlign_ = other.vAlign_; |
| | 21165 | | width_ = other.width_; |
| | 21166 | | height_ = other.height_; |
| | 21167 | | positionX_ = other.positionX_; |
| | 21168 | | positionY_ = other.positionY_; |
| | 21169 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 21170 | | parent_ = other.parent_ != null ? other.parent_.Clone() : null; |
| | 21171 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 21172 | | } |
| | 21173 | |
|
| | 21174 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21175 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21176 | | public PB_UICanvas Clone() { |
| | 21177 | | return new PB_UICanvas(this); |
| | 21178 | | } |
| | 21179 | |
|
| | 21180 | | /// <summary>Field number for the "name" field.</summary> |
| | 21181 | | public const int NameFieldNumber = 1; |
| | 21182 | | private string name_ = ""; |
| | 21183 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21184 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21185 | | public string Name { |
| | 21186 | | get { return name_; } |
| | 21187 | | set { |
| | 21188 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21189 | | } |
| | 21190 | | } |
| | 21191 | |
|
| | 21192 | | /// <summary>Field number for the "visible" field.</summary> |
| | 21193 | | public const int VisibleFieldNumber = 2; |
| | 21194 | | private bool visible_; |
| | 21195 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21196 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21197 | | public bool Visible { |
| | 21198 | | get { return visible_; } |
| | 21199 | | set { |
| | 21200 | | visible_ = value; |
| | 21201 | | } |
| | 21202 | | } |
| | 21203 | |
|
| | 21204 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 21205 | | public const int OpacityFieldNumber = 3; |
| | 21206 | | private float opacity_; |
| | 21207 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21208 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21209 | | public float Opacity { |
| | 21210 | | get { return opacity_; } |
| | 21211 | | set { |
| | 21212 | | opacity_ = value; |
| | 21213 | | } |
| | 21214 | | } |
| | 21215 | |
|
| | 21216 | | /// <summary>Field number for the "hAlign" field.</summary> |
| | 21217 | | public const int HAlignFieldNumber = 4; |
| | 21218 | | private string hAlign_ = ""; |
| | 21219 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21220 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21221 | | public string HAlign { |
| | 21222 | | get { return hAlign_; } |
| | 21223 | | set { |
| | 21224 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21225 | | } |
| | 21226 | | } |
| | 21227 | |
|
| | 21228 | | /// <summary>Field number for the "vAlign" field.</summary> |
| | 21229 | | public const int VAlignFieldNumber = 5; |
| | 21230 | | private string vAlign_ = ""; |
| | 21231 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21232 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21233 | | public string VAlign { |
| | 21234 | | get { return vAlign_; } |
| | 21235 | | set { |
| | 21236 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21237 | | } |
| | 21238 | | } |
| | 21239 | |
|
| | 21240 | | /// <summary>Field number for the "width" field.</summary> |
| | 21241 | | public const int WidthFieldNumber = 6; |
| | 21242 | | private string width_ = ""; |
| | 21243 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21244 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21245 | | public string Width { |
| | 21246 | | get { return width_; } |
| | 21247 | | set { |
| | 21248 | | width_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21249 | | } |
| | 21250 | | } |
| | 21251 | |
|
| | 21252 | | /// <summary>Field number for the "height" field.</summary> |
| | 21253 | | public const int HeightFieldNumber = 7; |
| | 21254 | | private string height_ = ""; |
| | 21255 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21256 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21257 | | public string Height { |
| | 21258 | | get { return height_; } |
| | 21259 | | set { |
| | 21260 | | height_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21261 | | } |
| | 21262 | | } |
| | 21263 | |
|
| | 21264 | | /// <summary>Field number for the "positionX" field.</summary> |
| | 21265 | | public const int PositionXFieldNumber = 8; |
| | 21266 | | private string positionX_ = ""; |
| | 21267 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21268 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21269 | | public string PositionX { |
| | 21270 | | get { return positionX_; } |
| | 21271 | | set { |
| | 21272 | | positionX_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21273 | | } |
| | 21274 | | } |
| | 21275 | |
|
| | 21276 | | /// <summary>Field number for the "positionY" field.</summary> |
| | 21277 | | public const int PositionYFieldNumber = 9; |
| | 21278 | | private string positionY_ = ""; |
| | 21279 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21280 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21281 | | public string PositionY { |
| | 21282 | | get { return positionY_; } |
| | 21283 | | set { |
| | 21284 | | positionY_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21285 | | } |
| | 21286 | | } |
| | 21287 | |
|
| | 21288 | | /// <summary>Field number for the "isPointerBlocker" field.</summary> |
| | 21289 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 21290 | | private bool isPointerBlocker_; |
| | 21291 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21292 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21293 | | public bool IsPointerBlocker { |
| | 21294 | | get { return isPointerBlocker_; } |
| | 21295 | | set { |
| | 21296 | | isPointerBlocker_ = value; |
| | 21297 | | } |
| | 21298 | | } |
| | 21299 | |
|
| | 21300 | | /// <summary>Field number for the "parent" field.</summary> |
| | 21301 | | public const int ParentFieldNumber = 11; |
| | 21302 | | private global::DCL.Interface.PB_UIShape parent_; |
| | 21303 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21304 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21305 | | public global::DCL.Interface.PB_UIShape Parent { |
| | 21306 | | get { return parent_; } |
| | 21307 | | set { |
| | 21308 | | parent_ = value; |
| | 21309 | | } |
| | 21310 | | } |
| | 21311 | |
|
| | 21312 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21313 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21314 | | public override bool Equals(object other) { |
| | 21315 | | return Equals(other as PB_UICanvas); |
| | 21316 | | } |
| | 21317 | |
|
| | 21318 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21319 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21320 | | public bool Equals(PB_UICanvas other) { |
| | 21321 | | if (ReferenceEquals(other, null)) { |
| | 21322 | | return false; |
| | 21323 | | } |
| | 21324 | | if (ReferenceEquals(other, this)) { |
| | 21325 | | return true; |
| | 21326 | | } |
| | 21327 | | if (Name != other.Name) return false; |
| | 21328 | | if (Visible != other.Visible) return false; |
| | 21329 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 21330 | | if (HAlign != other.HAlign) return false; |
| | 21331 | | if (VAlign != other.VAlign) return false; |
| | 21332 | | if (Width != other.Width) return false; |
| | 21333 | | if (Height != other.Height) return false; |
| | 21334 | | if (PositionX != other.PositionX) return false; |
| | 21335 | | if (PositionY != other.PositionY) return false; |
| | 21336 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 21337 | | if (!object.Equals(Parent, other.Parent)) return false; |
| | 21338 | | return Equals(_unknownFields, other._unknownFields); |
| | 21339 | | } |
| | 21340 | |
|
| | 21341 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21342 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21343 | | public override int GetHashCode() { |
| | 21344 | | int hash = 1; |
| | 21345 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 21346 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 21347 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 21348 | | if (HAlign.Length != 0) hash ^= HAlign.GetHashCode(); |
| | 21349 | | if (VAlign.Length != 0) hash ^= VAlign.GetHashCode(); |
| | 21350 | | if (Width.Length != 0) hash ^= Width.GetHashCode(); |
| | 21351 | | if (Height.Length != 0) hash ^= Height.GetHashCode(); |
| | 21352 | | if (PositionX.Length != 0) hash ^= PositionX.GetHashCode(); |
| | 21353 | | if (PositionY.Length != 0) hash ^= PositionY.GetHashCode(); |
| | 21354 | | if (IsPointerBlocker != false) hash ^= IsPointerBlocker.GetHashCode(); |
| | 21355 | | if (parent_ != null) hash ^= Parent.GetHashCode(); |
| | 21356 | | if (_unknownFields != null) { |
| | 21357 | | hash ^= _unknownFields.GetHashCode(); |
| | 21358 | | } |
| | 21359 | | return hash; |
| | 21360 | | } |
| | 21361 | |
|
| | 21362 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21363 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21364 | | public override string ToString() { |
| | 21365 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 21366 | | } |
| | 21367 | |
|
| | 21368 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21369 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21370 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 21371 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 21372 | | output.WriteRawMessage(this); |
| | 21373 | | #else |
| | 21374 | | if (Name.Length != 0) { |
| | 21375 | | output.WriteRawTag(10); |
| | 21376 | | output.WriteString(Name); |
| | 21377 | | } |
| | 21378 | | if (Visible != false) { |
| | 21379 | | output.WriteRawTag(16); |
| | 21380 | | output.WriteBool(Visible); |
| | 21381 | | } |
| | 21382 | | if (Opacity != 0F) { |
| | 21383 | | output.WriteRawTag(29); |
| | 21384 | | output.WriteFloat(Opacity); |
| | 21385 | | } |
| | 21386 | | if (HAlign.Length != 0) { |
| | 21387 | | output.WriteRawTag(34); |
| | 21388 | | output.WriteString(HAlign); |
| | 21389 | | } |
| | 21390 | | if (VAlign.Length != 0) { |
| | 21391 | | output.WriteRawTag(42); |
| | 21392 | | output.WriteString(VAlign); |
| | 21393 | | } |
| | 21394 | | if (Width.Length != 0) { |
| | 21395 | | output.WriteRawTag(50); |
| | 21396 | | output.WriteString(Width); |
| | 21397 | | } |
| | 21398 | | if (Height.Length != 0) { |
| | 21399 | | output.WriteRawTag(58); |
| | 21400 | | output.WriteString(Height); |
| | 21401 | | } |
| | 21402 | | if (PositionX.Length != 0) { |
| | 21403 | | output.WriteRawTag(66); |
| | 21404 | | output.WriteString(PositionX); |
| | 21405 | | } |
| | 21406 | | if (PositionY.Length != 0) { |
| | 21407 | | output.WriteRawTag(74); |
| | 21408 | | output.WriteString(PositionY); |
| | 21409 | | } |
| | 21410 | | if (IsPointerBlocker != false) { |
| | 21411 | | output.WriteRawTag(80); |
| | 21412 | | output.WriteBool(IsPointerBlocker); |
| | 21413 | | } |
| | 21414 | | if (parent_ != null) { |
| | 21415 | | output.WriteRawTag(90); |
| | 21416 | | output.WriteMessage(Parent); |
| | 21417 | | } |
| | 21418 | | if (_unknownFields != null) { |
| | 21419 | | _unknownFields.WriteTo(output); |
| | 21420 | | } |
| | 21421 | | #endif |
| | 21422 | | } |
| | 21423 | |
|
| | 21424 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 21425 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21426 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21427 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 21428 | | if (Name.Length != 0) { |
| | 21429 | | output.WriteRawTag(10); |
| | 21430 | | output.WriteString(Name); |
| | 21431 | | } |
| | 21432 | | if (Visible != false) { |
| | 21433 | | output.WriteRawTag(16); |
| | 21434 | | output.WriteBool(Visible); |
| | 21435 | | } |
| | 21436 | | if (Opacity != 0F) { |
| | 21437 | | output.WriteRawTag(29); |
| | 21438 | | output.WriteFloat(Opacity); |
| | 21439 | | } |
| | 21440 | | if (HAlign.Length != 0) { |
| | 21441 | | output.WriteRawTag(34); |
| | 21442 | | output.WriteString(HAlign); |
| | 21443 | | } |
| | 21444 | | if (VAlign.Length != 0) { |
| | 21445 | | output.WriteRawTag(42); |
| | 21446 | | output.WriteString(VAlign); |
| | 21447 | | } |
| | 21448 | | if (Width.Length != 0) { |
| | 21449 | | output.WriteRawTag(50); |
| | 21450 | | output.WriteString(Width); |
| | 21451 | | } |
| | 21452 | | if (Height.Length != 0) { |
| | 21453 | | output.WriteRawTag(58); |
| | 21454 | | output.WriteString(Height); |
| | 21455 | | } |
| | 21456 | | if (PositionX.Length != 0) { |
| | 21457 | | output.WriteRawTag(66); |
| | 21458 | | output.WriteString(PositionX); |
| | 21459 | | } |
| | 21460 | | if (PositionY.Length != 0) { |
| | 21461 | | output.WriteRawTag(74); |
| | 21462 | | output.WriteString(PositionY); |
| | 21463 | | } |
| | 21464 | | if (IsPointerBlocker != false) { |
| | 21465 | | output.WriteRawTag(80); |
| | 21466 | | output.WriteBool(IsPointerBlocker); |
| | 21467 | | } |
| | 21468 | | if (parent_ != null) { |
| | 21469 | | output.WriteRawTag(90); |
| | 21470 | | output.WriteMessage(Parent); |
| | 21471 | | } |
| | 21472 | | if (_unknownFields != null) { |
| | 21473 | | _unknownFields.WriteTo(ref output); |
| | 21474 | | } |
| | 21475 | | } |
| | 21476 | | #endif |
| | 21477 | |
|
| | 21478 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21479 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21480 | | public int CalculateSize() { |
| | 21481 | | int size = 0; |
| | 21482 | | if (Name.Length != 0) { |
| | 21483 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 21484 | | } |
| | 21485 | | if (Visible != false) { |
| | 21486 | | size += 1 + 1; |
| | 21487 | | } |
| | 21488 | | if (Opacity != 0F) { |
| | 21489 | | size += 1 + 4; |
| | 21490 | | } |
| | 21491 | | if (HAlign.Length != 0) { |
| | 21492 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 21493 | | } |
| | 21494 | | if (VAlign.Length != 0) { |
| | 21495 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 21496 | | } |
| | 21497 | | if (Width.Length != 0) { |
| | 21498 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Width); |
| | 21499 | | } |
| | 21500 | | if (Height.Length != 0) { |
| | 21501 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Height); |
| | 21502 | | } |
| | 21503 | | if (PositionX.Length != 0) { |
| | 21504 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionX); |
| | 21505 | | } |
| | 21506 | | if (PositionY.Length != 0) { |
| | 21507 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionY); |
| | 21508 | | } |
| | 21509 | | if (IsPointerBlocker != false) { |
| | 21510 | | size += 1 + 1; |
| | 21511 | | } |
| | 21512 | | if (parent_ != null) { |
| | 21513 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); |
| | 21514 | | } |
| | 21515 | | if (_unknownFields != null) { |
| | 21516 | | size += _unknownFields.CalculateSize(); |
| | 21517 | | } |
| | 21518 | | return size; |
| | 21519 | | } |
| | 21520 | |
|
| | 21521 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21522 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21523 | | public void MergeFrom(PB_UICanvas other) { |
| | 21524 | | if (other == null) { |
| | 21525 | | return; |
| | 21526 | | } |
| | 21527 | | if (other.Name.Length != 0) { |
| | 21528 | | Name = other.Name; |
| | 21529 | | } |
| | 21530 | | if (other.Visible != false) { |
| | 21531 | | Visible = other.Visible; |
| | 21532 | | } |
| | 21533 | | if (other.Opacity != 0F) { |
| | 21534 | | Opacity = other.Opacity; |
| | 21535 | | } |
| | 21536 | | if (other.HAlign.Length != 0) { |
| | 21537 | | HAlign = other.HAlign; |
| | 21538 | | } |
| | 21539 | | if (other.VAlign.Length != 0) { |
| | 21540 | | VAlign = other.VAlign; |
| | 21541 | | } |
| | 21542 | | if (other.Width.Length != 0) { |
| | 21543 | | Width = other.Width; |
| | 21544 | | } |
| | 21545 | | if (other.Height.Length != 0) { |
| | 21546 | | Height = other.Height; |
| | 21547 | | } |
| | 21548 | | if (other.PositionX.Length != 0) { |
| | 21549 | | PositionX = other.PositionX; |
| | 21550 | | } |
| | 21551 | | if (other.PositionY.Length != 0) { |
| | 21552 | | PositionY = other.PositionY; |
| | 21553 | | } |
| | 21554 | | if (other.IsPointerBlocker != false) { |
| | 21555 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 21556 | | } |
| | 21557 | | if (other.parent_ != null) { |
| | 21558 | | if (parent_ == null) { |
| | 21559 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 21560 | | } |
| | 21561 | | Parent.MergeFrom(other.Parent); |
| | 21562 | | } |
| | 21563 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 21564 | | } |
| | 21565 | |
|
| | 21566 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21567 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21568 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 21569 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 21570 | | input.ReadRawMessage(this); |
| | 21571 | | #else |
| | 21572 | | uint tag; |
| | 21573 | | while ((tag = input.ReadTag()) != 0) { |
| | 21574 | | switch(tag) { |
| | 21575 | | default: |
| | 21576 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 21577 | | break; |
| | 21578 | | case 10: { |
| | 21579 | | Name = input.ReadString(); |
| | 21580 | | break; |
| | 21581 | | } |
| | 21582 | | case 16: { |
| | 21583 | | Visible = input.ReadBool(); |
| | 21584 | | break; |
| | 21585 | | } |
| | 21586 | | case 29: { |
| | 21587 | | Opacity = input.ReadFloat(); |
| | 21588 | | break; |
| | 21589 | | } |
| | 21590 | | case 34: { |
| | 21591 | | HAlign = input.ReadString(); |
| | 21592 | | break; |
| | 21593 | | } |
| | 21594 | | case 42: { |
| | 21595 | | VAlign = input.ReadString(); |
| | 21596 | | break; |
| | 21597 | | } |
| | 21598 | | case 50: { |
| | 21599 | | Width = input.ReadString(); |
| | 21600 | | break; |
| | 21601 | | } |
| | 21602 | | case 58: { |
| | 21603 | | Height = input.ReadString(); |
| | 21604 | | break; |
| | 21605 | | } |
| | 21606 | | case 66: { |
| | 21607 | | PositionX = input.ReadString(); |
| | 21608 | | break; |
| | 21609 | | } |
| | 21610 | | case 74: { |
| | 21611 | | PositionY = input.ReadString(); |
| | 21612 | | break; |
| | 21613 | | } |
| | 21614 | | case 80: { |
| | 21615 | | IsPointerBlocker = input.ReadBool(); |
| | 21616 | | break; |
| | 21617 | | } |
| | 21618 | | case 90: { |
| | 21619 | | if (parent_ == null) { |
| | 21620 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 21621 | | } |
| | 21622 | | input.ReadMessage(Parent); |
| | 21623 | | break; |
| | 21624 | | } |
| | 21625 | | } |
| | 21626 | | } |
| | 21627 | | #endif |
| | 21628 | | } |
| | 21629 | |
|
| | 21630 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 21631 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21632 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21633 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 21634 | | uint tag; |
| | 21635 | | while ((tag = input.ReadTag()) != 0) { |
| | 21636 | | switch(tag) { |
| | 21637 | | default: |
| | 21638 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 21639 | | break; |
| | 21640 | | case 10: { |
| | 21641 | | Name = input.ReadString(); |
| | 21642 | | break; |
| | 21643 | | } |
| | 21644 | | case 16: { |
| | 21645 | | Visible = input.ReadBool(); |
| | 21646 | | break; |
| | 21647 | | } |
| | 21648 | | case 29: { |
| | 21649 | | Opacity = input.ReadFloat(); |
| | 21650 | | break; |
| | 21651 | | } |
| | 21652 | | case 34: { |
| | 21653 | | HAlign = input.ReadString(); |
| | 21654 | | break; |
| | 21655 | | } |
| | 21656 | | case 42: { |
| | 21657 | | VAlign = input.ReadString(); |
| | 21658 | | break; |
| | 21659 | | } |
| | 21660 | | case 50: { |
| | 21661 | | Width = input.ReadString(); |
| | 21662 | | break; |
| | 21663 | | } |
| | 21664 | | case 58: { |
| | 21665 | | Height = input.ReadString(); |
| | 21666 | | break; |
| | 21667 | | } |
| | 21668 | | case 66: { |
| | 21669 | | PositionX = input.ReadString(); |
| | 21670 | | break; |
| | 21671 | | } |
| | 21672 | | case 74: { |
| | 21673 | | PositionY = input.ReadString(); |
| | 21674 | | break; |
| | 21675 | | } |
| | 21676 | | case 80: { |
| | 21677 | | IsPointerBlocker = input.ReadBool(); |
| | 21678 | | break; |
| | 21679 | | } |
| | 21680 | | case 90: { |
| | 21681 | | if (parent_ == null) { |
| | 21682 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 21683 | | } |
| | 21684 | | input.ReadMessage(Parent); |
| | 21685 | | break; |
| | 21686 | | } |
| | 21687 | | } |
| | 21688 | | } |
| | 21689 | | } |
| | 21690 | | #endif |
| | 21691 | |
|
| | 21692 | | } |
| | 21693 | |
|
| | 21694 | | public sealed partial class PB_UIContainerRect : pb::IMessage<PB_UIContainerRect> |
| | 21695 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 21696 | | , pb::IBufferMessage |
| | 21697 | | #endif |
| | 21698 | | { |
| | 21699 | | private static readonly pb::MessageParser<PB_UIContainerRect> _parser = new pb::MessageParser<PB_UIContainerRect>(() |
| | 21700 | | private pb::UnknownFieldSet _unknownFields; |
| | 21701 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21702 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21703 | | public static pb::MessageParser<PB_UIContainerRect> Parser { get { return _parser; } } |
| | 21704 | |
|
| | 21705 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21706 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21707 | | public static pbr::MessageDescriptor Descriptor { |
| | 21708 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[56]; } |
| | 21709 | | } |
| | 21710 | |
|
| | 21711 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21712 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21713 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 21714 | | get { return Descriptor; } |
| | 21715 | | } |
| | 21716 | |
|
| | 21717 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21718 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21719 | | public PB_UIContainerRect() { |
| | 21720 | | OnConstruction(); |
| | 21721 | | } |
| | 21722 | |
|
| | 21723 | | partial void OnConstruction(); |
| | 21724 | |
|
| | 21725 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21726 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21727 | | public PB_UIContainerRect(PB_UIContainerRect other) : this() { |
| | 21728 | | name_ = other.name_; |
| | 21729 | | visible_ = other.visible_; |
| | 21730 | | opacity_ = other.opacity_; |
| | 21731 | | hAlign_ = other.hAlign_; |
| | 21732 | | vAlign_ = other.vAlign_; |
| | 21733 | | width_ = other.width_; |
| | 21734 | | height_ = other.height_; |
| | 21735 | | positionX_ = other.positionX_; |
| | 21736 | | positionY_ = other.positionY_; |
| | 21737 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 21738 | | parent_ = other.parent_ != null ? other.parent_.Clone() : null; |
| | 21739 | | adaptWidth_ = other.adaptWidth_; |
| | 21740 | | adaptHeight_ = other.adaptHeight_; |
| | 21741 | | thickness_ = other.thickness_; |
| | 21742 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 21743 | | alignmentUsesSize_ = other.alignmentUsesSize_; |
| | 21744 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 21745 | | } |
| | 21746 | |
|
| | 21747 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21748 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21749 | | public PB_UIContainerRect Clone() { |
| | 21750 | | return new PB_UIContainerRect(this); |
| | 21751 | | } |
| | 21752 | |
|
| | 21753 | | /// <summary>Field number for the "name" field.</summary> |
| | 21754 | | public const int NameFieldNumber = 1; |
| | 21755 | | private string name_ = ""; |
| | 21756 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21757 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21758 | | public string Name { |
| | 21759 | | get { return name_; } |
| | 21760 | | set { |
| | 21761 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21762 | | } |
| | 21763 | | } |
| | 21764 | |
|
| | 21765 | | /// <summary>Field number for the "visible" field.</summary> |
| | 21766 | | public const int VisibleFieldNumber = 2; |
| | 21767 | | private bool visible_; |
| | 21768 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21769 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21770 | | public bool Visible { |
| | 21771 | | get { return visible_; } |
| | 21772 | | set { |
| | 21773 | | visible_ = value; |
| | 21774 | | } |
| | 21775 | | } |
| | 21776 | |
|
| | 21777 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 21778 | | public const int OpacityFieldNumber = 3; |
| | 21779 | | private float opacity_; |
| | 21780 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21781 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21782 | | public float Opacity { |
| | 21783 | | get { return opacity_; } |
| | 21784 | | set { |
| | 21785 | | opacity_ = value; |
| | 21786 | | } |
| | 21787 | | } |
| | 21788 | |
|
| | 21789 | | /// <summary>Field number for the "hAlign" field.</summary> |
| | 21790 | | public const int HAlignFieldNumber = 4; |
| | 21791 | | private string hAlign_ = ""; |
| | 21792 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21793 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21794 | | public string HAlign { |
| | 21795 | | get { return hAlign_; } |
| | 21796 | | set { |
| | 21797 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21798 | | } |
| | 21799 | | } |
| | 21800 | |
|
| | 21801 | | /// <summary>Field number for the "vAlign" field.</summary> |
| | 21802 | | public const int VAlignFieldNumber = 5; |
| | 21803 | | private string vAlign_ = ""; |
| | 21804 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21805 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21806 | | public string VAlign { |
| | 21807 | | get { return vAlign_; } |
| | 21808 | | set { |
| | 21809 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21810 | | } |
| | 21811 | | } |
| | 21812 | |
|
| | 21813 | | /// <summary>Field number for the "width" field.</summary> |
| | 21814 | | public const int WidthFieldNumber = 6; |
| | 21815 | | private string width_ = ""; |
| | 21816 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21817 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21818 | | public string Width { |
| | 21819 | | get { return width_; } |
| | 21820 | | set { |
| | 21821 | | width_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21822 | | } |
| | 21823 | | } |
| | 21824 | |
|
| | 21825 | | /// <summary>Field number for the "height" field.</summary> |
| | 21826 | | public const int HeightFieldNumber = 7; |
| | 21827 | | private string height_ = ""; |
| | 21828 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21829 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21830 | | public string Height { |
| | 21831 | | get { return height_; } |
| | 21832 | | set { |
| | 21833 | | height_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21834 | | } |
| | 21835 | | } |
| | 21836 | |
|
| | 21837 | | /// <summary>Field number for the "positionX" field.</summary> |
| | 21838 | | public const int PositionXFieldNumber = 8; |
| | 21839 | | private string positionX_ = ""; |
| | 21840 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21841 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21842 | | public string PositionX { |
| | 21843 | | get { return positionX_; } |
| | 21844 | | set { |
| | 21845 | | positionX_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21846 | | } |
| | 21847 | | } |
| | 21848 | |
|
| | 21849 | | /// <summary>Field number for the "positionY" field.</summary> |
| | 21850 | | public const int PositionYFieldNumber = 9; |
| | 21851 | | private string positionY_ = ""; |
| | 21852 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21853 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21854 | | public string PositionY { |
| | 21855 | | get { return positionY_; } |
| | 21856 | | set { |
| | 21857 | | positionY_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 21858 | | } |
| | 21859 | | } |
| | 21860 | |
|
| | 21861 | | /// <summary>Field number for the "isPointerBlocker" field.</summary> |
| | 21862 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 21863 | | private bool isPointerBlocker_; |
| | 21864 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21865 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21866 | | public bool IsPointerBlocker { |
| | 21867 | | get { return isPointerBlocker_; } |
| | 21868 | | set { |
| | 21869 | | isPointerBlocker_ = value; |
| | 21870 | | } |
| | 21871 | | } |
| | 21872 | |
|
| | 21873 | | /// <summary>Field number for the "parent" field.</summary> |
| | 21874 | | public const int ParentFieldNumber = 11; |
| | 21875 | | private global::DCL.Interface.PB_UIShape parent_; |
| | 21876 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21877 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21878 | | public global::DCL.Interface.PB_UIShape Parent { |
| | 21879 | | get { return parent_; } |
| | 21880 | | set { |
| | 21881 | | parent_ = value; |
| | 21882 | | } |
| | 21883 | | } |
| | 21884 | |
|
| | 21885 | | /// <summary>Field number for the "adaptWidth" field.</summary> |
| | 21886 | | public const int AdaptWidthFieldNumber = 12; |
| | 21887 | | private bool adaptWidth_; |
| | 21888 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21889 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21890 | | public bool AdaptWidth { |
| | 21891 | | get { return adaptWidth_; } |
| | 21892 | | set { |
| | 21893 | | adaptWidth_ = value; |
| | 21894 | | } |
| | 21895 | | } |
| | 21896 | |
|
| | 21897 | | /// <summary>Field number for the "adaptHeight" field.</summary> |
| | 21898 | | public const int AdaptHeightFieldNumber = 13; |
| | 21899 | | private bool adaptHeight_; |
| | 21900 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21901 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21902 | | public bool AdaptHeight { |
| | 21903 | | get { return adaptHeight_; } |
| | 21904 | | set { |
| | 21905 | | adaptHeight_ = value; |
| | 21906 | | } |
| | 21907 | | } |
| | 21908 | |
|
| | 21909 | | /// <summary>Field number for the "thickness" field.</summary> |
| | 21910 | | public const int ThicknessFieldNumber = 14; |
| | 21911 | | private float thickness_; |
| | 21912 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21913 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21914 | | public float Thickness { |
| | 21915 | | get { return thickness_; } |
| | 21916 | | set { |
| | 21917 | | thickness_ = value; |
| | 21918 | | } |
| | 21919 | | } |
| | 21920 | |
|
| | 21921 | | /// <summary>Field number for the "color" field.</summary> |
| | 21922 | | public const int ColorFieldNumber = 15; |
| | 21923 | | private global::DCL.Interface.PB_Color4 color_; |
| | 21924 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21925 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21926 | | public global::DCL.Interface.PB_Color4 Color { |
| | 21927 | | get { return color_; } |
| | 21928 | | set { |
| | 21929 | | color_ = value; |
| | 21930 | | } |
| | 21931 | | } |
| | 21932 | |
|
| | 21933 | | /// <summary>Field number for the "alignmentUsesSize" field.</summary> |
| | 21934 | | public const int AlignmentUsesSizeFieldNumber = 16; |
| | 21935 | | private bool alignmentUsesSize_; |
| | 21936 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21937 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21938 | | public bool AlignmentUsesSize { |
| | 21939 | | get { return alignmentUsesSize_; } |
| | 21940 | | set { |
| | 21941 | | alignmentUsesSize_ = value; |
| | 21942 | | } |
| | 21943 | | } |
| | 21944 | |
|
| | 21945 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21946 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21947 | | public override bool Equals(object other) { |
| | 21948 | | return Equals(other as PB_UIContainerRect); |
| | 21949 | | } |
| | 21950 | |
|
| | 21951 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21952 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21953 | | public bool Equals(PB_UIContainerRect other) { |
| | 21954 | | if (ReferenceEquals(other, null)) { |
| | 21955 | | return false; |
| | 21956 | | } |
| | 21957 | | if (ReferenceEquals(other, this)) { |
| | 21958 | | return true; |
| | 21959 | | } |
| | 21960 | | if (Name != other.Name) return false; |
| | 21961 | | if (Visible != other.Visible) return false; |
| | 21962 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 21963 | | if (HAlign != other.HAlign) return false; |
| | 21964 | | if (VAlign != other.VAlign) return false; |
| | 21965 | | if (Width != other.Width) return false; |
| | 21966 | | if (Height != other.Height) return false; |
| | 21967 | | if (PositionX != other.PositionX) return false; |
| | 21968 | | if (PositionY != other.PositionY) return false; |
| | 21969 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 21970 | | if (!object.Equals(Parent, other.Parent)) return false; |
| | 21971 | | if (AdaptWidth != other.AdaptWidth) return false; |
| | 21972 | | if (AdaptHeight != other.AdaptHeight) return false; |
| | 21973 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Thickness, other.Thickness)) return false |
| | 21974 | | if (!object.Equals(Color, other.Color)) return false; |
| | 21975 | | if (AlignmentUsesSize != other.AlignmentUsesSize) return false; |
| | 21976 | | return Equals(_unknownFields, other._unknownFields); |
| | 21977 | | } |
| | 21978 | |
|
| | 21979 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 21980 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 21981 | | public override int GetHashCode() { |
| | 21982 | | int hash = 1; |
| | 21983 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 21984 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 21985 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 21986 | | if (HAlign.Length != 0) hash ^= HAlign.GetHashCode(); |
| | 21987 | | if (VAlign.Length != 0) hash ^= VAlign.GetHashCode(); |
| | 21988 | | if (Width.Length != 0) hash ^= Width.GetHashCode(); |
| | 21989 | | if (Height.Length != 0) hash ^= Height.GetHashCode(); |
| | 21990 | | if (PositionX.Length != 0) hash ^= PositionX.GetHashCode(); |
| | 21991 | | if (PositionY.Length != 0) hash ^= PositionY.GetHashCode(); |
| | 21992 | | if (IsPointerBlocker != false) hash ^= IsPointerBlocker.GetHashCode(); |
| | 21993 | | if (parent_ != null) hash ^= Parent.GetHashCode(); |
| | 21994 | | if (AdaptWidth != false) hash ^= AdaptWidth.GetHashCode(); |
| | 21995 | | if (AdaptHeight != false) hash ^= AdaptHeight.GetHashCode(); |
| | 21996 | | if (Thickness != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Thickness); |
| | 21997 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 21998 | | if (AlignmentUsesSize != false) hash ^= AlignmentUsesSize.GetHashCode(); |
| | 21999 | | if (_unknownFields != null) { |
| | 22000 | | hash ^= _unknownFields.GetHashCode(); |
| | 22001 | | } |
| | 22002 | | return hash; |
| | 22003 | | } |
| | 22004 | |
|
| | 22005 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22006 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22007 | | public override string ToString() { |
| | 22008 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 22009 | | } |
| | 22010 | |
|
| | 22011 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22012 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22013 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 22014 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 22015 | | output.WriteRawMessage(this); |
| | 22016 | | #else |
| | 22017 | | if (Name.Length != 0) { |
| | 22018 | | output.WriteRawTag(10); |
| | 22019 | | output.WriteString(Name); |
| | 22020 | | } |
| | 22021 | | if (Visible != false) { |
| | 22022 | | output.WriteRawTag(16); |
| | 22023 | | output.WriteBool(Visible); |
| | 22024 | | } |
| | 22025 | | if (Opacity != 0F) { |
| | 22026 | | output.WriteRawTag(29); |
| | 22027 | | output.WriteFloat(Opacity); |
| | 22028 | | } |
| | 22029 | | if (HAlign.Length != 0) { |
| | 22030 | | output.WriteRawTag(34); |
| | 22031 | | output.WriteString(HAlign); |
| | 22032 | | } |
| | 22033 | | if (VAlign.Length != 0) { |
| | 22034 | | output.WriteRawTag(42); |
| | 22035 | | output.WriteString(VAlign); |
| | 22036 | | } |
| | 22037 | | if (Width.Length != 0) { |
| | 22038 | | output.WriteRawTag(50); |
| | 22039 | | output.WriteString(Width); |
| | 22040 | | } |
| | 22041 | | if (Height.Length != 0) { |
| | 22042 | | output.WriteRawTag(58); |
| | 22043 | | output.WriteString(Height); |
| | 22044 | | } |
| | 22045 | | if (PositionX.Length != 0) { |
| | 22046 | | output.WriteRawTag(66); |
| | 22047 | | output.WriteString(PositionX); |
| | 22048 | | } |
| | 22049 | | if (PositionY.Length != 0) { |
| | 22050 | | output.WriteRawTag(74); |
| | 22051 | | output.WriteString(PositionY); |
| | 22052 | | } |
| | 22053 | | if (IsPointerBlocker != false) { |
| | 22054 | | output.WriteRawTag(80); |
| | 22055 | | output.WriteBool(IsPointerBlocker); |
| | 22056 | | } |
| | 22057 | | if (parent_ != null) { |
| | 22058 | | output.WriteRawTag(90); |
| | 22059 | | output.WriteMessage(Parent); |
| | 22060 | | } |
| | 22061 | | if (AdaptWidth != false) { |
| | 22062 | | output.WriteRawTag(96); |
| | 22063 | | output.WriteBool(AdaptWidth); |
| | 22064 | | } |
| | 22065 | | if (AdaptHeight != false) { |
| | 22066 | | output.WriteRawTag(104); |
| | 22067 | | output.WriteBool(AdaptHeight); |
| | 22068 | | } |
| | 22069 | | if (Thickness != 0F) { |
| | 22070 | | output.WriteRawTag(117); |
| | 22071 | | output.WriteFloat(Thickness); |
| | 22072 | | } |
| | 22073 | | if (color_ != null) { |
| | 22074 | | output.WriteRawTag(122); |
| | 22075 | | output.WriteMessage(Color); |
| | 22076 | | } |
| | 22077 | | if (AlignmentUsesSize != false) { |
| | 22078 | | output.WriteRawTag(128, 1); |
| | 22079 | | output.WriteBool(AlignmentUsesSize); |
| | 22080 | | } |
| | 22081 | | if (_unknownFields != null) { |
| | 22082 | | _unknownFields.WriteTo(output); |
| | 22083 | | } |
| | 22084 | | #endif |
| | 22085 | | } |
| | 22086 | |
|
| | 22087 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 22088 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22089 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22090 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 22091 | | if (Name.Length != 0) { |
| | 22092 | | output.WriteRawTag(10); |
| | 22093 | | output.WriteString(Name); |
| | 22094 | | } |
| | 22095 | | if (Visible != false) { |
| | 22096 | | output.WriteRawTag(16); |
| | 22097 | | output.WriteBool(Visible); |
| | 22098 | | } |
| | 22099 | | if (Opacity != 0F) { |
| | 22100 | | output.WriteRawTag(29); |
| | 22101 | | output.WriteFloat(Opacity); |
| | 22102 | | } |
| | 22103 | | if (HAlign.Length != 0) { |
| | 22104 | | output.WriteRawTag(34); |
| | 22105 | | output.WriteString(HAlign); |
| | 22106 | | } |
| | 22107 | | if (VAlign.Length != 0) { |
| | 22108 | | output.WriteRawTag(42); |
| | 22109 | | output.WriteString(VAlign); |
| | 22110 | | } |
| | 22111 | | if (Width.Length != 0) { |
| | 22112 | | output.WriteRawTag(50); |
| | 22113 | | output.WriteString(Width); |
| | 22114 | | } |
| | 22115 | | if (Height.Length != 0) { |
| | 22116 | | output.WriteRawTag(58); |
| | 22117 | | output.WriteString(Height); |
| | 22118 | | } |
| | 22119 | | if (PositionX.Length != 0) { |
| | 22120 | | output.WriteRawTag(66); |
| | 22121 | | output.WriteString(PositionX); |
| | 22122 | | } |
| | 22123 | | if (PositionY.Length != 0) { |
| | 22124 | | output.WriteRawTag(74); |
| | 22125 | | output.WriteString(PositionY); |
| | 22126 | | } |
| | 22127 | | if (IsPointerBlocker != false) { |
| | 22128 | | output.WriteRawTag(80); |
| | 22129 | | output.WriteBool(IsPointerBlocker); |
| | 22130 | | } |
| | 22131 | | if (parent_ != null) { |
| | 22132 | | output.WriteRawTag(90); |
| | 22133 | | output.WriteMessage(Parent); |
| | 22134 | | } |
| | 22135 | | if (AdaptWidth != false) { |
| | 22136 | | output.WriteRawTag(96); |
| | 22137 | | output.WriteBool(AdaptWidth); |
| | 22138 | | } |
| | 22139 | | if (AdaptHeight != false) { |
| | 22140 | | output.WriteRawTag(104); |
| | 22141 | | output.WriteBool(AdaptHeight); |
| | 22142 | | } |
| | 22143 | | if (Thickness != 0F) { |
| | 22144 | | output.WriteRawTag(117); |
| | 22145 | | output.WriteFloat(Thickness); |
| | 22146 | | } |
| | 22147 | | if (color_ != null) { |
| | 22148 | | output.WriteRawTag(122); |
| | 22149 | | output.WriteMessage(Color); |
| | 22150 | | } |
| | 22151 | | if (AlignmentUsesSize != false) { |
| | 22152 | | output.WriteRawTag(128, 1); |
| | 22153 | | output.WriteBool(AlignmentUsesSize); |
| | 22154 | | } |
| | 22155 | | if (_unknownFields != null) { |
| | 22156 | | _unknownFields.WriteTo(ref output); |
| | 22157 | | } |
| | 22158 | | } |
| | 22159 | | #endif |
| | 22160 | |
|
| | 22161 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22162 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22163 | | public int CalculateSize() { |
| | 22164 | | int size = 0; |
| | 22165 | | if (Name.Length != 0) { |
| | 22166 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 22167 | | } |
| | 22168 | | if (Visible != false) { |
| | 22169 | | size += 1 + 1; |
| | 22170 | | } |
| | 22171 | | if (Opacity != 0F) { |
| | 22172 | | size += 1 + 4; |
| | 22173 | | } |
| | 22174 | | if (HAlign.Length != 0) { |
| | 22175 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 22176 | | } |
| | 22177 | | if (VAlign.Length != 0) { |
| | 22178 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 22179 | | } |
| | 22180 | | if (Width.Length != 0) { |
| | 22181 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Width); |
| | 22182 | | } |
| | 22183 | | if (Height.Length != 0) { |
| | 22184 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Height); |
| | 22185 | | } |
| | 22186 | | if (PositionX.Length != 0) { |
| | 22187 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionX); |
| | 22188 | | } |
| | 22189 | | if (PositionY.Length != 0) { |
| | 22190 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionY); |
| | 22191 | | } |
| | 22192 | | if (IsPointerBlocker != false) { |
| | 22193 | | size += 1 + 1; |
| | 22194 | | } |
| | 22195 | | if (parent_ != null) { |
| | 22196 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); |
| | 22197 | | } |
| | 22198 | | if (AdaptWidth != false) { |
| | 22199 | | size += 1 + 1; |
| | 22200 | | } |
| | 22201 | | if (AdaptHeight != false) { |
| | 22202 | | size += 1 + 1; |
| | 22203 | | } |
| | 22204 | | if (Thickness != 0F) { |
| | 22205 | | size += 1 + 4; |
| | 22206 | | } |
| | 22207 | | if (color_ != null) { |
| | 22208 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 22209 | | } |
| | 22210 | | if (AlignmentUsesSize != false) { |
| | 22211 | | size += 2 + 1; |
| | 22212 | | } |
| | 22213 | | if (_unknownFields != null) { |
| | 22214 | | size += _unknownFields.CalculateSize(); |
| | 22215 | | } |
| | 22216 | | return size; |
| | 22217 | | } |
| | 22218 | |
|
| | 22219 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22220 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22221 | | public void MergeFrom(PB_UIContainerRect other) { |
| | 22222 | | if (other == null) { |
| | 22223 | | return; |
| | 22224 | | } |
| | 22225 | | if (other.Name.Length != 0) { |
| | 22226 | | Name = other.Name; |
| | 22227 | | } |
| | 22228 | | if (other.Visible != false) { |
| | 22229 | | Visible = other.Visible; |
| | 22230 | | } |
| | 22231 | | if (other.Opacity != 0F) { |
| | 22232 | | Opacity = other.Opacity; |
| | 22233 | | } |
| | 22234 | | if (other.HAlign.Length != 0) { |
| | 22235 | | HAlign = other.HAlign; |
| | 22236 | | } |
| | 22237 | | if (other.VAlign.Length != 0) { |
| | 22238 | | VAlign = other.VAlign; |
| | 22239 | | } |
| | 22240 | | if (other.Width.Length != 0) { |
| | 22241 | | Width = other.Width; |
| | 22242 | | } |
| | 22243 | | if (other.Height.Length != 0) { |
| | 22244 | | Height = other.Height; |
| | 22245 | | } |
| | 22246 | | if (other.PositionX.Length != 0) { |
| | 22247 | | PositionX = other.PositionX; |
| | 22248 | | } |
| | 22249 | | if (other.PositionY.Length != 0) { |
| | 22250 | | PositionY = other.PositionY; |
| | 22251 | | } |
| | 22252 | | if (other.IsPointerBlocker != false) { |
| | 22253 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 22254 | | } |
| | 22255 | | if (other.parent_ != null) { |
| | 22256 | | if (parent_ == null) { |
| | 22257 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 22258 | | } |
| | 22259 | | Parent.MergeFrom(other.Parent); |
| | 22260 | | } |
| | 22261 | | if (other.AdaptWidth != false) { |
| | 22262 | | AdaptWidth = other.AdaptWidth; |
| | 22263 | | } |
| | 22264 | | if (other.AdaptHeight != false) { |
| | 22265 | | AdaptHeight = other.AdaptHeight; |
| | 22266 | | } |
| | 22267 | | if (other.Thickness != 0F) { |
| | 22268 | | Thickness = other.Thickness; |
| | 22269 | | } |
| | 22270 | | if (other.color_ != null) { |
| | 22271 | | if (color_ == null) { |
| | 22272 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 22273 | | } |
| | 22274 | | Color.MergeFrom(other.Color); |
| | 22275 | | } |
| | 22276 | | if (other.AlignmentUsesSize != false) { |
| | 22277 | | AlignmentUsesSize = other.AlignmentUsesSize; |
| | 22278 | | } |
| | 22279 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 22280 | | } |
| | 22281 | |
|
| | 22282 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22283 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22284 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 22285 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 22286 | | input.ReadRawMessage(this); |
| | 22287 | | #else |
| | 22288 | | uint tag; |
| | 22289 | | while ((tag = input.ReadTag()) != 0) { |
| | 22290 | | switch(tag) { |
| | 22291 | | default: |
| | 22292 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 22293 | | break; |
| | 22294 | | case 10: { |
| | 22295 | | Name = input.ReadString(); |
| | 22296 | | break; |
| | 22297 | | } |
| | 22298 | | case 16: { |
| | 22299 | | Visible = input.ReadBool(); |
| | 22300 | | break; |
| | 22301 | | } |
| | 22302 | | case 29: { |
| | 22303 | | Opacity = input.ReadFloat(); |
| | 22304 | | break; |
| | 22305 | | } |
| | 22306 | | case 34: { |
| | 22307 | | HAlign = input.ReadString(); |
| | 22308 | | break; |
| | 22309 | | } |
| | 22310 | | case 42: { |
| | 22311 | | VAlign = input.ReadString(); |
| | 22312 | | break; |
| | 22313 | | } |
| | 22314 | | case 50: { |
| | 22315 | | Width = input.ReadString(); |
| | 22316 | | break; |
| | 22317 | | } |
| | 22318 | | case 58: { |
| | 22319 | | Height = input.ReadString(); |
| | 22320 | | break; |
| | 22321 | | } |
| | 22322 | | case 66: { |
| | 22323 | | PositionX = input.ReadString(); |
| | 22324 | | break; |
| | 22325 | | } |
| | 22326 | | case 74: { |
| | 22327 | | PositionY = input.ReadString(); |
| | 22328 | | break; |
| | 22329 | | } |
| | 22330 | | case 80: { |
| | 22331 | | IsPointerBlocker = input.ReadBool(); |
| | 22332 | | break; |
| | 22333 | | } |
| | 22334 | | case 90: { |
| | 22335 | | if (parent_ == null) { |
| | 22336 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 22337 | | } |
| | 22338 | | input.ReadMessage(Parent); |
| | 22339 | | break; |
| | 22340 | | } |
| | 22341 | | case 96: { |
| | 22342 | | AdaptWidth = input.ReadBool(); |
| | 22343 | | break; |
| | 22344 | | } |
| | 22345 | | case 104: { |
| | 22346 | | AdaptHeight = input.ReadBool(); |
| | 22347 | | break; |
| | 22348 | | } |
| | 22349 | | case 117: { |
| | 22350 | | Thickness = input.ReadFloat(); |
| | 22351 | | break; |
| | 22352 | | } |
| | 22353 | | case 122: { |
| | 22354 | | if (color_ == null) { |
| | 22355 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 22356 | | } |
| | 22357 | | input.ReadMessage(Color); |
| | 22358 | | break; |
| | 22359 | | } |
| | 22360 | | case 128: { |
| | 22361 | | AlignmentUsesSize = input.ReadBool(); |
| | 22362 | | break; |
| | 22363 | | } |
| | 22364 | | } |
| | 22365 | | } |
| | 22366 | | #endif |
| | 22367 | | } |
| | 22368 | |
|
| | 22369 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 22370 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22371 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22372 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 22373 | | uint tag; |
| | 22374 | | while ((tag = input.ReadTag()) != 0) { |
| | 22375 | | switch(tag) { |
| | 22376 | | default: |
| | 22377 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 22378 | | break; |
| | 22379 | | case 10: { |
| | 22380 | | Name = input.ReadString(); |
| | 22381 | | break; |
| | 22382 | | } |
| | 22383 | | case 16: { |
| | 22384 | | Visible = input.ReadBool(); |
| | 22385 | | break; |
| | 22386 | | } |
| | 22387 | | case 29: { |
| | 22388 | | Opacity = input.ReadFloat(); |
| | 22389 | | break; |
| | 22390 | | } |
| | 22391 | | case 34: { |
| | 22392 | | HAlign = input.ReadString(); |
| | 22393 | | break; |
| | 22394 | | } |
| | 22395 | | case 42: { |
| | 22396 | | VAlign = input.ReadString(); |
| | 22397 | | break; |
| | 22398 | | } |
| | 22399 | | case 50: { |
| | 22400 | | Width = input.ReadString(); |
| | 22401 | | break; |
| | 22402 | | } |
| | 22403 | | case 58: { |
| | 22404 | | Height = input.ReadString(); |
| | 22405 | | break; |
| | 22406 | | } |
| | 22407 | | case 66: { |
| | 22408 | | PositionX = input.ReadString(); |
| | 22409 | | break; |
| | 22410 | | } |
| | 22411 | | case 74: { |
| | 22412 | | PositionY = input.ReadString(); |
| | 22413 | | break; |
| | 22414 | | } |
| | 22415 | | case 80: { |
| | 22416 | | IsPointerBlocker = input.ReadBool(); |
| | 22417 | | break; |
| | 22418 | | } |
| | 22419 | | case 90: { |
| | 22420 | | if (parent_ == null) { |
| | 22421 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 22422 | | } |
| | 22423 | | input.ReadMessage(Parent); |
| | 22424 | | break; |
| | 22425 | | } |
| | 22426 | | case 96: { |
| | 22427 | | AdaptWidth = input.ReadBool(); |
| | 22428 | | break; |
| | 22429 | | } |
| | 22430 | | case 104: { |
| | 22431 | | AdaptHeight = input.ReadBool(); |
| | 22432 | | break; |
| | 22433 | | } |
| | 22434 | | case 117: { |
| | 22435 | | Thickness = input.ReadFloat(); |
| | 22436 | | break; |
| | 22437 | | } |
| | 22438 | | case 122: { |
| | 22439 | | if (color_ == null) { |
| | 22440 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 22441 | | } |
| | 22442 | | input.ReadMessage(Color); |
| | 22443 | | break; |
| | 22444 | | } |
| | 22445 | | case 128: { |
| | 22446 | | AlignmentUsesSize = input.ReadBool(); |
| | 22447 | | break; |
| | 22448 | | } |
| | 22449 | | } |
| | 22450 | | } |
| | 22451 | | } |
| | 22452 | | #endif |
| | 22453 | |
|
| | 22454 | | } |
| | 22455 | |
|
| | 22456 | | public sealed partial class PB_UIContainerStack : pb::IMessage<PB_UIContainerStack> |
| | 22457 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 22458 | | , pb::IBufferMessage |
| | 22459 | | #endif |
| | 22460 | | { |
| | 22461 | | private static readonly pb::MessageParser<PB_UIContainerStack> _parser = new pb::MessageParser<PB_UIContainerStack>( |
| | 22462 | | private pb::UnknownFieldSet _unknownFields; |
| | 22463 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22464 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22465 | | public static pb::MessageParser<PB_UIContainerStack> Parser { get { return _parser; } } |
| | 22466 | |
|
| | 22467 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22468 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22469 | | public static pbr::MessageDescriptor Descriptor { |
| | 22470 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[57]; } |
| | 22471 | | } |
| | 22472 | |
|
| | 22473 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22474 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22475 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 22476 | | get { return Descriptor; } |
| | 22477 | | } |
| | 22478 | |
|
| | 22479 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22480 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22481 | | public PB_UIContainerStack() { |
| | 22482 | | OnConstruction(); |
| | 22483 | | } |
| | 22484 | |
|
| | 22485 | | partial void OnConstruction(); |
| | 22486 | |
|
| | 22487 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22488 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22489 | | public PB_UIContainerStack(PB_UIContainerStack other) : this() { |
| | 22490 | | name_ = other.name_; |
| | 22491 | | visible_ = other.visible_; |
| | 22492 | | opacity_ = other.opacity_; |
| | 22493 | | hAlign_ = other.hAlign_; |
| | 22494 | | vAlign_ = other.vAlign_; |
| | 22495 | | width_ = other.width_; |
| | 22496 | | height_ = other.height_; |
| | 22497 | | positionX_ = other.positionX_; |
| | 22498 | | positionY_ = other.positionY_; |
| | 22499 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 22500 | | parent_ = other.parent_ != null ? other.parent_.Clone() : null; |
| | 22501 | | adaptWidth_ = other.adaptWidth_; |
| | 22502 | | adaptHeight_ = other.adaptHeight_; |
| | 22503 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 22504 | | stackOrientation_ = other.stackOrientation_; |
| | 22505 | | spacing_ = other.spacing_; |
| | 22506 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 22507 | | } |
| | 22508 | |
|
| | 22509 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22510 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22511 | | public PB_UIContainerStack Clone() { |
| | 22512 | | return new PB_UIContainerStack(this); |
| | 22513 | | } |
| | 22514 | |
|
| | 22515 | | /// <summary>Field number for the "name" field.</summary> |
| | 22516 | | public const int NameFieldNumber = 1; |
| | 22517 | | private string name_ = ""; |
| | 22518 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22519 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22520 | | public string Name { |
| | 22521 | | get { return name_; } |
| | 22522 | | set { |
| | 22523 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22524 | | } |
| | 22525 | | } |
| | 22526 | |
|
| | 22527 | | /// <summary>Field number for the "visible" field.</summary> |
| | 22528 | | public const int VisibleFieldNumber = 2; |
| | 22529 | | private bool visible_; |
| | 22530 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22531 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22532 | | public bool Visible { |
| | 22533 | | get { return visible_; } |
| | 22534 | | set { |
| | 22535 | | visible_ = value; |
| | 22536 | | } |
| | 22537 | | } |
| | 22538 | |
|
| | 22539 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 22540 | | public const int OpacityFieldNumber = 3; |
| | 22541 | | private float opacity_; |
| | 22542 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22543 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22544 | | public float Opacity { |
| | 22545 | | get { return opacity_; } |
| | 22546 | | set { |
| | 22547 | | opacity_ = value; |
| | 22548 | | } |
| | 22549 | | } |
| | 22550 | |
|
| | 22551 | | /// <summary>Field number for the "hAlign" field.</summary> |
| | 22552 | | public const int HAlignFieldNumber = 4; |
| | 22553 | | private string hAlign_ = ""; |
| | 22554 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22555 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22556 | | public string HAlign { |
| | 22557 | | get { return hAlign_; } |
| | 22558 | | set { |
| | 22559 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22560 | | } |
| | 22561 | | } |
| | 22562 | |
|
| | 22563 | | /// <summary>Field number for the "vAlign" field.</summary> |
| | 22564 | | public const int VAlignFieldNumber = 5; |
| | 22565 | | private string vAlign_ = ""; |
| | 22566 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22567 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22568 | | public string VAlign { |
| | 22569 | | get { return vAlign_; } |
| | 22570 | | set { |
| | 22571 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22572 | | } |
| | 22573 | | } |
| | 22574 | |
|
| | 22575 | | /// <summary>Field number for the "width" field.</summary> |
| | 22576 | | public const int WidthFieldNumber = 6; |
| | 22577 | | private string width_ = ""; |
| | 22578 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22579 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22580 | | public string Width { |
| | 22581 | | get { return width_; } |
| | 22582 | | set { |
| | 22583 | | width_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22584 | | } |
| | 22585 | | } |
| | 22586 | |
|
| | 22587 | | /// <summary>Field number for the "height" field.</summary> |
| | 22588 | | public const int HeightFieldNumber = 7; |
| | 22589 | | private string height_ = ""; |
| | 22590 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22591 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22592 | | public string Height { |
| | 22593 | | get { return height_; } |
| | 22594 | | set { |
| | 22595 | | height_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22596 | | } |
| | 22597 | | } |
| | 22598 | |
|
| | 22599 | | /// <summary>Field number for the "positionX" field.</summary> |
| | 22600 | | public const int PositionXFieldNumber = 8; |
| | 22601 | | private string positionX_ = ""; |
| | 22602 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22603 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22604 | | public string PositionX { |
| | 22605 | | get { return positionX_; } |
| | 22606 | | set { |
| | 22607 | | positionX_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22608 | | } |
| | 22609 | | } |
| | 22610 | |
|
| | 22611 | | /// <summary>Field number for the "positionY" field.</summary> |
| | 22612 | | public const int PositionYFieldNumber = 9; |
| | 22613 | | private string positionY_ = ""; |
| | 22614 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22615 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22616 | | public string PositionY { |
| | 22617 | | get { return positionY_; } |
| | 22618 | | set { |
| | 22619 | | positionY_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 22620 | | } |
| | 22621 | | } |
| | 22622 | |
|
| | 22623 | | /// <summary>Field number for the "isPointerBlocker" field.</summary> |
| | 22624 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 22625 | | private bool isPointerBlocker_; |
| | 22626 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22627 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22628 | | public bool IsPointerBlocker { |
| | 22629 | | get { return isPointerBlocker_; } |
| | 22630 | | set { |
| | 22631 | | isPointerBlocker_ = value; |
| | 22632 | | } |
| | 22633 | | } |
| | 22634 | |
|
| | 22635 | | /// <summary>Field number for the "parent" field.</summary> |
| | 22636 | | public const int ParentFieldNumber = 11; |
| | 22637 | | private global::DCL.Interface.PB_UIShape parent_; |
| | 22638 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22639 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22640 | | public global::DCL.Interface.PB_UIShape Parent { |
| | 22641 | | get { return parent_; } |
| | 22642 | | set { |
| | 22643 | | parent_ = value; |
| | 22644 | | } |
| | 22645 | | } |
| | 22646 | |
|
| | 22647 | | /// <summary>Field number for the "adaptWidth" field.</summary> |
| | 22648 | | public const int AdaptWidthFieldNumber = 12; |
| | 22649 | | private bool adaptWidth_; |
| | 22650 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22651 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22652 | | public bool AdaptWidth { |
| | 22653 | | get { return adaptWidth_; } |
| | 22654 | | set { |
| | 22655 | | adaptWidth_ = value; |
| | 22656 | | } |
| | 22657 | | } |
| | 22658 | |
|
| | 22659 | | /// <summary>Field number for the "adaptHeight" field.</summary> |
| | 22660 | | public const int AdaptHeightFieldNumber = 13; |
| | 22661 | | private bool adaptHeight_; |
| | 22662 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22663 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22664 | | public bool AdaptHeight { |
| | 22665 | | get { return adaptHeight_; } |
| | 22666 | | set { |
| | 22667 | | adaptHeight_ = value; |
| | 22668 | | } |
| | 22669 | | } |
| | 22670 | |
|
| | 22671 | | /// <summary>Field number for the "color" field.</summary> |
| | 22672 | | public const int ColorFieldNumber = 14; |
| | 22673 | | private global::DCL.Interface.PB_Color4 color_; |
| | 22674 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22675 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22676 | | public global::DCL.Interface.PB_Color4 Color { |
| | 22677 | | get { return color_; } |
| | 22678 | | set { |
| | 22679 | | color_ = value; |
| | 22680 | | } |
| | 22681 | | } |
| | 22682 | |
|
| | 22683 | | /// <summary>Field number for the "stackOrientation" field.</summary> |
| | 22684 | | public const int StackOrientationFieldNumber = 15; |
| | 22685 | | private global::DCL.Interface.PB_UIStackOrientation stackOrientation_ = global::DCL.Interface.PB_UIStackOrientation. |
| | 22686 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22687 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22688 | | public global::DCL.Interface.PB_UIStackOrientation StackOrientation { |
| | 22689 | | get { return stackOrientation_; } |
| | 22690 | | set { |
| | 22691 | | stackOrientation_ = value; |
| | 22692 | | } |
| | 22693 | | } |
| | 22694 | |
|
| | 22695 | | /// <summary>Field number for the "spacing" field.</summary> |
| | 22696 | | public const int SpacingFieldNumber = 16; |
| | 22697 | | private float spacing_; |
| | 22698 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22699 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22700 | | public float Spacing { |
| | 22701 | | get { return spacing_; } |
| | 22702 | | set { |
| | 22703 | | spacing_ = value; |
| | 22704 | | } |
| | 22705 | | } |
| | 22706 | |
|
| | 22707 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22708 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22709 | | public override bool Equals(object other) { |
| | 22710 | | return Equals(other as PB_UIContainerStack); |
| | 22711 | | } |
| | 22712 | |
|
| | 22713 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22714 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22715 | | public bool Equals(PB_UIContainerStack other) { |
| | 22716 | | if (ReferenceEquals(other, null)) { |
| | 22717 | | return false; |
| | 22718 | | } |
| | 22719 | | if (ReferenceEquals(other, this)) { |
| | 22720 | | return true; |
| | 22721 | | } |
| | 22722 | | if (Name != other.Name) return false; |
| | 22723 | | if (Visible != other.Visible) return false; |
| | 22724 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 22725 | | if (HAlign != other.HAlign) return false; |
| | 22726 | | if (VAlign != other.VAlign) return false; |
| | 22727 | | if (Width != other.Width) return false; |
| | 22728 | | if (Height != other.Height) return false; |
| | 22729 | | if (PositionX != other.PositionX) return false; |
| | 22730 | | if (PositionY != other.PositionY) return false; |
| | 22731 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 22732 | | if (!object.Equals(Parent, other.Parent)) return false; |
| | 22733 | | if (AdaptWidth != other.AdaptWidth) return false; |
| | 22734 | | if (AdaptHeight != other.AdaptHeight) return false; |
| | 22735 | | if (!object.Equals(Color, other.Color)) return false; |
| | 22736 | | if (StackOrientation != other.StackOrientation) return false; |
| | 22737 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Spacing, other.Spacing)) return false; |
| | 22738 | | return Equals(_unknownFields, other._unknownFields); |
| | 22739 | | } |
| | 22740 | |
|
| | 22741 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22742 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22743 | | public override int GetHashCode() { |
| | 22744 | | int hash = 1; |
| | 22745 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 22746 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 22747 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 22748 | | if (HAlign.Length != 0) hash ^= HAlign.GetHashCode(); |
| | 22749 | | if (VAlign.Length != 0) hash ^= VAlign.GetHashCode(); |
| | 22750 | | if (Width.Length != 0) hash ^= Width.GetHashCode(); |
| | 22751 | | if (Height.Length != 0) hash ^= Height.GetHashCode(); |
| | 22752 | | if (PositionX.Length != 0) hash ^= PositionX.GetHashCode(); |
| | 22753 | | if (PositionY.Length != 0) hash ^= PositionY.GetHashCode(); |
| | 22754 | | if (IsPointerBlocker != false) hash ^= IsPointerBlocker.GetHashCode(); |
| | 22755 | | if (parent_ != null) hash ^= Parent.GetHashCode(); |
| | 22756 | | if (AdaptWidth != false) hash ^= AdaptWidth.GetHashCode(); |
| | 22757 | | if (AdaptHeight != false) hash ^= AdaptHeight.GetHashCode(); |
| | 22758 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 22759 | | if (StackOrientation != global::DCL.Interface.PB_UIStackOrientation.Vertical) hash ^= StackOrientation.GetHashCode |
| | 22760 | | if (Spacing != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Spacing); |
| | 22761 | | if (_unknownFields != null) { |
| | 22762 | | hash ^= _unknownFields.GetHashCode(); |
| | 22763 | | } |
| | 22764 | | return hash; |
| | 22765 | | } |
| | 22766 | |
|
| | 22767 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22768 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22769 | | public override string ToString() { |
| | 22770 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 22771 | | } |
| | 22772 | |
|
| | 22773 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22774 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22775 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 22776 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 22777 | | output.WriteRawMessage(this); |
| | 22778 | | #else |
| | 22779 | | if (Name.Length != 0) { |
| | 22780 | | output.WriteRawTag(10); |
| | 22781 | | output.WriteString(Name); |
| | 22782 | | } |
| | 22783 | | if (Visible != false) { |
| | 22784 | | output.WriteRawTag(16); |
| | 22785 | | output.WriteBool(Visible); |
| | 22786 | | } |
| | 22787 | | if (Opacity != 0F) { |
| | 22788 | | output.WriteRawTag(29); |
| | 22789 | | output.WriteFloat(Opacity); |
| | 22790 | | } |
| | 22791 | | if (HAlign.Length != 0) { |
| | 22792 | | output.WriteRawTag(34); |
| | 22793 | | output.WriteString(HAlign); |
| | 22794 | | } |
| | 22795 | | if (VAlign.Length != 0) { |
| | 22796 | | output.WriteRawTag(42); |
| | 22797 | | output.WriteString(VAlign); |
| | 22798 | | } |
| | 22799 | | if (Width.Length != 0) { |
| | 22800 | | output.WriteRawTag(50); |
| | 22801 | | output.WriteString(Width); |
| | 22802 | | } |
| | 22803 | | if (Height.Length != 0) { |
| | 22804 | | output.WriteRawTag(58); |
| | 22805 | | output.WriteString(Height); |
| | 22806 | | } |
| | 22807 | | if (PositionX.Length != 0) { |
| | 22808 | | output.WriteRawTag(66); |
| | 22809 | | output.WriteString(PositionX); |
| | 22810 | | } |
| | 22811 | | if (PositionY.Length != 0) { |
| | 22812 | | output.WriteRawTag(74); |
| | 22813 | | output.WriteString(PositionY); |
| | 22814 | | } |
| | 22815 | | if (IsPointerBlocker != false) { |
| | 22816 | | output.WriteRawTag(80); |
| | 22817 | | output.WriteBool(IsPointerBlocker); |
| | 22818 | | } |
| | 22819 | | if (parent_ != null) { |
| | 22820 | | output.WriteRawTag(90); |
| | 22821 | | output.WriteMessage(Parent); |
| | 22822 | | } |
| | 22823 | | if (AdaptWidth != false) { |
| | 22824 | | output.WriteRawTag(96); |
| | 22825 | | output.WriteBool(AdaptWidth); |
| | 22826 | | } |
| | 22827 | | if (AdaptHeight != false) { |
| | 22828 | | output.WriteRawTag(104); |
| | 22829 | | output.WriteBool(AdaptHeight); |
| | 22830 | | } |
| | 22831 | | if (color_ != null) { |
| | 22832 | | output.WriteRawTag(114); |
| | 22833 | | output.WriteMessage(Color); |
| | 22834 | | } |
| | 22835 | | if (StackOrientation != global::DCL.Interface.PB_UIStackOrientation.Vertical) { |
| | 22836 | | output.WriteRawTag(120); |
| | 22837 | | output.WriteEnum((int) StackOrientation); |
| | 22838 | | } |
| | 22839 | | if (Spacing != 0F) { |
| | 22840 | | output.WriteRawTag(133, 1); |
| | 22841 | | output.WriteFloat(Spacing); |
| | 22842 | | } |
| | 22843 | | if (_unknownFields != null) { |
| | 22844 | | _unknownFields.WriteTo(output); |
| | 22845 | | } |
| | 22846 | | #endif |
| | 22847 | | } |
| | 22848 | |
|
| | 22849 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 22850 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22851 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22852 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 22853 | | if (Name.Length != 0) { |
| | 22854 | | output.WriteRawTag(10); |
| | 22855 | | output.WriteString(Name); |
| | 22856 | | } |
| | 22857 | | if (Visible != false) { |
| | 22858 | | output.WriteRawTag(16); |
| | 22859 | | output.WriteBool(Visible); |
| | 22860 | | } |
| | 22861 | | if (Opacity != 0F) { |
| | 22862 | | output.WriteRawTag(29); |
| | 22863 | | output.WriteFloat(Opacity); |
| | 22864 | | } |
| | 22865 | | if (HAlign.Length != 0) { |
| | 22866 | | output.WriteRawTag(34); |
| | 22867 | | output.WriteString(HAlign); |
| | 22868 | | } |
| | 22869 | | if (VAlign.Length != 0) { |
| | 22870 | | output.WriteRawTag(42); |
| | 22871 | | output.WriteString(VAlign); |
| | 22872 | | } |
| | 22873 | | if (Width.Length != 0) { |
| | 22874 | | output.WriteRawTag(50); |
| | 22875 | | output.WriteString(Width); |
| | 22876 | | } |
| | 22877 | | if (Height.Length != 0) { |
| | 22878 | | output.WriteRawTag(58); |
| | 22879 | | output.WriteString(Height); |
| | 22880 | | } |
| | 22881 | | if (PositionX.Length != 0) { |
| | 22882 | | output.WriteRawTag(66); |
| | 22883 | | output.WriteString(PositionX); |
| | 22884 | | } |
| | 22885 | | if (PositionY.Length != 0) { |
| | 22886 | | output.WriteRawTag(74); |
| | 22887 | | output.WriteString(PositionY); |
| | 22888 | | } |
| | 22889 | | if (IsPointerBlocker != false) { |
| | 22890 | | output.WriteRawTag(80); |
| | 22891 | | output.WriteBool(IsPointerBlocker); |
| | 22892 | | } |
| | 22893 | | if (parent_ != null) { |
| | 22894 | | output.WriteRawTag(90); |
| | 22895 | | output.WriteMessage(Parent); |
| | 22896 | | } |
| | 22897 | | if (AdaptWidth != false) { |
| | 22898 | | output.WriteRawTag(96); |
| | 22899 | | output.WriteBool(AdaptWidth); |
| | 22900 | | } |
| | 22901 | | if (AdaptHeight != false) { |
| | 22902 | | output.WriteRawTag(104); |
| | 22903 | | output.WriteBool(AdaptHeight); |
| | 22904 | | } |
| | 22905 | | if (color_ != null) { |
| | 22906 | | output.WriteRawTag(114); |
| | 22907 | | output.WriteMessage(Color); |
| | 22908 | | } |
| | 22909 | | if (StackOrientation != global::DCL.Interface.PB_UIStackOrientation.Vertical) { |
| | 22910 | | output.WriteRawTag(120); |
| | 22911 | | output.WriteEnum((int) StackOrientation); |
| | 22912 | | } |
| | 22913 | | if (Spacing != 0F) { |
| | 22914 | | output.WriteRawTag(133, 1); |
| | 22915 | | output.WriteFloat(Spacing); |
| | 22916 | | } |
| | 22917 | | if (_unknownFields != null) { |
| | 22918 | | _unknownFields.WriteTo(ref output); |
| | 22919 | | } |
| | 22920 | | } |
| | 22921 | | #endif |
| | 22922 | |
|
| | 22923 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22924 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22925 | | public int CalculateSize() { |
| | 22926 | | int size = 0; |
| | 22927 | | if (Name.Length != 0) { |
| | 22928 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 22929 | | } |
| | 22930 | | if (Visible != false) { |
| | 22931 | | size += 1 + 1; |
| | 22932 | | } |
| | 22933 | | if (Opacity != 0F) { |
| | 22934 | | size += 1 + 4; |
| | 22935 | | } |
| | 22936 | | if (HAlign.Length != 0) { |
| | 22937 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 22938 | | } |
| | 22939 | | if (VAlign.Length != 0) { |
| | 22940 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 22941 | | } |
| | 22942 | | if (Width.Length != 0) { |
| | 22943 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Width); |
| | 22944 | | } |
| | 22945 | | if (Height.Length != 0) { |
| | 22946 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Height); |
| | 22947 | | } |
| | 22948 | | if (PositionX.Length != 0) { |
| | 22949 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionX); |
| | 22950 | | } |
| | 22951 | | if (PositionY.Length != 0) { |
| | 22952 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionY); |
| | 22953 | | } |
| | 22954 | | if (IsPointerBlocker != false) { |
| | 22955 | | size += 1 + 1; |
| | 22956 | | } |
| | 22957 | | if (parent_ != null) { |
| | 22958 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); |
| | 22959 | | } |
| | 22960 | | if (AdaptWidth != false) { |
| | 22961 | | size += 1 + 1; |
| | 22962 | | } |
| | 22963 | | if (AdaptHeight != false) { |
| | 22964 | | size += 1 + 1; |
| | 22965 | | } |
| | 22966 | | if (color_ != null) { |
| | 22967 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 22968 | | } |
| | 22969 | | if (StackOrientation != global::DCL.Interface.PB_UIStackOrientation.Vertical) { |
| | 22970 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) StackOrientation); |
| | 22971 | | } |
| | 22972 | | if (Spacing != 0F) { |
| | 22973 | | size += 2 + 4; |
| | 22974 | | } |
| | 22975 | | if (_unknownFields != null) { |
| | 22976 | | size += _unknownFields.CalculateSize(); |
| | 22977 | | } |
| | 22978 | | return size; |
| | 22979 | | } |
| | 22980 | |
|
| | 22981 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 22982 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 22983 | | public void MergeFrom(PB_UIContainerStack other) { |
| | 22984 | | if (other == null) { |
| | 22985 | | return; |
| | 22986 | | } |
| | 22987 | | if (other.Name.Length != 0) { |
| | 22988 | | Name = other.Name; |
| | 22989 | | } |
| | 22990 | | if (other.Visible != false) { |
| | 22991 | | Visible = other.Visible; |
| | 22992 | | } |
| | 22993 | | if (other.Opacity != 0F) { |
| | 22994 | | Opacity = other.Opacity; |
| | 22995 | | } |
| | 22996 | | if (other.HAlign.Length != 0) { |
| | 22997 | | HAlign = other.HAlign; |
| | 22998 | | } |
| | 22999 | | if (other.VAlign.Length != 0) { |
| | 23000 | | VAlign = other.VAlign; |
| | 23001 | | } |
| | 23002 | | if (other.Width.Length != 0) { |
| | 23003 | | Width = other.Width; |
| | 23004 | | } |
| | 23005 | | if (other.Height.Length != 0) { |
| | 23006 | | Height = other.Height; |
| | 23007 | | } |
| | 23008 | | if (other.PositionX.Length != 0) { |
| | 23009 | | PositionX = other.PositionX; |
| | 23010 | | } |
| | 23011 | | if (other.PositionY.Length != 0) { |
| | 23012 | | PositionY = other.PositionY; |
| | 23013 | | } |
| | 23014 | | if (other.IsPointerBlocker != false) { |
| | 23015 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 23016 | | } |
| | 23017 | | if (other.parent_ != null) { |
| | 23018 | | if (parent_ == null) { |
| | 23019 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 23020 | | } |
| | 23021 | | Parent.MergeFrom(other.Parent); |
| | 23022 | | } |
| | 23023 | | if (other.AdaptWidth != false) { |
| | 23024 | | AdaptWidth = other.AdaptWidth; |
| | 23025 | | } |
| | 23026 | | if (other.AdaptHeight != false) { |
| | 23027 | | AdaptHeight = other.AdaptHeight; |
| | 23028 | | } |
| | 23029 | | if (other.color_ != null) { |
| | 23030 | | if (color_ == null) { |
| | 23031 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 23032 | | } |
| | 23033 | | Color.MergeFrom(other.Color); |
| | 23034 | | } |
| | 23035 | | if (other.StackOrientation != global::DCL.Interface.PB_UIStackOrientation.Vertical) { |
| | 23036 | | StackOrientation = other.StackOrientation; |
| | 23037 | | } |
| | 23038 | | if (other.Spacing != 0F) { |
| | 23039 | | Spacing = other.Spacing; |
| | 23040 | | } |
| | 23041 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 23042 | | } |
| | 23043 | |
|
| | 23044 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23045 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23046 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 23047 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23048 | | input.ReadRawMessage(this); |
| | 23049 | | #else |
| | 23050 | | uint tag; |
| | 23051 | | while ((tag = input.ReadTag()) != 0) { |
| | 23052 | | switch(tag) { |
| | 23053 | | default: |
| | 23054 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 23055 | | break; |
| | 23056 | | case 10: { |
| | 23057 | | Name = input.ReadString(); |
| | 23058 | | break; |
| | 23059 | | } |
| | 23060 | | case 16: { |
| | 23061 | | Visible = input.ReadBool(); |
| | 23062 | | break; |
| | 23063 | | } |
| | 23064 | | case 29: { |
| | 23065 | | Opacity = input.ReadFloat(); |
| | 23066 | | break; |
| | 23067 | | } |
| | 23068 | | case 34: { |
| | 23069 | | HAlign = input.ReadString(); |
| | 23070 | | break; |
| | 23071 | | } |
| | 23072 | | case 42: { |
| | 23073 | | VAlign = input.ReadString(); |
| | 23074 | | break; |
| | 23075 | | } |
| | 23076 | | case 50: { |
| | 23077 | | Width = input.ReadString(); |
| | 23078 | | break; |
| | 23079 | | } |
| | 23080 | | case 58: { |
| | 23081 | | Height = input.ReadString(); |
| | 23082 | | break; |
| | 23083 | | } |
| | 23084 | | case 66: { |
| | 23085 | | PositionX = input.ReadString(); |
| | 23086 | | break; |
| | 23087 | | } |
| | 23088 | | case 74: { |
| | 23089 | | PositionY = input.ReadString(); |
| | 23090 | | break; |
| | 23091 | | } |
| | 23092 | | case 80: { |
| | 23093 | | IsPointerBlocker = input.ReadBool(); |
| | 23094 | | break; |
| | 23095 | | } |
| | 23096 | | case 90: { |
| | 23097 | | if (parent_ == null) { |
| | 23098 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 23099 | | } |
| | 23100 | | input.ReadMessage(Parent); |
| | 23101 | | break; |
| | 23102 | | } |
| | 23103 | | case 96: { |
| | 23104 | | AdaptWidth = input.ReadBool(); |
| | 23105 | | break; |
| | 23106 | | } |
| | 23107 | | case 104: { |
| | 23108 | | AdaptHeight = input.ReadBool(); |
| | 23109 | | break; |
| | 23110 | | } |
| | 23111 | | case 114: { |
| | 23112 | | if (color_ == null) { |
| | 23113 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 23114 | | } |
| | 23115 | | input.ReadMessage(Color); |
| | 23116 | | break; |
| | 23117 | | } |
| | 23118 | | case 120: { |
| | 23119 | | StackOrientation = (global::DCL.Interface.PB_UIStackOrientation) input.ReadEnum(); |
| | 23120 | | break; |
| | 23121 | | } |
| | 23122 | | case 133: { |
| | 23123 | | Spacing = input.ReadFloat(); |
| | 23124 | | break; |
| | 23125 | | } |
| | 23126 | | } |
| | 23127 | | } |
| | 23128 | | #endif |
| | 23129 | | } |
| | 23130 | |
|
| | 23131 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23132 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23133 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23134 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 23135 | | uint tag; |
| | 23136 | | while ((tag = input.ReadTag()) != 0) { |
| | 23137 | | switch(tag) { |
| | 23138 | | default: |
| | 23139 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 23140 | | break; |
| | 23141 | | case 10: { |
| | 23142 | | Name = input.ReadString(); |
| | 23143 | | break; |
| | 23144 | | } |
| | 23145 | | case 16: { |
| | 23146 | | Visible = input.ReadBool(); |
| | 23147 | | break; |
| | 23148 | | } |
| | 23149 | | case 29: { |
| | 23150 | | Opacity = input.ReadFloat(); |
| | 23151 | | break; |
| | 23152 | | } |
| | 23153 | | case 34: { |
| | 23154 | | HAlign = input.ReadString(); |
| | 23155 | | break; |
| | 23156 | | } |
| | 23157 | | case 42: { |
| | 23158 | | VAlign = input.ReadString(); |
| | 23159 | | break; |
| | 23160 | | } |
| | 23161 | | case 50: { |
| | 23162 | | Width = input.ReadString(); |
| | 23163 | | break; |
| | 23164 | | } |
| | 23165 | | case 58: { |
| | 23166 | | Height = input.ReadString(); |
| | 23167 | | break; |
| | 23168 | | } |
| | 23169 | | case 66: { |
| | 23170 | | PositionX = input.ReadString(); |
| | 23171 | | break; |
| | 23172 | | } |
| | 23173 | | case 74: { |
| | 23174 | | PositionY = input.ReadString(); |
| | 23175 | | break; |
| | 23176 | | } |
| | 23177 | | case 80: { |
| | 23178 | | IsPointerBlocker = input.ReadBool(); |
| | 23179 | | break; |
| | 23180 | | } |
| | 23181 | | case 90: { |
| | 23182 | | if (parent_ == null) { |
| | 23183 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 23184 | | } |
| | 23185 | | input.ReadMessage(Parent); |
| | 23186 | | break; |
| | 23187 | | } |
| | 23188 | | case 96: { |
| | 23189 | | AdaptWidth = input.ReadBool(); |
| | 23190 | | break; |
| | 23191 | | } |
| | 23192 | | case 104: { |
| | 23193 | | AdaptHeight = input.ReadBool(); |
| | 23194 | | break; |
| | 23195 | | } |
| | 23196 | | case 114: { |
| | 23197 | | if (color_ == null) { |
| | 23198 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 23199 | | } |
| | 23200 | | input.ReadMessage(Color); |
| | 23201 | | break; |
| | 23202 | | } |
| | 23203 | | case 120: { |
| | 23204 | | StackOrientation = (global::DCL.Interface.PB_UIStackOrientation) input.ReadEnum(); |
| | 23205 | | break; |
| | 23206 | | } |
| | 23207 | | case 133: { |
| | 23208 | | Spacing = input.ReadFloat(); |
| | 23209 | | break; |
| | 23210 | | } |
| | 23211 | | } |
| | 23212 | | } |
| | 23213 | | } |
| | 23214 | | #endif |
| | 23215 | |
|
| | 23216 | | } |
| | 23217 | |
|
| | 23218 | | public sealed partial class PB_UIImage : pb::IMessage<PB_UIImage> |
| | 23219 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23220 | | , pb::IBufferMessage |
| | 23221 | | #endif |
| | 23222 | | { |
| | 23223 | | private static readonly pb::MessageParser<PB_UIImage> _parser = new pb::MessageParser<PB_UIImage>(() => new PB_UIIma |
| | 23224 | | private pb::UnknownFieldSet _unknownFields; |
| | 23225 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23226 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23227 | | public static pb::MessageParser<PB_UIImage> Parser { get { return _parser; } } |
| | 23228 | |
|
| | 23229 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23230 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23231 | | public static pbr::MessageDescriptor Descriptor { |
| | 23232 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[58]; } |
| | 23233 | | } |
| | 23234 | |
|
| | 23235 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23236 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23237 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 23238 | | get { return Descriptor; } |
| | 23239 | | } |
| | 23240 | |
|
| | 23241 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23242 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23243 | | public PB_UIImage() { |
| | 23244 | | OnConstruction(); |
| | 23245 | | } |
| | 23246 | |
|
| | 23247 | | partial void OnConstruction(); |
| | 23248 | |
|
| | 23249 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23250 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23251 | | public PB_UIImage(PB_UIImage other) : this() { |
| | 23252 | | name_ = other.name_; |
| | 23253 | | visible_ = other.visible_; |
| | 23254 | | opacity_ = other.opacity_; |
| | 23255 | | hAlign_ = other.hAlign_; |
| | 23256 | | vAlign_ = other.vAlign_; |
| | 23257 | | width_ = other.width_; |
| | 23258 | | height_ = other.height_; |
| | 23259 | | positionX_ = other.positionX_; |
| | 23260 | | positionY_ = other.positionY_; |
| | 23261 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 23262 | | parent_ = other.parent_ != null ? other.parent_.Clone() : null; |
| | 23263 | | sourceLeft_ = other.sourceLeft_; |
| | 23264 | | sourceTop_ = other.sourceTop_; |
| | 23265 | | sourceWidth_ = other.sourceWidth_; |
| | 23266 | | sourceHeight_ = other.sourceHeight_; |
| | 23267 | | source_ = other.source_ != null ? other.source_.Clone() : null; |
| | 23268 | | paddingTop_ = other.paddingTop_; |
| | 23269 | | paddingRight_ = other.paddingRight_; |
| | 23270 | | paddingBottom_ = other.paddingBottom_; |
| | 23271 | | paddingLeft_ = other.paddingLeft_; |
| | 23272 | | sizeInPixels_ = other.sizeInPixels_; |
| | 23273 | | onClick_ = other.onClick_ != null ? other.onClick_.Clone() : null; |
| | 23274 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 23275 | | } |
| | 23276 | |
|
| | 23277 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23278 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23279 | | public PB_UIImage Clone() { |
| | 23280 | | return new PB_UIImage(this); |
| | 23281 | | } |
| | 23282 | |
|
| | 23283 | | /// <summary>Field number for the "name" field.</summary> |
| | 23284 | | public const int NameFieldNumber = 1; |
| | 23285 | | private string name_ = ""; |
| | 23286 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23287 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23288 | | public string Name { |
| | 23289 | | get { return name_; } |
| | 23290 | | set { |
| | 23291 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23292 | | } |
| | 23293 | | } |
| | 23294 | |
|
| | 23295 | | /// <summary>Field number for the "visible" field.</summary> |
| | 23296 | | public const int VisibleFieldNumber = 2; |
| | 23297 | | private bool visible_; |
| | 23298 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23299 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23300 | | public bool Visible { |
| | 23301 | | get { return visible_; } |
| | 23302 | | set { |
| | 23303 | | visible_ = value; |
| | 23304 | | } |
| | 23305 | | } |
| | 23306 | |
|
| | 23307 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 23308 | | public const int OpacityFieldNumber = 3; |
| | 23309 | | private float opacity_; |
| | 23310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23312 | | public float Opacity { |
| | 23313 | | get { return opacity_; } |
| | 23314 | | set { |
| | 23315 | | opacity_ = value; |
| | 23316 | | } |
| | 23317 | | } |
| | 23318 | |
|
| | 23319 | | /// <summary>Field number for the "hAlign" field.</summary> |
| | 23320 | | public const int HAlignFieldNumber = 4; |
| | 23321 | | private string hAlign_ = ""; |
| | 23322 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23323 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23324 | | public string HAlign { |
| | 23325 | | get { return hAlign_; } |
| | 23326 | | set { |
| | 23327 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23328 | | } |
| | 23329 | | } |
| | 23330 | |
|
| | 23331 | | /// <summary>Field number for the "vAlign" field.</summary> |
| | 23332 | | public const int VAlignFieldNumber = 5; |
| | 23333 | | private string vAlign_ = ""; |
| | 23334 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23335 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23336 | | public string VAlign { |
| | 23337 | | get { return vAlign_; } |
| | 23338 | | set { |
| | 23339 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23340 | | } |
| | 23341 | | } |
| | 23342 | |
|
| | 23343 | | /// <summary>Field number for the "width" field.</summary> |
| | 23344 | | public const int WidthFieldNumber = 6; |
| | 23345 | | private string width_ = ""; |
| | 23346 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23347 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23348 | | public string Width { |
| | 23349 | | get { return width_; } |
| | 23350 | | set { |
| | 23351 | | width_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23352 | | } |
| | 23353 | | } |
| | 23354 | |
|
| | 23355 | | /// <summary>Field number for the "height" field.</summary> |
| | 23356 | | public const int HeightFieldNumber = 7; |
| | 23357 | | private string height_ = ""; |
| | 23358 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23359 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23360 | | public string Height { |
| | 23361 | | get { return height_; } |
| | 23362 | | set { |
| | 23363 | | height_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23364 | | } |
| | 23365 | | } |
| | 23366 | |
|
| | 23367 | | /// <summary>Field number for the "positionX" field.</summary> |
| | 23368 | | public const int PositionXFieldNumber = 8; |
| | 23369 | | private string positionX_ = ""; |
| | 23370 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23371 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23372 | | public string PositionX { |
| | 23373 | | get { return positionX_; } |
| | 23374 | | set { |
| | 23375 | | positionX_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23376 | | } |
| | 23377 | | } |
| | 23378 | |
|
| | 23379 | | /// <summary>Field number for the "positionY" field.</summary> |
| | 23380 | | public const int PositionYFieldNumber = 9; |
| | 23381 | | private string positionY_ = ""; |
| | 23382 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23383 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23384 | | public string PositionY { |
| | 23385 | | get { return positionY_; } |
| | 23386 | | set { |
| | 23387 | | positionY_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 23388 | | } |
| | 23389 | | } |
| | 23390 | |
|
| | 23391 | | /// <summary>Field number for the "isPointerBlocker" field.</summary> |
| | 23392 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 23393 | | private bool isPointerBlocker_; |
| | 23394 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23395 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23396 | | public bool IsPointerBlocker { |
| | 23397 | | get { return isPointerBlocker_; } |
| | 23398 | | set { |
| | 23399 | | isPointerBlocker_ = value; |
| | 23400 | | } |
| | 23401 | | } |
| | 23402 | |
|
| | 23403 | | /// <summary>Field number for the "parent" field.</summary> |
| | 23404 | | public const int ParentFieldNumber = 11; |
| | 23405 | | private global::DCL.Interface.PB_UIShape parent_; |
| | 23406 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23407 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23408 | | public global::DCL.Interface.PB_UIShape Parent { |
| | 23409 | | get { return parent_; } |
| | 23410 | | set { |
| | 23411 | | parent_ = value; |
| | 23412 | | } |
| | 23413 | | } |
| | 23414 | |
|
| | 23415 | | /// <summary>Field number for the "sourceLeft" field.</summary> |
| | 23416 | | public const int SourceLeftFieldNumber = 12; |
| | 23417 | | private float sourceLeft_; |
| | 23418 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23419 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23420 | | public float SourceLeft { |
| | 23421 | | get { return sourceLeft_; } |
| | 23422 | | set { |
| | 23423 | | sourceLeft_ = value; |
| | 23424 | | } |
| | 23425 | | } |
| | 23426 | |
|
| | 23427 | | /// <summary>Field number for the "sourceTop" field.</summary> |
| | 23428 | | public const int SourceTopFieldNumber = 13; |
| | 23429 | | private float sourceTop_; |
| | 23430 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23431 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23432 | | public float SourceTop { |
| | 23433 | | get { return sourceTop_; } |
| | 23434 | | set { |
| | 23435 | | sourceTop_ = value; |
| | 23436 | | } |
| | 23437 | | } |
| | 23438 | |
|
| | 23439 | | /// <summary>Field number for the "sourceWidth" field.</summary> |
| | 23440 | | public const int SourceWidthFieldNumber = 14; |
| | 23441 | | private float sourceWidth_; |
| | 23442 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23443 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23444 | | public float SourceWidth { |
| | 23445 | | get { return sourceWidth_; } |
| | 23446 | | set { |
| | 23447 | | sourceWidth_ = value; |
| | 23448 | | } |
| | 23449 | | } |
| | 23450 | |
|
| | 23451 | | /// <summary>Field number for the "sourceHeight" field.</summary> |
| | 23452 | | public const int SourceHeightFieldNumber = 15; |
| | 23453 | | private float sourceHeight_; |
| | 23454 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23455 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23456 | | public float SourceHeight { |
| | 23457 | | get { return sourceHeight_; } |
| | 23458 | | set { |
| | 23459 | | sourceHeight_ = value; |
| | 23460 | | } |
| | 23461 | | } |
| | 23462 | |
|
| | 23463 | | /// <summary>Field number for the "source" field.</summary> |
| | 23464 | | public const int SourceFieldNumber = 16; |
| | 23465 | | private global::DCL.Interface.PB_Texture source_; |
| | 23466 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23467 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23468 | | public global::DCL.Interface.PB_Texture Source { |
| | 23469 | | get { return source_; } |
| | 23470 | | set { |
| | 23471 | | source_ = value; |
| | 23472 | | } |
| | 23473 | | } |
| | 23474 | |
|
| | 23475 | | /// <summary>Field number for the "paddingTop" field.</summary> |
| | 23476 | | public const int PaddingTopFieldNumber = 17; |
| | 23477 | | private float paddingTop_; |
| | 23478 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23479 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23480 | | public float PaddingTop { |
| | 23481 | | get { return paddingTop_; } |
| | 23482 | | set { |
| | 23483 | | paddingTop_ = value; |
| | 23484 | | } |
| | 23485 | | } |
| | 23486 | |
|
| | 23487 | | /// <summary>Field number for the "paddingRight" field.</summary> |
| | 23488 | | public const int PaddingRightFieldNumber = 18; |
| | 23489 | | private float paddingRight_; |
| | 23490 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23491 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23492 | | public float PaddingRight { |
| | 23493 | | get { return paddingRight_; } |
| | 23494 | | set { |
| | 23495 | | paddingRight_ = value; |
| | 23496 | | } |
| | 23497 | | } |
| | 23498 | |
|
| | 23499 | | /// <summary>Field number for the "paddingBottom" field.</summary> |
| | 23500 | | public const int PaddingBottomFieldNumber = 19; |
| | 23501 | | private float paddingBottom_; |
| | 23502 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23503 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23504 | | public float PaddingBottom { |
| | 23505 | | get { return paddingBottom_; } |
| | 23506 | | set { |
| | 23507 | | paddingBottom_ = value; |
| | 23508 | | } |
| | 23509 | | } |
| | 23510 | |
|
| | 23511 | | /// <summary>Field number for the "paddingLeft" field.</summary> |
| | 23512 | | public const int PaddingLeftFieldNumber = 20; |
| | 23513 | | private float paddingLeft_; |
| | 23514 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23515 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23516 | | public float PaddingLeft { |
| | 23517 | | get { return paddingLeft_; } |
| | 23518 | | set { |
| | 23519 | | paddingLeft_ = value; |
| | 23520 | | } |
| | 23521 | | } |
| | 23522 | |
|
| | 23523 | | /// <summary>Field number for the "sizeInPixels" field.</summary> |
| | 23524 | | public const int SizeInPixelsFieldNumber = 21; |
| | 23525 | | private bool sizeInPixels_; |
| | 23526 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23527 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23528 | | public bool SizeInPixels { |
| | 23529 | | get { return sizeInPixels_; } |
| | 23530 | | set { |
| | 23531 | | sizeInPixels_ = value; |
| | 23532 | | } |
| | 23533 | | } |
| | 23534 | |
|
| | 23535 | | /// <summary>Field number for the "onClick" field.</summary> |
| | 23536 | | public const int OnClickFieldNumber = 22; |
| | 23537 | | private global::DCL.Interface.PB_UUIDCallback onClick_; |
| | 23538 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23539 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23540 | | public global::DCL.Interface.PB_UUIDCallback OnClick { |
| | 23541 | | get { return onClick_; } |
| | 23542 | | set { |
| | 23543 | | onClick_ = value; |
| | 23544 | | } |
| | 23545 | | } |
| | 23546 | |
|
| | 23547 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23548 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23549 | | public override bool Equals(object other) { |
| | 23550 | | return Equals(other as PB_UIImage); |
| | 23551 | | } |
| | 23552 | |
|
| | 23553 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23554 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23555 | | public bool Equals(PB_UIImage other) { |
| | 23556 | | if (ReferenceEquals(other, null)) { |
| | 23557 | | return false; |
| | 23558 | | } |
| | 23559 | | if (ReferenceEquals(other, this)) { |
| | 23560 | | return true; |
| | 23561 | | } |
| | 23562 | | if (Name != other.Name) return false; |
| | 23563 | | if (Visible != other.Visible) return false; |
| | 23564 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 23565 | | if (HAlign != other.HAlign) return false; |
| | 23566 | | if (VAlign != other.VAlign) return false; |
| | 23567 | | if (Width != other.Width) return false; |
| | 23568 | | if (Height != other.Height) return false; |
| | 23569 | | if (PositionX != other.PositionX) return false; |
| | 23570 | | if (PositionY != other.PositionY) return false; |
| | 23571 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 23572 | | if (!object.Equals(Parent, other.Parent)) return false; |
| | 23573 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SourceLeft, other.SourceLeft)) return fal |
| | 23574 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SourceTop, other.SourceTop)) return false |
| | 23575 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SourceWidth, other.SourceWidth)) return f |
| | 23576 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SourceHeight, other.SourceHeight)) return |
| | 23577 | | if (!object.Equals(Source, other.Source)) return false; |
| | 23578 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 23579 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 23580 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 23581 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 23582 | | if (SizeInPixels != other.SizeInPixels) return false; |
| | 23583 | | if (!object.Equals(OnClick, other.OnClick)) return false; |
| | 23584 | | return Equals(_unknownFields, other._unknownFields); |
| | 23585 | | } |
| | 23586 | |
|
| | 23587 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23588 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23589 | | public override int GetHashCode() { |
| | 23590 | | int hash = 1; |
| | 23591 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 23592 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 23593 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 23594 | | if (HAlign.Length != 0) hash ^= HAlign.GetHashCode(); |
| | 23595 | | if (VAlign.Length != 0) hash ^= VAlign.GetHashCode(); |
| | 23596 | | if (Width.Length != 0) hash ^= Width.GetHashCode(); |
| | 23597 | | if (Height.Length != 0) hash ^= Height.GetHashCode(); |
| | 23598 | | if (PositionX.Length != 0) hash ^= PositionX.GetHashCode(); |
| | 23599 | | if (PositionY.Length != 0) hash ^= PositionY.GetHashCode(); |
| | 23600 | | if (IsPointerBlocker != false) hash ^= IsPointerBlocker.GetHashCode(); |
| | 23601 | | if (parent_ != null) hash ^= Parent.GetHashCode(); |
| | 23602 | | if (SourceLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SourceLeft) |
| | 23603 | | if (SourceTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SourceTop); |
| | 23604 | | if (SourceWidth != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SourceWidt |
| | 23605 | | if (SourceHeight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SourceHei |
| | 23606 | | if (source_ != null) hash ^= Source.GetHashCode(); |
| | 23607 | | if (PaddingTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop) |
| | 23608 | | if (PaddingRight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRi |
| | 23609 | | if (PaddingBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingB |
| | 23610 | | if (PaddingLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLef |
| | 23611 | | if (SizeInPixels != false) hash ^= SizeInPixels.GetHashCode(); |
| | 23612 | | if (onClick_ != null) hash ^= OnClick.GetHashCode(); |
| | 23613 | | if (_unknownFields != null) { |
| | 23614 | | hash ^= _unknownFields.GetHashCode(); |
| | 23615 | | } |
| | 23616 | | return hash; |
| | 23617 | | } |
| | 23618 | |
|
| | 23619 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23620 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23621 | | public override string ToString() { |
| | 23622 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 23623 | | } |
| | 23624 | |
|
| | 23625 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23626 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23627 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 23628 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23629 | | output.WriteRawMessage(this); |
| | 23630 | | #else |
| | 23631 | | if (Name.Length != 0) { |
| | 23632 | | output.WriteRawTag(10); |
| | 23633 | | output.WriteString(Name); |
| | 23634 | | } |
| | 23635 | | if (Visible != false) { |
| | 23636 | | output.WriteRawTag(16); |
| | 23637 | | output.WriteBool(Visible); |
| | 23638 | | } |
| | 23639 | | if (Opacity != 0F) { |
| | 23640 | | output.WriteRawTag(29); |
| | 23641 | | output.WriteFloat(Opacity); |
| | 23642 | | } |
| | 23643 | | if (HAlign.Length != 0) { |
| | 23644 | | output.WriteRawTag(34); |
| | 23645 | | output.WriteString(HAlign); |
| | 23646 | | } |
| | 23647 | | if (VAlign.Length != 0) { |
| | 23648 | | output.WriteRawTag(42); |
| | 23649 | | output.WriteString(VAlign); |
| | 23650 | | } |
| | 23651 | | if (Width.Length != 0) { |
| | 23652 | | output.WriteRawTag(50); |
| | 23653 | | output.WriteString(Width); |
| | 23654 | | } |
| | 23655 | | if (Height.Length != 0) { |
| | 23656 | | output.WriteRawTag(58); |
| | 23657 | | output.WriteString(Height); |
| | 23658 | | } |
| | 23659 | | if (PositionX.Length != 0) { |
| | 23660 | | output.WriteRawTag(66); |
| | 23661 | | output.WriteString(PositionX); |
| | 23662 | | } |
| | 23663 | | if (PositionY.Length != 0) { |
| | 23664 | | output.WriteRawTag(74); |
| | 23665 | | output.WriteString(PositionY); |
| | 23666 | | } |
| | 23667 | | if (IsPointerBlocker != false) { |
| | 23668 | | output.WriteRawTag(80); |
| | 23669 | | output.WriteBool(IsPointerBlocker); |
| | 23670 | | } |
| | 23671 | | if (parent_ != null) { |
| | 23672 | | output.WriteRawTag(90); |
| | 23673 | | output.WriteMessage(Parent); |
| | 23674 | | } |
| | 23675 | | if (SourceLeft != 0F) { |
| | 23676 | | output.WriteRawTag(101); |
| | 23677 | | output.WriteFloat(SourceLeft); |
| | 23678 | | } |
| | 23679 | | if (SourceTop != 0F) { |
| | 23680 | | output.WriteRawTag(109); |
| | 23681 | | output.WriteFloat(SourceTop); |
| | 23682 | | } |
| | 23683 | | if (SourceWidth != 0F) { |
| | 23684 | | output.WriteRawTag(117); |
| | 23685 | | output.WriteFloat(SourceWidth); |
| | 23686 | | } |
| | 23687 | | if (SourceHeight != 0F) { |
| | 23688 | | output.WriteRawTag(125); |
| | 23689 | | output.WriteFloat(SourceHeight); |
| | 23690 | | } |
| | 23691 | | if (source_ != null) { |
| | 23692 | | output.WriteRawTag(130, 1); |
| | 23693 | | output.WriteMessage(Source); |
| | 23694 | | } |
| | 23695 | | if (PaddingTop != 0F) { |
| | 23696 | | output.WriteRawTag(141, 1); |
| | 23697 | | output.WriteFloat(PaddingTop); |
| | 23698 | | } |
| | 23699 | | if (PaddingRight != 0F) { |
| | 23700 | | output.WriteRawTag(149, 1); |
| | 23701 | | output.WriteFloat(PaddingRight); |
| | 23702 | | } |
| | 23703 | | if (PaddingBottom != 0F) { |
| | 23704 | | output.WriteRawTag(157, 1); |
| | 23705 | | output.WriteFloat(PaddingBottom); |
| | 23706 | | } |
| | 23707 | | if (PaddingLeft != 0F) { |
| | 23708 | | output.WriteRawTag(165, 1); |
| | 23709 | | output.WriteFloat(PaddingLeft); |
| | 23710 | | } |
| | 23711 | | if (SizeInPixels != false) { |
| | 23712 | | output.WriteRawTag(168, 1); |
| | 23713 | | output.WriteBool(SizeInPixels); |
| | 23714 | | } |
| | 23715 | | if (onClick_ != null) { |
| | 23716 | | output.WriteRawTag(178, 1); |
| | 23717 | | output.WriteMessage(OnClick); |
| | 23718 | | } |
| | 23719 | | if (_unknownFields != null) { |
| | 23720 | | _unknownFields.WriteTo(output); |
| | 23721 | | } |
| | 23722 | | #endif |
| | 23723 | | } |
| | 23724 | |
|
| | 23725 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23726 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23727 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23728 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 23729 | | if (Name.Length != 0) { |
| | 23730 | | output.WriteRawTag(10); |
| | 23731 | | output.WriteString(Name); |
| | 23732 | | } |
| | 23733 | | if (Visible != false) { |
| | 23734 | | output.WriteRawTag(16); |
| | 23735 | | output.WriteBool(Visible); |
| | 23736 | | } |
| | 23737 | | if (Opacity != 0F) { |
| | 23738 | | output.WriteRawTag(29); |
| | 23739 | | output.WriteFloat(Opacity); |
| | 23740 | | } |
| | 23741 | | if (HAlign.Length != 0) { |
| | 23742 | | output.WriteRawTag(34); |
| | 23743 | | output.WriteString(HAlign); |
| | 23744 | | } |
| | 23745 | | if (VAlign.Length != 0) { |
| | 23746 | | output.WriteRawTag(42); |
| | 23747 | | output.WriteString(VAlign); |
| | 23748 | | } |
| | 23749 | | if (Width.Length != 0) { |
| | 23750 | | output.WriteRawTag(50); |
| | 23751 | | output.WriteString(Width); |
| | 23752 | | } |
| | 23753 | | if (Height.Length != 0) { |
| | 23754 | | output.WriteRawTag(58); |
| | 23755 | | output.WriteString(Height); |
| | 23756 | | } |
| | 23757 | | if (PositionX.Length != 0) { |
| | 23758 | | output.WriteRawTag(66); |
| | 23759 | | output.WriteString(PositionX); |
| | 23760 | | } |
| | 23761 | | if (PositionY.Length != 0) { |
| | 23762 | | output.WriteRawTag(74); |
| | 23763 | | output.WriteString(PositionY); |
| | 23764 | | } |
| | 23765 | | if (IsPointerBlocker != false) { |
| | 23766 | | output.WriteRawTag(80); |
| | 23767 | | output.WriteBool(IsPointerBlocker); |
| | 23768 | | } |
| | 23769 | | if (parent_ != null) { |
| | 23770 | | output.WriteRawTag(90); |
| | 23771 | | output.WriteMessage(Parent); |
| | 23772 | | } |
| | 23773 | | if (SourceLeft != 0F) { |
| | 23774 | | output.WriteRawTag(101); |
| | 23775 | | output.WriteFloat(SourceLeft); |
| | 23776 | | } |
| | 23777 | | if (SourceTop != 0F) { |
| | 23778 | | output.WriteRawTag(109); |
| | 23779 | | output.WriteFloat(SourceTop); |
| | 23780 | | } |
| | 23781 | | if (SourceWidth != 0F) { |
| | 23782 | | output.WriteRawTag(117); |
| | 23783 | | output.WriteFloat(SourceWidth); |
| | 23784 | | } |
| | 23785 | | if (SourceHeight != 0F) { |
| | 23786 | | output.WriteRawTag(125); |
| | 23787 | | output.WriteFloat(SourceHeight); |
| | 23788 | | } |
| | 23789 | | if (source_ != null) { |
| | 23790 | | output.WriteRawTag(130, 1); |
| | 23791 | | output.WriteMessage(Source); |
| | 23792 | | } |
| | 23793 | | if (PaddingTop != 0F) { |
| | 23794 | | output.WriteRawTag(141, 1); |
| | 23795 | | output.WriteFloat(PaddingTop); |
| | 23796 | | } |
| | 23797 | | if (PaddingRight != 0F) { |
| | 23798 | | output.WriteRawTag(149, 1); |
| | 23799 | | output.WriteFloat(PaddingRight); |
| | 23800 | | } |
| | 23801 | | if (PaddingBottom != 0F) { |
| | 23802 | | output.WriteRawTag(157, 1); |
| | 23803 | | output.WriteFloat(PaddingBottom); |
| | 23804 | | } |
| | 23805 | | if (PaddingLeft != 0F) { |
| | 23806 | | output.WriteRawTag(165, 1); |
| | 23807 | | output.WriteFloat(PaddingLeft); |
| | 23808 | | } |
| | 23809 | | if (SizeInPixels != false) { |
| | 23810 | | output.WriteRawTag(168, 1); |
| | 23811 | | output.WriteBool(SizeInPixels); |
| | 23812 | | } |
| | 23813 | | if (onClick_ != null) { |
| | 23814 | | output.WriteRawTag(178, 1); |
| | 23815 | | output.WriteMessage(OnClick); |
| | 23816 | | } |
| | 23817 | | if (_unknownFields != null) { |
| | 23818 | | _unknownFields.WriteTo(ref output); |
| | 23819 | | } |
| | 23820 | | } |
| | 23821 | | #endif |
| | 23822 | |
|
| | 23823 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23824 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23825 | | public int CalculateSize() { |
| | 23826 | | int size = 0; |
| | 23827 | | if (Name.Length != 0) { |
| | 23828 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 23829 | | } |
| | 23830 | | if (Visible != false) { |
| | 23831 | | size += 1 + 1; |
| | 23832 | | } |
| | 23833 | | if (Opacity != 0F) { |
| | 23834 | | size += 1 + 4; |
| | 23835 | | } |
| | 23836 | | if (HAlign.Length != 0) { |
| | 23837 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 23838 | | } |
| | 23839 | | if (VAlign.Length != 0) { |
| | 23840 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 23841 | | } |
| | 23842 | | if (Width.Length != 0) { |
| | 23843 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Width); |
| | 23844 | | } |
| | 23845 | | if (Height.Length != 0) { |
| | 23846 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Height); |
| | 23847 | | } |
| | 23848 | | if (PositionX.Length != 0) { |
| | 23849 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionX); |
| | 23850 | | } |
| | 23851 | | if (PositionY.Length != 0) { |
| | 23852 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionY); |
| | 23853 | | } |
| | 23854 | | if (IsPointerBlocker != false) { |
| | 23855 | | size += 1 + 1; |
| | 23856 | | } |
| | 23857 | | if (parent_ != null) { |
| | 23858 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); |
| | 23859 | | } |
| | 23860 | | if (SourceLeft != 0F) { |
| | 23861 | | size += 1 + 4; |
| | 23862 | | } |
| | 23863 | | if (SourceTop != 0F) { |
| | 23864 | | size += 1 + 4; |
| | 23865 | | } |
| | 23866 | | if (SourceWidth != 0F) { |
| | 23867 | | size += 1 + 4; |
| | 23868 | | } |
| | 23869 | | if (SourceHeight != 0F) { |
| | 23870 | | size += 1 + 4; |
| | 23871 | | } |
| | 23872 | | if (source_ != null) { |
| | 23873 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Source); |
| | 23874 | | } |
| | 23875 | | if (PaddingTop != 0F) { |
| | 23876 | | size += 2 + 4; |
| | 23877 | | } |
| | 23878 | | if (PaddingRight != 0F) { |
| | 23879 | | size += 2 + 4; |
| | 23880 | | } |
| | 23881 | | if (PaddingBottom != 0F) { |
| | 23882 | | size += 2 + 4; |
| | 23883 | | } |
| | 23884 | | if (PaddingLeft != 0F) { |
| | 23885 | | size += 2 + 4; |
| | 23886 | | } |
| | 23887 | | if (SizeInPixels != false) { |
| | 23888 | | size += 2 + 1; |
| | 23889 | | } |
| | 23890 | | if (onClick_ != null) { |
| | 23891 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(OnClick); |
| | 23892 | | } |
| | 23893 | | if (_unknownFields != null) { |
| | 23894 | | size += _unknownFields.CalculateSize(); |
| | 23895 | | } |
| | 23896 | | return size; |
| | 23897 | | } |
| | 23898 | |
|
| | 23899 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23900 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23901 | | public void MergeFrom(PB_UIImage other) { |
| | 23902 | | if (other == null) { |
| | 23903 | | return; |
| | 23904 | | } |
| | 23905 | | if (other.Name.Length != 0) { |
| | 23906 | | Name = other.Name; |
| | 23907 | | } |
| | 23908 | | if (other.Visible != false) { |
| | 23909 | | Visible = other.Visible; |
| | 23910 | | } |
| | 23911 | | if (other.Opacity != 0F) { |
| | 23912 | | Opacity = other.Opacity; |
| | 23913 | | } |
| | 23914 | | if (other.HAlign.Length != 0) { |
| | 23915 | | HAlign = other.HAlign; |
| | 23916 | | } |
| | 23917 | | if (other.VAlign.Length != 0) { |
| | 23918 | | VAlign = other.VAlign; |
| | 23919 | | } |
| | 23920 | | if (other.Width.Length != 0) { |
| | 23921 | | Width = other.Width; |
| | 23922 | | } |
| | 23923 | | if (other.Height.Length != 0) { |
| | 23924 | | Height = other.Height; |
| | 23925 | | } |
| | 23926 | | if (other.PositionX.Length != 0) { |
| | 23927 | | PositionX = other.PositionX; |
| | 23928 | | } |
| | 23929 | | if (other.PositionY.Length != 0) { |
| | 23930 | | PositionY = other.PositionY; |
| | 23931 | | } |
| | 23932 | | if (other.IsPointerBlocker != false) { |
| | 23933 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 23934 | | } |
| | 23935 | | if (other.parent_ != null) { |
| | 23936 | | if (parent_ == null) { |
| | 23937 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 23938 | | } |
| | 23939 | | Parent.MergeFrom(other.Parent); |
| | 23940 | | } |
| | 23941 | | if (other.SourceLeft != 0F) { |
| | 23942 | | SourceLeft = other.SourceLeft; |
| | 23943 | | } |
| | 23944 | | if (other.SourceTop != 0F) { |
| | 23945 | | SourceTop = other.SourceTop; |
| | 23946 | | } |
| | 23947 | | if (other.SourceWidth != 0F) { |
| | 23948 | | SourceWidth = other.SourceWidth; |
| | 23949 | | } |
| | 23950 | | if (other.SourceHeight != 0F) { |
| | 23951 | | SourceHeight = other.SourceHeight; |
| | 23952 | | } |
| | 23953 | | if (other.source_ != null) { |
| | 23954 | | if (source_ == null) { |
| | 23955 | | Source = new global::DCL.Interface.PB_Texture(); |
| | 23956 | | } |
| | 23957 | | Source.MergeFrom(other.Source); |
| | 23958 | | } |
| | 23959 | | if (other.PaddingTop != 0F) { |
| | 23960 | | PaddingTop = other.PaddingTop; |
| | 23961 | | } |
| | 23962 | | if (other.PaddingRight != 0F) { |
| | 23963 | | PaddingRight = other.PaddingRight; |
| | 23964 | | } |
| | 23965 | | if (other.PaddingBottom != 0F) { |
| | 23966 | | PaddingBottom = other.PaddingBottom; |
| | 23967 | | } |
| | 23968 | | if (other.PaddingLeft != 0F) { |
| | 23969 | | PaddingLeft = other.PaddingLeft; |
| | 23970 | | } |
| | 23971 | | if (other.SizeInPixels != false) { |
| | 23972 | | SizeInPixels = other.SizeInPixels; |
| | 23973 | | } |
| | 23974 | | if (other.onClick_ != null) { |
| | 23975 | | if (onClick_ == null) { |
| | 23976 | | OnClick = new global::DCL.Interface.PB_UUIDCallback(); |
| | 23977 | | } |
| | 23978 | | OnClick.MergeFrom(other.OnClick); |
| | 23979 | | } |
| | 23980 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 23981 | | } |
| | 23982 | |
|
| | 23983 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 23984 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 23985 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 23986 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 23987 | | input.ReadRawMessage(this); |
| | 23988 | | #else |
| | 23989 | | uint tag; |
| | 23990 | | while ((tag = input.ReadTag()) != 0) { |
| | 23991 | | switch(tag) { |
| | 23992 | | default: |
| | 23993 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 23994 | | break; |
| | 23995 | | case 10: { |
| | 23996 | | Name = input.ReadString(); |
| | 23997 | | break; |
| | 23998 | | } |
| | 23999 | | case 16: { |
| | 24000 | | Visible = input.ReadBool(); |
| | 24001 | | break; |
| | 24002 | | } |
| | 24003 | | case 29: { |
| | 24004 | | Opacity = input.ReadFloat(); |
| | 24005 | | break; |
| | 24006 | | } |
| | 24007 | | case 34: { |
| | 24008 | | HAlign = input.ReadString(); |
| | 24009 | | break; |
| | 24010 | | } |
| | 24011 | | case 42: { |
| | 24012 | | VAlign = input.ReadString(); |
| | 24013 | | break; |
| | 24014 | | } |
| | 24015 | | case 50: { |
| | 24016 | | Width = input.ReadString(); |
| | 24017 | | break; |
| | 24018 | | } |
| | 24019 | | case 58: { |
| | 24020 | | Height = input.ReadString(); |
| | 24021 | | break; |
| | 24022 | | } |
| | 24023 | | case 66: { |
| | 24024 | | PositionX = input.ReadString(); |
| | 24025 | | break; |
| | 24026 | | } |
| | 24027 | | case 74: { |
| | 24028 | | PositionY = input.ReadString(); |
| | 24029 | | break; |
| | 24030 | | } |
| | 24031 | | case 80: { |
| | 24032 | | IsPointerBlocker = input.ReadBool(); |
| | 24033 | | break; |
| | 24034 | | } |
| | 24035 | | case 90: { |
| | 24036 | | if (parent_ == null) { |
| | 24037 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 24038 | | } |
| | 24039 | | input.ReadMessage(Parent); |
| | 24040 | | break; |
| | 24041 | | } |
| | 24042 | | case 101: { |
| | 24043 | | SourceLeft = input.ReadFloat(); |
| | 24044 | | break; |
| | 24045 | | } |
| | 24046 | | case 109: { |
| | 24047 | | SourceTop = input.ReadFloat(); |
| | 24048 | | break; |
| | 24049 | | } |
| | 24050 | | case 117: { |
| | 24051 | | SourceWidth = input.ReadFloat(); |
| | 24052 | | break; |
| | 24053 | | } |
| | 24054 | | case 125: { |
| | 24055 | | SourceHeight = input.ReadFloat(); |
| | 24056 | | break; |
| | 24057 | | } |
| | 24058 | | case 130: { |
| | 24059 | | if (source_ == null) { |
| | 24060 | | Source = new global::DCL.Interface.PB_Texture(); |
| | 24061 | | } |
| | 24062 | | input.ReadMessage(Source); |
| | 24063 | | break; |
| | 24064 | | } |
| | 24065 | | case 141: { |
| | 24066 | | PaddingTop = input.ReadFloat(); |
| | 24067 | | break; |
| | 24068 | | } |
| | 24069 | | case 149: { |
| | 24070 | | PaddingRight = input.ReadFloat(); |
| | 24071 | | break; |
| | 24072 | | } |
| | 24073 | | case 157: { |
| | 24074 | | PaddingBottom = input.ReadFloat(); |
| | 24075 | | break; |
| | 24076 | | } |
| | 24077 | | case 165: { |
| | 24078 | | PaddingLeft = input.ReadFloat(); |
| | 24079 | | break; |
| | 24080 | | } |
| | 24081 | | case 168: { |
| | 24082 | | SizeInPixels = input.ReadBool(); |
| | 24083 | | break; |
| | 24084 | | } |
| | 24085 | | case 178: { |
| | 24086 | | if (onClick_ == null) { |
| | 24087 | | OnClick = new global::DCL.Interface.PB_UUIDCallback(); |
| | 24088 | | } |
| | 24089 | | input.ReadMessage(OnClick); |
| | 24090 | | break; |
| | 24091 | | } |
| | 24092 | | } |
| | 24093 | | } |
| | 24094 | | #endif |
| | 24095 | | } |
| | 24096 | |
|
| | 24097 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24098 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24099 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24100 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 24101 | | uint tag; |
| | 24102 | | while ((tag = input.ReadTag()) != 0) { |
| | 24103 | | switch(tag) { |
| | 24104 | | default: |
| | 24105 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 24106 | | break; |
| | 24107 | | case 10: { |
| | 24108 | | Name = input.ReadString(); |
| | 24109 | | break; |
| | 24110 | | } |
| | 24111 | | case 16: { |
| | 24112 | | Visible = input.ReadBool(); |
| | 24113 | | break; |
| | 24114 | | } |
| | 24115 | | case 29: { |
| | 24116 | | Opacity = input.ReadFloat(); |
| | 24117 | | break; |
| | 24118 | | } |
| | 24119 | | case 34: { |
| | 24120 | | HAlign = input.ReadString(); |
| | 24121 | | break; |
| | 24122 | | } |
| | 24123 | | case 42: { |
| | 24124 | | VAlign = input.ReadString(); |
| | 24125 | | break; |
| | 24126 | | } |
| | 24127 | | case 50: { |
| | 24128 | | Width = input.ReadString(); |
| | 24129 | | break; |
| | 24130 | | } |
| | 24131 | | case 58: { |
| | 24132 | | Height = input.ReadString(); |
| | 24133 | | break; |
| | 24134 | | } |
| | 24135 | | case 66: { |
| | 24136 | | PositionX = input.ReadString(); |
| | 24137 | | break; |
| | 24138 | | } |
| | 24139 | | case 74: { |
| | 24140 | | PositionY = input.ReadString(); |
| | 24141 | | break; |
| | 24142 | | } |
| | 24143 | | case 80: { |
| | 24144 | | IsPointerBlocker = input.ReadBool(); |
| | 24145 | | break; |
| | 24146 | | } |
| | 24147 | | case 90: { |
| | 24148 | | if (parent_ == null) { |
| | 24149 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 24150 | | } |
| | 24151 | | input.ReadMessage(Parent); |
| | 24152 | | break; |
| | 24153 | | } |
| | 24154 | | case 101: { |
| | 24155 | | SourceLeft = input.ReadFloat(); |
| | 24156 | | break; |
| | 24157 | | } |
| | 24158 | | case 109: { |
| | 24159 | | SourceTop = input.ReadFloat(); |
| | 24160 | | break; |
| | 24161 | | } |
| | 24162 | | case 117: { |
| | 24163 | | SourceWidth = input.ReadFloat(); |
| | 24164 | | break; |
| | 24165 | | } |
| | 24166 | | case 125: { |
| | 24167 | | SourceHeight = input.ReadFloat(); |
| | 24168 | | break; |
| | 24169 | | } |
| | 24170 | | case 130: { |
| | 24171 | | if (source_ == null) { |
| | 24172 | | Source = new global::DCL.Interface.PB_Texture(); |
| | 24173 | | } |
| | 24174 | | input.ReadMessage(Source); |
| | 24175 | | break; |
| | 24176 | | } |
| | 24177 | | case 141: { |
| | 24178 | | PaddingTop = input.ReadFloat(); |
| | 24179 | | break; |
| | 24180 | | } |
| | 24181 | | case 149: { |
| | 24182 | | PaddingRight = input.ReadFloat(); |
| | 24183 | | break; |
| | 24184 | | } |
| | 24185 | | case 157: { |
| | 24186 | | PaddingBottom = input.ReadFloat(); |
| | 24187 | | break; |
| | 24188 | | } |
| | 24189 | | case 165: { |
| | 24190 | | PaddingLeft = input.ReadFloat(); |
| | 24191 | | break; |
| | 24192 | | } |
| | 24193 | | case 168: { |
| | 24194 | | SizeInPixels = input.ReadBool(); |
| | 24195 | | break; |
| | 24196 | | } |
| | 24197 | | case 178: { |
| | 24198 | | if (onClick_ == null) { |
| | 24199 | | OnClick = new global::DCL.Interface.PB_UUIDCallback(); |
| | 24200 | | } |
| | 24201 | | input.ReadMessage(OnClick); |
| | 24202 | | break; |
| | 24203 | | } |
| | 24204 | | } |
| | 24205 | | } |
| | 24206 | | } |
| | 24207 | | #endif |
| | 24208 | |
|
| | 24209 | | } |
| | 24210 | |
|
| | 24211 | | public sealed partial class PB_UUIDCallback : pb::IMessage<PB_UUIDCallback> |
| | 24212 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24213 | | , pb::IBufferMessage |
| | 24214 | | #endif |
| | 24215 | | { |
| | 24216 | | private static readonly pb::MessageParser<PB_UUIDCallback> _parser = new pb::MessageParser<PB_UUIDCallback>(() => ne |
| | 24217 | | private pb::UnknownFieldSet _unknownFields; |
| | 24218 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24219 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24220 | | public static pb::MessageParser<PB_UUIDCallback> Parser { get { return _parser; } } |
| | 24221 | |
|
| | 24222 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24223 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24224 | | public static pbr::MessageDescriptor Descriptor { |
| | 24225 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[59]; } |
| | 24226 | | } |
| | 24227 | |
|
| | 24228 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24229 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24230 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 24231 | | get { return Descriptor; } |
| | 24232 | | } |
| | 24233 | |
|
| | 24234 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24235 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24236 | | public PB_UUIDCallback() { |
| | 24237 | | OnConstruction(); |
| | 24238 | | } |
| | 24239 | |
|
| | 24240 | | partial void OnConstruction(); |
| | 24241 | |
|
| | 24242 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24243 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24244 | | public PB_UUIDCallback(PB_UUIDCallback other) : this() { |
| | 24245 | | type_ = other.type_; |
| | 24246 | | uuid_ = other.uuid_; |
| | 24247 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 24248 | | } |
| | 24249 | |
|
| | 24250 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24251 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24252 | | public PB_UUIDCallback Clone() { |
| | 24253 | | return new PB_UUIDCallback(this); |
| | 24254 | | } |
| | 24255 | |
|
| | 24256 | | /// <summary>Field number for the "type" field.</summary> |
| | 24257 | | public const int TypeFieldNumber = 1; |
| | 24258 | | private string type_ = ""; |
| | 24259 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24260 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24261 | | public string Type { |
| | 24262 | | get { return type_; } |
| | 24263 | | set { |
| | 24264 | | type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24265 | | } |
| | 24266 | | } |
| | 24267 | |
|
| | 24268 | | /// <summary>Field number for the "uuid" field.</summary> |
| | 24269 | | public const int UuidFieldNumber = 2; |
| | 24270 | | private string uuid_ = ""; |
| | 24271 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24272 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24273 | | public string Uuid { |
| | 24274 | | get { return uuid_; } |
| | 24275 | | set { |
| | 24276 | | uuid_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24277 | | } |
| | 24278 | | } |
| | 24279 | |
|
| | 24280 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24281 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24282 | | public override bool Equals(object other) { |
| | 24283 | | return Equals(other as PB_UUIDCallback); |
| | 24284 | | } |
| | 24285 | |
|
| | 24286 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24287 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24288 | | public bool Equals(PB_UUIDCallback other) { |
| | 24289 | | if (ReferenceEquals(other, null)) { |
| | 24290 | | return false; |
| | 24291 | | } |
| | 24292 | | if (ReferenceEquals(other, this)) { |
| | 24293 | | return true; |
| | 24294 | | } |
| | 24295 | | if (Type != other.Type) return false; |
| | 24296 | | if (Uuid != other.Uuid) return false; |
| | 24297 | | return Equals(_unknownFields, other._unknownFields); |
| | 24298 | | } |
| | 24299 | |
|
| | 24300 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24301 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24302 | | public override int GetHashCode() { |
| | 24303 | | int hash = 1; |
| | 24304 | | if (Type.Length != 0) hash ^= Type.GetHashCode(); |
| | 24305 | | if (Uuid.Length != 0) hash ^= Uuid.GetHashCode(); |
| | 24306 | | if (_unknownFields != null) { |
| | 24307 | | hash ^= _unknownFields.GetHashCode(); |
| | 24308 | | } |
| | 24309 | | return hash; |
| | 24310 | | } |
| | 24311 | |
|
| | 24312 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24313 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24314 | | public override string ToString() { |
| | 24315 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 24316 | | } |
| | 24317 | |
|
| | 24318 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24319 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24320 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 24321 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24322 | | output.WriteRawMessage(this); |
| | 24323 | | #else |
| | 24324 | | if (Type.Length != 0) { |
| | 24325 | | output.WriteRawTag(10); |
| | 24326 | | output.WriteString(Type); |
| | 24327 | | } |
| | 24328 | | if (Uuid.Length != 0) { |
| | 24329 | | output.WriteRawTag(18); |
| | 24330 | | output.WriteString(Uuid); |
| | 24331 | | } |
| | 24332 | | if (_unknownFields != null) { |
| | 24333 | | _unknownFields.WriteTo(output); |
| | 24334 | | } |
| | 24335 | | #endif |
| | 24336 | | } |
| | 24337 | |
|
| | 24338 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24339 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24340 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24341 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 24342 | | if (Type.Length != 0) { |
| | 24343 | | output.WriteRawTag(10); |
| | 24344 | | output.WriteString(Type); |
| | 24345 | | } |
| | 24346 | | if (Uuid.Length != 0) { |
| | 24347 | | output.WriteRawTag(18); |
| | 24348 | | output.WriteString(Uuid); |
| | 24349 | | } |
| | 24350 | | if (_unknownFields != null) { |
| | 24351 | | _unknownFields.WriteTo(ref output); |
| | 24352 | | } |
| | 24353 | | } |
| | 24354 | | #endif |
| | 24355 | |
|
| | 24356 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24357 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24358 | | public int CalculateSize() { |
| | 24359 | | int size = 0; |
| | 24360 | | if (Type.Length != 0) { |
| | 24361 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); |
| | 24362 | | } |
| | 24363 | | if (Uuid.Length != 0) { |
| | 24364 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Uuid); |
| | 24365 | | } |
| | 24366 | | if (_unknownFields != null) { |
| | 24367 | | size += _unknownFields.CalculateSize(); |
| | 24368 | | } |
| | 24369 | | return size; |
| | 24370 | | } |
| | 24371 | |
|
| | 24372 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24373 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24374 | | public void MergeFrom(PB_UUIDCallback other) { |
| | 24375 | | if (other == null) { |
| | 24376 | | return; |
| | 24377 | | } |
| | 24378 | | if (other.Type.Length != 0) { |
| | 24379 | | Type = other.Type; |
| | 24380 | | } |
| | 24381 | | if (other.Uuid.Length != 0) { |
| | 24382 | | Uuid = other.Uuid; |
| | 24383 | | } |
| | 24384 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 24385 | | } |
| | 24386 | |
|
| | 24387 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24388 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24389 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 24390 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24391 | | input.ReadRawMessage(this); |
| | 24392 | | #else |
| | 24393 | | uint tag; |
| | 24394 | | while ((tag = input.ReadTag()) != 0) { |
| | 24395 | | switch(tag) { |
| | 24396 | | default: |
| | 24397 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 24398 | | break; |
| | 24399 | | case 10: { |
| | 24400 | | Type = input.ReadString(); |
| | 24401 | | break; |
| | 24402 | | } |
| | 24403 | | case 18: { |
| | 24404 | | Uuid = input.ReadString(); |
| | 24405 | | break; |
| | 24406 | | } |
| | 24407 | | } |
| | 24408 | | } |
| | 24409 | | #endif |
| | 24410 | | } |
| | 24411 | |
|
| | 24412 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24413 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24414 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24415 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 24416 | | uint tag; |
| | 24417 | | while ((tag = input.ReadTag()) != 0) { |
| | 24418 | | switch(tag) { |
| | 24419 | | default: |
| | 24420 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 24421 | | break; |
| | 24422 | | case 10: { |
| | 24423 | | Type = input.ReadString(); |
| | 24424 | | break; |
| | 24425 | | } |
| | 24426 | | case 18: { |
| | 24427 | | Uuid = input.ReadString(); |
| | 24428 | | break; |
| | 24429 | | } |
| | 24430 | | } |
| | 24431 | | } |
| | 24432 | | } |
| | 24433 | | #endif |
| | 24434 | |
|
| | 24435 | | } |
| | 24436 | |
|
| | 24437 | | public sealed partial class PB_UIInputText : pb::IMessage<PB_UIInputText> |
| | 24438 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 24439 | | , pb::IBufferMessage |
| | 24440 | | #endif |
| | 24441 | | { |
| | 24442 | | private static readonly pb::MessageParser<PB_UIInputText> _parser = new pb::MessageParser<PB_UIInputText>(() => new |
| | 24443 | | private pb::UnknownFieldSet _unknownFields; |
| | 24444 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24445 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24446 | | public static pb::MessageParser<PB_UIInputText> Parser { get { return _parser; } } |
| | 24447 | |
|
| | 24448 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24449 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24450 | | public static pbr::MessageDescriptor Descriptor { |
| | 24451 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[60]; } |
| | 24452 | | } |
| | 24453 | |
|
| | 24454 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24455 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24456 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 24457 | | get { return Descriptor; } |
| | 24458 | | } |
| | 24459 | |
|
| | 24460 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24461 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24462 | | public PB_UIInputText() { |
| | 24463 | | OnConstruction(); |
| | 24464 | | } |
| | 24465 | |
|
| | 24466 | | partial void OnConstruction(); |
| | 24467 | |
|
| | 24468 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24469 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24470 | | public PB_UIInputText(PB_UIInputText other) : this() { |
| | 24471 | | name_ = other.name_; |
| | 24472 | | visible_ = other.visible_; |
| | 24473 | | opacity_ = other.opacity_; |
| | 24474 | | hAlign_ = other.hAlign_; |
| | 24475 | | vAlign_ = other.vAlign_; |
| | 24476 | | width_ = other.width_; |
| | 24477 | | height_ = other.height_; |
| | 24478 | | positionX_ = other.positionX_; |
| | 24479 | | positionY_ = other.positionY_; |
| | 24480 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 24481 | | parent_ = other.parent_ != null ? other.parent_.Clone() : null; |
| | 24482 | | outlineWidth_ = other.outlineWidth_; |
| | 24483 | | outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null; |
| | 24484 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 24485 | | thickness_ = other.thickness_; |
| | 24486 | | fontSize_ = other.fontSize_; |
| | 24487 | | fontWeight_ = other.fontWeight_; |
| | 24488 | | value_ = other.value_; |
| | 24489 | | placeholderColor_ = other.placeholderColor_ != null ? other.placeholderColor_.Clone() : null; |
| | 24490 | | placeholder_ = other.placeholder_; |
| | 24491 | | margin_ = other.margin_; |
| | 24492 | | maxWidth_ = other.maxWidth_; |
| | 24493 | | hTextAlign_ = other.hTextAlign_; |
| | 24494 | | vTextAlign_ = other.vTextAlign_; |
| | 24495 | | autoStretchWidth_ = other.autoStretchWidth_; |
| | 24496 | | background_ = other.background_ != null ? other.background_.Clone() : null; |
| | 24497 | | focusedBackground_ = other.focusedBackground_ != null ? other.focusedBackground_.Clone() : null; |
| | 24498 | | textWrapping_ = other.textWrapping_; |
| | 24499 | | shadowBlur_ = other.shadowBlur_; |
| | 24500 | | shadowOffsetX_ = other.shadowOffsetX_; |
| | 24501 | | shadowOffsetY_ = other.shadowOffsetY_; |
| | 24502 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| | 24503 | | paddingTop_ = other.paddingTop_; |
| | 24504 | | paddingRight_ = other.paddingRight_; |
| | 24505 | | paddingBottom_ = other.paddingBottom_; |
| | 24506 | | paddingLeft_ = other.paddingLeft_; |
| | 24507 | | onTextSubmit_ = other.onTextSubmit_ != null ? other.onTextSubmit_.Clone() : null; |
| | 24508 | | onChanged_ = other.onChanged_ != null ? other.onChanged_.Clone() : null; |
| | 24509 | | onFocus_ = other.onFocus_ != null ? other.onFocus_.Clone() : null; |
| | 24510 | | onBlur_ = other.onBlur_ != null ? other.onBlur_.Clone() : null; |
| | 24511 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 24512 | | } |
| | 24513 | |
|
| | 24514 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24515 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24516 | | public PB_UIInputText Clone() { |
| | 24517 | | return new PB_UIInputText(this); |
| | 24518 | | } |
| | 24519 | |
|
| | 24520 | | /// <summary>Field number for the "name" field.</summary> |
| | 24521 | | public const int NameFieldNumber = 1; |
| | 24522 | | private string name_ = ""; |
| | 24523 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24524 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24525 | | public string Name { |
| | 24526 | | get { return name_; } |
| | 24527 | | set { |
| | 24528 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24529 | | } |
| | 24530 | | } |
| | 24531 | |
|
| | 24532 | | /// <summary>Field number for the "visible" field.</summary> |
| | 24533 | | public const int VisibleFieldNumber = 2; |
| | 24534 | | private bool visible_; |
| | 24535 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24536 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24537 | | public bool Visible { |
| | 24538 | | get { return visible_; } |
| | 24539 | | set { |
| | 24540 | | visible_ = value; |
| | 24541 | | } |
| | 24542 | | } |
| | 24543 | |
|
| | 24544 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 24545 | | public const int OpacityFieldNumber = 3; |
| | 24546 | | private float opacity_; |
| | 24547 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24548 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24549 | | public float Opacity { |
| | 24550 | | get { return opacity_; } |
| | 24551 | | set { |
| | 24552 | | opacity_ = value; |
| | 24553 | | } |
| | 24554 | | } |
| | 24555 | |
|
| | 24556 | | /// <summary>Field number for the "hAlign" field.</summary> |
| | 24557 | | public const int HAlignFieldNumber = 4; |
| | 24558 | | private string hAlign_ = ""; |
| | 24559 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24560 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24561 | | public string HAlign { |
| | 24562 | | get { return hAlign_; } |
| | 24563 | | set { |
| | 24564 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24565 | | } |
| | 24566 | | } |
| | 24567 | |
|
| | 24568 | | /// <summary>Field number for the "vAlign" field.</summary> |
| | 24569 | | public const int VAlignFieldNumber = 5; |
| | 24570 | | private string vAlign_ = ""; |
| | 24571 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24572 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24573 | | public string VAlign { |
| | 24574 | | get { return vAlign_; } |
| | 24575 | | set { |
| | 24576 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24577 | | } |
| | 24578 | | } |
| | 24579 | |
|
| | 24580 | | /// <summary>Field number for the "width" field.</summary> |
| | 24581 | | public const int WidthFieldNumber = 6; |
| | 24582 | | private string width_ = ""; |
| | 24583 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24584 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24585 | | public string Width { |
| | 24586 | | get { return width_; } |
| | 24587 | | set { |
| | 24588 | | width_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24589 | | } |
| | 24590 | | } |
| | 24591 | |
|
| | 24592 | | /// <summary>Field number for the "height" field.</summary> |
| | 24593 | | public const int HeightFieldNumber = 7; |
| | 24594 | | private string height_ = ""; |
| | 24595 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24596 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24597 | | public string Height { |
| | 24598 | | get { return height_; } |
| | 24599 | | set { |
| | 24600 | | height_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24601 | | } |
| | 24602 | | } |
| | 24603 | |
|
| | 24604 | | /// <summary>Field number for the "positionX" field.</summary> |
| | 24605 | | public const int PositionXFieldNumber = 8; |
| | 24606 | | private string positionX_ = ""; |
| | 24607 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24608 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24609 | | public string PositionX { |
| | 24610 | | get { return positionX_; } |
| | 24611 | | set { |
| | 24612 | | positionX_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24613 | | } |
| | 24614 | | } |
| | 24615 | |
|
| | 24616 | | /// <summary>Field number for the "positionY" field.</summary> |
| | 24617 | | public const int PositionYFieldNumber = 9; |
| | 24618 | | private string positionY_ = ""; |
| | 24619 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24620 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24621 | | public string PositionY { |
| | 24622 | | get { return positionY_; } |
| | 24623 | | set { |
| | 24624 | | positionY_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24625 | | } |
| | 24626 | | } |
| | 24627 | |
|
| | 24628 | | /// <summary>Field number for the "isPointerBlocker" field.</summary> |
| | 24629 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 24630 | | private bool isPointerBlocker_; |
| | 24631 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24632 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24633 | | public bool IsPointerBlocker { |
| | 24634 | | get { return isPointerBlocker_; } |
| | 24635 | | set { |
| | 24636 | | isPointerBlocker_ = value; |
| | 24637 | | } |
| | 24638 | | } |
| | 24639 | |
|
| | 24640 | | /// <summary>Field number for the "parent" field.</summary> |
| | 24641 | | public const int ParentFieldNumber = 11; |
| | 24642 | | private global::DCL.Interface.PB_UIShape parent_; |
| | 24643 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24644 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24645 | | public global::DCL.Interface.PB_UIShape Parent { |
| | 24646 | | get { return parent_; } |
| | 24647 | | set { |
| | 24648 | | parent_ = value; |
| | 24649 | | } |
| | 24650 | | } |
| | 24651 | |
|
| | 24652 | | /// <summary>Field number for the "outlineWidth" field.</summary> |
| | 24653 | | public const int OutlineWidthFieldNumber = 12; |
| | 24654 | | private float outlineWidth_; |
| | 24655 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24656 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24657 | | public float OutlineWidth { |
| | 24658 | | get { return outlineWidth_; } |
| | 24659 | | set { |
| | 24660 | | outlineWidth_ = value; |
| | 24661 | | } |
| | 24662 | | } |
| | 24663 | |
|
| | 24664 | | /// <summary>Field number for the "outlineColor" field.</summary> |
| | 24665 | | public const int OutlineColorFieldNumber = 13; |
| | 24666 | | private global::DCL.Interface.PB_Color4 outlineColor_; |
| | 24667 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24668 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24669 | | public global::DCL.Interface.PB_Color4 OutlineColor { |
| | 24670 | | get { return outlineColor_; } |
| | 24671 | | set { |
| | 24672 | | outlineColor_ = value; |
| | 24673 | | } |
| | 24674 | | } |
| | 24675 | |
|
| | 24676 | | /// <summary>Field number for the "color" field.</summary> |
| | 24677 | | public const int ColorFieldNumber = 14; |
| | 24678 | | private global::DCL.Interface.PB_Color4 color_; |
| | 24679 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24680 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24681 | | public global::DCL.Interface.PB_Color4 Color { |
| | 24682 | | get { return color_; } |
| | 24683 | | set { |
| | 24684 | | color_ = value; |
| | 24685 | | } |
| | 24686 | | } |
| | 24687 | |
|
| | 24688 | | /// <summary>Field number for the "thickness" field.</summary> |
| | 24689 | | public const int ThicknessFieldNumber = 15; |
| | 24690 | | private float thickness_; |
| | 24691 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24692 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24693 | | public float Thickness { |
| | 24694 | | get { return thickness_; } |
| | 24695 | | set { |
| | 24696 | | thickness_ = value; |
| | 24697 | | } |
| | 24698 | | } |
| | 24699 | |
|
| | 24700 | | /// <summary>Field number for the "fontSize" field.</summary> |
| | 24701 | | public const int FontSizeFieldNumber = 16; |
| | 24702 | | private float fontSize_; |
| | 24703 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24704 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24705 | | public float FontSize { |
| | 24706 | | get { return fontSize_; } |
| | 24707 | | set { |
| | 24708 | | fontSize_ = value; |
| | 24709 | | } |
| | 24710 | | } |
| | 24711 | |
|
| | 24712 | | /// <summary>Field number for the "fontWeight" field.</summary> |
| | 24713 | | public const int FontWeightFieldNumber = 17; |
| | 24714 | | private string fontWeight_ = ""; |
| | 24715 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24716 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24717 | | public string FontWeight { |
| | 24718 | | get { return fontWeight_; } |
| | 24719 | | set { |
| | 24720 | | fontWeight_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24721 | | } |
| | 24722 | | } |
| | 24723 | |
|
| | 24724 | | /// <summary>Field number for the "value" field.</summary> |
| | 24725 | | public const int ValueFieldNumber = 18; |
| | 24726 | | private string value_ = ""; |
| | 24727 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24728 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24729 | | public string Value { |
| | 24730 | | get { return value_; } |
| | 24731 | | set { |
| | 24732 | | value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24733 | | } |
| | 24734 | | } |
| | 24735 | |
|
| | 24736 | | /// <summary>Field number for the "placeholderColor" field.</summary> |
| | 24737 | | public const int PlaceholderColorFieldNumber = 19; |
| | 24738 | | private global::DCL.Interface.PB_Color4 placeholderColor_; |
| | 24739 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24740 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24741 | | public global::DCL.Interface.PB_Color4 PlaceholderColor { |
| | 24742 | | get { return placeholderColor_; } |
| | 24743 | | set { |
| | 24744 | | placeholderColor_ = value; |
| | 24745 | | } |
| | 24746 | | } |
| | 24747 | |
|
| | 24748 | | /// <summary>Field number for the "placeholder" field.</summary> |
| | 24749 | | public const int PlaceholderFieldNumber = 20; |
| | 24750 | | private string placeholder_ = ""; |
| | 24751 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24752 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24753 | | public string Placeholder { |
| | 24754 | | get { return placeholder_; } |
| | 24755 | | set { |
| | 24756 | | placeholder_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24757 | | } |
| | 24758 | | } |
| | 24759 | |
|
| | 24760 | | /// <summary>Field number for the "margin" field.</summary> |
| | 24761 | | public const int MarginFieldNumber = 21; |
| | 24762 | | private float margin_; |
| | 24763 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24764 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24765 | | public float Margin { |
| | 24766 | | get { return margin_; } |
| | 24767 | | set { |
| | 24768 | | margin_ = value; |
| | 24769 | | } |
| | 24770 | | } |
| | 24771 | |
|
| | 24772 | | /// <summary>Field number for the "maxWidth" field.</summary> |
| | 24773 | | public const int MaxWidthFieldNumber = 22; |
| | 24774 | | private float maxWidth_; |
| | 24775 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24776 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24777 | | public float MaxWidth { |
| | 24778 | | get { return maxWidth_; } |
| | 24779 | | set { |
| | 24780 | | maxWidth_ = value; |
| | 24781 | | } |
| | 24782 | | } |
| | 24783 | |
|
| | 24784 | | /// <summary>Field number for the "hTextAlign" field.</summary> |
| | 24785 | | public const int HTextAlignFieldNumber = 23; |
| | 24786 | | private string hTextAlign_ = ""; |
| | 24787 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24788 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24789 | | public string HTextAlign { |
| | 24790 | | get { return hTextAlign_; } |
| | 24791 | | set { |
| | 24792 | | hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24793 | | } |
| | 24794 | | } |
| | 24795 | |
|
| | 24796 | | /// <summary>Field number for the "vTextAlign" field.</summary> |
| | 24797 | | public const int VTextAlignFieldNumber = 24; |
| | 24798 | | private string vTextAlign_ = ""; |
| | 24799 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24800 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24801 | | public string VTextAlign { |
| | 24802 | | get { return vTextAlign_; } |
| | 24803 | | set { |
| | 24804 | | vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 24805 | | } |
| | 24806 | | } |
| | 24807 | |
|
| | 24808 | | /// <summary>Field number for the "autoStretchWidth" field.</summary> |
| | 24809 | | public const int AutoStretchWidthFieldNumber = 25; |
| | 24810 | | private bool autoStretchWidth_; |
| | 24811 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24812 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24813 | | public bool AutoStretchWidth { |
| | 24814 | | get { return autoStretchWidth_; } |
| | 24815 | | set { |
| | 24816 | | autoStretchWidth_ = value; |
| | 24817 | | } |
| | 24818 | | } |
| | 24819 | |
|
| | 24820 | | /// <summary>Field number for the "background" field.</summary> |
| | 24821 | | public const int BackgroundFieldNumber = 26; |
| | 24822 | | private global::DCL.Interface.PB_Color4 background_; |
| | 24823 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24824 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24825 | | public global::DCL.Interface.PB_Color4 Background { |
| | 24826 | | get { return background_; } |
| | 24827 | | set { |
| | 24828 | | background_ = value; |
| | 24829 | | } |
| | 24830 | | } |
| | 24831 | |
|
| | 24832 | | /// <summary>Field number for the "focusedBackground" field.</summary> |
| | 24833 | | public const int FocusedBackgroundFieldNumber = 27; |
| | 24834 | | private global::DCL.Interface.PB_Color4 focusedBackground_; |
| | 24835 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24836 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24837 | | public global::DCL.Interface.PB_Color4 FocusedBackground { |
| | 24838 | | get { return focusedBackground_; } |
| | 24839 | | set { |
| | 24840 | | focusedBackground_ = value; |
| | 24841 | | } |
| | 24842 | | } |
| | 24843 | |
|
| | 24844 | | /// <summary>Field number for the "textWrapping" field.</summary> |
| | 24845 | | public const int TextWrappingFieldNumber = 28; |
| | 24846 | | private bool textWrapping_; |
| | 24847 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24848 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24849 | | public bool TextWrapping { |
| | 24850 | | get { return textWrapping_; } |
| | 24851 | | set { |
| | 24852 | | textWrapping_ = value; |
| | 24853 | | } |
| | 24854 | | } |
| | 24855 | |
|
| | 24856 | | /// <summary>Field number for the "shadowBlur" field.</summary> |
| | 24857 | | public const int ShadowBlurFieldNumber = 29; |
| | 24858 | | private float shadowBlur_; |
| | 24859 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24860 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24861 | | public float ShadowBlur { |
| | 24862 | | get { return shadowBlur_; } |
| | 24863 | | set { |
| | 24864 | | shadowBlur_ = value; |
| | 24865 | | } |
| | 24866 | | } |
| | 24867 | |
|
| | 24868 | | /// <summary>Field number for the "shadowOffsetX" field.</summary> |
| | 24869 | | public const int ShadowOffsetXFieldNumber = 30; |
| | 24870 | | private float shadowOffsetX_; |
| | 24871 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24872 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24873 | | public float ShadowOffsetX { |
| | 24874 | | get { return shadowOffsetX_; } |
| | 24875 | | set { |
| | 24876 | | shadowOffsetX_ = value; |
| | 24877 | | } |
| | 24878 | | } |
| | 24879 | |
|
| | 24880 | | /// <summary>Field number for the "shadowOffsetY" field.</summary> |
| | 24881 | | public const int ShadowOffsetYFieldNumber = 31; |
| | 24882 | | private float shadowOffsetY_; |
| | 24883 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24884 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24885 | | public float ShadowOffsetY { |
| | 24886 | | get { return shadowOffsetY_; } |
| | 24887 | | set { |
| | 24888 | | shadowOffsetY_ = value; |
| | 24889 | | } |
| | 24890 | | } |
| | 24891 | |
|
| | 24892 | | /// <summary>Field number for the "shadowColor" field.</summary> |
| | 24893 | | public const int ShadowColorFieldNumber = 32; |
| | 24894 | | private global::DCL.Interface.PB_Color4 shadowColor_; |
| | 24895 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24896 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24897 | | public global::DCL.Interface.PB_Color4 ShadowColor { |
| | 24898 | | get { return shadowColor_; } |
| | 24899 | | set { |
| | 24900 | | shadowColor_ = value; |
| | 24901 | | } |
| | 24902 | | } |
| | 24903 | |
|
| | 24904 | | /// <summary>Field number for the "paddingTop" field.</summary> |
| | 24905 | | public const int PaddingTopFieldNumber = 33; |
| | 24906 | | private float paddingTop_; |
| | 24907 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24908 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24909 | | public float PaddingTop { |
| | 24910 | | get { return paddingTop_; } |
| | 24911 | | set { |
| | 24912 | | paddingTop_ = value; |
| | 24913 | | } |
| | 24914 | | } |
| | 24915 | |
|
| | 24916 | | /// <summary>Field number for the "paddingRight" field.</summary> |
| | 24917 | | public const int PaddingRightFieldNumber = 34; |
| | 24918 | | private float paddingRight_; |
| | 24919 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24920 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24921 | | public float PaddingRight { |
| | 24922 | | get { return paddingRight_; } |
| | 24923 | | set { |
| | 24924 | | paddingRight_ = value; |
| | 24925 | | } |
| | 24926 | | } |
| | 24927 | |
|
| | 24928 | | /// <summary>Field number for the "paddingBottom" field.</summary> |
| | 24929 | | public const int PaddingBottomFieldNumber = 35; |
| | 24930 | | private float paddingBottom_; |
| | 24931 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24932 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24933 | | public float PaddingBottom { |
| | 24934 | | get { return paddingBottom_; } |
| | 24935 | | set { |
| | 24936 | | paddingBottom_ = value; |
| | 24937 | | } |
| | 24938 | | } |
| | 24939 | |
|
| | 24940 | | /// <summary>Field number for the "paddingLeft" field.</summary> |
| | 24941 | | public const int PaddingLeftFieldNumber = 36; |
| | 24942 | | private float paddingLeft_; |
| | 24943 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24944 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24945 | | public float PaddingLeft { |
| | 24946 | | get { return paddingLeft_; } |
| | 24947 | | set { |
| | 24948 | | paddingLeft_ = value; |
| | 24949 | | } |
| | 24950 | | } |
| | 24951 | |
|
| | 24952 | | /// <summary>Field number for the "onTextSubmit" field.</summary> |
| | 24953 | | public const int OnTextSubmitFieldNumber = 37; |
| | 24954 | | private global::DCL.Interface.PB_UUIDCallback onTextSubmit_; |
| | 24955 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24956 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24957 | | public global::DCL.Interface.PB_UUIDCallback OnTextSubmit { |
| | 24958 | | get { return onTextSubmit_; } |
| | 24959 | | set { |
| | 24960 | | onTextSubmit_ = value; |
| | 24961 | | } |
| | 24962 | | } |
| | 24963 | |
|
| | 24964 | | /// <summary>Field number for the "onChanged" field.</summary> |
| | 24965 | | public const int OnChangedFieldNumber = 38; |
| | 24966 | | private global::DCL.Interface.PB_UUIDCallback onChanged_; |
| | 24967 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24968 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24969 | | public global::DCL.Interface.PB_UUIDCallback OnChanged { |
| | 24970 | | get { return onChanged_; } |
| | 24971 | | set { |
| | 24972 | | onChanged_ = value; |
| | 24973 | | } |
| | 24974 | | } |
| | 24975 | |
|
| | 24976 | | /// <summary>Field number for the "onFocus" field.</summary> |
| | 24977 | | public const int OnFocusFieldNumber = 39; |
| | 24978 | | private global::DCL.Interface.PB_UUIDCallback onFocus_; |
| | 24979 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24980 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24981 | | public global::DCL.Interface.PB_UUIDCallback OnFocus { |
| | 24982 | | get { return onFocus_; } |
| | 24983 | | set { |
| | 24984 | | onFocus_ = value; |
| | 24985 | | } |
| | 24986 | | } |
| | 24987 | |
|
| | 24988 | | /// <summary>Field number for the "onBlur" field.</summary> |
| | 24989 | | public const int OnBlurFieldNumber = 40; |
| | 24990 | | private global::DCL.Interface.PB_UUIDCallback onBlur_; |
| | 24991 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 24992 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 24993 | | public global::DCL.Interface.PB_UUIDCallback OnBlur { |
| | 24994 | | get { return onBlur_; } |
| | 24995 | | set { |
| | 24996 | | onBlur_ = value; |
| | 24997 | | } |
| | 24998 | | } |
| | 24999 | |
|
| | 25000 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25001 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25002 | | public override bool Equals(object other) { |
| | 25003 | | return Equals(other as PB_UIInputText); |
| | 25004 | | } |
| | 25005 | |
|
| | 25006 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25007 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25008 | | public bool Equals(PB_UIInputText other) { |
| | 25009 | | if (ReferenceEquals(other, null)) { |
| | 25010 | | return false; |
| | 25011 | | } |
| | 25012 | | if (ReferenceEquals(other, this)) { |
| | 25013 | | return true; |
| | 25014 | | } |
| | 25015 | | if (Name != other.Name) return false; |
| | 25016 | | if (Visible != other.Visible) return false; |
| | 25017 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 25018 | | if (HAlign != other.HAlign) return false; |
| | 25019 | | if (VAlign != other.VAlign) return false; |
| | 25020 | | if (Width != other.Width) return false; |
| | 25021 | | if (Height != other.Height) return false; |
| | 25022 | | if (PositionX != other.PositionX) return false; |
| | 25023 | | if (PositionY != other.PositionY) return false; |
| | 25024 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 25025 | | if (!object.Equals(Parent, other.Parent)) return false; |
| | 25026 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return |
| | 25027 | | if (!object.Equals(OutlineColor, other.OutlineColor)) return false; |
| | 25028 | | if (!object.Equals(Color, other.Color)) return false; |
| | 25029 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Thickness, other.Thickness)) return false |
| | 25030 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| | 25031 | | if (FontWeight != other.FontWeight) return false; |
| | 25032 | | if (Value != other.Value) return false; |
| | 25033 | | if (!object.Equals(PlaceholderColor, other.PlaceholderColor)) return false; |
| | 25034 | | if (Placeholder != other.Placeholder) return false; |
| | 25035 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Margin, other.Margin)) return false; |
| | 25036 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(MaxWidth, other.MaxWidth)) return false; |
| | 25037 | | if (HTextAlign != other.HTextAlign) return false; |
| | 25038 | | if (VTextAlign != other.VTextAlign) return false; |
| | 25039 | | if (AutoStretchWidth != other.AutoStretchWidth) return false; |
| | 25040 | | if (!object.Equals(Background, other.Background)) return false; |
| | 25041 | | if (!object.Equals(FocusedBackground, other.FocusedBackground)) return false; |
| | 25042 | | if (TextWrapping != other.TextWrapping) return false; |
| | 25043 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| | 25044 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| | 25045 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| | 25046 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| | 25047 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 25048 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 25049 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 25050 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 25051 | | if (!object.Equals(OnTextSubmit, other.OnTextSubmit)) return false; |
| | 25052 | | if (!object.Equals(OnChanged, other.OnChanged)) return false; |
| | 25053 | | if (!object.Equals(OnFocus, other.OnFocus)) return false; |
| | 25054 | | if (!object.Equals(OnBlur, other.OnBlur)) return false; |
| | 25055 | | return Equals(_unknownFields, other._unknownFields); |
| | 25056 | | } |
| | 25057 | |
|
| | 25058 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25059 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25060 | | public override int GetHashCode() { |
| | 25061 | | int hash = 1; |
| | 25062 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 25063 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 25064 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 25065 | | if (HAlign.Length != 0) hash ^= HAlign.GetHashCode(); |
| | 25066 | | if (VAlign.Length != 0) hash ^= VAlign.GetHashCode(); |
| | 25067 | | if (Width.Length != 0) hash ^= Width.GetHashCode(); |
| | 25068 | | if (Height.Length != 0) hash ^= Height.GetHashCode(); |
| | 25069 | | if (PositionX.Length != 0) hash ^= PositionX.GetHashCode(); |
| | 25070 | | if (PositionY.Length != 0) hash ^= PositionY.GetHashCode(); |
| | 25071 | | if (IsPointerBlocker != false) hash ^= IsPointerBlocker.GetHashCode(); |
| | 25072 | | if (parent_ != null) hash ^= Parent.GetHashCode(); |
| | 25073 | | if (OutlineWidth != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWi |
| | 25074 | | if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode(); |
| | 25075 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 25076 | | if (Thickness != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Thickness); |
| | 25077 | | if (FontSize != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| | 25078 | | if (FontWeight.Length != 0) hash ^= FontWeight.GetHashCode(); |
| | 25079 | | if (Value.Length != 0) hash ^= Value.GetHashCode(); |
| | 25080 | | if (placeholderColor_ != null) hash ^= PlaceholderColor.GetHashCode(); |
| | 25081 | | if (Placeholder.Length != 0) hash ^= Placeholder.GetHashCode(); |
| | 25082 | | if (Margin != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Margin); |
| | 25083 | | if (MaxWidth != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(MaxWidth); |
| | 25084 | | if (HTextAlign.Length != 0) hash ^= HTextAlign.GetHashCode(); |
| | 25085 | | if (VTextAlign.Length != 0) hash ^= VTextAlign.GetHashCode(); |
| | 25086 | | if (AutoStretchWidth != false) hash ^= AutoStretchWidth.GetHashCode(); |
| | 25087 | | if (background_ != null) hash ^= Background.GetHashCode(); |
| | 25088 | | if (focusedBackground_ != null) hash ^= FocusedBackground.GetHashCode(); |
| | 25089 | | if (TextWrapping != false) hash ^= TextWrapping.GetHashCode(); |
| | 25090 | | if (ShadowBlur != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur) |
| | 25091 | | if (ShadowOffsetX != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOf |
| | 25092 | | if (ShadowOffsetY != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOf |
| | 25093 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| | 25094 | | if (PaddingTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop) |
| | 25095 | | if (PaddingRight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRi |
| | 25096 | | if (PaddingBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingB |
| | 25097 | | if (PaddingLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLef |
| | 25098 | | if (onTextSubmit_ != null) hash ^= OnTextSubmit.GetHashCode(); |
| | 25099 | | if (onChanged_ != null) hash ^= OnChanged.GetHashCode(); |
| | 25100 | | if (onFocus_ != null) hash ^= OnFocus.GetHashCode(); |
| | 25101 | | if (onBlur_ != null) hash ^= OnBlur.GetHashCode(); |
| | 25102 | | if (_unknownFields != null) { |
| | 25103 | | hash ^= _unknownFields.GetHashCode(); |
| | 25104 | | } |
| | 25105 | | return hash; |
| | 25106 | | } |
| | 25107 | |
|
| | 25108 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25109 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25110 | | public override string ToString() { |
| | 25111 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 25112 | | } |
| | 25113 | |
|
| | 25114 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25115 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25116 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 25117 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25118 | | output.WriteRawMessage(this); |
| | 25119 | | #else |
| | 25120 | | if (Name.Length != 0) { |
| | 25121 | | output.WriteRawTag(10); |
| | 25122 | | output.WriteString(Name); |
| | 25123 | | } |
| | 25124 | | if (Visible != false) { |
| | 25125 | | output.WriteRawTag(16); |
| | 25126 | | output.WriteBool(Visible); |
| | 25127 | | } |
| | 25128 | | if (Opacity != 0F) { |
| | 25129 | | output.WriteRawTag(29); |
| | 25130 | | output.WriteFloat(Opacity); |
| | 25131 | | } |
| | 25132 | | if (HAlign.Length != 0) { |
| | 25133 | | output.WriteRawTag(34); |
| | 25134 | | output.WriteString(HAlign); |
| | 25135 | | } |
| | 25136 | | if (VAlign.Length != 0) { |
| | 25137 | | output.WriteRawTag(42); |
| | 25138 | | output.WriteString(VAlign); |
| | 25139 | | } |
| | 25140 | | if (Width.Length != 0) { |
| | 25141 | | output.WriteRawTag(50); |
| | 25142 | | output.WriteString(Width); |
| | 25143 | | } |
| | 25144 | | if (Height.Length != 0) { |
| | 25145 | | output.WriteRawTag(58); |
| | 25146 | | output.WriteString(Height); |
| | 25147 | | } |
| | 25148 | | if (PositionX.Length != 0) { |
| | 25149 | | output.WriteRawTag(66); |
| | 25150 | | output.WriteString(PositionX); |
| | 25151 | | } |
| | 25152 | | if (PositionY.Length != 0) { |
| | 25153 | | output.WriteRawTag(74); |
| | 25154 | | output.WriteString(PositionY); |
| | 25155 | | } |
| | 25156 | | if (IsPointerBlocker != false) { |
| | 25157 | | output.WriteRawTag(80); |
| | 25158 | | output.WriteBool(IsPointerBlocker); |
| | 25159 | | } |
| | 25160 | | if (parent_ != null) { |
| | 25161 | | output.WriteRawTag(90); |
| | 25162 | | output.WriteMessage(Parent); |
| | 25163 | | } |
| | 25164 | | if (OutlineWidth != 0F) { |
| | 25165 | | output.WriteRawTag(101); |
| | 25166 | | output.WriteFloat(OutlineWidth); |
| | 25167 | | } |
| | 25168 | | if (outlineColor_ != null) { |
| | 25169 | | output.WriteRawTag(106); |
| | 25170 | | output.WriteMessage(OutlineColor); |
| | 25171 | | } |
| | 25172 | | if (color_ != null) { |
| | 25173 | | output.WriteRawTag(114); |
| | 25174 | | output.WriteMessage(Color); |
| | 25175 | | } |
| | 25176 | | if (Thickness != 0F) { |
| | 25177 | | output.WriteRawTag(125); |
| | 25178 | | output.WriteFloat(Thickness); |
| | 25179 | | } |
| | 25180 | | if (FontSize != 0F) { |
| | 25181 | | output.WriteRawTag(133, 1); |
| | 25182 | | output.WriteFloat(FontSize); |
| | 25183 | | } |
| | 25184 | | if (FontWeight.Length != 0) { |
| | 25185 | | output.WriteRawTag(138, 1); |
| | 25186 | | output.WriteString(FontWeight); |
| | 25187 | | } |
| | 25188 | | if (Value.Length != 0) { |
| | 25189 | | output.WriteRawTag(146, 1); |
| | 25190 | | output.WriteString(Value); |
| | 25191 | | } |
| | 25192 | | if (placeholderColor_ != null) { |
| | 25193 | | output.WriteRawTag(154, 1); |
| | 25194 | | output.WriteMessage(PlaceholderColor); |
| | 25195 | | } |
| | 25196 | | if (Placeholder.Length != 0) { |
| | 25197 | | output.WriteRawTag(162, 1); |
| | 25198 | | output.WriteString(Placeholder); |
| | 25199 | | } |
| | 25200 | | if (Margin != 0F) { |
| | 25201 | | output.WriteRawTag(173, 1); |
| | 25202 | | output.WriteFloat(Margin); |
| | 25203 | | } |
| | 25204 | | if (MaxWidth != 0F) { |
| | 25205 | | output.WriteRawTag(181, 1); |
| | 25206 | | output.WriteFloat(MaxWidth); |
| | 25207 | | } |
| | 25208 | | if (HTextAlign.Length != 0) { |
| | 25209 | | output.WriteRawTag(186, 1); |
| | 25210 | | output.WriteString(HTextAlign); |
| | 25211 | | } |
| | 25212 | | if (VTextAlign.Length != 0) { |
| | 25213 | | output.WriteRawTag(194, 1); |
| | 25214 | | output.WriteString(VTextAlign); |
| | 25215 | | } |
| | 25216 | | if (AutoStretchWidth != false) { |
| | 25217 | | output.WriteRawTag(200, 1); |
| | 25218 | | output.WriteBool(AutoStretchWidth); |
| | 25219 | | } |
| | 25220 | | if (background_ != null) { |
| | 25221 | | output.WriteRawTag(210, 1); |
| | 25222 | | output.WriteMessage(Background); |
| | 25223 | | } |
| | 25224 | | if (focusedBackground_ != null) { |
| | 25225 | | output.WriteRawTag(218, 1); |
| | 25226 | | output.WriteMessage(FocusedBackground); |
| | 25227 | | } |
| | 25228 | | if (TextWrapping != false) { |
| | 25229 | | output.WriteRawTag(224, 1); |
| | 25230 | | output.WriteBool(TextWrapping); |
| | 25231 | | } |
| | 25232 | | if (ShadowBlur != 0F) { |
| | 25233 | | output.WriteRawTag(237, 1); |
| | 25234 | | output.WriteFloat(ShadowBlur); |
| | 25235 | | } |
| | 25236 | | if (ShadowOffsetX != 0F) { |
| | 25237 | | output.WriteRawTag(245, 1); |
| | 25238 | | output.WriteFloat(ShadowOffsetX); |
| | 25239 | | } |
| | 25240 | | if (ShadowOffsetY != 0F) { |
| | 25241 | | output.WriteRawTag(253, 1); |
| | 25242 | | output.WriteFloat(ShadowOffsetY); |
| | 25243 | | } |
| | 25244 | | if (shadowColor_ != null) { |
| | 25245 | | output.WriteRawTag(130, 2); |
| | 25246 | | output.WriteMessage(ShadowColor); |
| | 25247 | | } |
| | 25248 | | if (PaddingTop != 0F) { |
| | 25249 | | output.WriteRawTag(141, 2); |
| | 25250 | | output.WriteFloat(PaddingTop); |
| | 25251 | | } |
| | 25252 | | if (PaddingRight != 0F) { |
| | 25253 | | output.WriteRawTag(149, 2); |
| | 25254 | | output.WriteFloat(PaddingRight); |
| | 25255 | | } |
| | 25256 | | if (PaddingBottom != 0F) { |
| | 25257 | | output.WriteRawTag(157, 2); |
| | 25258 | | output.WriteFloat(PaddingBottom); |
| | 25259 | | } |
| | 25260 | | if (PaddingLeft != 0F) { |
| | 25261 | | output.WriteRawTag(165, 2); |
| | 25262 | | output.WriteFloat(PaddingLeft); |
| | 25263 | | } |
| | 25264 | | if (onTextSubmit_ != null) { |
| | 25265 | | output.WriteRawTag(170, 2); |
| | 25266 | | output.WriteMessage(OnTextSubmit); |
| | 25267 | | } |
| | 25268 | | if (onChanged_ != null) { |
| | 25269 | | output.WriteRawTag(178, 2); |
| | 25270 | | output.WriteMessage(OnChanged); |
| | 25271 | | } |
| | 25272 | | if (onFocus_ != null) { |
| | 25273 | | output.WriteRawTag(186, 2); |
| | 25274 | | output.WriteMessage(OnFocus); |
| | 25275 | | } |
| | 25276 | | if (onBlur_ != null) { |
| | 25277 | | output.WriteRawTag(194, 2); |
| | 25278 | | output.WriteMessage(OnBlur); |
| | 25279 | | } |
| | 25280 | | if (_unknownFields != null) { |
| | 25281 | | _unknownFields.WriteTo(output); |
| | 25282 | | } |
| | 25283 | | #endif |
| | 25284 | | } |
| | 25285 | |
|
| | 25286 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25287 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25288 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25289 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 25290 | | if (Name.Length != 0) { |
| | 25291 | | output.WriteRawTag(10); |
| | 25292 | | output.WriteString(Name); |
| | 25293 | | } |
| | 25294 | | if (Visible != false) { |
| | 25295 | | output.WriteRawTag(16); |
| | 25296 | | output.WriteBool(Visible); |
| | 25297 | | } |
| | 25298 | | if (Opacity != 0F) { |
| | 25299 | | output.WriteRawTag(29); |
| | 25300 | | output.WriteFloat(Opacity); |
| | 25301 | | } |
| | 25302 | | if (HAlign.Length != 0) { |
| | 25303 | | output.WriteRawTag(34); |
| | 25304 | | output.WriteString(HAlign); |
| | 25305 | | } |
| | 25306 | | if (VAlign.Length != 0) { |
| | 25307 | | output.WriteRawTag(42); |
| | 25308 | | output.WriteString(VAlign); |
| | 25309 | | } |
| | 25310 | | if (Width.Length != 0) { |
| | 25311 | | output.WriteRawTag(50); |
| | 25312 | | output.WriteString(Width); |
| | 25313 | | } |
| | 25314 | | if (Height.Length != 0) { |
| | 25315 | | output.WriteRawTag(58); |
| | 25316 | | output.WriteString(Height); |
| | 25317 | | } |
| | 25318 | | if (PositionX.Length != 0) { |
| | 25319 | | output.WriteRawTag(66); |
| | 25320 | | output.WriteString(PositionX); |
| | 25321 | | } |
| | 25322 | | if (PositionY.Length != 0) { |
| | 25323 | | output.WriteRawTag(74); |
| | 25324 | | output.WriteString(PositionY); |
| | 25325 | | } |
| | 25326 | | if (IsPointerBlocker != false) { |
| | 25327 | | output.WriteRawTag(80); |
| | 25328 | | output.WriteBool(IsPointerBlocker); |
| | 25329 | | } |
| | 25330 | | if (parent_ != null) { |
| | 25331 | | output.WriteRawTag(90); |
| | 25332 | | output.WriteMessage(Parent); |
| | 25333 | | } |
| | 25334 | | if (OutlineWidth != 0F) { |
| | 25335 | | output.WriteRawTag(101); |
| | 25336 | | output.WriteFloat(OutlineWidth); |
| | 25337 | | } |
| | 25338 | | if (outlineColor_ != null) { |
| | 25339 | | output.WriteRawTag(106); |
| | 25340 | | output.WriteMessage(OutlineColor); |
| | 25341 | | } |
| | 25342 | | if (color_ != null) { |
| | 25343 | | output.WriteRawTag(114); |
| | 25344 | | output.WriteMessage(Color); |
| | 25345 | | } |
| | 25346 | | if (Thickness != 0F) { |
| | 25347 | | output.WriteRawTag(125); |
| | 25348 | | output.WriteFloat(Thickness); |
| | 25349 | | } |
| | 25350 | | if (FontSize != 0F) { |
| | 25351 | | output.WriteRawTag(133, 1); |
| | 25352 | | output.WriteFloat(FontSize); |
| | 25353 | | } |
| | 25354 | | if (FontWeight.Length != 0) { |
| | 25355 | | output.WriteRawTag(138, 1); |
| | 25356 | | output.WriteString(FontWeight); |
| | 25357 | | } |
| | 25358 | | if (Value.Length != 0) { |
| | 25359 | | output.WriteRawTag(146, 1); |
| | 25360 | | output.WriteString(Value); |
| | 25361 | | } |
| | 25362 | | if (placeholderColor_ != null) { |
| | 25363 | | output.WriteRawTag(154, 1); |
| | 25364 | | output.WriteMessage(PlaceholderColor); |
| | 25365 | | } |
| | 25366 | | if (Placeholder.Length != 0) { |
| | 25367 | | output.WriteRawTag(162, 1); |
| | 25368 | | output.WriteString(Placeholder); |
| | 25369 | | } |
| | 25370 | | if (Margin != 0F) { |
| | 25371 | | output.WriteRawTag(173, 1); |
| | 25372 | | output.WriteFloat(Margin); |
| | 25373 | | } |
| | 25374 | | if (MaxWidth != 0F) { |
| | 25375 | | output.WriteRawTag(181, 1); |
| | 25376 | | output.WriteFloat(MaxWidth); |
| | 25377 | | } |
| | 25378 | | if (HTextAlign.Length != 0) { |
| | 25379 | | output.WriteRawTag(186, 1); |
| | 25380 | | output.WriteString(HTextAlign); |
| | 25381 | | } |
| | 25382 | | if (VTextAlign.Length != 0) { |
| | 25383 | | output.WriteRawTag(194, 1); |
| | 25384 | | output.WriteString(VTextAlign); |
| | 25385 | | } |
| | 25386 | | if (AutoStretchWidth != false) { |
| | 25387 | | output.WriteRawTag(200, 1); |
| | 25388 | | output.WriteBool(AutoStretchWidth); |
| | 25389 | | } |
| | 25390 | | if (background_ != null) { |
| | 25391 | | output.WriteRawTag(210, 1); |
| | 25392 | | output.WriteMessage(Background); |
| | 25393 | | } |
| | 25394 | | if (focusedBackground_ != null) { |
| | 25395 | | output.WriteRawTag(218, 1); |
| | 25396 | | output.WriteMessage(FocusedBackground); |
| | 25397 | | } |
| | 25398 | | if (TextWrapping != false) { |
| | 25399 | | output.WriteRawTag(224, 1); |
| | 25400 | | output.WriteBool(TextWrapping); |
| | 25401 | | } |
| | 25402 | | if (ShadowBlur != 0F) { |
| | 25403 | | output.WriteRawTag(237, 1); |
| | 25404 | | output.WriteFloat(ShadowBlur); |
| | 25405 | | } |
| | 25406 | | if (ShadowOffsetX != 0F) { |
| | 25407 | | output.WriteRawTag(245, 1); |
| | 25408 | | output.WriteFloat(ShadowOffsetX); |
| | 25409 | | } |
| | 25410 | | if (ShadowOffsetY != 0F) { |
| | 25411 | | output.WriteRawTag(253, 1); |
| | 25412 | | output.WriteFloat(ShadowOffsetY); |
| | 25413 | | } |
| | 25414 | | if (shadowColor_ != null) { |
| | 25415 | | output.WriteRawTag(130, 2); |
| | 25416 | | output.WriteMessage(ShadowColor); |
| | 25417 | | } |
| | 25418 | | if (PaddingTop != 0F) { |
| | 25419 | | output.WriteRawTag(141, 2); |
| | 25420 | | output.WriteFloat(PaddingTop); |
| | 25421 | | } |
| | 25422 | | if (PaddingRight != 0F) { |
| | 25423 | | output.WriteRawTag(149, 2); |
| | 25424 | | output.WriteFloat(PaddingRight); |
| | 25425 | | } |
| | 25426 | | if (PaddingBottom != 0F) { |
| | 25427 | | output.WriteRawTag(157, 2); |
| | 25428 | | output.WriteFloat(PaddingBottom); |
| | 25429 | | } |
| | 25430 | | if (PaddingLeft != 0F) { |
| | 25431 | | output.WriteRawTag(165, 2); |
| | 25432 | | output.WriteFloat(PaddingLeft); |
| | 25433 | | } |
| | 25434 | | if (onTextSubmit_ != null) { |
| | 25435 | | output.WriteRawTag(170, 2); |
| | 25436 | | output.WriteMessage(OnTextSubmit); |
| | 25437 | | } |
| | 25438 | | if (onChanged_ != null) { |
| | 25439 | | output.WriteRawTag(178, 2); |
| | 25440 | | output.WriteMessage(OnChanged); |
| | 25441 | | } |
| | 25442 | | if (onFocus_ != null) { |
| | 25443 | | output.WriteRawTag(186, 2); |
| | 25444 | | output.WriteMessage(OnFocus); |
| | 25445 | | } |
| | 25446 | | if (onBlur_ != null) { |
| | 25447 | | output.WriteRawTag(194, 2); |
| | 25448 | | output.WriteMessage(OnBlur); |
| | 25449 | | } |
| | 25450 | | if (_unknownFields != null) { |
| | 25451 | | _unknownFields.WriteTo(ref output); |
| | 25452 | | } |
| | 25453 | | } |
| | 25454 | | #endif |
| | 25455 | |
|
| | 25456 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25457 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25458 | | public int CalculateSize() { |
| | 25459 | | int size = 0; |
| | 25460 | | if (Name.Length != 0) { |
| | 25461 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 25462 | | } |
| | 25463 | | if (Visible != false) { |
| | 25464 | | size += 1 + 1; |
| | 25465 | | } |
| | 25466 | | if (Opacity != 0F) { |
| | 25467 | | size += 1 + 4; |
| | 25468 | | } |
| | 25469 | | if (HAlign.Length != 0) { |
| | 25470 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 25471 | | } |
| | 25472 | | if (VAlign.Length != 0) { |
| | 25473 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 25474 | | } |
| | 25475 | | if (Width.Length != 0) { |
| | 25476 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Width); |
| | 25477 | | } |
| | 25478 | | if (Height.Length != 0) { |
| | 25479 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Height); |
| | 25480 | | } |
| | 25481 | | if (PositionX.Length != 0) { |
| | 25482 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionX); |
| | 25483 | | } |
| | 25484 | | if (PositionY.Length != 0) { |
| | 25485 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionY); |
| | 25486 | | } |
| | 25487 | | if (IsPointerBlocker != false) { |
| | 25488 | | size += 1 + 1; |
| | 25489 | | } |
| | 25490 | | if (parent_ != null) { |
| | 25491 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); |
| | 25492 | | } |
| | 25493 | | if (OutlineWidth != 0F) { |
| | 25494 | | size += 1 + 4; |
| | 25495 | | } |
| | 25496 | | if (outlineColor_ != null) { |
| | 25497 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor); |
| | 25498 | | } |
| | 25499 | | if (color_ != null) { |
| | 25500 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 25501 | | } |
| | 25502 | | if (Thickness != 0F) { |
| | 25503 | | size += 1 + 4; |
| | 25504 | | } |
| | 25505 | | if (FontSize != 0F) { |
| | 25506 | | size += 2 + 4; |
| | 25507 | | } |
| | 25508 | | if (FontWeight.Length != 0) { |
| | 25509 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(FontWeight); |
| | 25510 | | } |
| | 25511 | | if (Value.Length != 0) { |
| | 25512 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(Value); |
| | 25513 | | } |
| | 25514 | | if (placeholderColor_ != null) { |
| | 25515 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(PlaceholderColor); |
| | 25516 | | } |
| | 25517 | | if (Placeholder.Length != 0) { |
| | 25518 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(Placeholder); |
| | 25519 | | } |
| | 25520 | | if (Margin != 0F) { |
| | 25521 | | size += 2 + 4; |
| | 25522 | | } |
| | 25523 | | if (MaxWidth != 0F) { |
| | 25524 | | size += 2 + 4; |
| | 25525 | | } |
| | 25526 | | if (HTextAlign.Length != 0) { |
| | 25527 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(HTextAlign); |
| | 25528 | | } |
| | 25529 | | if (VTextAlign.Length != 0) { |
| | 25530 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(VTextAlign); |
| | 25531 | | } |
| | 25532 | | if (AutoStretchWidth != false) { |
| | 25533 | | size += 2 + 1; |
| | 25534 | | } |
| | 25535 | | if (background_ != null) { |
| | 25536 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(Background); |
| | 25537 | | } |
| | 25538 | | if (focusedBackground_ != null) { |
| | 25539 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(FocusedBackground); |
| | 25540 | | } |
| | 25541 | | if (TextWrapping != false) { |
| | 25542 | | size += 2 + 1; |
| | 25543 | | } |
| | 25544 | | if (ShadowBlur != 0F) { |
| | 25545 | | size += 2 + 4; |
| | 25546 | | } |
| | 25547 | | if (ShadowOffsetX != 0F) { |
| | 25548 | | size += 2 + 4; |
| | 25549 | | } |
| | 25550 | | if (ShadowOffsetY != 0F) { |
| | 25551 | | size += 2 + 4; |
| | 25552 | | } |
| | 25553 | | if (shadowColor_ != null) { |
| | 25554 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 25555 | | } |
| | 25556 | | if (PaddingTop != 0F) { |
| | 25557 | | size += 2 + 4; |
| | 25558 | | } |
| | 25559 | | if (PaddingRight != 0F) { |
| | 25560 | | size += 2 + 4; |
| | 25561 | | } |
| | 25562 | | if (PaddingBottom != 0F) { |
| | 25563 | | size += 2 + 4; |
| | 25564 | | } |
| | 25565 | | if (PaddingLeft != 0F) { |
| | 25566 | | size += 2 + 4; |
| | 25567 | | } |
| | 25568 | | if (onTextSubmit_ != null) { |
| | 25569 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(OnTextSubmit); |
| | 25570 | | } |
| | 25571 | | if (onChanged_ != null) { |
| | 25572 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(OnChanged); |
| | 25573 | | } |
| | 25574 | | if (onFocus_ != null) { |
| | 25575 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(OnFocus); |
| | 25576 | | } |
| | 25577 | | if (onBlur_ != null) { |
| | 25578 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(OnBlur); |
| | 25579 | | } |
| | 25580 | | if (_unknownFields != null) { |
| | 25581 | | size += _unknownFields.CalculateSize(); |
| | 25582 | | } |
| | 25583 | | return size; |
| | 25584 | | } |
| | 25585 | |
|
| | 25586 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25587 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25588 | | public void MergeFrom(PB_UIInputText other) { |
| | 25589 | | if (other == null) { |
| | 25590 | | return; |
| | 25591 | | } |
| | 25592 | | if (other.Name.Length != 0) { |
| | 25593 | | Name = other.Name; |
| | 25594 | | } |
| | 25595 | | if (other.Visible != false) { |
| | 25596 | | Visible = other.Visible; |
| | 25597 | | } |
| | 25598 | | if (other.Opacity != 0F) { |
| | 25599 | | Opacity = other.Opacity; |
| | 25600 | | } |
| | 25601 | | if (other.HAlign.Length != 0) { |
| | 25602 | | HAlign = other.HAlign; |
| | 25603 | | } |
| | 25604 | | if (other.VAlign.Length != 0) { |
| | 25605 | | VAlign = other.VAlign; |
| | 25606 | | } |
| | 25607 | | if (other.Width.Length != 0) { |
| | 25608 | | Width = other.Width; |
| | 25609 | | } |
| | 25610 | | if (other.Height.Length != 0) { |
| | 25611 | | Height = other.Height; |
| | 25612 | | } |
| | 25613 | | if (other.PositionX.Length != 0) { |
| | 25614 | | PositionX = other.PositionX; |
| | 25615 | | } |
| | 25616 | | if (other.PositionY.Length != 0) { |
| | 25617 | | PositionY = other.PositionY; |
| | 25618 | | } |
| | 25619 | | if (other.IsPointerBlocker != false) { |
| | 25620 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 25621 | | } |
| | 25622 | | if (other.parent_ != null) { |
| | 25623 | | if (parent_ == null) { |
| | 25624 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 25625 | | } |
| | 25626 | | Parent.MergeFrom(other.Parent); |
| | 25627 | | } |
| | 25628 | | if (other.OutlineWidth != 0F) { |
| | 25629 | | OutlineWidth = other.OutlineWidth; |
| | 25630 | | } |
| | 25631 | | if (other.outlineColor_ != null) { |
| | 25632 | | if (outlineColor_ == null) { |
| | 25633 | | OutlineColor = new global::DCL.Interface.PB_Color4(); |
| | 25634 | | } |
| | 25635 | | OutlineColor.MergeFrom(other.OutlineColor); |
| | 25636 | | } |
| | 25637 | | if (other.color_ != null) { |
| | 25638 | | if (color_ == null) { |
| | 25639 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 25640 | | } |
| | 25641 | | Color.MergeFrom(other.Color); |
| | 25642 | | } |
| | 25643 | | if (other.Thickness != 0F) { |
| | 25644 | | Thickness = other.Thickness; |
| | 25645 | | } |
| | 25646 | | if (other.FontSize != 0F) { |
| | 25647 | | FontSize = other.FontSize; |
| | 25648 | | } |
| | 25649 | | if (other.FontWeight.Length != 0) { |
| | 25650 | | FontWeight = other.FontWeight; |
| | 25651 | | } |
| | 25652 | | if (other.Value.Length != 0) { |
| | 25653 | | Value = other.Value; |
| | 25654 | | } |
| | 25655 | | if (other.placeholderColor_ != null) { |
| | 25656 | | if (placeholderColor_ == null) { |
| | 25657 | | PlaceholderColor = new global::DCL.Interface.PB_Color4(); |
| | 25658 | | } |
| | 25659 | | PlaceholderColor.MergeFrom(other.PlaceholderColor); |
| | 25660 | | } |
| | 25661 | | if (other.Placeholder.Length != 0) { |
| | 25662 | | Placeholder = other.Placeholder; |
| | 25663 | | } |
| | 25664 | | if (other.Margin != 0F) { |
| | 25665 | | Margin = other.Margin; |
| | 25666 | | } |
| | 25667 | | if (other.MaxWidth != 0F) { |
| | 25668 | | MaxWidth = other.MaxWidth; |
| | 25669 | | } |
| | 25670 | | if (other.HTextAlign.Length != 0) { |
| | 25671 | | HTextAlign = other.HTextAlign; |
| | 25672 | | } |
| | 25673 | | if (other.VTextAlign.Length != 0) { |
| | 25674 | | VTextAlign = other.VTextAlign; |
| | 25675 | | } |
| | 25676 | | if (other.AutoStretchWidth != false) { |
| | 25677 | | AutoStretchWidth = other.AutoStretchWidth; |
| | 25678 | | } |
| | 25679 | | if (other.background_ != null) { |
| | 25680 | | if (background_ == null) { |
| | 25681 | | Background = new global::DCL.Interface.PB_Color4(); |
| | 25682 | | } |
| | 25683 | | Background.MergeFrom(other.Background); |
| | 25684 | | } |
| | 25685 | | if (other.focusedBackground_ != null) { |
| | 25686 | | if (focusedBackground_ == null) { |
| | 25687 | | FocusedBackground = new global::DCL.Interface.PB_Color4(); |
| | 25688 | | } |
| | 25689 | | FocusedBackground.MergeFrom(other.FocusedBackground); |
| | 25690 | | } |
| | 25691 | | if (other.TextWrapping != false) { |
| | 25692 | | TextWrapping = other.TextWrapping; |
| | 25693 | | } |
| | 25694 | | if (other.ShadowBlur != 0F) { |
| | 25695 | | ShadowBlur = other.ShadowBlur; |
| | 25696 | | } |
| | 25697 | | if (other.ShadowOffsetX != 0F) { |
| | 25698 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 25699 | | } |
| | 25700 | | if (other.ShadowOffsetY != 0F) { |
| | 25701 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 25702 | | } |
| | 25703 | | if (other.shadowColor_ != null) { |
| | 25704 | | if (shadowColor_ == null) { |
| | 25705 | | ShadowColor = new global::DCL.Interface.PB_Color4(); |
| | 25706 | | } |
| | 25707 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 25708 | | } |
| | 25709 | | if (other.PaddingTop != 0F) { |
| | 25710 | | PaddingTop = other.PaddingTop; |
| | 25711 | | } |
| | 25712 | | if (other.PaddingRight != 0F) { |
| | 25713 | | PaddingRight = other.PaddingRight; |
| | 25714 | | } |
| | 25715 | | if (other.PaddingBottom != 0F) { |
| | 25716 | | PaddingBottom = other.PaddingBottom; |
| | 25717 | | } |
| | 25718 | | if (other.PaddingLeft != 0F) { |
| | 25719 | | PaddingLeft = other.PaddingLeft; |
| | 25720 | | } |
| | 25721 | | if (other.onTextSubmit_ != null) { |
| | 25722 | | if (onTextSubmit_ == null) { |
| | 25723 | | OnTextSubmit = new global::DCL.Interface.PB_UUIDCallback(); |
| | 25724 | | } |
| | 25725 | | OnTextSubmit.MergeFrom(other.OnTextSubmit); |
| | 25726 | | } |
| | 25727 | | if (other.onChanged_ != null) { |
| | 25728 | | if (onChanged_ == null) { |
| | 25729 | | OnChanged = new global::DCL.Interface.PB_UUIDCallback(); |
| | 25730 | | } |
| | 25731 | | OnChanged.MergeFrom(other.OnChanged); |
| | 25732 | | } |
| | 25733 | | if (other.onFocus_ != null) { |
| | 25734 | | if (onFocus_ == null) { |
| | 25735 | | OnFocus = new global::DCL.Interface.PB_UUIDCallback(); |
| | 25736 | | } |
| | 25737 | | OnFocus.MergeFrom(other.OnFocus); |
| | 25738 | | } |
| | 25739 | | if (other.onBlur_ != null) { |
| | 25740 | | if (onBlur_ == null) { |
| | 25741 | | OnBlur = new global::DCL.Interface.PB_UUIDCallback(); |
| | 25742 | | } |
| | 25743 | | OnBlur.MergeFrom(other.OnBlur); |
| | 25744 | | } |
| | 25745 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 25746 | | } |
| | 25747 | |
|
| | 25748 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25749 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25750 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 25751 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25752 | | input.ReadRawMessage(this); |
| | 25753 | | #else |
| | 25754 | | uint tag; |
| | 25755 | | while ((tag = input.ReadTag()) != 0) { |
| | 25756 | | switch(tag) { |
| | 25757 | | default: |
| | 25758 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 25759 | | break; |
| | 25760 | | case 10: { |
| | 25761 | | Name = input.ReadString(); |
| | 25762 | | break; |
| | 25763 | | } |
| | 25764 | | case 16: { |
| | 25765 | | Visible = input.ReadBool(); |
| | 25766 | | break; |
| | 25767 | | } |
| | 25768 | | case 29: { |
| | 25769 | | Opacity = input.ReadFloat(); |
| | 25770 | | break; |
| | 25771 | | } |
| | 25772 | | case 34: { |
| | 25773 | | HAlign = input.ReadString(); |
| | 25774 | | break; |
| | 25775 | | } |
| | 25776 | | case 42: { |
| | 25777 | | VAlign = input.ReadString(); |
| | 25778 | | break; |
| | 25779 | | } |
| | 25780 | | case 50: { |
| | 25781 | | Width = input.ReadString(); |
| | 25782 | | break; |
| | 25783 | | } |
| | 25784 | | case 58: { |
| | 25785 | | Height = input.ReadString(); |
| | 25786 | | break; |
| | 25787 | | } |
| | 25788 | | case 66: { |
| | 25789 | | PositionX = input.ReadString(); |
| | 25790 | | break; |
| | 25791 | | } |
| | 25792 | | case 74: { |
| | 25793 | | PositionY = input.ReadString(); |
| | 25794 | | break; |
| | 25795 | | } |
| | 25796 | | case 80: { |
| | 25797 | | IsPointerBlocker = input.ReadBool(); |
| | 25798 | | break; |
| | 25799 | | } |
| | 25800 | | case 90: { |
| | 25801 | | if (parent_ == null) { |
| | 25802 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 25803 | | } |
| | 25804 | | input.ReadMessage(Parent); |
| | 25805 | | break; |
| | 25806 | | } |
| | 25807 | | case 101: { |
| | 25808 | | OutlineWidth = input.ReadFloat(); |
| | 25809 | | break; |
| | 25810 | | } |
| | 25811 | | case 106: { |
| | 25812 | | if (outlineColor_ == null) { |
| | 25813 | | OutlineColor = new global::DCL.Interface.PB_Color4(); |
| | 25814 | | } |
| | 25815 | | input.ReadMessage(OutlineColor); |
| | 25816 | | break; |
| | 25817 | | } |
| | 25818 | | case 114: { |
| | 25819 | | if (color_ == null) { |
| | 25820 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 25821 | | } |
| | 25822 | | input.ReadMessage(Color); |
| | 25823 | | break; |
| | 25824 | | } |
| | 25825 | | case 125: { |
| | 25826 | | Thickness = input.ReadFloat(); |
| | 25827 | | break; |
| | 25828 | | } |
| | 25829 | | case 133: { |
| | 25830 | | FontSize = input.ReadFloat(); |
| | 25831 | | break; |
| | 25832 | | } |
| | 25833 | | case 138: { |
| | 25834 | | FontWeight = input.ReadString(); |
| | 25835 | | break; |
| | 25836 | | } |
| | 25837 | | case 146: { |
| | 25838 | | Value = input.ReadString(); |
| | 25839 | | break; |
| | 25840 | | } |
| | 25841 | | case 154: { |
| | 25842 | | if (placeholderColor_ == null) { |
| | 25843 | | PlaceholderColor = new global::DCL.Interface.PB_Color4(); |
| | 25844 | | } |
| | 25845 | | input.ReadMessage(PlaceholderColor); |
| | 25846 | | break; |
| | 25847 | | } |
| | 25848 | | case 162: { |
| | 25849 | | Placeholder = input.ReadString(); |
| | 25850 | | break; |
| | 25851 | | } |
| | 25852 | | case 173: { |
| | 25853 | | Margin = input.ReadFloat(); |
| | 25854 | | break; |
| | 25855 | | } |
| | 25856 | | case 181: { |
| | 25857 | | MaxWidth = input.ReadFloat(); |
| | 25858 | | break; |
| | 25859 | | } |
| | 25860 | | case 186: { |
| | 25861 | | HTextAlign = input.ReadString(); |
| | 25862 | | break; |
| | 25863 | | } |
| | 25864 | | case 194: { |
| | 25865 | | VTextAlign = input.ReadString(); |
| | 25866 | | break; |
| | 25867 | | } |
| | 25868 | | case 200: { |
| | 25869 | | AutoStretchWidth = input.ReadBool(); |
| | 25870 | | break; |
| | 25871 | | } |
| | 25872 | | case 210: { |
| | 25873 | | if (background_ == null) { |
| | 25874 | | Background = new global::DCL.Interface.PB_Color4(); |
| | 25875 | | } |
| | 25876 | | input.ReadMessage(Background); |
| | 25877 | | break; |
| | 25878 | | } |
| | 25879 | | case 218: { |
| | 25880 | | if (focusedBackground_ == null) { |
| | 25881 | | FocusedBackground = new global::DCL.Interface.PB_Color4(); |
| | 25882 | | } |
| | 25883 | | input.ReadMessage(FocusedBackground); |
| | 25884 | | break; |
| | 25885 | | } |
| | 25886 | | case 224: { |
| | 25887 | | TextWrapping = input.ReadBool(); |
| | 25888 | | break; |
| | 25889 | | } |
| | 25890 | | case 237: { |
| | 25891 | | ShadowBlur = input.ReadFloat(); |
| | 25892 | | break; |
| | 25893 | | } |
| | 25894 | | case 245: { |
| | 25895 | | ShadowOffsetX = input.ReadFloat(); |
| | 25896 | | break; |
| | 25897 | | } |
| | 25898 | | case 253: { |
| | 25899 | | ShadowOffsetY = input.ReadFloat(); |
| | 25900 | | break; |
| | 25901 | | } |
| | 25902 | | case 258: { |
| | 25903 | | if (shadowColor_ == null) { |
| | 25904 | | ShadowColor = new global::DCL.Interface.PB_Color4(); |
| | 25905 | | } |
| | 25906 | | input.ReadMessage(ShadowColor); |
| | 25907 | | break; |
| | 25908 | | } |
| | 25909 | | case 269: { |
| | 25910 | | PaddingTop = input.ReadFloat(); |
| | 25911 | | break; |
| | 25912 | | } |
| | 25913 | | case 277: { |
| | 25914 | | PaddingRight = input.ReadFloat(); |
| | 25915 | | break; |
| | 25916 | | } |
| | 25917 | | case 285: { |
| | 25918 | | PaddingBottom = input.ReadFloat(); |
| | 25919 | | break; |
| | 25920 | | } |
| | 25921 | | case 293: { |
| | 25922 | | PaddingLeft = input.ReadFloat(); |
| | 25923 | | break; |
| | 25924 | | } |
| | 25925 | | case 298: { |
| | 25926 | | if (onTextSubmit_ == null) { |
| | 25927 | | OnTextSubmit = new global::DCL.Interface.PB_UUIDCallback(); |
| | 25928 | | } |
| | 25929 | | input.ReadMessage(OnTextSubmit); |
| | 25930 | | break; |
| | 25931 | | } |
| | 25932 | | case 306: { |
| | 25933 | | if (onChanged_ == null) { |
| | 25934 | | OnChanged = new global::DCL.Interface.PB_UUIDCallback(); |
| | 25935 | | } |
| | 25936 | | input.ReadMessage(OnChanged); |
| | 25937 | | break; |
| | 25938 | | } |
| | 25939 | | case 314: { |
| | 25940 | | if (onFocus_ == null) { |
| | 25941 | | OnFocus = new global::DCL.Interface.PB_UUIDCallback(); |
| | 25942 | | } |
| | 25943 | | input.ReadMessage(OnFocus); |
| | 25944 | | break; |
| | 25945 | | } |
| | 25946 | | case 322: { |
| | 25947 | | if (onBlur_ == null) { |
| | 25948 | | OnBlur = new global::DCL.Interface.PB_UUIDCallback(); |
| | 25949 | | } |
| | 25950 | | input.ReadMessage(OnBlur); |
| | 25951 | | break; |
| | 25952 | | } |
| | 25953 | | } |
| | 25954 | | } |
| | 25955 | | #endif |
| | 25956 | | } |
| | 25957 | |
|
| | 25958 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 25959 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 25960 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 25961 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 25962 | | uint tag; |
| | 25963 | | while ((tag = input.ReadTag()) != 0) { |
| | 25964 | | switch(tag) { |
| | 25965 | | default: |
| | 25966 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 25967 | | break; |
| | 25968 | | case 10: { |
| | 25969 | | Name = input.ReadString(); |
| | 25970 | | break; |
| | 25971 | | } |
| | 25972 | | case 16: { |
| | 25973 | | Visible = input.ReadBool(); |
| | 25974 | | break; |
| | 25975 | | } |
| | 25976 | | case 29: { |
| | 25977 | | Opacity = input.ReadFloat(); |
| | 25978 | | break; |
| | 25979 | | } |
| | 25980 | | case 34: { |
| | 25981 | | HAlign = input.ReadString(); |
| | 25982 | | break; |
| | 25983 | | } |
| | 25984 | | case 42: { |
| | 25985 | | VAlign = input.ReadString(); |
| | 25986 | | break; |
| | 25987 | | } |
| | 25988 | | case 50: { |
| | 25989 | | Width = input.ReadString(); |
| | 25990 | | break; |
| | 25991 | | } |
| | 25992 | | case 58: { |
| | 25993 | | Height = input.ReadString(); |
| | 25994 | | break; |
| | 25995 | | } |
| | 25996 | | case 66: { |
| | 25997 | | PositionX = input.ReadString(); |
| | 25998 | | break; |
| | 25999 | | } |
| | 26000 | | case 74: { |
| | 26001 | | PositionY = input.ReadString(); |
| | 26002 | | break; |
| | 26003 | | } |
| | 26004 | | case 80: { |
| | 26005 | | IsPointerBlocker = input.ReadBool(); |
| | 26006 | | break; |
| | 26007 | | } |
| | 26008 | | case 90: { |
| | 26009 | | if (parent_ == null) { |
| | 26010 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 26011 | | } |
| | 26012 | | input.ReadMessage(Parent); |
| | 26013 | | break; |
| | 26014 | | } |
| | 26015 | | case 101: { |
| | 26016 | | OutlineWidth = input.ReadFloat(); |
| | 26017 | | break; |
| | 26018 | | } |
| | 26019 | | case 106: { |
| | 26020 | | if (outlineColor_ == null) { |
| | 26021 | | OutlineColor = new global::DCL.Interface.PB_Color4(); |
| | 26022 | | } |
| | 26023 | | input.ReadMessage(OutlineColor); |
| | 26024 | | break; |
| | 26025 | | } |
| | 26026 | | case 114: { |
| | 26027 | | if (color_ == null) { |
| | 26028 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 26029 | | } |
| | 26030 | | input.ReadMessage(Color); |
| | 26031 | | break; |
| | 26032 | | } |
| | 26033 | | case 125: { |
| | 26034 | | Thickness = input.ReadFloat(); |
| | 26035 | | break; |
| | 26036 | | } |
| | 26037 | | case 133: { |
| | 26038 | | FontSize = input.ReadFloat(); |
| | 26039 | | break; |
| | 26040 | | } |
| | 26041 | | case 138: { |
| | 26042 | | FontWeight = input.ReadString(); |
| | 26043 | | break; |
| | 26044 | | } |
| | 26045 | | case 146: { |
| | 26046 | | Value = input.ReadString(); |
| | 26047 | | break; |
| | 26048 | | } |
| | 26049 | | case 154: { |
| | 26050 | | if (placeholderColor_ == null) { |
| | 26051 | | PlaceholderColor = new global::DCL.Interface.PB_Color4(); |
| | 26052 | | } |
| | 26053 | | input.ReadMessage(PlaceholderColor); |
| | 26054 | | break; |
| | 26055 | | } |
| | 26056 | | case 162: { |
| | 26057 | | Placeholder = input.ReadString(); |
| | 26058 | | break; |
| | 26059 | | } |
| | 26060 | | case 173: { |
| | 26061 | | Margin = input.ReadFloat(); |
| | 26062 | | break; |
| | 26063 | | } |
| | 26064 | | case 181: { |
| | 26065 | | MaxWidth = input.ReadFloat(); |
| | 26066 | | break; |
| | 26067 | | } |
| | 26068 | | case 186: { |
| | 26069 | | HTextAlign = input.ReadString(); |
| | 26070 | | break; |
| | 26071 | | } |
| | 26072 | | case 194: { |
| | 26073 | | VTextAlign = input.ReadString(); |
| | 26074 | | break; |
| | 26075 | | } |
| | 26076 | | case 200: { |
| | 26077 | | AutoStretchWidth = input.ReadBool(); |
| | 26078 | | break; |
| | 26079 | | } |
| | 26080 | | case 210: { |
| | 26081 | | if (background_ == null) { |
| | 26082 | | Background = new global::DCL.Interface.PB_Color4(); |
| | 26083 | | } |
| | 26084 | | input.ReadMessage(Background); |
| | 26085 | | break; |
| | 26086 | | } |
| | 26087 | | case 218: { |
| | 26088 | | if (focusedBackground_ == null) { |
| | 26089 | | FocusedBackground = new global::DCL.Interface.PB_Color4(); |
| | 26090 | | } |
| | 26091 | | input.ReadMessage(FocusedBackground); |
| | 26092 | | break; |
| | 26093 | | } |
| | 26094 | | case 224: { |
| | 26095 | | TextWrapping = input.ReadBool(); |
| | 26096 | | break; |
| | 26097 | | } |
| | 26098 | | case 237: { |
| | 26099 | | ShadowBlur = input.ReadFloat(); |
| | 26100 | | break; |
| | 26101 | | } |
| | 26102 | | case 245: { |
| | 26103 | | ShadowOffsetX = input.ReadFloat(); |
| | 26104 | | break; |
| | 26105 | | } |
| | 26106 | | case 253: { |
| | 26107 | | ShadowOffsetY = input.ReadFloat(); |
| | 26108 | | break; |
| | 26109 | | } |
| | 26110 | | case 258: { |
| | 26111 | | if (shadowColor_ == null) { |
| | 26112 | | ShadowColor = new global::DCL.Interface.PB_Color4(); |
| | 26113 | | } |
| | 26114 | | input.ReadMessage(ShadowColor); |
| | 26115 | | break; |
| | 26116 | | } |
| | 26117 | | case 269: { |
| | 26118 | | PaddingTop = input.ReadFloat(); |
| | 26119 | | break; |
| | 26120 | | } |
| | 26121 | | case 277: { |
| | 26122 | | PaddingRight = input.ReadFloat(); |
| | 26123 | | break; |
| | 26124 | | } |
| | 26125 | | case 285: { |
| | 26126 | | PaddingBottom = input.ReadFloat(); |
| | 26127 | | break; |
| | 26128 | | } |
| | 26129 | | case 293: { |
| | 26130 | | PaddingLeft = input.ReadFloat(); |
| | 26131 | | break; |
| | 26132 | | } |
| | 26133 | | case 298: { |
| | 26134 | | if (onTextSubmit_ == null) { |
| | 26135 | | OnTextSubmit = new global::DCL.Interface.PB_UUIDCallback(); |
| | 26136 | | } |
| | 26137 | | input.ReadMessage(OnTextSubmit); |
| | 26138 | | break; |
| | 26139 | | } |
| | 26140 | | case 306: { |
| | 26141 | | if (onChanged_ == null) { |
| | 26142 | | OnChanged = new global::DCL.Interface.PB_UUIDCallback(); |
| | 26143 | | } |
| | 26144 | | input.ReadMessage(OnChanged); |
| | 26145 | | break; |
| | 26146 | | } |
| | 26147 | | case 314: { |
| | 26148 | | if (onFocus_ == null) { |
| | 26149 | | OnFocus = new global::DCL.Interface.PB_UUIDCallback(); |
| | 26150 | | } |
| | 26151 | | input.ReadMessage(OnFocus); |
| | 26152 | | break; |
| | 26153 | | } |
| | 26154 | | case 322: { |
| | 26155 | | if (onBlur_ == null) { |
| | 26156 | | OnBlur = new global::DCL.Interface.PB_UUIDCallback(); |
| | 26157 | | } |
| | 26158 | | input.ReadMessage(OnBlur); |
| | 26159 | | break; |
| | 26160 | | } |
| | 26161 | | } |
| | 26162 | | } |
| | 26163 | | } |
| | 26164 | | #endif |
| | 26165 | |
|
| | 26166 | | } |
| | 26167 | |
|
| | 26168 | | public sealed partial class PB_UIScrollRect : pb::IMessage<PB_UIScrollRect> |
| | 26169 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26170 | | , pb::IBufferMessage |
| | 26171 | | #endif |
| | 26172 | | { |
| | 26173 | | private static readonly pb::MessageParser<PB_UIScrollRect> _parser = new pb::MessageParser<PB_UIScrollRect>(() => ne |
| | 26174 | | private pb::UnknownFieldSet _unknownFields; |
| | 26175 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26176 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26177 | | public static pb::MessageParser<PB_UIScrollRect> Parser { get { return _parser; } } |
| | 26178 | |
|
| | 26179 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26180 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26181 | | public static pbr::MessageDescriptor Descriptor { |
| | 26182 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[61]; } |
| | 26183 | | } |
| | 26184 | |
|
| | 26185 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26186 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26187 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 26188 | | get { return Descriptor; } |
| | 26189 | | } |
| | 26190 | |
|
| | 26191 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26192 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26193 | | public PB_UIScrollRect() { |
| | 26194 | | OnConstruction(); |
| | 26195 | | } |
| | 26196 | |
|
| | 26197 | | partial void OnConstruction(); |
| | 26198 | |
|
| | 26199 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26200 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26201 | | public PB_UIScrollRect(PB_UIScrollRect other) : this() { |
| | 26202 | | name_ = other.name_; |
| | 26203 | | visible_ = other.visible_; |
| | 26204 | | opacity_ = other.opacity_; |
| | 26205 | | hAlign_ = other.hAlign_; |
| | 26206 | | vAlign_ = other.vAlign_; |
| | 26207 | | width_ = other.width_; |
| | 26208 | | height_ = other.height_; |
| | 26209 | | positionX_ = other.positionX_; |
| | 26210 | | positionY_ = other.positionY_; |
| | 26211 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 26212 | | parent_ = other.parent_ != null ? other.parent_.Clone() : null; |
| | 26213 | | valueX_ = other.valueX_; |
| | 26214 | | valueY_ = other.valueY_; |
| | 26215 | | borderColor_ = other.borderColor_ != null ? other.borderColor_.Clone() : null; |
| | 26216 | | backgroundColor_ = other.backgroundColor_ != null ? other.backgroundColor_.Clone() : null; |
| | 26217 | | isHorizontal_ = other.isHorizontal_; |
| | 26218 | | isVertical_ = other.isVertical_; |
| | 26219 | | paddingTop_ = other.paddingTop_; |
| | 26220 | | paddingRight_ = other.paddingRight_; |
| | 26221 | | paddingBottom_ = other.paddingBottom_; |
| | 26222 | | paddingLeft_ = other.paddingLeft_; |
| | 26223 | | onChanged_ = other.onChanged_ != null ? other.onChanged_.Clone() : null; |
| | 26224 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 26225 | | } |
| | 26226 | |
|
| | 26227 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26228 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26229 | | public PB_UIScrollRect Clone() { |
| | 26230 | | return new PB_UIScrollRect(this); |
| | 26231 | | } |
| | 26232 | |
|
| | 26233 | | /// <summary>Field number for the "name" field.</summary> |
| | 26234 | | public const int NameFieldNumber = 1; |
| | 26235 | | private string name_ = ""; |
| | 26236 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26237 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26238 | | public string Name { |
| | 26239 | | get { return name_; } |
| | 26240 | | set { |
| | 26241 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26242 | | } |
| | 26243 | | } |
| | 26244 | |
|
| | 26245 | | /// <summary>Field number for the "visible" field.</summary> |
| | 26246 | | public const int VisibleFieldNumber = 2; |
| | 26247 | | private bool visible_; |
| | 26248 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26249 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26250 | | public bool Visible { |
| | 26251 | | get { return visible_; } |
| | 26252 | | set { |
| | 26253 | | visible_ = value; |
| | 26254 | | } |
| | 26255 | | } |
| | 26256 | |
|
| | 26257 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 26258 | | public const int OpacityFieldNumber = 3; |
| | 26259 | | private float opacity_; |
| | 26260 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26261 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26262 | | public float Opacity { |
| | 26263 | | get { return opacity_; } |
| | 26264 | | set { |
| | 26265 | | opacity_ = value; |
| | 26266 | | } |
| | 26267 | | } |
| | 26268 | |
|
| | 26269 | | /// <summary>Field number for the "hAlign" field.</summary> |
| | 26270 | | public const int HAlignFieldNumber = 4; |
| | 26271 | | private string hAlign_ = ""; |
| | 26272 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26273 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26274 | | public string HAlign { |
| | 26275 | | get { return hAlign_; } |
| | 26276 | | set { |
| | 26277 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26278 | | } |
| | 26279 | | } |
| | 26280 | |
|
| | 26281 | | /// <summary>Field number for the "vAlign" field.</summary> |
| | 26282 | | public const int VAlignFieldNumber = 5; |
| | 26283 | | private string vAlign_ = ""; |
| | 26284 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26285 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26286 | | public string VAlign { |
| | 26287 | | get { return vAlign_; } |
| | 26288 | | set { |
| | 26289 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26290 | | } |
| | 26291 | | } |
| | 26292 | |
|
| | 26293 | | /// <summary>Field number for the "width" field.</summary> |
| | 26294 | | public const int WidthFieldNumber = 6; |
| | 26295 | | private string width_ = ""; |
| | 26296 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26297 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26298 | | public string Width { |
| | 26299 | | get { return width_; } |
| | 26300 | | set { |
| | 26301 | | width_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26302 | | } |
| | 26303 | | } |
| | 26304 | |
|
| | 26305 | | /// <summary>Field number for the "height" field.</summary> |
| | 26306 | | public const int HeightFieldNumber = 7; |
| | 26307 | | private string height_ = ""; |
| | 26308 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26309 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26310 | | public string Height { |
| | 26311 | | get { return height_; } |
| | 26312 | | set { |
| | 26313 | | height_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26314 | | } |
| | 26315 | | } |
| | 26316 | |
|
| | 26317 | | /// <summary>Field number for the "positionX" field.</summary> |
| | 26318 | | public const int PositionXFieldNumber = 8; |
| | 26319 | | private string positionX_ = ""; |
| | 26320 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26321 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26322 | | public string PositionX { |
| | 26323 | | get { return positionX_; } |
| | 26324 | | set { |
| | 26325 | | positionX_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26326 | | } |
| | 26327 | | } |
| | 26328 | |
|
| | 26329 | | /// <summary>Field number for the "positionY" field.</summary> |
| | 26330 | | public const int PositionYFieldNumber = 9; |
| | 26331 | | private string positionY_ = ""; |
| | 26332 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26333 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26334 | | public string PositionY { |
| | 26335 | | get { return positionY_; } |
| | 26336 | | set { |
| | 26337 | | positionY_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 26338 | | } |
| | 26339 | | } |
| | 26340 | |
|
| | 26341 | | /// <summary>Field number for the "isPointerBlocker" field.</summary> |
| | 26342 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 26343 | | private bool isPointerBlocker_; |
| | 26344 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26345 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26346 | | public bool IsPointerBlocker { |
| | 26347 | | get { return isPointerBlocker_; } |
| | 26348 | | set { |
| | 26349 | | isPointerBlocker_ = value; |
| | 26350 | | } |
| | 26351 | | } |
| | 26352 | |
|
| | 26353 | | /// <summary>Field number for the "parent" field.</summary> |
| | 26354 | | public const int ParentFieldNumber = 11; |
| | 26355 | | private global::DCL.Interface.PB_UIShape parent_; |
| | 26356 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26357 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26358 | | public global::DCL.Interface.PB_UIShape Parent { |
| | 26359 | | get { return parent_; } |
| | 26360 | | set { |
| | 26361 | | parent_ = value; |
| | 26362 | | } |
| | 26363 | | } |
| | 26364 | |
|
| | 26365 | | /// <summary>Field number for the "valueX" field.</summary> |
| | 26366 | | public const int ValueXFieldNumber = 12; |
| | 26367 | | private float valueX_; |
| | 26368 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26369 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26370 | | public float ValueX { |
| | 26371 | | get { return valueX_; } |
| | 26372 | | set { |
| | 26373 | | valueX_ = value; |
| | 26374 | | } |
| | 26375 | | } |
| | 26376 | |
|
| | 26377 | | /// <summary>Field number for the "valueY" field.</summary> |
| | 26378 | | public const int ValueYFieldNumber = 13; |
| | 26379 | | private float valueY_; |
| | 26380 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26381 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26382 | | public float ValueY { |
| | 26383 | | get { return valueY_; } |
| | 26384 | | set { |
| | 26385 | | valueY_ = value; |
| | 26386 | | } |
| | 26387 | | } |
| | 26388 | |
|
| | 26389 | | /// <summary>Field number for the "borderColor" field.</summary> |
| | 26390 | | public const int BorderColorFieldNumber = 14; |
| | 26391 | | private global::DCL.Interface.PB_Color4 borderColor_; |
| | 26392 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26393 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26394 | | public global::DCL.Interface.PB_Color4 BorderColor { |
| | 26395 | | get { return borderColor_; } |
| | 26396 | | set { |
| | 26397 | | borderColor_ = value; |
| | 26398 | | } |
| | 26399 | | } |
| | 26400 | |
|
| | 26401 | | /// <summary>Field number for the "backgroundColor" field.</summary> |
| | 26402 | | public const int BackgroundColorFieldNumber = 15; |
| | 26403 | | private global::DCL.Interface.PB_Color4 backgroundColor_; |
| | 26404 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26405 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26406 | | public global::DCL.Interface.PB_Color4 BackgroundColor { |
| | 26407 | | get { return backgroundColor_; } |
| | 26408 | | set { |
| | 26409 | | backgroundColor_ = value; |
| | 26410 | | } |
| | 26411 | | } |
| | 26412 | |
|
| | 26413 | | /// <summary>Field number for the "isHorizontal" field.</summary> |
| | 26414 | | public const int IsHorizontalFieldNumber = 16; |
| | 26415 | | private bool isHorizontal_; |
| | 26416 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26417 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26418 | | public bool IsHorizontal { |
| | 26419 | | get { return isHorizontal_; } |
| | 26420 | | set { |
| | 26421 | | isHorizontal_ = value; |
| | 26422 | | } |
| | 26423 | | } |
| | 26424 | |
|
| | 26425 | | /// <summary>Field number for the "isVertical" field.</summary> |
| | 26426 | | public const int IsVerticalFieldNumber = 17; |
| | 26427 | | private bool isVertical_; |
| | 26428 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26429 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26430 | | public bool IsVertical { |
| | 26431 | | get { return isVertical_; } |
| | 26432 | | set { |
| | 26433 | | isVertical_ = value; |
| | 26434 | | } |
| | 26435 | | } |
| | 26436 | |
|
| | 26437 | | /// <summary>Field number for the "paddingTop" field.</summary> |
| | 26438 | | public const int PaddingTopFieldNumber = 18; |
| | 26439 | | private float paddingTop_; |
| | 26440 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26441 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26442 | | public float PaddingTop { |
| | 26443 | | get { return paddingTop_; } |
| | 26444 | | set { |
| | 26445 | | paddingTop_ = value; |
| | 26446 | | } |
| | 26447 | | } |
| | 26448 | |
|
| | 26449 | | /// <summary>Field number for the "paddingRight" field.</summary> |
| | 26450 | | public const int PaddingRightFieldNumber = 19; |
| | 26451 | | private float paddingRight_; |
| | 26452 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26453 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26454 | | public float PaddingRight { |
| | 26455 | | get { return paddingRight_; } |
| | 26456 | | set { |
| | 26457 | | paddingRight_ = value; |
| | 26458 | | } |
| | 26459 | | } |
| | 26460 | |
|
| | 26461 | | /// <summary>Field number for the "paddingBottom" field.</summary> |
| | 26462 | | public const int PaddingBottomFieldNumber = 20; |
| | 26463 | | private float paddingBottom_; |
| | 26464 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26465 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26466 | | public float PaddingBottom { |
| | 26467 | | get { return paddingBottom_; } |
| | 26468 | | set { |
| | 26469 | | paddingBottom_ = value; |
| | 26470 | | } |
| | 26471 | | } |
| | 26472 | |
|
| | 26473 | | /// <summary>Field number for the "paddingLeft" field.</summary> |
| | 26474 | | public const int PaddingLeftFieldNumber = 21; |
| | 26475 | | private float paddingLeft_; |
| | 26476 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26477 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26478 | | public float PaddingLeft { |
| | 26479 | | get { return paddingLeft_; } |
| | 26480 | | set { |
| | 26481 | | paddingLeft_ = value; |
| | 26482 | | } |
| | 26483 | | } |
| | 26484 | |
|
| | 26485 | | /// <summary>Field number for the "onChanged" field.</summary> |
| | 26486 | | public const int OnChangedFieldNumber = 22; |
| | 26487 | | private global::DCL.Interface.PB_UUIDCallback onChanged_; |
| | 26488 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26489 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26490 | | public global::DCL.Interface.PB_UUIDCallback OnChanged { |
| | 26491 | | get { return onChanged_; } |
| | 26492 | | set { |
| | 26493 | | onChanged_ = value; |
| | 26494 | | } |
| | 26495 | | } |
| | 26496 | |
|
| | 26497 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26498 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26499 | | public override bool Equals(object other) { |
| | 26500 | | return Equals(other as PB_UIScrollRect); |
| | 26501 | | } |
| | 26502 | |
|
| | 26503 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26504 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26505 | | public bool Equals(PB_UIScrollRect other) { |
| | 26506 | | if (ReferenceEquals(other, null)) { |
| | 26507 | | return false; |
| | 26508 | | } |
| | 26509 | | if (ReferenceEquals(other, this)) { |
| | 26510 | | return true; |
| | 26511 | | } |
| | 26512 | | if (Name != other.Name) return false; |
| | 26513 | | if (Visible != other.Visible) return false; |
| | 26514 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 26515 | | if (HAlign != other.HAlign) return false; |
| | 26516 | | if (VAlign != other.VAlign) return false; |
| | 26517 | | if (Width != other.Width) return false; |
| | 26518 | | if (Height != other.Height) return false; |
| | 26519 | | if (PositionX != other.PositionX) return false; |
| | 26520 | | if (PositionY != other.PositionY) return false; |
| | 26521 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 26522 | | if (!object.Equals(Parent, other.Parent)) return false; |
| | 26523 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueX, other.ValueX)) return false; |
| | 26524 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ValueY, other.ValueY)) return false; |
| | 26525 | | if (!object.Equals(BorderColor, other.BorderColor)) return false; |
| | 26526 | | if (!object.Equals(BackgroundColor, other.BackgroundColor)) return false; |
| | 26527 | | if (IsHorizontal != other.IsHorizontal) return false; |
| | 26528 | | if (IsVertical != other.IsVertical) return false; |
| | 26529 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 26530 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 26531 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 26532 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 26533 | | if (!object.Equals(OnChanged, other.OnChanged)) return false; |
| | 26534 | | return Equals(_unknownFields, other._unknownFields); |
| | 26535 | | } |
| | 26536 | |
|
| | 26537 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26538 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26539 | | public override int GetHashCode() { |
| | 26540 | | int hash = 1; |
| | 26541 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 26542 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 26543 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 26544 | | if (HAlign.Length != 0) hash ^= HAlign.GetHashCode(); |
| | 26545 | | if (VAlign.Length != 0) hash ^= VAlign.GetHashCode(); |
| | 26546 | | if (Width.Length != 0) hash ^= Width.GetHashCode(); |
| | 26547 | | if (Height.Length != 0) hash ^= Height.GetHashCode(); |
| | 26548 | | if (PositionX.Length != 0) hash ^= PositionX.GetHashCode(); |
| | 26549 | | if (PositionY.Length != 0) hash ^= PositionY.GetHashCode(); |
| | 26550 | | if (IsPointerBlocker != false) hash ^= IsPointerBlocker.GetHashCode(); |
| | 26551 | | if (parent_ != null) hash ^= Parent.GetHashCode(); |
| | 26552 | | if (ValueX != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueX); |
| | 26553 | | if (ValueY != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ValueY); |
| | 26554 | | if (borderColor_ != null) hash ^= BorderColor.GetHashCode(); |
| | 26555 | | if (backgroundColor_ != null) hash ^= BackgroundColor.GetHashCode(); |
| | 26556 | | if (IsHorizontal != false) hash ^= IsHorizontal.GetHashCode(); |
| | 26557 | | if (IsVertical != false) hash ^= IsVertical.GetHashCode(); |
| | 26558 | | if (PaddingTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop) |
| | 26559 | | if (PaddingRight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRi |
| | 26560 | | if (PaddingBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingB |
| | 26561 | | if (PaddingLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLef |
| | 26562 | | if (onChanged_ != null) hash ^= OnChanged.GetHashCode(); |
| | 26563 | | if (_unknownFields != null) { |
| | 26564 | | hash ^= _unknownFields.GetHashCode(); |
| | 26565 | | } |
| | 26566 | | return hash; |
| | 26567 | | } |
| | 26568 | |
|
| | 26569 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26570 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26571 | | public override string ToString() { |
| | 26572 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 26573 | | } |
| | 26574 | |
|
| | 26575 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26576 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26577 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 26578 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26579 | | output.WriteRawMessage(this); |
| | 26580 | | #else |
| | 26581 | | if (Name.Length != 0) { |
| | 26582 | | output.WriteRawTag(10); |
| | 26583 | | output.WriteString(Name); |
| | 26584 | | } |
| | 26585 | | if (Visible != false) { |
| | 26586 | | output.WriteRawTag(16); |
| | 26587 | | output.WriteBool(Visible); |
| | 26588 | | } |
| | 26589 | | if (Opacity != 0F) { |
| | 26590 | | output.WriteRawTag(29); |
| | 26591 | | output.WriteFloat(Opacity); |
| | 26592 | | } |
| | 26593 | | if (HAlign.Length != 0) { |
| | 26594 | | output.WriteRawTag(34); |
| | 26595 | | output.WriteString(HAlign); |
| | 26596 | | } |
| | 26597 | | if (VAlign.Length != 0) { |
| | 26598 | | output.WriteRawTag(42); |
| | 26599 | | output.WriteString(VAlign); |
| | 26600 | | } |
| | 26601 | | if (Width.Length != 0) { |
| | 26602 | | output.WriteRawTag(50); |
| | 26603 | | output.WriteString(Width); |
| | 26604 | | } |
| | 26605 | | if (Height.Length != 0) { |
| | 26606 | | output.WriteRawTag(58); |
| | 26607 | | output.WriteString(Height); |
| | 26608 | | } |
| | 26609 | | if (PositionX.Length != 0) { |
| | 26610 | | output.WriteRawTag(66); |
| | 26611 | | output.WriteString(PositionX); |
| | 26612 | | } |
| | 26613 | | if (PositionY.Length != 0) { |
| | 26614 | | output.WriteRawTag(74); |
| | 26615 | | output.WriteString(PositionY); |
| | 26616 | | } |
| | 26617 | | if (IsPointerBlocker != false) { |
| | 26618 | | output.WriteRawTag(80); |
| | 26619 | | output.WriteBool(IsPointerBlocker); |
| | 26620 | | } |
| | 26621 | | if (parent_ != null) { |
| | 26622 | | output.WriteRawTag(90); |
| | 26623 | | output.WriteMessage(Parent); |
| | 26624 | | } |
| | 26625 | | if (ValueX != 0F) { |
| | 26626 | | output.WriteRawTag(101); |
| | 26627 | | output.WriteFloat(ValueX); |
| | 26628 | | } |
| | 26629 | | if (ValueY != 0F) { |
| | 26630 | | output.WriteRawTag(109); |
| | 26631 | | output.WriteFloat(ValueY); |
| | 26632 | | } |
| | 26633 | | if (borderColor_ != null) { |
| | 26634 | | output.WriteRawTag(114); |
| | 26635 | | output.WriteMessage(BorderColor); |
| | 26636 | | } |
| | 26637 | | if (backgroundColor_ != null) { |
| | 26638 | | output.WriteRawTag(122); |
| | 26639 | | output.WriteMessage(BackgroundColor); |
| | 26640 | | } |
| | 26641 | | if (IsHorizontal != false) { |
| | 26642 | | output.WriteRawTag(128, 1); |
| | 26643 | | output.WriteBool(IsHorizontal); |
| | 26644 | | } |
| | 26645 | | if (IsVertical != false) { |
| | 26646 | | output.WriteRawTag(136, 1); |
| | 26647 | | output.WriteBool(IsVertical); |
| | 26648 | | } |
| | 26649 | | if (PaddingTop != 0F) { |
| | 26650 | | output.WriteRawTag(149, 1); |
| | 26651 | | output.WriteFloat(PaddingTop); |
| | 26652 | | } |
| | 26653 | | if (PaddingRight != 0F) { |
| | 26654 | | output.WriteRawTag(157, 1); |
| | 26655 | | output.WriteFloat(PaddingRight); |
| | 26656 | | } |
| | 26657 | | if (PaddingBottom != 0F) { |
| | 26658 | | output.WriteRawTag(165, 1); |
| | 26659 | | output.WriteFloat(PaddingBottom); |
| | 26660 | | } |
| | 26661 | | if (PaddingLeft != 0F) { |
| | 26662 | | output.WriteRawTag(173, 1); |
| | 26663 | | output.WriteFloat(PaddingLeft); |
| | 26664 | | } |
| | 26665 | | if (onChanged_ != null) { |
| | 26666 | | output.WriteRawTag(178, 1); |
| | 26667 | | output.WriteMessage(OnChanged); |
| | 26668 | | } |
| | 26669 | | if (_unknownFields != null) { |
| | 26670 | | _unknownFields.WriteTo(output); |
| | 26671 | | } |
| | 26672 | | #endif |
| | 26673 | | } |
| | 26674 | |
|
| | 26675 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26676 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26677 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26678 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 26679 | | if (Name.Length != 0) { |
| | 26680 | | output.WriteRawTag(10); |
| | 26681 | | output.WriteString(Name); |
| | 26682 | | } |
| | 26683 | | if (Visible != false) { |
| | 26684 | | output.WriteRawTag(16); |
| | 26685 | | output.WriteBool(Visible); |
| | 26686 | | } |
| | 26687 | | if (Opacity != 0F) { |
| | 26688 | | output.WriteRawTag(29); |
| | 26689 | | output.WriteFloat(Opacity); |
| | 26690 | | } |
| | 26691 | | if (HAlign.Length != 0) { |
| | 26692 | | output.WriteRawTag(34); |
| | 26693 | | output.WriteString(HAlign); |
| | 26694 | | } |
| | 26695 | | if (VAlign.Length != 0) { |
| | 26696 | | output.WriteRawTag(42); |
| | 26697 | | output.WriteString(VAlign); |
| | 26698 | | } |
| | 26699 | | if (Width.Length != 0) { |
| | 26700 | | output.WriteRawTag(50); |
| | 26701 | | output.WriteString(Width); |
| | 26702 | | } |
| | 26703 | | if (Height.Length != 0) { |
| | 26704 | | output.WriteRawTag(58); |
| | 26705 | | output.WriteString(Height); |
| | 26706 | | } |
| | 26707 | | if (PositionX.Length != 0) { |
| | 26708 | | output.WriteRawTag(66); |
| | 26709 | | output.WriteString(PositionX); |
| | 26710 | | } |
| | 26711 | | if (PositionY.Length != 0) { |
| | 26712 | | output.WriteRawTag(74); |
| | 26713 | | output.WriteString(PositionY); |
| | 26714 | | } |
| | 26715 | | if (IsPointerBlocker != false) { |
| | 26716 | | output.WriteRawTag(80); |
| | 26717 | | output.WriteBool(IsPointerBlocker); |
| | 26718 | | } |
| | 26719 | | if (parent_ != null) { |
| | 26720 | | output.WriteRawTag(90); |
| | 26721 | | output.WriteMessage(Parent); |
| | 26722 | | } |
| | 26723 | | if (ValueX != 0F) { |
| | 26724 | | output.WriteRawTag(101); |
| | 26725 | | output.WriteFloat(ValueX); |
| | 26726 | | } |
| | 26727 | | if (ValueY != 0F) { |
| | 26728 | | output.WriteRawTag(109); |
| | 26729 | | output.WriteFloat(ValueY); |
| | 26730 | | } |
| | 26731 | | if (borderColor_ != null) { |
| | 26732 | | output.WriteRawTag(114); |
| | 26733 | | output.WriteMessage(BorderColor); |
| | 26734 | | } |
| | 26735 | | if (backgroundColor_ != null) { |
| | 26736 | | output.WriteRawTag(122); |
| | 26737 | | output.WriteMessage(BackgroundColor); |
| | 26738 | | } |
| | 26739 | | if (IsHorizontal != false) { |
| | 26740 | | output.WriteRawTag(128, 1); |
| | 26741 | | output.WriteBool(IsHorizontal); |
| | 26742 | | } |
| | 26743 | | if (IsVertical != false) { |
| | 26744 | | output.WriteRawTag(136, 1); |
| | 26745 | | output.WriteBool(IsVertical); |
| | 26746 | | } |
| | 26747 | | if (PaddingTop != 0F) { |
| | 26748 | | output.WriteRawTag(149, 1); |
| | 26749 | | output.WriteFloat(PaddingTop); |
| | 26750 | | } |
| | 26751 | | if (PaddingRight != 0F) { |
| | 26752 | | output.WriteRawTag(157, 1); |
| | 26753 | | output.WriteFloat(PaddingRight); |
| | 26754 | | } |
| | 26755 | | if (PaddingBottom != 0F) { |
| | 26756 | | output.WriteRawTag(165, 1); |
| | 26757 | | output.WriteFloat(PaddingBottom); |
| | 26758 | | } |
| | 26759 | | if (PaddingLeft != 0F) { |
| | 26760 | | output.WriteRawTag(173, 1); |
| | 26761 | | output.WriteFloat(PaddingLeft); |
| | 26762 | | } |
| | 26763 | | if (onChanged_ != null) { |
| | 26764 | | output.WriteRawTag(178, 1); |
| | 26765 | | output.WriteMessage(OnChanged); |
| | 26766 | | } |
| | 26767 | | if (_unknownFields != null) { |
| | 26768 | | _unknownFields.WriteTo(ref output); |
| | 26769 | | } |
| | 26770 | | } |
| | 26771 | | #endif |
| | 26772 | |
|
| | 26773 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26774 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26775 | | public int CalculateSize() { |
| | 26776 | | int size = 0; |
| | 26777 | | if (Name.Length != 0) { |
| | 26778 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 26779 | | } |
| | 26780 | | if (Visible != false) { |
| | 26781 | | size += 1 + 1; |
| | 26782 | | } |
| | 26783 | | if (Opacity != 0F) { |
| | 26784 | | size += 1 + 4; |
| | 26785 | | } |
| | 26786 | | if (HAlign.Length != 0) { |
| | 26787 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 26788 | | } |
| | 26789 | | if (VAlign.Length != 0) { |
| | 26790 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 26791 | | } |
| | 26792 | | if (Width.Length != 0) { |
| | 26793 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Width); |
| | 26794 | | } |
| | 26795 | | if (Height.Length != 0) { |
| | 26796 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Height); |
| | 26797 | | } |
| | 26798 | | if (PositionX.Length != 0) { |
| | 26799 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionX); |
| | 26800 | | } |
| | 26801 | | if (PositionY.Length != 0) { |
| | 26802 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionY); |
| | 26803 | | } |
| | 26804 | | if (IsPointerBlocker != false) { |
| | 26805 | | size += 1 + 1; |
| | 26806 | | } |
| | 26807 | | if (parent_ != null) { |
| | 26808 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); |
| | 26809 | | } |
| | 26810 | | if (ValueX != 0F) { |
| | 26811 | | size += 1 + 4; |
| | 26812 | | } |
| | 26813 | | if (ValueY != 0F) { |
| | 26814 | | size += 1 + 4; |
| | 26815 | | } |
| | 26816 | | if (borderColor_ != null) { |
| | 26817 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(BorderColor); |
| | 26818 | | } |
| | 26819 | | if (backgroundColor_ != null) { |
| | 26820 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(BackgroundColor); |
| | 26821 | | } |
| | 26822 | | if (IsHorizontal != false) { |
| | 26823 | | size += 2 + 1; |
| | 26824 | | } |
| | 26825 | | if (IsVertical != false) { |
| | 26826 | | size += 2 + 1; |
| | 26827 | | } |
| | 26828 | | if (PaddingTop != 0F) { |
| | 26829 | | size += 2 + 4; |
| | 26830 | | } |
| | 26831 | | if (PaddingRight != 0F) { |
| | 26832 | | size += 2 + 4; |
| | 26833 | | } |
| | 26834 | | if (PaddingBottom != 0F) { |
| | 26835 | | size += 2 + 4; |
| | 26836 | | } |
| | 26837 | | if (PaddingLeft != 0F) { |
| | 26838 | | size += 2 + 4; |
| | 26839 | | } |
| | 26840 | | if (onChanged_ != null) { |
| | 26841 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(OnChanged); |
| | 26842 | | } |
| | 26843 | | if (_unknownFields != null) { |
| | 26844 | | size += _unknownFields.CalculateSize(); |
| | 26845 | | } |
| | 26846 | | return size; |
| | 26847 | | } |
| | 26848 | |
|
| | 26849 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26850 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26851 | | public void MergeFrom(PB_UIScrollRect other) { |
| | 26852 | | if (other == null) { |
| | 26853 | | return; |
| | 26854 | | } |
| | 26855 | | if (other.Name.Length != 0) { |
| | 26856 | | Name = other.Name; |
| | 26857 | | } |
| | 26858 | | if (other.Visible != false) { |
| | 26859 | | Visible = other.Visible; |
| | 26860 | | } |
| | 26861 | | if (other.Opacity != 0F) { |
| | 26862 | | Opacity = other.Opacity; |
| | 26863 | | } |
| | 26864 | | if (other.HAlign.Length != 0) { |
| | 26865 | | HAlign = other.HAlign; |
| | 26866 | | } |
| | 26867 | | if (other.VAlign.Length != 0) { |
| | 26868 | | VAlign = other.VAlign; |
| | 26869 | | } |
| | 26870 | | if (other.Width.Length != 0) { |
| | 26871 | | Width = other.Width; |
| | 26872 | | } |
| | 26873 | | if (other.Height.Length != 0) { |
| | 26874 | | Height = other.Height; |
| | 26875 | | } |
| | 26876 | | if (other.PositionX.Length != 0) { |
| | 26877 | | PositionX = other.PositionX; |
| | 26878 | | } |
| | 26879 | | if (other.PositionY.Length != 0) { |
| | 26880 | | PositionY = other.PositionY; |
| | 26881 | | } |
| | 26882 | | if (other.IsPointerBlocker != false) { |
| | 26883 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 26884 | | } |
| | 26885 | | if (other.parent_ != null) { |
| | 26886 | | if (parent_ == null) { |
| | 26887 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 26888 | | } |
| | 26889 | | Parent.MergeFrom(other.Parent); |
| | 26890 | | } |
| | 26891 | | if (other.ValueX != 0F) { |
| | 26892 | | ValueX = other.ValueX; |
| | 26893 | | } |
| | 26894 | | if (other.ValueY != 0F) { |
| | 26895 | | ValueY = other.ValueY; |
| | 26896 | | } |
| | 26897 | | if (other.borderColor_ != null) { |
| | 26898 | | if (borderColor_ == null) { |
| | 26899 | | BorderColor = new global::DCL.Interface.PB_Color4(); |
| | 26900 | | } |
| | 26901 | | BorderColor.MergeFrom(other.BorderColor); |
| | 26902 | | } |
| | 26903 | | if (other.backgroundColor_ != null) { |
| | 26904 | | if (backgroundColor_ == null) { |
| | 26905 | | BackgroundColor = new global::DCL.Interface.PB_Color4(); |
| | 26906 | | } |
| | 26907 | | BackgroundColor.MergeFrom(other.BackgroundColor); |
| | 26908 | | } |
| | 26909 | | if (other.IsHorizontal != false) { |
| | 26910 | | IsHorizontal = other.IsHorizontal; |
| | 26911 | | } |
| | 26912 | | if (other.IsVertical != false) { |
| | 26913 | | IsVertical = other.IsVertical; |
| | 26914 | | } |
| | 26915 | | if (other.PaddingTop != 0F) { |
| | 26916 | | PaddingTop = other.PaddingTop; |
| | 26917 | | } |
| | 26918 | | if (other.PaddingRight != 0F) { |
| | 26919 | | PaddingRight = other.PaddingRight; |
| | 26920 | | } |
| | 26921 | | if (other.PaddingBottom != 0F) { |
| | 26922 | | PaddingBottom = other.PaddingBottom; |
| | 26923 | | } |
| | 26924 | | if (other.PaddingLeft != 0F) { |
| | 26925 | | PaddingLeft = other.PaddingLeft; |
| | 26926 | | } |
| | 26927 | | if (other.onChanged_ != null) { |
| | 26928 | | if (onChanged_ == null) { |
| | 26929 | | OnChanged = new global::DCL.Interface.PB_UUIDCallback(); |
| | 26930 | | } |
| | 26931 | | OnChanged.MergeFrom(other.OnChanged); |
| | 26932 | | } |
| | 26933 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 26934 | | } |
| | 26935 | |
|
| | 26936 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 26937 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 26938 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 26939 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 26940 | | input.ReadRawMessage(this); |
| | 26941 | | #else |
| | 26942 | | uint tag; |
| | 26943 | | while ((tag = input.ReadTag()) != 0) { |
| | 26944 | | switch(tag) { |
| | 26945 | | default: |
| | 26946 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 26947 | | break; |
| | 26948 | | case 10: { |
| | 26949 | | Name = input.ReadString(); |
| | 26950 | | break; |
| | 26951 | | } |
| | 26952 | | case 16: { |
| | 26953 | | Visible = input.ReadBool(); |
| | 26954 | | break; |
| | 26955 | | } |
| | 26956 | | case 29: { |
| | 26957 | | Opacity = input.ReadFloat(); |
| | 26958 | | break; |
| | 26959 | | } |
| | 26960 | | case 34: { |
| | 26961 | | HAlign = input.ReadString(); |
| | 26962 | | break; |
| | 26963 | | } |
| | 26964 | | case 42: { |
| | 26965 | | VAlign = input.ReadString(); |
| | 26966 | | break; |
| | 26967 | | } |
| | 26968 | | case 50: { |
| | 26969 | | Width = input.ReadString(); |
| | 26970 | | break; |
| | 26971 | | } |
| | 26972 | | case 58: { |
| | 26973 | | Height = input.ReadString(); |
| | 26974 | | break; |
| | 26975 | | } |
| | 26976 | | case 66: { |
| | 26977 | | PositionX = input.ReadString(); |
| | 26978 | | break; |
| | 26979 | | } |
| | 26980 | | case 74: { |
| | 26981 | | PositionY = input.ReadString(); |
| | 26982 | | break; |
| | 26983 | | } |
| | 26984 | | case 80: { |
| | 26985 | | IsPointerBlocker = input.ReadBool(); |
| | 26986 | | break; |
| | 26987 | | } |
| | 26988 | | case 90: { |
| | 26989 | | if (parent_ == null) { |
| | 26990 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 26991 | | } |
| | 26992 | | input.ReadMessage(Parent); |
| | 26993 | | break; |
| | 26994 | | } |
| | 26995 | | case 101: { |
| | 26996 | | ValueX = input.ReadFloat(); |
| | 26997 | | break; |
| | 26998 | | } |
| | 26999 | | case 109: { |
| | 27000 | | ValueY = input.ReadFloat(); |
| | 27001 | | break; |
| | 27002 | | } |
| | 27003 | | case 114: { |
| | 27004 | | if (borderColor_ == null) { |
| | 27005 | | BorderColor = new global::DCL.Interface.PB_Color4(); |
| | 27006 | | } |
| | 27007 | | input.ReadMessage(BorderColor); |
| | 27008 | | break; |
| | 27009 | | } |
| | 27010 | | case 122: { |
| | 27011 | | if (backgroundColor_ == null) { |
| | 27012 | | BackgroundColor = new global::DCL.Interface.PB_Color4(); |
| | 27013 | | } |
| | 27014 | | input.ReadMessage(BackgroundColor); |
| | 27015 | | break; |
| | 27016 | | } |
| | 27017 | | case 128: { |
| | 27018 | | IsHorizontal = input.ReadBool(); |
| | 27019 | | break; |
| | 27020 | | } |
| | 27021 | | case 136: { |
| | 27022 | | IsVertical = input.ReadBool(); |
| | 27023 | | break; |
| | 27024 | | } |
| | 27025 | | case 149: { |
| | 27026 | | PaddingTop = input.ReadFloat(); |
| | 27027 | | break; |
| | 27028 | | } |
| | 27029 | | case 157: { |
| | 27030 | | PaddingRight = input.ReadFloat(); |
| | 27031 | | break; |
| | 27032 | | } |
| | 27033 | | case 165: { |
| | 27034 | | PaddingBottom = input.ReadFloat(); |
| | 27035 | | break; |
| | 27036 | | } |
| | 27037 | | case 173: { |
| | 27038 | | PaddingLeft = input.ReadFloat(); |
| | 27039 | | break; |
| | 27040 | | } |
| | 27041 | | case 178: { |
| | 27042 | | if (onChanged_ == null) { |
| | 27043 | | OnChanged = new global::DCL.Interface.PB_UUIDCallback(); |
| | 27044 | | } |
| | 27045 | | input.ReadMessage(OnChanged); |
| | 27046 | | break; |
| | 27047 | | } |
| | 27048 | | } |
| | 27049 | | } |
| | 27050 | | #endif |
| | 27051 | | } |
| | 27052 | |
|
| | 27053 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 27054 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27055 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27056 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 27057 | | uint tag; |
| | 27058 | | while ((tag = input.ReadTag()) != 0) { |
| | 27059 | | switch(tag) { |
| | 27060 | | default: |
| | 27061 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 27062 | | break; |
| | 27063 | | case 10: { |
| | 27064 | | Name = input.ReadString(); |
| | 27065 | | break; |
| | 27066 | | } |
| | 27067 | | case 16: { |
| | 27068 | | Visible = input.ReadBool(); |
| | 27069 | | break; |
| | 27070 | | } |
| | 27071 | | case 29: { |
| | 27072 | | Opacity = input.ReadFloat(); |
| | 27073 | | break; |
| | 27074 | | } |
| | 27075 | | case 34: { |
| | 27076 | | HAlign = input.ReadString(); |
| | 27077 | | break; |
| | 27078 | | } |
| | 27079 | | case 42: { |
| | 27080 | | VAlign = input.ReadString(); |
| | 27081 | | break; |
| | 27082 | | } |
| | 27083 | | case 50: { |
| | 27084 | | Width = input.ReadString(); |
| | 27085 | | break; |
| | 27086 | | } |
| | 27087 | | case 58: { |
| | 27088 | | Height = input.ReadString(); |
| | 27089 | | break; |
| | 27090 | | } |
| | 27091 | | case 66: { |
| | 27092 | | PositionX = input.ReadString(); |
| | 27093 | | break; |
| | 27094 | | } |
| | 27095 | | case 74: { |
| | 27096 | | PositionY = input.ReadString(); |
| | 27097 | | break; |
| | 27098 | | } |
| | 27099 | | case 80: { |
| | 27100 | | IsPointerBlocker = input.ReadBool(); |
| | 27101 | | break; |
| | 27102 | | } |
| | 27103 | | case 90: { |
| | 27104 | | if (parent_ == null) { |
| | 27105 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 27106 | | } |
| | 27107 | | input.ReadMessage(Parent); |
| | 27108 | | break; |
| | 27109 | | } |
| | 27110 | | case 101: { |
| | 27111 | | ValueX = input.ReadFloat(); |
| | 27112 | | break; |
| | 27113 | | } |
| | 27114 | | case 109: { |
| | 27115 | | ValueY = input.ReadFloat(); |
| | 27116 | | break; |
| | 27117 | | } |
| | 27118 | | case 114: { |
| | 27119 | | if (borderColor_ == null) { |
| | 27120 | | BorderColor = new global::DCL.Interface.PB_Color4(); |
| | 27121 | | } |
| | 27122 | | input.ReadMessage(BorderColor); |
| | 27123 | | break; |
| | 27124 | | } |
| | 27125 | | case 122: { |
| | 27126 | | if (backgroundColor_ == null) { |
| | 27127 | | BackgroundColor = new global::DCL.Interface.PB_Color4(); |
| | 27128 | | } |
| | 27129 | | input.ReadMessage(BackgroundColor); |
| | 27130 | | break; |
| | 27131 | | } |
| | 27132 | | case 128: { |
| | 27133 | | IsHorizontal = input.ReadBool(); |
| | 27134 | | break; |
| | 27135 | | } |
| | 27136 | | case 136: { |
| | 27137 | | IsVertical = input.ReadBool(); |
| | 27138 | | break; |
| | 27139 | | } |
| | 27140 | | case 149: { |
| | 27141 | | PaddingTop = input.ReadFloat(); |
| | 27142 | | break; |
| | 27143 | | } |
| | 27144 | | case 157: { |
| | 27145 | | PaddingRight = input.ReadFloat(); |
| | 27146 | | break; |
| | 27147 | | } |
| | 27148 | | case 165: { |
| | 27149 | | PaddingBottom = input.ReadFloat(); |
| | 27150 | | break; |
| | 27151 | | } |
| | 27152 | | case 173: { |
| | 27153 | | PaddingLeft = input.ReadFloat(); |
| | 27154 | | break; |
| | 27155 | | } |
| | 27156 | | case 178: { |
| | 27157 | | if (onChanged_ == null) { |
| | 27158 | | OnChanged = new global::DCL.Interface.PB_UUIDCallback(); |
| | 27159 | | } |
| | 27160 | | input.ReadMessage(OnChanged); |
| | 27161 | | break; |
| | 27162 | | } |
| | 27163 | | } |
| | 27164 | | } |
| | 27165 | | } |
| | 27166 | | #endif |
| | 27167 | |
|
| | 27168 | | } |
| | 27169 | |
|
| | 27170 | | public sealed partial class PB_UIShape : pb::IMessage<PB_UIShape> |
| | 27171 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 27172 | | , pb::IBufferMessage |
| | 27173 | | #endif |
| | 27174 | | { |
| | 27175 | | private static readonly pb::MessageParser<PB_UIShape> _parser = new pb::MessageParser<PB_UIShape>(() => new PB_UISha |
| | 27176 | | private pb::UnknownFieldSet _unknownFields; |
| | 27177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27179 | | public static pb::MessageParser<PB_UIShape> Parser { get { return _parser; } } |
| | 27180 | |
|
| | 27181 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27182 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27183 | | public static pbr::MessageDescriptor Descriptor { |
| | 27184 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[62]; } |
| | 27185 | | } |
| | 27186 | |
|
| | 27187 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27188 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27189 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 27190 | | get { return Descriptor; } |
| | 27191 | | } |
| | 27192 | |
|
| | 27193 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27194 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27195 | | public PB_UIShape() { |
| | 27196 | | OnConstruction(); |
| | 27197 | | } |
| | 27198 | |
|
| | 27199 | | partial void OnConstruction(); |
| | 27200 | |
|
| | 27201 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27202 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27203 | | public PB_UIShape(PB_UIShape other) : this() { |
| | 27204 | | name_ = other.name_; |
| | 27205 | | visible_ = other.visible_; |
| | 27206 | | opacity_ = other.opacity_; |
| | 27207 | | hAlign_ = other.hAlign_; |
| | 27208 | | vAlign_ = other.vAlign_; |
| | 27209 | | width_ = other.width_; |
| | 27210 | | height_ = other.height_; |
| | 27211 | | positionX_ = other.positionX_; |
| | 27212 | | positionY_ = other.positionY_; |
| | 27213 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 27214 | | parent_ = other.parent_ != null ? other.parent_.Clone() : null; |
| | 27215 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 27216 | | } |
| | 27217 | |
|
| | 27218 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27219 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27220 | | public PB_UIShape Clone() { |
| | 27221 | | return new PB_UIShape(this); |
| | 27222 | | } |
| | 27223 | |
|
| | 27224 | | /// <summary>Field number for the "name" field.</summary> |
| | 27225 | | public const int NameFieldNumber = 1; |
| | 27226 | | private string name_ = ""; |
| | 27227 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27228 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27229 | | public string Name { |
| | 27230 | | get { return name_; } |
| | 27231 | | set { |
| | 27232 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27233 | | } |
| | 27234 | | } |
| | 27235 | |
|
| | 27236 | | /// <summary>Field number for the "visible" field.</summary> |
| | 27237 | | public const int VisibleFieldNumber = 2; |
| | 27238 | | private bool visible_; |
| | 27239 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27240 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27241 | | public bool Visible { |
| | 27242 | | get { return visible_; } |
| | 27243 | | set { |
| | 27244 | | visible_ = value; |
| | 27245 | | } |
| | 27246 | | } |
| | 27247 | |
|
| | 27248 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 27249 | | public const int OpacityFieldNumber = 3; |
| | 27250 | | private float opacity_; |
| | 27251 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27252 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27253 | | public float Opacity { |
| | 27254 | | get { return opacity_; } |
| | 27255 | | set { |
| | 27256 | | opacity_ = value; |
| | 27257 | | } |
| | 27258 | | } |
| | 27259 | |
|
| | 27260 | | /// <summary>Field number for the "hAlign" field.</summary> |
| | 27261 | | public const int HAlignFieldNumber = 4; |
| | 27262 | | private string hAlign_ = ""; |
| | 27263 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27264 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27265 | | public string HAlign { |
| | 27266 | | get { return hAlign_; } |
| | 27267 | | set { |
| | 27268 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27269 | | } |
| | 27270 | | } |
| | 27271 | |
|
| | 27272 | | /// <summary>Field number for the "vAlign" field.</summary> |
| | 27273 | | public const int VAlignFieldNumber = 5; |
| | 27274 | | private string vAlign_ = ""; |
| | 27275 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27276 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27277 | | public string VAlign { |
| | 27278 | | get { return vAlign_; } |
| | 27279 | | set { |
| | 27280 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27281 | | } |
| | 27282 | | } |
| | 27283 | |
|
| | 27284 | | /// <summary>Field number for the "width" field.</summary> |
| | 27285 | | public const int WidthFieldNumber = 6; |
| | 27286 | | private string width_ = ""; |
| | 27287 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27288 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27289 | | public string Width { |
| | 27290 | | get { return width_; } |
| | 27291 | | set { |
| | 27292 | | width_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27293 | | } |
| | 27294 | | } |
| | 27295 | |
|
| | 27296 | | /// <summary>Field number for the "height" field.</summary> |
| | 27297 | | public const int HeightFieldNumber = 7; |
| | 27298 | | private string height_ = ""; |
| | 27299 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27300 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27301 | | public string Height { |
| | 27302 | | get { return height_; } |
| | 27303 | | set { |
| | 27304 | | height_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27305 | | } |
| | 27306 | | } |
| | 27307 | |
|
| | 27308 | | /// <summary>Field number for the "positionX" field.</summary> |
| | 27309 | | public const int PositionXFieldNumber = 8; |
| | 27310 | | private string positionX_ = ""; |
| | 27311 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27312 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27313 | | public string PositionX { |
| | 27314 | | get { return positionX_; } |
| | 27315 | | set { |
| | 27316 | | positionX_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27317 | | } |
| | 27318 | | } |
| | 27319 | |
|
| | 27320 | | /// <summary>Field number for the "positionY" field.</summary> |
| | 27321 | | public const int PositionYFieldNumber = 9; |
| | 27322 | | private string positionY_ = ""; |
| | 27323 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27324 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27325 | | public string PositionY { |
| | 27326 | | get { return positionY_; } |
| | 27327 | | set { |
| | 27328 | | positionY_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27329 | | } |
| | 27330 | | } |
| | 27331 | |
|
| | 27332 | | /// <summary>Field number for the "isPointerBlocker" field.</summary> |
| | 27333 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 27334 | | private bool isPointerBlocker_; |
| | 27335 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27336 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27337 | | public bool IsPointerBlocker { |
| | 27338 | | get { return isPointerBlocker_; } |
| | 27339 | | set { |
| | 27340 | | isPointerBlocker_ = value; |
| | 27341 | | } |
| | 27342 | | } |
| | 27343 | |
|
| | 27344 | | /// <summary>Field number for the "parent" field.</summary> |
| | 27345 | | public const int ParentFieldNumber = 11; |
| | 27346 | | private global::DCL.Interface.PB_UIShape parent_; |
| | 27347 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27348 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27349 | | public global::DCL.Interface.PB_UIShape Parent { |
| | 27350 | | get { return parent_; } |
| | 27351 | | set { |
| | 27352 | | parent_ = value; |
| | 27353 | | } |
| | 27354 | | } |
| | 27355 | |
|
| | 27356 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27357 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27358 | | public override bool Equals(object other) { |
| | 27359 | | return Equals(other as PB_UIShape); |
| | 27360 | | } |
| | 27361 | |
|
| | 27362 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27363 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27364 | | public bool Equals(PB_UIShape other) { |
| | 27365 | | if (ReferenceEquals(other, null)) { |
| | 27366 | | return false; |
| | 27367 | | } |
| | 27368 | | if (ReferenceEquals(other, this)) { |
| | 27369 | | return true; |
| | 27370 | | } |
| | 27371 | | if (Name != other.Name) return false; |
| | 27372 | | if (Visible != other.Visible) return false; |
| | 27373 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 27374 | | if (HAlign != other.HAlign) return false; |
| | 27375 | | if (VAlign != other.VAlign) return false; |
| | 27376 | | if (Width != other.Width) return false; |
| | 27377 | | if (Height != other.Height) return false; |
| | 27378 | | if (PositionX != other.PositionX) return false; |
| | 27379 | | if (PositionY != other.PositionY) return false; |
| | 27380 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 27381 | | if (!object.Equals(Parent, other.Parent)) return false; |
| | 27382 | | return Equals(_unknownFields, other._unknownFields); |
| | 27383 | | } |
| | 27384 | |
|
| | 27385 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27386 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27387 | | public override int GetHashCode() { |
| | 27388 | | int hash = 1; |
| | 27389 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 27390 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 27391 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 27392 | | if (HAlign.Length != 0) hash ^= HAlign.GetHashCode(); |
| | 27393 | | if (VAlign.Length != 0) hash ^= VAlign.GetHashCode(); |
| | 27394 | | if (Width.Length != 0) hash ^= Width.GetHashCode(); |
| | 27395 | | if (Height.Length != 0) hash ^= Height.GetHashCode(); |
| | 27396 | | if (PositionX.Length != 0) hash ^= PositionX.GetHashCode(); |
| | 27397 | | if (PositionY.Length != 0) hash ^= PositionY.GetHashCode(); |
| | 27398 | | if (IsPointerBlocker != false) hash ^= IsPointerBlocker.GetHashCode(); |
| | 27399 | | if (parent_ != null) hash ^= Parent.GetHashCode(); |
| | 27400 | | if (_unknownFields != null) { |
| | 27401 | | hash ^= _unknownFields.GetHashCode(); |
| | 27402 | | } |
| | 27403 | | return hash; |
| | 27404 | | } |
| | 27405 | |
|
| | 27406 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27407 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27408 | | public override string ToString() { |
| | 27409 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 27410 | | } |
| | 27411 | |
|
| | 27412 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27413 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27414 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 27415 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 27416 | | output.WriteRawMessage(this); |
| | 27417 | | #else |
| | 27418 | | if (Name.Length != 0) { |
| | 27419 | | output.WriteRawTag(10); |
| | 27420 | | output.WriteString(Name); |
| | 27421 | | } |
| | 27422 | | if (Visible != false) { |
| | 27423 | | output.WriteRawTag(16); |
| | 27424 | | output.WriteBool(Visible); |
| | 27425 | | } |
| | 27426 | | if (Opacity != 0F) { |
| | 27427 | | output.WriteRawTag(29); |
| | 27428 | | output.WriteFloat(Opacity); |
| | 27429 | | } |
| | 27430 | | if (HAlign.Length != 0) { |
| | 27431 | | output.WriteRawTag(34); |
| | 27432 | | output.WriteString(HAlign); |
| | 27433 | | } |
| | 27434 | | if (VAlign.Length != 0) { |
| | 27435 | | output.WriteRawTag(42); |
| | 27436 | | output.WriteString(VAlign); |
| | 27437 | | } |
| | 27438 | | if (Width.Length != 0) { |
| | 27439 | | output.WriteRawTag(50); |
| | 27440 | | output.WriteString(Width); |
| | 27441 | | } |
| | 27442 | | if (Height.Length != 0) { |
| | 27443 | | output.WriteRawTag(58); |
| | 27444 | | output.WriteString(Height); |
| | 27445 | | } |
| | 27446 | | if (PositionX.Length != 0) { |
| | 27447 | | output.WriteRawTag(66); |
| | 27448 | | output.WriteString(PositionX); |
| | 27449 | | } |
| | 27450 | | if (PositionY.Length != 0) { |
| | 27451 | | output.WriteRawTag(74); |
| | 27452 | | output.WriteString(PositionY); |
| | 27453 | | } |
| | 27454 | | if (IsPointerBlocker != false) { |
| | 27455 | | output.WriteRawTag(80); |
| | 27456 | | output.WriteBool(IsPointerBlocker); |
| | 27457 | | } |
| | 27458 | | if (parent_ != null) { |
| | 27459 | | output.WriteRawTag(90); |
| | 27460 | | output.WriteMessage(Parent); |
| | 27461 | | } |
| | 27462 | | if (_unknownFields != null) { |
| | 27463 | | _unknownFields.WriteTo(output); |
| | 27464 | | } |
| | 27465 | | #endif |
| | 27466 | | } |
| | 27467 | |
|
| | 27468 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 27469 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27470 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27471 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 27472 | | if (Name.Length != 0) { |
| | 27473 | | output.WriteRawTag(10); |
| | 27474 | | output.WriteString(Name); |
| | 27475 | | } |
| | 27476 | | if (Visible != false) { |
| | 27477 | | output.WriteRawTag(16); |
| | 27478 | | output.WriteBool(Visible); |
| | 27479 | | } |
| | 27480 | | if (Opacity != 0F) { |
| | 27481 | | output.WriteRawTag(29); |
| | 27482 | | output.WriteFloat(Opacity); |
| | 27483 | | } |
| | 27484 | | if (HAlign.Length != 0) { |
| | 27485 | | output.WriteRawTag(34); |
| | 27486 | | output.WriteString(HAlign); |
| | 27487 | | } |
| | 27488 | | if (VAlign.Length != 0) { |
| | 27489 | | output.WriteRawTag(42); |
| | 27490 | | output.WriteString(VAlign); |
| | 27491 | | } |
| | 27492 | | if (Width.Length != 0) { |
| | 27493 | | output.WriteRawTag(50); |
| | 27494 | | output.WriteString(Width); |
| | 27495 | | } |
| | 27496 | | if (Height.Length != 0) { |
| | 27497 | | output.WriteRawTag(58); |
| | 27498 | | output.WriteString(Height); |
| | 27499 | | } |
| | 27500 | | if (PositionX.Length != 0) { |
| | 27501 | | output.WriteRawTag(66); |
| | 27502 | | output.WriteString(PositionX); |
| | 27503 | | } |
| | 27504 | | if (PositionY.Length != 0) { |
| | 27505 | | output.WriteRawTag(74); |
| | 27506 | | output.WriteString(PositionY); |
| | 27507 | | } |
| | 27508 | | if (IsPointerBlocker != false) { |
| | 27509 | | output.WriteRawTag(80); |
| | 27510 | | output.WriteBool(IsPointerBlocker); |
| | 27511 | | } |
| | 27512 | | if (parent_ != null) { |
| | 27513 | | output.WriteRawTag(90); |
| | 27514 | | output.WriteMessage(Parent); |
| | 27515 | | } |
| | 27516 | | if (_unknownFields != null) { |
| | 27517 | | _unknownFields.WriteTo(ref output); |
| | 27518 | | } |
| | 27519 | | } |
| | 27520 | | #endif |
| | 27521 | |
|
| | 27522 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27523 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27524 | | public int CalculateSize() { |
| | 27525 | | int size = 0; |
| | 27526 | | if (Name.Length != 0) { |
| | 27527 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 27528 | | } |
| | 27529 | | if (Visible != false) { |
| | 27530 | | size += 1 + 1; |
| | 27531 | | } |
| | 27532 | | if (Opacity != 0F) { |
| | 27533 | | size += 1 + 4; |
| | 27534 | | } |
| | 27535 | | if (HAlign.Length != 0) { |
| | 27536 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 27537 | | } |
| | 27538 | | if (VAlign.Length != 0) { |
| | 27539 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 27540 | | } |
| | 27541 | | if (Width.Length != 0) { |
| | 27542 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Width); |
| | 27543 | | } |
| | 27544 | | if (Height.Length != 0) { |
| | 27545 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Height); |
| | 27546 | | } |
| | 27547 | | if (PositionX.Length != 0) { |
| | 27548 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionX); |
| | 27549 | | } |
| | 27550 | | if (PositionY.Length != 0) { |
| | 27551 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionY); |
| | 27552 | | } |
| | 27553 | | if (IsPointerBlocker != false) { |
| | 27554 | | size += 1 + 1; |
| | 27555 | | } |
| | 27556 | | if (parent_ != null) { |
| | 27557 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); |
| | 27558 | | } |
| | 27559 | | if (_unknownFields != null) { |
| | 27560 | | size += _unknownFields.CalculateSize(); |
| | 27561 | | } |
| | 27562 | | return size; |
| | 27563 | | } |
| | 27564 | |
|
| | 27565 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27566 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27567 | | public void MergeFrom(PB_UIShape other) { |
| | 27568 | | if (other == null) { |
| | 27569 | | return; |
| | 27570 | | } |
| | 27571 | | if (other.Name.Length != 0) { |
| | 27572 | | Name = other.Name; |
| | 27573 | | } |
| | 27574 | | if (other.Visible != false) { |
| | 27575 | | Visible = other.Visible; |
| | 27576 | | } |
| | 27577 | | if (other.Opacity != 0F) { |
| | 27578 | | Opacity = other.Opacity; |
| | 27579 | | } |
| | 27580 | | if (other.HAlign.Length != 0) { |
| | 27581 | | HAlign = other.HAlign; |
| | 27582 | | } |
| | 27583 | | if (other.VAlign.Length != 0) { |
| | 27584 | | VAlign = other.VAlign; |
| | 27585 | | } |
| | 27586 | | if (other.Width.Length != 0) { |
| | 27587 | | Width = other.Width; |
| | 27588 | | } |
| | 27589 | | if (other.Height.Length != 0) { |
| | 27590 | | Height = other.Height; |
| | 27591 | | } |
| | 27592 | | if (other.PositionX.Length != 0) { |
| | 27593 | | PositionX = other.PositionX; |
| | 27594 | | } |
| | 27595 | | if (other.PositionY.Length != 0) { |
| | 27596 | | PositionY = other.PositionY; |
| | 27597 | | } |
| | 27598 | | if (other.IsPointerBlocker != false) { |
| | 27599 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 27600 | | } |
| | 27601 | | if (other.parent_ != null) { |
| | 27602 | | if (parent_ == null) { |
| | 27603 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 27604 | | } |
| | 27605 | | Parent.MergeFrom(other.Parent); |
| | 27606 | | } |
| | 27607 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 27608 | | } |
| | 27609 | |
|
| | 27610 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27611 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27612 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 27613 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 27614 | | input.ReadRawMessage(this); |
| | 27615 | | #else |
| | 27616 | | uint tag; |
| | 27617 | | while ((tag = input.ReadTag()) != 0) { |
| | 27618 | | switch(tag) { |
| | 27619 | | default: |
| | 27620 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 27621 | | break; |
| | 27622 | | case 10: { |
| | 27623 | | Name = input.ReadString(); |
| | 27624 | | break; |
| | 27625 | | } |
| | 27626 | | case 16: { |
| | 27627 | | Visible = input.ReadBool(); |
| | 27628 | | break; |
| | 27629 | | } |
| | 27630 | | case 29: { |
| | 27631 | | Opacity = input.ReadFloat(); |
| | 27632 | | break; |
| | 27633 | | } |
| | 27634 | | case 34: { |
| | 27635 | | HAlign = input.ReadString(); |
| | 27636 | | break; |
| | 27637 | | } |
| | 27638 | | case 42: { |
| | 27639 | | VAlign = input.ReadString(); |
| | 27640 | | break; |
| | 27641 | | } |
| | 27642 | | case 50: { |
| | 27643 | | Width = input.ReadString(); |
| | 27644 | | break; |
| | 27645 | | } |
| | 27646 | | case 58: { |
| | 27647 | | Height = input.ReadString(); |
| | 27648 | | break; |
| | 27649 | | } |
| | 27650 | | case 66: { |
| | 27651 | | PositionX = input.ReadString(); |
| | 27652 | | break; |
| | 27653 | | } |
| | 27654 | | case 74: { |
| | 27655 | | PositionY = input.ReadString(); |
| | 27656 | | break; |
| | 27657 | | } |
| | 27658 | | case 80: { |
| | 27659 | | IsPointerBlocker = input.ReadBool(); |
| | 27660 | | break; |
| | 27661 | | } |
| | 27662 | | case 90: { |
| | 27663 | | if (parent_ == null) { |
| | 27664 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 27665 | | } |
| | 27666 | | input.ReadMessage(Parent); |
| | 27667 | | break; |
| | 27668 | | } |
| | 27669 | | } |
| | 27670 | | } |
| | 27671 | | #endif |
| | 27672 | | } |
| | 27673 | |
|
| | 27674 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 27675 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27676 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27677 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 27678 | | uint tag; |
| | 27679 | | while ((tag = input.ReadTag()) != 0) { |
| | 27680 | | switch(tag) { |
| | 27681 | | default: |
| | 27682 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 27683 | | break; |
| | 27684 | | case 10: { |
| | 27685 | | Name = input.ReadString(); |
| | 27686 | | break; |
| | 27687 | | } |
| | 27688 | | case 16: { |
| | 27689 | | Visible = input.ReadBool(); |
| | 27690 | | break; |
| | 27691 | | } |
| | 27692 | | case 29: { |
| | 27693 | | Opacity = input.ReadFloat(); |
| | 27694 | | break; |
| | 27695 | | } |
| | 27696 | | case 34: { |
| | 27697 | | HAlign = input.ReadString(); |
| | 27698 | | break; |
| | 27699 | | } |
| | 27700 | | case 42: { |
| | 27701 | | VAlign = input.ReadString(); |
| | 27702 | | break; |
| | 27703 | | } |
| | 27704 | | case 50: { |
| | 27705 | | Width = input.ReadString(); |
| | 27706 | | break; |
| | 27707 | | } |
| | 27708 | | case 58: { |
| | 27709 | | Height = input.ReadString(); |
| | 27710 | | break; |
| | 27711 | | } |
| | 27712 | | case 66: { |
| | 27713 | | PositionX = input.ReadString(); |
| | 27714 | | break; |
| | 27715 | | } |
| | 27716 | | case 74: { |
| | 27717 | | PositionY = input.ReadString(); |
| | 27718 | | break; |
| | 27719 | | } |
| | 27720 | | case 80: { |
| | 27721 | | IsPointerBlocker = input.ReadBool(); |
| | 27722 | | break; |
| | 27723 | | } |
| | 27724 | | case 90: { |
| | 27725 | | if (parent_ == null) { |
| | 27726 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 27727 | | } |
| | 27728 | | input.ReadMessage(Parent); |
| | 27729 | | break; |
| | 27730 | | } |
| | 27731 | | } |
| | 27732 | | } |
| | 27733 | | } |
| | 27734 | | #endif |
| | 27735 | |
|
| | 27736 | | } |
| | 27737 | |
|
| | 27738 | | public sealed partial class PB_UITextShape : pb::IMessage<PB_UITextShape> |
| | 27739 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 27740 | | , pb::IBufferMessage |
| | 27741 | | #endif |
| | 27742 | | { |
| | 27743 | | private static readonly pb::MessageParser<PB_UITextShape> _parser = new pb::MessageParser<PB_UITextShape>(() => new |
| | 27744 | | private pb::UnknownFieldSet _unknownFields; |
| | 27745 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27746 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27747 | | public static pb::MessageParser<PB_UITextShape> Parser { get { return _parser; } } |
| | 27748 | |
|
| | 27749 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27750 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27751 | | public static pbr::MessageDescriptor Descriptor { |
| | 27752 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[63]; } |
| | 27753 | | } |
| | 27754 | |
|
| | 27755 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27756 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27757 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 27758 | | get { return Descriptor; } |
| | 27759 | | } |
| | 27760 | |
|
| | 27761 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27762 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27763 | | public PB_UITextShape() { |
| | 27764 | | OnConstruction(); |
| | 27765 | | } |
| | 27766 | |
|
| | 27767 | | partial void OnConstruction(); |
| | 27768 | |
|
| | 27769 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27770 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27771 | | public PB_UITextShape(PB_UITextShape other) : this() { |
| | 27772 | | name_ = other.name_; |
| | 27773 | | visible_ = other.visible_; |
| | 27774 | | opacity_ = other.opacity_; |
| | 27775 | | hAlign_ = other.hAlign_; |
| | 27776 | | vAlign_ = other.vAlign_; |
| | 27777 | | width_ = other.width_; |
| | 27778 | | height_ = other.height_; |
| | 27779 | | positionX_ = other.positionX_; |
| | 27780 | | positionY_ = other.positionY_; |
| | 27781 | | isPointerBlocker_ = other.isPointerBlocker_; |
| | 27782 | | parent_ = other.parent_ != null ? other.parent_.Clone() : null; |
| | 27783 | | outlineWidth_ = other.outlineWidth_; |
| | 27784 | | outlineColor_ = other.outlineColor_ != null ? other.outlineColor_.Clone() : null; |
| | 27785 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| | 27786 | | fontSize_ = other.fontSize_; |
| | 27787 | | fontAutoSize_ = other.fontAutoSize_; |
| | 27788 | | fontWeight_ = other.fontWeight_; |
| | 27789 | | value_ = other.value_; |
| | 27790 | | lineSpacing_ = other.lineSpacing_; |
| | 27791 | | lineCount_ = other.lineCount_; |
| | 27792 | | adaptWidth_ = other.adaptWidth_; |
| | 27793 | | adaptHeight_ = other.adaptHeight_; |
| | 27794 | | textWrapping_ = other.textWrapping_; |
| | 27795 | | shadowBlur_ = other.shadowBlur_; |
| | 27796 | | shadowOffsetX_ = other.shadowOffsetX_; |
| | 27797 | | shadowOffsetY_ = other.shadowOffsetY_; |
| | 27798 | | shadowColor_ = other.shadowColor_ != null ? other.shadowColor_.Clone() : null; |
| | 27799 | | hTextAlign_ = other.hTextAlign_; |
| | 27800 | | vTextAlign_ = other.vTextAlign_; |
| | 27801 | | paddingTop_ = other.paddingTop_; |
| | 27802 | | paddingRight_ = other.paddingRight_; |
| | 27803 | | paddingBottom_ = other.paddingBottom_; |
| | 27804 | | paddingLeft_ = other.paddingLeft_; |
| | 27805 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 27806 | | } |
| | 27807 | |
|
| | 27808 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27809 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27810 | | public PB_UITextShape Clone() { |
| | 27811 | | return new PB_UITextShape(this); |
| | 27812 | | } |
| | 27813 | |
|
| | 27814 | | /// <summary>Field number for the "name" field.</summary> |
| | 27815 | | public const int NameFieldNumber = 1; |
| | 27816 | | private string name_ = ""; |
| | 27817 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27818 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27819 | | public string Name { |
| | 27820 | | get { return name_; } |
| | 27821 | | set { |
| | 27822 | | name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27823 | | } |
| | 27824 | | } |
| | 27825 | |
|
| | 27826 | | /// <summary>Field number for the "visible" field.</summary> |
| | 27827 | | public const int VisibleFieldNumber = 2; |
| | 27828 | | private bool visible_; |
| | 27829 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27830 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27831 | | public bool Visible { |
| | 27832 | | get { return visible_; } |
| | 27833 | | set { |
| | 27834 | | visible_ = value; |
| | 27835 | | } |
| | 27836 | | } |
| | 27837 | |
|
| | 27838 | | /// <summary>Field number for the "opacity" field.</summary> |
| | 27839 | | public const int OpacityFieldNumber = 3; |
| | 27840 | | private float opacity_; |
| | 27841 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27842 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27843 | | public float Opacity { |
| | 27844 | | get { return opacity_; } |
| | 27845 | | set { |
| | 27846 | | opacity_ = value; |
| | 27847 | | } |
| | 27848 | | } |
| | 27849 | |
|
| | 27850 | | /// <summary>Field number for the "hAlign" field.</summary> |
| | 27851 | | public const int HAlignFieldNumber = 4; |
| | 27852 | | private string hAlign_ = ""; |
| | 27853 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27854 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27855 | | public string HAlign { |
| | 27856 | | get { return hAlign_; } |
| | 27857 | | set { |
| | 27858 | | hAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27859 | | } |
| | 27860 | | } |
| | 27861 | |
|
| | 27862 | | /// <summary>Field number for the "vAlign" field.</summary> |
| | 27863 | | public const int VAlignFieldNumber = 5; |
| | 27864 | | private string vAlign_ = ""; |
| | 27865 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27866 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27867 | | public string VAlign { |
| | 27868 | | get { return vAlign_; } |
| | 27869 | | set { |
| | 27870 | | vAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27871 | | } |
| | 27872 | | } |
| | 27873 | |
|
| | 27874 | | /// <summary>Field number for the "width" field.</summary> |
| | 27875 | | public const int WidthFieldNumber = 6; |
| | 27876 | | private string width_ = ""; |
| | 27877 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27878 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27879 | | public string Width { |
| | 27880 | | get { return width_; } |
| | 27881 | | set { |
| | 27882 | | width_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27883 | | } |
| | 27884 | | } |
| | 27885 | |
|
| | 27886 | | /// <summary>Field number for the "height" field.</summary> |
| | 27887 | | public const int HeightFieldNumber = 7; |
| | 27888 | | private string height_ = ""; |
| | 27889 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27890 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27891 | | public string Height { |
| | 27892 | | get { return height_; } |
| | 27893 | | set { |
| | 27894 | | height_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27895 | | } |
| | 27896 | | } |
| | 27897 | |
|
| | 27898 | | /// <summary>Field number for the "positionX" field.</summary> |
| | 27899 | | public const int PositionXFieldNumber = 8; |
| | 27900 | | private string positionX_ = ""; |
| | 27901 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27902 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27903 | | public string PositionX { |
| | 27904 | | get { return positionX_; } |
| | 27905 | | set { |
| | 27906 | | positionX_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27907 | | } |
| | 27908 | | } |
| | 27909 | |
|
| | 27910 | | /// <summary>Field number for the "positionY" field.</summary> |
| | 27911 | | public const int PositionYFieldNumber = 9; |
| | 27912 | | private string positionY_ = ""; |
| | 27913 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27914 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27915 | | public string PositionY { |
| | 27916 | | get { return positionY_; } |
| | 27917 | | set { |
| | 27918 | | positionY_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 27919 | | } |
| | 27920 | | } |
| | 27921 | |
|
| | 27922 | | /// <summary>Field number for the "isPointerBlocker" field.</summary> |
| | 27923 | | public const int IsPointerBlockerFieldNumber = 10; |
| | 27924 | | private bool isPointerBlocker_; |
| | 27925 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27926 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27927 | | public bool IsPointerBlocker { |
| | 27928 | | get { return isPointerBlocker_; } |
| | 27929 | | set { |
| | 27930 | | isPointerBlocker_ = value; |
| | 27931 | | } |
| | 27932 | | } |
| | 27933 | |
|
| | 27934 | | /// <summary>Field number for the "parent" field.</summary> |
| | 27935 | | public const int ParentFieldNumber = 11; |
| | 27936 | | private global::DCL.Interface.PB_UIShape parent_; |
| | 27937 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27938 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27939 | | public global::DCL.Interface.PB_UIShape Parent { |
| | 27940 | | get { return parent_; } |
| | 27941 | | set { |
| | 27942 | | parent_ = value; |
| | 27943 | | } |
| | 27944 | | } |
| | 27945 | |
|
| | 27946 | | /// <summary>Field number for the "outlineWidth" field.</summary> |
| | 27947 | | public const int OutlineWidthFieldNumber = 12; |
| | 27948 | | private float outlineWidth_; |
| | 27949 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27950 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27951 | | public float OutlineWidth { |
| | 27952 | | get { return outlineWidth_; } |
| | 27953 | | set { |
| | 27954 | | outlineWidth_ = value; |
| | 27955 | | } |
| | 27956 | | } |
| | 27957 | |
|
| | 27958 | | /// <summary>Field number for the "outlineColor" field.</summary> |
| | 27959 | | public const int OutlineColorFieldNumber = 13; |
| | 27960 | | private global::DCL.Interface.PB_Color4 outlineColor_; |
| | 27961 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27962 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27963 | | public global::DCL.Interface.PB_Color4 OutlineColor { |
| | 27964 | | get { return outlineColor_; } |
| | 27965 | | set { |
| | 27966 | | outlineColor_ = value; |
| | 27967 | | } |
| | 27968 | | } |
| | 27969 | |
|
| | 27970 | | /// <summary>Field number for the "color" field.</summary> |
| | 27971 | | public const int ColorFieldNumber = 14; |
| | 27972 | | private global::DCL.Interface.PB_Color4 color_; |
| | 27973 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27974 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27975 | | public global::DCL.Interface.PB_Color4 Color { |
| | 27976 | | get { return color_; } |
| | 27977 | | set { |
| | 27978 | | color_ = value; |
| | 27979 | | } |
| | 27980 | | } |
| | 27981 | |
|
| | 27982 | | /// <summary>Field number for the "fontSize" field.</summary> |
| | 27983 | | public const int FontSizeFieldNumber = 15; |
| | 27984 | | private float fontSize_; |
| | 27985 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27986 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27987 | | public float FontSize { |
| | 27988 | | get { return fontSize_; } |
| | 27989 | | set { |
| | 27990 | | fontSize_ = value; |
| | 27991 | | } |
| | 27992 | | } |
| | 27993 | |
|
| | 27994 | | /// <summary>Field number for the "fontAutoSize" field.</summary> |
| | 27995 | | public const int FontAutoSizeFieldNumber = 16; |
| | 27996 | | private bool fontAutoSize_; |
| | 27997 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 27998 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 27999 | | public bool FontAutoSize { |
| | 28000 | | get { return fontAutoSize_; } |
| | 28001 | | set { |
| | 28002 | | fontAutoSize_ = value; |
| | 28003 | | } |
| | 28004 | | } |
| | 28005 | |
|
| | 28006 | | /// <summary>Field number for the "fontWeight" field.</summary> |
| | 28007 | | public const int FontWeightFieldNumber = 17; |
| | 28008 | | private string fontWeight_ = ""; |
| | 28009 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28010 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28011 | | public string FontWeight { |
| | 28012 | | get { return fontWeight_; } |
| | 28013 | | set { |
| | 28014 | | fontWeight_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 28015 | | } |
| | 28016 | | } |
| | 28017 | |
|
| | 28018 | | /// <summary>Field number for the "value" field.</summary> |
| | 28019 | | public const int ValueFieldNumber = 18; |
| | 28020 | | private string value_ = ""; |
| | 28021 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28022 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28023 | | public string Value { |
| | 28024 | | get { return value_; } |
| | 28025 | | set { |
| | 28026 | | value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 28027 | | } |
| | 28028 | | } |
| | 28029 | |
|
| | 28030 | | /// <summary>Field number for the "lineSpacing" field.</summary> |
| | 28031 | | public const int LineSpacingFieldNumber = 19; |
| | 28032 | | private float lineSpacing_; |
| | 28033 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28034 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28035 | | public float LineSpacing { |
| | 28036 | | get { return lineSpacing_; } |
| | 28037 | | set { |
| | 28038 | | lineSpacing_ = value; |
| | 28039 | | } |
| | 28040 | | } |
| | 28041 | |
|
| | 28042 | | /// <summary>Field number for the "lineCount" field.</summary> |
| | 28043 | | public const int LineCountFieldNumber = 20; |
| | 28044 | | private float lineCount_; |
| | 28045 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28046 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28047 | | public float LineCount { |
| | 28048 | | get { return lineCount_; } |
| | 28049 | | set { |
| | 28050 | | lineCount_ = value; |
| | 28051 | | } |
| | 28052 | | } |
| | 28053 | |
|
| | 28054 | | /// <summary>Field number for the "adaptWidth" field.</summary> |
| | 28055 | | public const int AdaptWidthFieldNumber = 21; |
| | 28056 | | private bool adaptWidth_; |
| | 28057 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28058 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28059 | | public bool AdaptWidth { |
| | 28060 | | get { return adaptWidth_; } |
| | 28061 | | set { |
| | 28062 | | adaptWidth_ = value; |
| | 28063 | | } |
| | 28064 | | } |
| | 28065 | |
|
| | 28066 | | /// <summary>Field number for the "adaptHeight" field.</summary> |
| | 28067 | | public const int AdaptHeightFieldNumber = 22; |
| | 28068 | | private bool adaptHeight_; |
| | 28069 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28070 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28071 | | public bool AdaptHeight { |
| | 28072 | | get { return adaptHeight_; } |
| | 28073 | | set { |
| | 28074 | | adaptHeight_ = value; |
| | 28075 | | } |
| | 28076 | | } |
| | 28077 | |
|
| | 28078 | | /// <summary>Field number for the "textWrapping" field.</summary> |
| | 28079 | | public const int TextWrappingFieldNumber = 23; |
| | 28080 | | private bool textWrapping_; |
| | 28081 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28082 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28083 | | public bool TextWrapping { |
| | 28084 | | get { return textWrapping_; } |
| | 28085 | | set { |
| | 28086 | | textWrapping_ = value; |
| | 28087 | | } |
| | 28088 | | } |
| | 28089 | |
|
| | 28090 | | /// <summary>Field number for the "shadowBlur" field.</summary> |
| | 28091 | | public const int ShadowBlurFieldNumber = 24; |
| | 28092 | | private float shadowBlur_; |
| | 28093 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28094 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28095 | | public float ShadowBlur { |
| | 28096 | | get { return shadowBlur_; } |
| | 28097 | | set { |
| | 28098 | | shadowBlur_ = value; |
| | 28099 | | } |
| | 28100 | | } |
| | 28101 | |
|
| | 28102 | | /// <summary>Field number for the "shadowOffsetX" field.</summary> |
| | 28103 | | public const int ShadowOffsetXFieldNumber = 25; |
| | 28104 | | private float shadowOffsetX_; |
| | 28105 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28106 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28107 | | public float ShadowOffsetX { |
| | 28108 | | get { return shadowOffsetX_; } |
| | 28109 | | set { |
| | 28110 | | shadowOffsetX_ = value; |
| | 28111 | | } |
| | 28112 | | } |
| | 28113 | |
|
| | 28114 | | /// <summary>Field number for the "shadowOffsetY" field.</summary> |
| | 28115 | | public const int ShadowOffsetYFieldNumber = 26; |
| | 28116 | | private float shadowOffsetY_; |
| | 28117 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28118 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28119 | | public float ShadowOffsetY { |
| | 28120 | | get { return shadowOffsetY_; } |
| | 28121 | | set { |
| | 28122 | | shadowOffsetY_ = value; |
| | 28123 | | } |
| | 28124 | | } |
| | 28125 | |
|
| | 28126 | | /// <summary>Field number for the "shadowColor" field.</summary> |
| | 28127 | | public const int ShadowColorFieldNumber = 27; |
| | 28128 | | private global::DCL.Interface.PB_Color4 shadowColor_; |
| | 28129 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28130 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28131 | | public global::DCL.Interface.PB_Color4 ShadowColor { |
| | 28132 | | get { return shadowColor_; } |
| | 28133 | | set { |
| | 28134 | | shadowColor_ = value; |
| | 28135 | | } |
| | 28136 | | } |
| | 28137 | |
|
| | 28138 | | /// <summary>Field number for the "hTextAlign" field.</summary> |
| | 28139 | | public const int HTextAlignFieldNumber = 28; |
| | 28140 | | private string hTextAlign_ = ""; |
| | 28141 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28142 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28143 | | public string HTextAlign { |
| | 28144 | | get { return hTextAlign_; } |
| | 28145 | | set { |
| | 28146 | | hTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 28147 | | } |
| | 28148 | | } |
| | 28149 | |
|
| | 28150 | | /// <summary>Field number for the "vTextAlign" field.</summary> |
| | 28151 | | public const int VTextAlignFieldNumber = 29; |
| | 28152 | | private string vTextAlign_ = ""; |
| | 28153 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28154 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28155 | | public string VTextAlign { |
| | 28156 | | get { return vTextAlign_; } |
| | 28157 | | set { |
| | 28158 | | vTextAlign_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 28159 | | } |
| | 28160 | | } |
| | 28161 | |
|
| | 28162 | | /// <summary>Field number for the "paddingTop" field.</summary> |
| | 28163 | | public const int PaddingTopFieldNumber = 30; |
| | 28164 | | private float paddingTop_; |
| | 28165 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28166 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28167 | | public float PaddingTop { |
| | 28168 | | get { return paddingTop_; } |
| | 28169 | | set { |
| | 28170 | | paddingTop_ = value; |
| | 28171 | | } |
| | 28172 | | } |
| | 28173 | |
|
| | 28174 | | /// <summary>Field number for the "paddingRight" field.</summary> |
| | 28175 | | public const int PaddingRightFieldNumber = 31; |
| | 28176 | | private float paddingRight_; |
| | 28177 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28178 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28179 | | public float PaddingRight { |
| | 28180 | | get { return paddingRight_; } |
| | 28181 | | set { |
| | 28182 | | paddingRight_ = value; |
| | 28183 | | } |
| | 28184 | | } |
| | 28185 | |
|
| | 28186 | | /// <summary>Field number for the "paddingBottom" field.</summary> |
| | 28187 | | public const int PaddingBottomFieldNumber = 32; |
| | 28188 | | private float paddingBottom_; |
| | 28189 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28190 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28191 | | public float PaddingBottom { |
| | 28192 | | get { return paddingBottom_; } |
| | 28193 | | set { |
| | 28194 | | paddingBottom_ = value; |
| | 28195 | | } |
| | 28196 | | } |
| | 28197 | |
|
| | 28198 | | /// <summary>Field number for the "paddingLeft" field.</summary> |
| | 28199 | | public const int PaddingLeftFieldNumber = 33; |
| | 28200 | | private float paddingLeft_; |
| | 28201 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28202 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28203 | | public float PaddingLeft { |
| | 28204 | | get { return paddingLeft_; } |
| | 28205 | | set { |
| | 28206 | | paddingLeft_ = value; |
| | 28207 | | } |
| | 28208 | | } |
| | 28209 | |
|
| | 28210 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28211 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28212 | | public override bool Equals(object other) { |
| | 28213 | | return Equals(other as PB_UITextShape); |
| | 28214 | | } |
| | 28215 | |
|
| | 28216 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28217 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28218 | | public bool Equals(PB_UITextShape other) { |
| | 28219 | | if (ReferenceEquals(other, null)) { |
| | 28220 | | return false; |
| | 28221 | | } |
| | 28222 | | if (ReferenceEquals(other, this)) { |
| | 28223 | | return true; |
| | 28224 | | } |
| | 28225 | | if (Name != other.Name) return false; |
| | 28226 | | if (Visible != other.Visible) return false; |
| | 28227 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(Opacity, other.Opacity)) return false; |
| | 28228 | | if (HAlign != other.HAlign) return false; |
| | 28229 | | if (VAlign != other.VAlign) return false; |
| | 28230 | | if (Width != other.Width) return false; |
| | 28231 | | if (Height != other.Height) return false; |
| | 28232 | | if (PositionX != other.PositionX) return false; |
| | 28233 | | if (PositionY != other.PositionY) return false; |
| | 28234 | | if (IsPointerBlocker != other.IsPointerBlocker) return false; |
| | 28235 | | if (!object.Equals(Parent, other.Parent)) return false; |
| | 28236 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(OutlineWidth, other.OutlineWidth)) return |
| | 28237 | | if (!object.Equals(OutlineColor, other.OutlineColor)) return false; |
| | 28238 | | if (!object.Equals(Color, other.Color)) return false; |
| | 28239 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FontSize, other.FontSize)) return false; |
| | 28240 | | if (FontAutoSize != other.FontAutoSize) return false; |
| | 28241 | | if (FontWeight != other.FontWeight) return false; |
| | 28242 | | if (Value != other.Value) return false; |
| | 28243 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineSpacing, other.LineSpacing)) return f |
| | 28244 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LineCount, other.LineCount)) return false |
| | 28245 | | if (AdaptWidth != other.AdaptWidth) return false; |
| | 28246 | | if (AdaptHeight != other.AdaptHeight) return false; |
| | 28247 | | if (TextWrapping != other.TextWrapping) return false; |
| | 28248 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowBlur, other.ShadowBlur)) return fal |
| | 28249 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetX, other.ShadowOffsetX)) retu |
| | 28250 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(ShadowOffsetY, other.ShadowOffsetY)) retu |
| | 28251 | | if (!object.Equals(ShadowColor, other.ShadowColor)) return false; |
| | 28252 | | if (HTextAlign != other.HTextAlign) return false; |
| | 28253 | | if (VTextAlign != other.VTextAlign) return false; |
| | 28254 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingTop, other.PaddingTop)) return fal |
| | 28255 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingRight, other.PaddingRight)) return |
| | 28256 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingBottom, other.PaddingBottom)) retu |
| | 28257 | | if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PaddingLeft, other.PaddingLeft)) return f |
| | 28258 | | return Equals(_unknownFields, other._unknownFields); |
| | 28259 | | } |
| | 28260 | |
|
| | 28261 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28262 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28263 | | public override int GetHashCode() { |
| | 28264 | | int hash = 1; |
| | 28265 | | if (Name.Length != 0) hash ^= Name.GetHashCode(); |
| | 28266 | | if (Visible != false) hash ^= Visible.GetHashCode(); |
| | 28267 | | if (Opacity != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Opacity); |
| | 28268 | | if (HAlign.Length != 0) hash ^= HAlign.GetHashCode(); |
| | 28269 | | if (VAlign.Length != 0) hash ^= VAlign.GetHashCode(); |
| | 28270 | | if (Width.Length != 0) hash ^= Width.GetHashCode(); |
| | 28271 | | if (Height.Length != 0) hash ^= Height.GetHashCode(); |
| | 28272 | | if (PositionX.Length != 0) hash ^= PositionX.GetHashCode(); |
| | 28273 | | if (PositionY.Length != 0) hash ^= PositionY.GetHashCode(); |
| | 28274 | | if (IsPointerBlocker != false) hash ^= IsPointerBlocker.GetHashCode(); |
| | 28275 | | if (parent_ != null) hash ^= Parent.GetHashCode(); |
| | 28276 | | if (OutlineWidth != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(OutlineWi |
| | 28277 | | if (outlineColor_ != null) hash ^= OutlineColor.GetHashCode(); |
| | 28278 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| | 28279 | | if (FontSize != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FontSize); |
| | 28280 | | if (FontAutoSize != false) hash ^= FontAutoSize.GetHashCode(); |
| | 28281 | | if (FontWeight.Length != 0) hash ^= FontWeight.GetHashCode(); |
| | 28282 | | if (Value.Length != 0) hash ^= Value.GetHashCode(); |
| | 28283 | | if (LineSpacing != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineSpacin |
| | 28284 | | if (LineCount != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LineCount); |
| | 28285 | | if (AdaptWidth != false) hash ^= AdaptWidth.GetHashCode(); |
| | 28286 | | if (AdaptHeight != false) hash ^= AdaptHeight.GetHashCode(); |
| | 28287 | | if (TextWrapping != false) hash ^= TextWrapping.GetHashCode(); |
| | 28288 | | if (ShadowBlur != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowBlur) |
| | 28289 | | if (ShadowOffsetX != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOf |
| | 28290 | | if (ShadowOffsetY != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(ShadowOf |
| | 28291 | | if (shadowColor_ != null) hash ^= ShadowColor.GetHashCode(); |
| | 28292 | | if (HTextAlign.Length != 0) hash ^= HTextAlign.GetHashCode(); |
| | 28293 | | if (VTextAlign.Length != 0) hash ^= VTextAlign.GetHashCode(); |
| | 28294 | | if (PaddingTop != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingTop) |
| | 28295 | | if (PaddingRight != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingRi |
| | 28296 | | if (PaddingBottom != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingB |
| | 28297 | | if (PaddingLeft != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PaddingLef |
| | 28298 | | if (_unknownFields != null) { |
| | 28299 | | hash ^= _unknownFields.GetHashCode(); |
| | 28300 | | } |
| | 28301 | | return hash; |
| | 28302 | | } |
| | 28303 | |
|
| | 28304 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28305 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28306 | | public override string ToString() { |
| | 28307 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 28308 | | } |
| | 28309 | |
|
| | 28310 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28311 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28312 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 28313 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 28314 | | output.WriteRawMessage(this); |
| | 28315 | | #else |
| | 28316 | | if (Name.Length != 0) { |
| | 28317 | | output.WriteRawTag(10); |
| | 28318 | | output.WriteString(Name); |
| | 28319 | | } |
| | 28320 | | if (Visible != false) { |
| | 28321 | | output.WriteRawTag(16); |
| | 28322 | | output.WriteBool(Visible); |
| | 28323 | | } |
| | 28324 | | if (Opacity != 0F) { |
| | 28325 | | output.WriteRawTag(29); |
| | 28326 | | output.WriteFloat(Opacity); |
| | 28327 | | } |
| | 28328 | | if (HAlign.Length != 0) { |
| | 28329 | | output.WriteRawTag(34); |
| | 28330 | | output.WriteString(HAlign); |
| | 28331 | | } |
| | 28332 | | if (VAlign.Length != 0) { |
| | 28333 | | output.WriteRawTag(42); |
| | 28334 | | output.WriteString(VAlign); |
| | 28335 | | } |
| | 28336 | | if (Width.Length != 0) { |
| | 28337 | | output.WriteRawTag(50); |
| | 28338 | | output.WriteString(Width); |
| | 28339 | | } |
| | 28340 | | if (Height.Length != 0) { |
| | 28341 | | output.WriteRawTag(58); |
| | 28342 | | output.WriteString(Height); |
| | 28343 | | } |
| | 28344 | | if (PositionX.Length != 0) { |
| | 28345 | | output.WriteRawTag(66); |
| | 28346 | | output.WriteString(PositionX); |
| | 28347 | | } |
| | 28348 | | if (PositionY.Length != 0) { |
| | 28349 | | output.WriteRawTag(74); |
| | 28350 | | output.WriteString(PositionY); |
| | 28351 | | } |
| | 28352 | | if (IsPointerBlocker != false) { |
| | 28353 | | output.WriteRawTag(80); |
| | 28354 | | output.WriteBool(IsPointerBlocker); |
| | 28355 | | } |
| | 28356 | | if (parent_ != null) { |
| | 28357 | | output.WriteRawTag(90); |
| | 28358 | | output.WriteMessage(Parent); |
| | 28359 | | } |
| | 28360 | | if (OutlineWidth != 0F) { |
| | 28361 | | output.WriteRawTag(101); |
| | 28362 | | output.WriteFloat(OutlineWidth); |
| | 28363 | | } |
| | 28364 | | if (outlineColor_ != null) { |
| | 28365 | | output.WriteRawTag(106); |
| | 28366 | | output.WriteMessage(OutlineColor); |
| | 28367 | | } |
| | 28368 | | if (color_ != null) { |
| | 28369 | | output.WriteRawTag(114); |
| | 28370 | | output.WriteMessage(Color); |
| | 28371 | | } |
| | 28372 | | if (FontSize != 0F) { |
| | 28373 | | output.WriteRawTag(125); |
| | 28374 | | output.WriteFloat(FontSize); |
| | 28375 | | } |
| | 28376 | | if (FontAutoSize != false) { |
| | 28377 | | output.WriteRawTag(128, 1); |
| | 28378 | | output.WriteBool(FontAutoSize); |
| | 28379 | | } |
| | 28380 | | if (FontWeight.Length != 0) { |
| | 28381 | | output.WriteRawTag(138, 1); |
| | 28382 | | output.WriteString(FontWeight); |
| | 28383 | | } |
| | 28384 | | if (Value.Length != 0) { |
| | 28385 | | output.WriteRawTag(146, 1); |
| | 28386 | | output.WriteString(Value); |
| | 28387 | | } |
| | 28388 | | if (LineSpacing != 0F) { |
| | 28389 | | output.WriteRawTag(157, 1); |
| | 28390 | | output.WriteFloat(LineSpacing); |
| | 28391 | | } |
| | 28392 | | if (LineCount != 0F) { |
| | 28393 | | output.WriteRawTag(165, 1); |
| | 28394 | | output.WriteFloat(LineCount); |
| | 28395 | | } |
| | 28396 | | if (AdaptWidth != false) { |
| | 28397 | | output.WriteRawTag(168, 1); |
| | 28398 | | output.WriteBool(AdaptWidth); |
| | 28399 | | } |
| | 28400 | | if (AdaptHeight != false) { |
| | 28401 | | output.WriteRawTag(176, 1); |
| | 28402 | | output.WriteBool(AdaptHeight); |
| | 28403 | | } |
| | 28404 | | if (TextWrapping != false) { |
| | 28405 | | output.WriteRawTag(184, 1); |
| | 28406 | | output.WriteBool(TextWrapping); |
| | 28407 | | } |
| | 28408 | | if (ShadowBlur != 0F) { |
| | 28409 | | output.WriteRawTag(197, 1); |
| | 28410 | | output.WriteFloat(ShadowBlur); |
| | 28411 | | } |
| | 28412 | | if (ShadowOffsetX != 0F) { |
| | 28413 | | output.WriteRawTag(205, 1); |
| | 28414 | | output.WriteFloat(ShadowOffsetX); |
| | 28415 | | } |
| | 28416 | | if (ShadowOffsetY != 0F) { |
| | 28417 | | output.WriteRawTag(213, 1); |
| | 28418 | | output.WriteFloat(ShadowOffsetY); |
| | 28419 | | } |
| | 28420 | | if (shadowColor_ != null) { |
| | 28421 | | output.WriteRawTag(218, 1); |
| | 28422 | | output.WriteMessage(ShadowColor); |
| | 28423 | | } |
| | 28424 | | if (HTextAlign.Length != 0) { |
| | 28425 | | output.WriteRawTag(226, 1); |
| | 28426 | | output.WriteString(HTextAlign); |
| | 28427 | | } |
| | 28428 | | if (VTextAlign.Length != 0) { |
| | 28429 | | output.WriteRawTag(234, 1); |
| | 28430 | | output.WriteString(VTextAlign); |
| | 28431 | | } |
| | 28432 | | if (PaddingTop != 0F) { |
| | 28433 | | output.WriteRawTag(245, 1); |
| | 28434 | | output.WriteFloat(PaddingTop); |
| | 28435 | | } |
| | 28436 | | if (PaddingRight != 0F) { |
| | 28437 | | output.WriteRawTag(253, 1); |
| | 28438 | | output.WriteFloat(PaddingRight); |
| | 28439 | | } |
| | 28440 | | if (PaddingBottom != 0F) { |
| | 28441 | | output.WriteRawTag(133, 2); |
| | 28442 | | output.WriteFloat(PaddingBottom); |
| | 28443 | | } |
| | 28444 | | if (PaddingLeft != 0F) { |
| | 28445 | | output.WriteRawTag(141, 2); |
| | 28446 | | output.WriteFloat(PaddingLeft); |
| | 28447 | | } |
| | 28448 | | if (_unknownFields != null) { |
| | 28449 | | _unknownFields.WriteTo(output); |
| | 28450 | | } |
| | 28451 | | #endif |
| | 28452 | | } |
| | 28453 | |
|
| | 28454 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 28455 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28456 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28457 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 28458 | | if (Name.Length != 0) { |
| | 28459 | | output.WriteRawTag(10); |
| | 28460 | | output.WriteString(Name); |
| | 28461 | | } |
| | 28462 | | if (Visible != false) { |
| | 28463 | | output.WriteRawTag(16); |
| | 28464 | | output.WriteBool(Visible); |
| | 28465 | | } |
| | 28466 | | if (Opacity != 0F) { |
| | 28467 | | output.WriteRawTag(29); |
| | 28468 | | output.WriteFloat(Opacity); |
| | 28469 | | } |
| | 28470 | | if (HAlign.Length != 0) { |
| | 28471 | | output.WriteRawTag(34); |
| | 28472 | | output.WriteString(HAlign); |
| | 28473 | | } |
| | 28474 | | if (VAlign.Length != 0) { |
| | 28475 | | output.WriteRawTag(42); |
| | 28476 | | output.WriteString(VAlign); |
| | 28477 | | } |
| | 28478 | | if (Width.Length != 0) { |
| | 28479 | | output.WriteRawTag(50); |
| | 28480 | | output.WriteString(Width); |
| | 28481 | | } |
| | 28482 | | if (Height.Length != 0) { |
| | 28483 | | output.WriteRawTag(58); |
| | 28484 | | output.WriteString(Height); |
| | 28485 | | } |
| | 28486 | | if (PositionX.Length != 0) { |
| | 28487 | | output.WriteRawTag(66); |
| | 28488 | | output.WriteString(PositionX); |
| | 28489 | | } |
| | 28490 | | if (PositionY.Length != 0) { |
| | 28491 | | output.WriteRawTag(74); |
| | 28492 | | output.WriteString(PositionY); |
| | 28493 | | } |
| | 28494 | | if (IsPointerBlocker != false) { |
| | 28495 | | output.WriteRawTag(80); |
| | 28496 | | output.WriteBool(IsPointerBlocker); |
| | 28497 | | } |
| | 28498 | | if (parent_ != null) { |
| | 28499 | | output.WriteRawTag(90); |
| | 28500 | | output.WriteMessage(Parent); |
| | 28501 | | } |
| | 28502 | | if (OutlineWidth != 0F) { |
| | 28503 | | output.WriteRawTag(101); |
| | 28504 | | output.WriteFloat(OutlineWidth); |
| | 28505 | | } |
| | 28506 | | if (outlineColor_ != null) { |
| | 28507 | | output.WriteRawTag(106); |
| | 28508 | | output.WriteMessage(OutlineColor); |
| | 28509 | | } |
| | 28510 | | if (color_ != null) { |
| | 28511 | | output.WriteRawTag(114); |
| | 28512 | | output.WriteMessage(Color); |
| | 28513 | | } |
| | 28514 | | if (FontSize != 0F) { |
| | 28515 | | output.WriteRawTag(125); |
| | 28516 | | output.WriteFloat(FontSize); |
| | 28517 | | } |
| | 28518 | | if (FontAutoSize != false) { |
| | 28519 | | output.WriteRawTag(128, 1); |
| | 28520 | | output.WriteBool(FontAutoSize); |
| | 28521 | | } |
| | 28522 | | if (FontWeight.Length != 0) { |
| | 28523 | | output.WriteRawTag(138, 1); |
| | 28524 | | output.WriteString(FontWeight); |
| | 28525 | | } |
| | 28526 | | if (Value.Length != 0) { |
| | 28527 | | output.WriteRawTag(146, 1); |
| | 28528 | | output.WriteString(Value); |
| | 28529 | | } |
| | 28530 | | if (LineSpacing != 0F) { |
| | 28531 | | output.WriteRawTag(157, 1); |
| | 28532 | | output.WriteFloat(LineSpacing); |
| | 28533 | | } |
| | 28534 | | if (LineCount != 0F) { |
| | 28535 | | output.WriteRawTag(165, 1); |
| | 28536 | | output.WriteFloat(LineCount); |
| | 28537 | | } |
| | 28538 | | if (AdaptWidth != false) { |
| | 28539 | | output.WriteRawTag(168, 1); |
| | 28540 | | output.WriteBool(AdaptWidth); |
| | 28541 | | } |
| | 28542 | | if (AdaptHeight != false) { |
| | 28543 | | output.WriteRawTag(176, 1); |
| | 28544 | | output.WriteBool(AdaptHeight); |
| | 28545 | | } |
| | 28546 | | if (TextWrapping != false) { |
| | 28547 | | output.WriteRawTag(184, 1); |
| | 28548 | | output.WriteBool(TextWrapping); |
| | 28549 | | } |
| | 28550 | | if (ShadowBlur != 0F) { |
| | 28551 | | output.WriteRawTag(197, 1); |
| | 28552 | | output.WriteFloat(ShadowBlur); |
| | 28553 | | } |
| | 28554 | | if (ShadowOffsetX != 0F) { |
| | 28555 | | output.WriteRawTag(205, 1); |
| | 28556 | | output.WriteFloat(ShadowOffsetX); |
| | 28557 | | } |
| | 28558 | | if (ShadowOffsetY != 0F) { |
| | 28559 | | output.WriteRawTag(213, 1); |
| | 28560 | | output.WriteFloat(ShadowOffsetY); |
| | 28561 | | } |
| | 28562 | | if (shadowColor_ != null) { |
| | 28563 | | output.WriteRawTag(218, 1); |
| | 28564 | | output.WriteMessage(ShadowColor); |
| | 28565 | | } |
| | 28566 | | if (HTextAlign.Length != 0) { |
| | 28567 | | output.WriteRawTag(226, 1); |
| | 28568 | | output.WriteString(HTextAlign); |
| | 28569 | | } |
| | 28570 | | if (VTextAlign.Length != 0) { |
| | 28571 | | output.WriteRawTag(234, 1); |
| | 28572 | | output.WriteString(VTextAlign); |
| | 28573 | | } |
| | 28574 | | if (PaddingTop != 0F) { |
| | 28575 | | output.WriteRawTag(245, 1); |
| | 28576 | | output.WriteFloat(PaddingTop); |
| | 28577 | | } |
| | 28578 | | if (PaddingRight != 0F) { |
| | 28579 | | output.WriteRawTag(253, 1); |
| | 28580 | | output.WriteFloat(PaddingRight); |
| | 28581 | | } |
| | 28582 | | if (PaddingBottom != 0F) { |
| | 28583 | | output.WriteRawTag(133, 2); |
| | 28584 | | output.WriteFloat(PaddingBottom); |
| | 28585 | | } |
| | 28586 | | if (PaddingLeft != 0F) { |
| | 28587 | | output.WriteRawTag(141, 2); |
| | 28588 | | output.WriteFloat(PaddingLeft); |
| | 28589 | | } |
| | 28590 | | if (_unknownFields != null) { |
| | 28591 | | _unknownFields.WriteTo(ref output); |
| | 28592 | | } |
| | 28593 | | } |
| | 28594 | | #endif |
| | 28595 | |
|
| | 28596 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28597 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28598 | | public int CalculateSize() { |
| | 28599 | | int size = 0; |
| | 28600 | | if (Name.Length != 0) { |
| | 28601 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); |
| | 28602 | | } |
| | 28603 | | if (Visible != false) { |
| | 28604 | | size += 1 + 1; |
| | 28605 | | } |
| | 28606 | | if (Opacity != 0F) { |
| | 28607 | | size += 1 + 4; |
| | 28608 | | } |
| | 28609 | | if (HAlign.Length != 0) { |
| | 28610 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(HAlign); |
| | 28611 | | } |
| | 28612 | | if (VAlign.Length != 0) { |
| | 28613 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(VAlign); |
| | 28614 | | } |
| | 28615 | | if (Width.Length != 0) { |
| | 28616 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Width); |
| | 28617 | | } |
| | 28618 | | if (Height.Length != 0) { |
| | 28619 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Height); |
| | 28620 | | } |
| | 28621 | | if (PositionX.Length != 0) { |
| | 28622 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionX); |
| | 28623 | | } |
| | 28624 | | if (PositionY.Length != 0) { |
| | 28625 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(PositionY); |
| | 28626 | | } |
| | 28627 | | if (IsPointerBlocker != false) { |
| | 28628 | | size += 1 + 1; |
| | 28629 | | } |
| | 28630 | | if (parent_ != null) { |
| | 28631 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parent); |
| | 28632 | | } |
| | 28633 | | if (OutlineWidth != 0F) { |
| | 28634 | | size += 1 + 4; |
| | 28635 | | } |
| | 28636 | | if (outlineColor_ != null) { |
| | 28637 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(OutlineColor); |
| | 28638 | | } |
| | 28639 | | if (color_ != null) { |
| | 28640 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 28641 | | } |
| | 28642 | | if (FontSize != 0F) { |
| | 28643 | | size += 1 + 4; |
| | 28644 | | } |
| | 28645 | | if (FontAutoSize != false) { |
| | 28646 | | size += 2 + 1; |
| | 28647 | | } |
| | 28648 | | if (FontWeight.Length != 0) { |
| | 28649 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(FontWeight); |
| | 28650 | | } |
| | 28651 | | if (Value.Length != 0) { |
| | 28652 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(Value); |
| | 28653 | | } |
| | 28654 | | if (LineSpacing != 0F) { |
| | 28655 | | size += 2 + 4; |
| | 28656 | | } |
| | 28657 | | if (LineCount != 0F) { |
| | 28658 | | size += 2 + 4; |
| | 28659 | | } |
| | 28660 | | if (AdaptWidth != false) { |
| | 28661 | | size += 2 + 1; |
| | 28662 | | } |
| | 28663 | | if (AdaptHeight != false) { |
| | 28664 | | size += 2 + 1; |
| | 28665 | | } |
| | 28666 | | if (TextWrapping != false) { |
| | 28667 | | size += 2 + 1; |
| | 28668 | | } |
| | 28669 | | if (ShadowBlur != 0F) { |
| | 28670 | | size += 2 + 4; |
| | 28671 | | } |
| | 28672 | | if (ShadowOffsetX != 0F) { |
| | 28673 | | size += 2 + 4; |
| | 28674 | | } |
| | 28675 | | if (ShadowOffsetY != 0F) { |
| | 28676 | | size += 2 + 4; |
| | 28677 | | } |
| | 28678 | | if (shadowColor_ != null) { |
| | 28679 | | size += 2 + pb::CodedOutputStream.ComputeMessageSize(ShadowColor); |
| | 28680 | | } |
| | 28681 | | if (HTextAlign.Length != 0) { |
| | 28682 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(HTextAlign); |
| | 28683 | | } |
| | 28684 | | if (VTextAlign.Length != 0) { |
| | 28685 | | size += 2 + pb::CodedOutputStream.ComputeStringSize(VTextAlign); |
| | 28686 | | } |
| | 28687 | | if (PaddingTop != 0F) { |
| | 28688 | | size += 2 + 4; |
| | 28689 | | } |
| | 28690 | | if (PaddingRight != 0F) { |
| | 28691 | | size += 2 + 4; |
| | 28692 | | } |
| | 28693 | | if (PaddingBottom != 0F) { |
| | 28694 | | size += 2 + 4; |
| | 28695 | | } |
| | 28696 | | if (PaddingLeft != 0F) { |
| | 28697 | | size += 2 + 4; |
| | 28698 | | } |
| | 28699 | | if (_unknownFields != null) { |
| | 28700 | | size += _unknownFields.CalculateSize(); |
| | 28701 | | } |
| | 28702 | | return size; |
| | 28703 | | } |
| | 28704 | |
|
| | 28705 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28706 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28707 | | public void MergeFrom(PB_UITextShape other) { |
| | 28708 | | if (other == null) { |
| | 28709 | | return; |
| | 28710 | | } |
| | 28711 | | if (other.Name.Length != 0) { |
| | 28712 | | Name = other.Name; |
| | 28713 | | } |
| | 28714 | | if (other.Visible != false) { |
| | 28715 | | Visible = other.Visible; |
| | 28716 | | } |
| | 28717 | | if (other.Opacity != 0F) { |
| | 28718 | | Opacity = other.Opacity; |
| | 28719 | | } |
| | 28720 | | if (other.HAlign.Length != 0) { |
| | 28721 | | HAlign = other.HAlign; |
| | 28722 | | } |
| | 28723 | | if (other.VAlign.Length != 0) { |
| | 28724 | | VAlign = other.VAlign; |
| | 28725 | | } |
| | 28726 | | if (other.Width.Length != 0) { |
| | 28727 | | Width = other.Width; |
| | 28728 | | } |
| | 28729 | | if (other.Height.Length != 0) { |
| | 28730 | | Height = other.Height; |
| | 28731 | | } |
| | 28732 | | if (other.PositionX.Length != 0) { |
| | 28733 | | PositionX = other.PositionX; |
| | 28734 | | } |
| | 28735 | | if (other.PositionY.Length != 0) { |
| | 28736 | | PositionY = other.PositionY; |
| | 28737 | | } |
| | 28738 | | if (other.IsPointerBlocker != false) { |
| | 28739 | | IsPointerBlocker = other.IsPointerBlocker; |
| | 28740 | | } |
| | 28741 | | if (other.parent_ != null) { |
| | 28742 | | if (parent_ == null) { |
| | 28743 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 28744 | | } |
| | 28745 | | Parent.MergeFrom(other.Parent); |
| | 28746 | | } |
| | 28747 | | if (other.OutlineWidth != 0F) { |
| | 28748 | | OutlineWidth = other.OutlineWidth; |
| | 28749 | | } |
| | 28750 | | if (other.outlineColor_ != null) { |
| | 28751 | | if (outlineColor_ == null) { |
| | 28752 | | OutlineColor = new global::DCL.Interface.PB_Color4(); |
| | 28753 | | } |
| | 28754 | | OutlineColor.MergeFrom(other.OutlineColor); |
| | 28755 | | } |
| | 28756 | | if (other.color_ != null) { |
| | 28757 | | if (color_ == null) { |
| | 28758 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 28759 | | } |
| | 28760 | | Color.MergeFrom(other.Color); |
| | 28761 | | } |
| | 28762 | | if (other.FontSize != 0F) { |
| | 28763 | | FontSize = other.FontSize; |
| | 28764 | | } |
| | 28765 | | if (other.FontAutoSize != false) { |
| | 28766 | | FontAutoSize = other.FontAutoSize; |
| | 28767 | | } |
| | 28768 | | if (other.FontWeight.Length != 0) { |
| | 28769 | | FontWeight = other.FontWeight; |
| | 28770 | | } |
| | 28771 | | if (other.Value.Length != 0) { |
| | 28772 | | Value = other.Value; |
| | 28773 | | } |
| | 28774 | | if (other.LineSpacing != 0F) { |
| | 28775 | | LineSpacing = other.LineSpacing; |
| | 28776 | | } |
| | 28777 | | if (other.LineCount != 0F) { |
| | 28778 | | LineCount = other.LineCount; |
| | 28779 | | } |
| | 28780 | | if (other.AdaptWidth != false) { |
| | 28781 | | AdaptWidth = other.AdaptWidth; |
| | 28782 | | } |
| | 28783 | | if (other.AdaptHeight != false) { |
| | 28784 | | AdaptHeight = other.AdaptHeight; |
| | 28785 | | } |
| | 28786 | | if (other.TextWrapping != false) { |
| | 28787 | | TextWrapping = other.TextWrapping; |
| | 28788 | | } |
| | 28789 | | if (other.ShadowBlur != 0F) { |
| | 28790 | | ShadowBlur = other.ShadowBlur; |
| | 28791 | | } |
| | 28792 | | if (other.ShadowOffsetX != 0F) { |
| | 28793 | | ShadowOffsetX = other.ShadowOffsetX; |
| | 28794 | | } |
| | 28795 | | if (other.ShadowOffsetY != 0F) { |
| | 28796 | | ShadowOffsetY = other.ShadowOffsetY; |
| | 28797 | | } |
| | 28798 | | if (other.shadowColor_ != null) { |
| | 28799 | | if (shadowColor_ == null) { |
| | 28800 | | ShadowColor = new global::DCL.Interface.PB_Color4(); |
| | 28801 | | } |
| | 28802 | | ShadowColor.MergeFrom(other.ShadowColor); |
| | 28803 | | } |
| | 28804 | | if (other.HTextAlign.Length != 0) { |
| | 28805 | | HTextAlign = other.HTextAlign; |
| | 28806 | | } |
| | 28807 | | if (other.VTextAlign.Length != 0) { |
| | 28808 | | VTextAlign = other.VTextAlign; |
| | 28809 | | } |
| | 28810 | | if (other.PaddingTop != 0F) { |
| | 28811 | | PaddingTop = other.PaddingTop; |
| | 28812 | | } |
| | 28813 | | if (other.PaddingRight != 0F) { |
| | 28814 | | PaddingRight = other.PaddingRight; |
| | 28815 | | } |
| | 28816 | | if (other.PaddingBottom != 0F) { |
| | 28817 | | PaddingBottom = other.PaddingBottom; |
| | 28818 | | } |
| | 28819 | | if (other.PaddingLeft != 0F) { |
| | 28820 | | PaddingLeft = other.PaddingLeft; |
| | 28821 | | } |
| | 28822 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 28823 | | } |
| | 28824 | |
|
| | 28825 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28826 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28827 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 28828 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 28829 | | input.ReadRawMessage(this); |
| | 28830 | | #else |
| | 28831 | | uint tag; |
| | 28832 | | while ((tag = input.ReadTag()) != 0) { |
| | 28833 | | switch(tag) { |
| | 28834 | | default: |
| | 28835 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 28836 | | break; |
| | 28837 | | case 10: { |
| | 28838 | | Name = input.ReadString(); |
| | 28839 | | break; |
| | 28840 | | } |
| | 28841 | | case 16: { |
| | 28842 | | Visible = input.ReadBool(); |
| | 28843 | | break; |
| | 28844 | | } |
| | 28845 | | case 29: { |
| | 28846 | | Opacity = input.ReadFloat(); |
| | 28847 | | break; |
| | 28848 | | } |
| | 28849 | | case 34: { |
| | 28850 | | HAlign = input.ReadString(); |
| | 28851 | | break; |
| | 28852 | | } |
| | 28853 | | case 42: { |
| | 28854 | | VAlign = input.ReadString(); |
| | 28855 | | break; |
| | 28856 | | } |
| | 28857 | | case 50: { |
| | 28858 | | Width = input.ReadString(); |
| | 28859 | | break; |
| | 28860 | | } |
| | 28861 | | case 58: { |
| | 28862 | | Height = input.ReadString(); |
| | 28863 | | break; |
| | 28864 | | } |
| | 28865 | | case 66: { |
| | 28866 | | PositionX = input.ReadString(); |
| | 28867 | | break; |
| | 28868 | | } |
| | 28869 | | case 74: { |
| | 28870 | | PositionY = input.ReadString(); |
| | 28871 | | break; |
| | 28872 | | } |
| | 28873 | | case 80: { |
| | 28874 | | IsPointerBlocker = input.ReadBool(); |
| | 28875 | | break; |
| | 28876 | | } |
| | 28877 | | case 90: { |
| | 28878 | | if (parent_ == null) { |
| | 28879 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 28880 | | } |
| | 28881 | | input.ReadMessage(Parent); |
| | 28882 | | break; |
| | 28883 | | } |
| | 28884 | | case 101: { |
| | 28885 | | OutlineWidth = input.ReadFloat(); |
| | 28886 | | break; |
| | 28887 | | } |
| | 28888 | | case 106: { |
| | 28889 | | if (outlineColor_ == null) { |
| | 28890 | | OutlineColor = new global::DCL.Interface.PB_Color4(); |
| | 28891 | | } |
| | 28892 | | input.ReadMessage(OutlineColor); |
| | 28893 | | break; |
| | 28894 | | } |
| | 28895 | | case 114: { |
| | 28896 | | if (color_ == null) { |
| | 28897 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 28898 | | } |
| | 28899 | | input.ReadMessage(Color); |
| | 28900 | | break; |
| | 28901 | | } |
| | 28902 | | case 125: { |
| | 28903 | | FontSize = input.ReadFloat(); |
| | 28904 | | break; |
| | 28905 | | } |
| | 28906 | | case 128: { |
| | 28907 | | FontAutoSize = input.ReadBool(); |
| | 28908 | | break; |
| | 28909 | | } |
| | 28910 | | case 138: { |
| | 28911 | | FontWeight = input.ReadString(); |
| | 28912 | | break; |
| | 28913 | | } |
| | 28914 | | case 146: { |
| | 28915 | | Value = input.ReadString(); |
| | 28916 | | break; |
| | 28917 | | } |
| | 28918 | | case 157: { |
| | 28919 | | LineSpacing = input.ReadFloat(); |
| | 28920 | | break; |
| | 28921 | | } |
| | 28922 | | case 165: { |
| | 28923 | | LineCount = input.ReadFloat(); |
| | 28924 | | break; |
| | 28925 | | } |
| | 28926 | | case 168: { |
| | 28927 | | AdaptWidth = input.ReadBool(); |
| | 28928 | | break; |
| | 28929 | | } |
| | 28930 | | case 176: { |
| | 28931 | | AdaptHeight = input.ReadBool(); |
| | 28932 | | break; |
| | 28933 | | } |
| | 28934 | | case 184: { |
| | 28935 | | TextWrapping = input.ReadBool(); |
| | 28936 | | break; |
| | 28937 | | } |
| | 28938 | | case 197: { |
| | 28939 | | ShadowBlur = input.ReadFloat(); |
| | 28940 | | break; |
| | 28941 | | } |
| | 28942 | | case 205: { |
| | 28943 | | ShadowOffsetX = input.ReadFloat(); |
| | 28944 | | break; |
| | 28945 | | } |
| | 28946 | | case 213: { |
| | 28947 | | ShadowOffsetY = input.ReadFloat(); |
| | 28948 | | break; |
| | 28949 | | } |
| | 28950 | | case 218: { |
| | 28951 | | if (shadowColor_ == null) { |
| | 28952 | | ShadowColor = new global::DCL.Interface.PB_Color4(); |
| | 28953 | | } |
| | 28954 | | input.ReadMessage(ShadowColor); |
| | 28955 | | break; |
| | 28956 | | } |
| | 28957 | | case 226: { |
| | 28958 | | HTextAlign = input.ReadString(); |
| | 28959 | | break; |
| | 28960 | | } |
| | 28961 | | case 234: { |
| | 28962 | | VTextAlign = input.ReadString(); |
| | 28963 | | break; |
| | 28964 | | } |
| | 28965 | | case 245: { |
| | 28966 | | PaddingTop = input.ReadFloat(); |
| | 28967 | | break; |
| | 28968 | | } |
| | 28969 | | case 253: { |
| | 28970 | | PaddingRight = input.ReadFloat(); |
| | 28971 | | break; |
| | 28972 | | } |
| | 28973 | | case 261: { |
| | 28974 | | PaddingBottom = input.ReadFloat(); |
| | 28975 | | break; |
| | 28976 | | } |
| | 28977 | | case 269: { |
| | 28978 | | PaddingLeft = input.ReadFloat(); |
| | 28979 | | break; |
| | 28980 | | } |
| | 28981 | | } |
| | 28982 | | } |
| | 28983 | | #endif |
| | 28984 | | } |
| | 28985 | |
|
| | 28986 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 28987 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 28988 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 28989 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 28990 | | uint tag; |
| | 28991 | | while ((tag = input.ReadTag()) != 0) { |
| | 28992 | | switch(tag) { |
| | 28993 | | default: |
| | 28994 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 28995 | | break; |
| | 28996 | | case 10: { |
| | 28997 | | Name = input.ReadString(); |
| | 28998 | | break; |
| | 28999 | | } |
| | 29000 | | case 16: { |
| | 29001 | | Visible = input.ReadBool(); |
| | 29002 | | break; |
| | 29003 | | } |
| | 29004 | | case 29: { |
| | 29005 | | Opacity = input.ReadFloat(); |
| | 29006 | | break; |
| | 29007 | | } |
| | 29008 | | case 34: { |
| | 29009 | | HAlign = input.ReadString(); |
| | 29010 | | break; |
| | 29011 | | } |
| | 29012 | | case 42: { |
| | 29013 | | VAlign = input.ReadString(); |
| | 29014 | | break; |
| | 29015 | | } |
| | 29016 | | case 50: { |
| | 29017 | | Width = input.ReadString(); |
| | 29018 | | break; |
| | 29019 | | } |
| | 29020 | | case 58: { |
| | 29021 | | Height = input.ReadString(); |
| | 29022 | | break; |
| | 29023 | | } |
| | 29024 | | case 66: { |
| | 29025 | | PositionX = input.ReadString(); |
| | 29026 | | break; |
| | 29027 | | } |
| | 29028 | | case 74: { |
| | 29029 | | PositionY = input.ReadString(); |
| | 29030 | | break; |
| | 29031 | | } |
| | 29032 | | case 80: { |
| | 29033 | | IsPointerBlocker = input.ReadBool(); |
| | 29034 | | break; |
| | 29035 | | } |
| | 29036 | | case 90: { |
| | 29037 | | if (parent_ == null) { |
| | 29038 | | Parent = new global::DCL.Interface.PB_UIShape(); |
| | 29039 | | } |
| | 29040 | | input.ReadMessage(Parent); |
| | 29041 | | break; |
| | 29042 | | } |
| | 29043 | | case 101: { |
| | 29044 | | OutlineWidth = input.ReadFloat(); |
| | 29045 | | break; |
| | 29046 | | } |
| | 29047 | | case 106: { |
| | 29048 | | if (outlineColor_ == null) { |
| | 29049 | | OutlineColor = new global::DCL.Interface.PB_Color4(); |
| | 29050 | | } |
| | 29051 | | input.ReadMessage(OutlineColor); |
| | 29052 | | break; |
| | 29053 | | } |
| | 29054 | | case 114: { |
| | 29055 | | if (color_ == null) { |
| | 29056 | | Color = new global::DCL.Interface.PB_Color4(); |
| | 29057 | | } |
| | 29058 | | input.ReadMessage(Color); |
| | 29059 | | break; |
| | 29060 | | } |
| | 29061 | | case 125: { |
| | 29062 | | FontSize = input.ReadFloat(); |
| | 29063 | | break; |
| | 29064 | | } |
| | 29065 | | case 128: { |
| | 29066 | | FontAutoSize = input.ReadBool(); |
| | 29067 | | break; |
| | 29068 | | } |
| | 29069 | | case 138: { |
| | 29070 | | FontWeight = input.ReadString(); |
| | 29071 | | break; |
| | 29072 | | } |
| | 29073 | | case 146: { |
| | 29074 | | Value = input.ReadString(); |
| | 29075 | | break; |
| | 29076 | | } |
| | 29077 | | case 157: { |
| | 29078 | | LineSpacing = input.ReadFloat(); |
| | 29079 | | break; |
| | 29080 | | } |
| | 29081 | | case 165: { |
| | 29082 | | LineCount = input.ReadFloat(); |
| | 29083 | | break; |
| | 29084 | | } |
| | 29085 | | case 168: { |
| | 29086 | | AdaptWidth = input.ReadBool(); |
| | 29087 | | break; |
| | 29088 | | } |
| | 29089 | | case 176: { |
| | 29090 | | AdaptHeight = input.ReadBool(); |
| | 29091 | | break; |
| | 29092 | | } |
| | 29093 | | case 184: { |
| | 29094 | | TextWrapping = input.ReadBool(); |
| | 29095 | | break; |
| | 29096 | | } |
| | 29097 | | case 197: { |
| | 29098 | | ShadowBlur = input.ReadFloat(); |
| | 29099 | | break; |
| | 29100 | | } |
| | 29101 | | case 205: { |
| | 29102 | | ShadowOffsetX = input.ReadFloat(); |
| | 29103 | | break; |
| | 29104 | | } |
| | 29105 | | case 213: { |
| | 29106 | | ShadowOffsetY = input.ReadFloat(); |
| | 29107 | | break; |
| | 29108 | | } |
| | 29109 | | case 218: { |
| | 29110 | | if (shadowColor_ == null) { |
| | 29111 | | ShadowColor = new global::DCL.Interface.PB_Color4(); |
| | 29112 | | } |
| | 29113 | | input.ReadMessage(ShadowColor); |
| | 29114 | | break; |
| | 29115 | | } |
| | 29116 | | case 226: { |
| | 29117 | | HTextAlign = input.ReadString(); |
| | 29118 | | break; |
| | 29119 | | } |
| | 29120 | | case 234: { |
| | 29121 | | VTextAlign = input.ReadString(); |
| | 29122 | | break; |
| | 29123 | | } |
| | 29124 | | case 245: { |
| | 29125 | | PaddingTop = input.ReadFloat(); |
| | 29126 | | break; |
| | 29127 | | } |
| | 29128 | | case 253: { |
| | 29129 | | PaddingRight = input.ReadFloat(); |
| | 29130 | | break; |
| | 29131 | | } |
| | 29132 | | case 261: { |
| | 29133 | | PaddingBottom = input.ReadFloat(); |
| | 29134 | | break; |
| | 29135 | | } |
| | 29136 | | case 269: { |
| | 29137 | | PaddingLeft = input.ReadFloat(); |
| | 29138 | | break; |
| | 29139 | | } |
| | 29140 | | } |
| | 29141 | | } |
| | 29142 | | } |
| | 29143 | | #endif |
| | 29144 | |
|
| | 29145 | | } |
| | 29146 | |
|
| | 29147 | | public sealed partial class PB_OpenExternalUrl : pb::IMessage<PB_OpenExternalUrl> |
| | 29148 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 29149 | | , pb::IBufferMessage |
| | 29150 | | #endif |
| | 29151 | | { |
| | 29152 | | private static readonly pb::MessageParser<PB_OpenExternalUrl> _parser = new pb::MessageParser<PB_OpenExternalUrl>(() |
| | 29153 | | private pb::UnknownFieldSet _unknownFields; |
| | 29154 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29155 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29156 | | public static pb::MessageParser<PB_OpenExternalUrl> Parser { get { return _parser; } } |
| | 29157 | |
|
| | 29158 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29159 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29160 | | public static pbr::MessageDescriptor Descriptor { |
| | 29161 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[64]; } |
| | 29162 | | } |
| | 29163 | |
|
| | 29164 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29165 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29166 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 29167 | | get { return Descriptor; } |
| | 29168 | | } |
| | 29169 | |
|
| | 29170 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29171 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29172 | | public PB_OpenExternalUrl() { |
| | 29173 | | OnConstruction(); |
| | 29174 | | } |
| | 29175 | |
|
| | 29176 | | partial void OnConstruction(); |
| | 29177 | |
|
| | 29178 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29179 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29180 | | public PB_OpenExternalUrl(PB_OpenExternalUrl other) : this() { |
| | 29181 | | url_ = other.url_; |
| | 29182 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 29183 | | } |
| | 29184 | |
|
| | 29185 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29186 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29187 | | public PB_OpenExternalUrl Clone() { |
| | 29188 | | return new PB_OpenExternalUrl(this); |
| | 29189 | | } |
| | 29190 | |
|
| | 29191 | | /// <summary>Field number for the "url" field.</summary> |
| | 29192 | | public const int UrlFieldNumber = 1; |
| | 29193 | | private string url_ = ""; |
| | 29194 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29195 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29196 | | public string Url { |
| | 29197 | | get { return url_; } |
| | 29198 | | set { |
| | 29199 | | url_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 29200 | | } |
| | 29201 | | } |
| | 29202 | |
|
| | 29203 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29204 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29205 | | public override bool Equals(object other) { |
| | 29206 | | return Equals(other as PB_OpenExternalUrl); |
| | 29207 | | } |
| | 29208 | |
|
| | 29209 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29210 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29211 | | public bool Equals(PB_OpenExternalUrl other) { |
| | 29212 | | if (ReferenceEquals(other, null)) { |
| | 29213 | | return false; |
| | 29214 | | } |
| | 29215 | | if (ReferenceEquals(other, this)) { |
| | 29216 | | return true; |
| | 29217 | | } |
| | 29218 | | if (Url != other.Url) return false; |
| | 29219 | | return Equals(_unknownFields, other._unknownFields); |
| | 29220 | | } |
| | 29221 | |
|
| | 29222 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29223 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29224 | | public override int GetHashCode() { |
| | 29225 | | int hash = 1; |
| | 29226 | | if (Url.Length != 0) hash ^= Url.GetHashCode(); |
| | 29227 | | if (_unknownFields != null) { |
| | 29228 | | hash ^= _unknownFields.GetHashCode(); |
| | 29229 | | } |
| | 29230 | | return hash; |
| | 29231 | | } |
| | 29232 | |
|
| | 29233 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29234 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29235 | | public override string ToString() { |
| | 29236 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 29237 | | } |
| | 29238 | |
|
| | 29239 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29240 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29241 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 29242 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 29243 | | output.WriteRawMessage(this); |
| | 29244 | | #else |
| | 29245 | | if (Url.Length != 0) { |
| | 29246 | | output.WriteRawTag(10); |
| | 29247 | | output.WriteString(Url); |
| | 29248 | | } |
| | 29249 | | if (_unknownFields != null) { |
| | 29250 | | _unknownFields.WriteTo(output); |
| | 29251 | | } |
| | 29252 | | #endif |
| | 29253 | | } |
| | 29254 | |
|
| | 29255 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 29256 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29257 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29258 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 29259 | | if (Url.Length != 0) { |
| | 29260 | | output.WriteRawTag(10); |
| | 29261 | | output.WriteString(Url); |
| | 29262 | | } |
| | 29263 | | if (_unknownFields != null) { |
| | 29264 | | _unknownFields.WriteTo(ref output); |
| | 29265 | | } |
| | 29266 | | } |
| | 29267 | | #endif |
| | 29268 | |
|
| | 29269 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29270 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29271 | | public int CalculateSize() { |
| | 29272 | | int size = 0; |
| | 29273 | | if (Url.Length != 0) { |
| | 29274 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Url); |
| | 29275 | | } |
| | 29276 | | if (_unknownFields != null) { |
| | 29277 | | size += _unknownFields.CalculateSize(); |
| | 29278 | | } |
| | 29279 | | return size; |
| | 29280 | | } |
| | 29281 | |
|
| | 29282 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29283 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29284 | | public void MergeFrom(PB_OpenExternalUrl other) { |
| | 29285 | | if (other == null) { |
| | 29286 | | return; |
| | 29287 | | } |
| | 29288 | | if (other.Url.Length != 0) { |
| | 29289 | | Url = other.Url; |
| | 29290 | | } |
| | 29291 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 29292 | | } |
| | 29293 | |
|
| | 29294 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29295 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29296 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 29297 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 29298 | | input.ReadRawMessage(this); |
| | 29299 | | #else |
| | 29300 | | uint tag; |
| | 29301 | | while ((tag = input.ReadTag()) != 0) { |
| | 29302 | | switch(tag) { |
| | 29303 | | default: |
| | 29304 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 29305 | | break; |
| | 29306 | | case 10: { |
| | 29307 | | Url = input.ReadString(); |
| | 29308 | | break; |
| | 29309 | | } |
| | 29310 | | } |
| | 29311 | | } |
| | 29312 | | #endif |
| | 29313 | | } |
| | 29314 | |
|
| | 29315 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 29316 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29317 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29318 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 29319 | | uint tag; |
| | 29320 | | while ((tag = input.ReadTag()) != 0) { |
| | 29321 | | switch(tag) { |
| | 29322 | | default: |
| | 29323 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 29324 | | break; |
| | 29325 | | case 10: { |
| | 29326 | | Url = input.ReadString(); |
| | 29327 | | break; |
| | 29328 | | } |
| | 29329 | | } |
| | 29330 | | } |
| | 29331 | | } |
| | 29332 | | #endif |
| | 29333 | |
|
| | 29334 | | } |
| | 29335 | |
|
| | 29336 | | public sealed partial class PB_OpenNFTDialog : pb::IMessage<PB_OpenNFTDialog> |
| | 29337 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 29338 | | , pb::IBufferMessage |
| | 29339 | | #endif |
| | 29340 | | { |
| | 29341 | | private static readonly pb::MessageParser<PB_OpenNFTDialog> _parser = new pb::MessageParser<PB_OpenNFTDialog>(() => |
| | 29342 | | private pb::UnknownFieldSet _unknownFields; |
| | 29343 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29344 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29345 | | public static pb::MessageParser<PB_OpenNFTDialog> Parser { get { return _parser; } } |
| | 29346 | |
|
| | 29347 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29348 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29349 | | public static pbr::MessageDescriptor Descriptor { |
| | 29350 | | get { return global::DCL.Interface.EngineInterfaceReflection.Descriptor.MessageTypes[65]; } |
| | 29351 | | } |
| | 29352 | |
|
| | 29353 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29354 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29355 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| | 29356 | | get { return Descriptor; } |
| | 29357 | | } |
| | 29358 | |
|
| | 29359 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29360 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29361 | | public PB_OpenNFTDialog() { |
| | 29362 | | OnConstruction(); |
| | 29363 | | } |
| | 29364 | |
|
| | 29365 | | partial void OnConstruction(); |
| | 29366 | |
|
| | 29367 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29368 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29369 | | public PB_OpenNFTDialog(PB_OpenNFTDialog other) : this() { |
| | 29370 | | assetContractAddress_ = other.assetContractAddress_; |
| | 29371 | | tokenId_ = other.tokenId_; |
| | 29372 | | comment_ = other.comment_; |
| | 29373 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| | 29374 | | } |
| | 29375 | |
|
| | 29376 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29377 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29378 | | public PB_OpenNFTDialog Clone() { |
| | 29379 | | return new PB_OpenNFTDialog(this); |
| | 29380 | | } |
| | 29381 | |
|
| | 29382 | | /// <summary>Field number for the "assetContractAddress" field.</summary> |
| | 29383 | | public const int AssetContractAddressFieldNumber = 1; |
| | 29384 | | private string assetContractAddress_ = ""; |
| | 29385 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29386 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29387 | | public string AssetContractAddress { |
| | 29388 | | get { return assetContractAddress_; } |
| | 29389 | | set { |
| | 29390 | | assetContractAddress_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 29391 | | } |
| | 29392 | | } |
| | 29393 | |
|
| | 29394 | | /// <summary>Field number for the "tokenId" field.</summary> |
| | 29395 | | public const int TokenIdFieldNumber = 2; |
| | 29396 | | private string tokenId_ = ""; |
| | 29397 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29398 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29399 | | public string TokenId { |
| | 29400 | | get { return tokenId_; } |
| | 29401 | | set { |
| | 29402 | | tokenId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 29403 | | } |
| | 29404 | | } |
| | 29405 | |
|
| | 29406 | | /// <summary>Field number for the "comment" field.</summary> |
| | 29407 | | public const int CommentFieldNumber = 3; |
| | 29408 | | private string comment_ = ""; |
| | 29409 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29410 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29411 | | public string Comment { |
| | 29412 | | get { return comment_; } |
| | 29413 | | set { |
| | 29414 | | comment_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| | 29415 | | } |
| | 29416 | | } |
| | 29417 | |
|
| | 29418 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29419 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29420 | | public override bool Equals(object other) { |
| | 29421 | | return Equals(other as PB_OpenNFTDialog); |
| | 29422 | | } |
| | 29423 | |
|
| | 29424 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29425 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29426 | | public bool Equals(PB_OpenNFTDialog other) { |
| | 29427 | | if (ReferenceEquals(other, null)) { |
| | 29428 | | return false; |
| | 29429 | | } |
| | 29430 | | if (ReferenceEquals(other, this)) { |
| | 29431 | | return true; |
| | 29432 | | } |
| | 29433 | | if (AssetContractAddress != other.AssetContractAddress) return false; |
| | 29434 | | if (TokenId != other.TokenId) return false; |
| | 29435 | | if (Comment != other.Comment) return false; |
| | 29436 | | return Equals(_unknownFields, other._unknownFields); |
| | 29437 | | } |
| | 29438 | |
|
| | 29439 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29440 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29441 | | public override int GetHashCode() { |
| | 29442 | | int hash = 1; |
| | 29443 | | if (AssetContractAddress.Length != 0) hash ^= AssetContractAddress.GetHashCode(); |
| | 29444 | | if (TokenId.Length != 0) hash ^= TokenId.GetHashCode(); |
| | 29445 | | if (Comment.Length != 0) hash ^= Comment.GetHashCode(); |
| | 29446 | | if (_unknownFields != null) { |
| | 29447 | | hash ^= _unknownFields.GetHashCode(); |
| | 29448 | | } |
| | 29449 | | return hash; |
| | 29450 | | } |
| | 29451 | |
|
| | 29452 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29453 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29454 | | public override string ToString() { |
| | 29455 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 29456 | | } |
| | 29457 | |
|
| | 29458 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29459 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29460 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 29461 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 29462 | | output.WriteRawMessage(this); |
| | 29463 | | #else |
| | 29464 | | if (AssetContractAddress.Length != 0) { |
| | 29465 | | output.WriteRawTag(10); |
| | 29466 | | output.WriteString(AssetContractAddress); |
| | 29467 | | } |
| | 29468 | | if (TokenId.Length != 0) { |
| | 29469 | | output.WriteRawTag(18); |
| | 29470 | | output.WriteString(TokenId); |
| | 29471 | | } |
| | 29472 | | if (Comment.Length != 0) { |
| | 29473 | | output.WriteRawTag(26); |
| | 29474 | | output.WriteString(Comment); |
| | 29475 | | } |
| | 29476 | | if (_unknownFields != null) { |
| | 29477 | | _unknownFields.WriteTo(output); |
| | 29478 | | } |
| | 29479 | | #endif |
| | 29480 | | } |
| | 29481 | |
|
| | 29482 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 29483 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29484 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29485 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 29486 | | if (AssetContractAddress.Length != 0) { |
| | 29487 | | output.WriteRawTag(10); |
| | 29488 | | output.WriteString(AssetContractAddress); |
| | 29489 | | } |
| | 29490 | | if (TokenId.Length != 0) { |
| | 29491 | | output.WriteRawTag(18); |
| | 29492 | | output.WriteString(TokenId); |
| | 29493 | | } |
| | 29494 | | if (Comment.Length != 0) { |
| | 29495 | | output.WriteRawTag(26); |
| | 29496 | | output.WriteString(Comment); |
| | 29497 | | } |
| | 29498 | | if (_unknownFields != null) { |
| | 29499 | | _unknownFields.WriteTo(ref output); |
| | 29500 | | } |
| | 29501 | | } |
| | 29502 | | #endif |
| | 29503 | |
|
| | 29504 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29505 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29506 | | public int CalculateSize() { |
| | 29507 | | int size = 0; |
| | 29508 | | if (AssetContractAddress.Length != 0) { |
| | 29509 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(AssetContractAddress); |
| | 29510 | | } |
| | 29511 | | if (TokenId.Length != 0) { |
| | 29512 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(TokenId); |
| | 29513 | | } |
| | 29514 | | if (Comment.Length != 0) { |
| | 29515 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Comment); |
| | 29516 | | } |
| | 29517 | | if (_unknownFields != null) { |
| | 29518 | | size += _unknownFields.CalculateSize(); |
| | 29519 | | } |
| | 29520 | | return size; |
| | 29521 | | } |
| | 29522 | |
|
| | 29523 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29524 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29525 | | public void MergeFrom(PB_OpenNFTDialog other) { |
| | 29526 | | if (other == null) { |
| | 29527 | | return; |
| | 29528 | | } |
| | 29529 | | if (other.AssetContractAddress.Length != 0) { |
| | 29530 | | AssetContractAddress = other.AssetContractAddress; |
| | 29531 | | } |
| | 29532 | | if (other.TokenId.Length != 0) { |
| | 29533 | | TokenId = other.TokenId; |
| | 29534 | | } |
| | 29535 | | if (other.Comment.Length != 0) { |
| | 29536 | | Comment = other.Comment; |
| | 29537 | | } |
| | 29538 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| | 29539 | | } |
| | 29540 | |
|
| | 29541 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29542 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29543 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 29544 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 29545 | | input.ReadRawMessage(this); |
| | 29546 | | #else |
| | 29547 | | uint tag; |
| | 29548 | | while ((tag = input.ReadTag()) != 0) { |
| | 29549 | | switch(tag) { |
| | 29550 | | default: |
| | 29551 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| | 29552 | | break; |
| | 29553 | | case 10: { |
| | 29554 | | AssetContractAddress = input.ReadString(); |
| | 29555 | | break; |
| | 29556 | | } |
| | 29557 | | case 18: { |
| | 29558 | | TokenId = input.ReadString(); |
| | 29559 | | break; |
| | 29560 | | } |
| | 29561 | | case 26: { |
| | 29562 | | Comment = input.ReadString(); |
| | 29563 | | break; |
| | 29564 | | } |
| | 29565 | | } |
| | 29566 | | } |
| | 29567 | | #endif |
| | 29568 | | } |
| | 29569 | |
|
| | 29570 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 29571 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 29572 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 29573 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 29574 | | uint tag; |
| | 29575 | | while ((tag = input.ReadTag()) != 0) { |
| | 29576 | | switch(tag) { |
| | 29577 | | default: |
| | 29578 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 29579 | | break; |
| | 29580 | | case 10: { |
| | 29581 | | AssetContractAddress = input.ReadString(); |
| | 29582 | | break; |
| | 29583 | | } |
| | 29584 | | case 18: { |
| | 29585 | | TokenId = input.ReadString(); |
| | 29586 | | break; |
| | 29587 | | } |
| | 29588 | | case 26: { |
| | 29589 | | Comment = input.ReadString(); |
| | 29590 | | break; |
| | 29591 | | } |
| | 29592 | | } |
| | 29593 | | } |
| | 29594 | | } |
| | 29595 | | #endif |
| | 29596 | |
|
| | 29597 | | } |
| | 29598 | |
|
| | 29599 | | #endregion |
| | 29600 | |
|
| | 29601 | | } |
| | 29602 | |
|
| | 29603 | | #endregion Designer generated code |