| | 1 | | // <auto-generated> |
| | 2 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| | 3 | | // source: ecs/components/NFTShape.proto |
| | 4 | | // </auto-generated> |
| | 5 | | #pragma warning disable 1591, 0612, 3021 |
| | 6 | | #region Designer generated code |
| | 7 | |
|
| | 8 | | using pb = global::Google.Protobuf; |
| | 9 | | using pbc = global::Google.Protobuf.Collections; |
| | 10 | | using pbr = global::Google.Protobuf.Reflection; |
| | 11 | | using scg = global::System.Collections.Generic; |
| | 12 | | namespace DCL.ECSComponents { |
| | 13 | |
|
| | 14 | | /// <summary>Holder for reflection information generated from ecs/components/NFTShape.proto</summary> |
| | 15 | | public static partial class NFTShapeReflection { |
| | 16 | |
|
| | 17 | | #region Descriptor |
| | 18 | | /// <summary>File descriptor for ecs/components/NFTShape.proto</summary> |
| | 19 | | public static pbr::FileDescriptor Descriptor { |
| | 20 | | get { return descriptor; } |
| | 21 | | } |
| | 22 | | private static pbr::FileDescriptor descriptor; |
| | 23 | |
|
| | 24 | | static NFTShapeReflection() { |
| | 25 | | byte[] descriptorData = global::System.Convert.FromBase64String( |
| | 26 | | string.Concat( |
| | 27 | | "Ch1lY3MvY29tcG9uZW50cy9ORlRTaGFwZS5wcm90bxIQZGVjZW50cmFsYW5k", |
| | 28 | | "LmVjcxoiZWNzL2NvbXBvbmVudHMvY29tbW9uL0NvbG9yMy5wcm90byKjBAoK", |
| | 29 | | "UEJORlRTaGFwZRILCgNzcmMYASABKAkSQgoFc3R5bGUYAiABKA4yLi5kZWNl", |
| | 30 | | "bnRyYWxhbmQuZWNzLlBCTkZUU2hhcGUuUGljdHVyZUZyYW1lU3R5bGVIAIgB", |
| | 31 | | "ARIsCgVjb2xvchgDIAEoCzIYLmRlY2VudHJhbGFuZC5lY3MuQ29sb3IzSAGI", |
| | 32 | | "AQEigQMKEVBpY3R1cmVGcmFtZVN0eWxlEgsKB0NsYXNzaWMQABIUChBCYXJv", |
| | 33 | | "cXVlX09ybmFtZW50EAESFAoQRGlhbW9uZF9Pcm5hbWVudBACEhAKDE1pbmlt", |
| | 34 | | "YWxfV2lkZRADEhAKDE1pbmltYWxfR3JleRAEEgoKBkJsb2NreRAFEg4KCkdv", |
| | 35 | | "bGRfRWRnZXMQBhIPCgtHb2xkX0NhcnZlZBAHEg0KCUdvbGRfV2lkZRAIEhAK", |
| | 36 | | "DEdvbGRfUm91bmRlZBAJEhAKDE1ldGFsX01lZGl1bRAKEg4KCk1ldGFsX1dp", |
| | 37 | | "ZGUQCxIOCgpNZXRhbF9TbGltEAwSEQoNTWV0YWxfUm91bmRlZBANEggKBFBp", |
| | 38 | | "bnMQDhIRCg1NaW5pbWFsX0JsYWNrEA8SEQoNTWluaW1hbF9XaGl0ZRAQEggK", |
| | 39 | | "BFRhcGUQERINCglXb29kX1NsaW0QEhINCglXb29kX1dpZGUQExIOCgpXb29k", |
| | 40 | | "X1R3aWdzEBQSCgoGQ2FudmFzEBUSCAoETm9uZRAWQggKBl9zdHlsZUIICgZf", |
| | 41 | | "Y29sb3JCFKoCEURDTC5FQ1NDb21wb25lbnRzYgZwcm90bzM=")); |
| | 42 | | descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |
| | 43 | | new pbr::FileDescriptor[] { global::DCL.ECSComponents.Color3Reflection.Descriptor, }, |
| | 44 | | new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |
| | 45 | | new pbr::GeneratedClrTypeInfo(typeof(global::DCL.ECSComponents.PBNFTShape), global::DCL.ECSComponents.PBNFTS |
| | 46 | | })); |
| | 47 | | } |
| | 48 | | #endregion |
| | 49 | |
|
| | 50 | | } |
| | 51 | | #region Messages |
| | 52 | | public sealed partial class PBNFTShape : pb::IMessage<PBNFTShape> |
| | 53 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 54 | | , pb::IBufferMessage |
| | 55 | | #endif |
| | 56 | | { |
| 1 | 57 | | private static readonly pb::MessageParser<PBNFTShape> _parser = new pb::MessageParser<PBNFTShape>(() => new PBNFTSha |
| | 58 | | private pb::UnknownFieldSet _unknownFields; |
| | 59 | | private int _hasBits0; |
| | 60 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 61 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 62 | | public static pb::MessageParser<PBNFTShape> Parser { get { return _parser; } } |
| | 63 | |
|
| | 64 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 65 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 66 | | public static pbr::MessageDescriptor Descriptor { |
| 0 | 67 | | get { return global::DCL.ECSComponents.NFTShapeReflection.Descriptor.MessageTypes[0]; } |
| | 68 | | } |
| | 69 | |
|
| | 70 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 71 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 72 | | pbr::MessageDescriptor pb::IMessage.Descriptor { |
| 0 | 73 | | get { return Descriptor; } |
| | 74 | | } |
| | 75 | |
|
| | 76 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 77 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 1 | 78 | | public PBNFTShape() { |
| | 79 | | OnConstruction(); |
| 1 | 80 | | } |
| | 81 | |
|
| | 82 | | partial void OnConstruction(); |
| | 83 | |
|
| | 84 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 85 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| 0 | 86 | | public PBNFTShape(PBNFTShape other) : this() { |
| 0 | 87 | | _hasBits0 = other._hasBits0; |
| 0 | 88 | | src_ = other.src_; |
| 0 | 89 | | style_ = other.style_; |
| 0 | 90 | | color_ = other.color_ != null ? other.color_.Clone() : null; |
| 0 | 91 | | _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |
| 0 | 92 | | } |
| | 93 | |
|
| | 94 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 95 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 96 | | public PBNFTShape Clone() { |
| 0 | 97 | | return new PBNFTShape(this); |
| | 98 | | } |
| | 99 | |
|
| | 100 | | /// <summary>Field number for the "src" field.</summary> |
| | 101 | | public const int SrcFieldNumber = 1; |
| 1 | 102 | | private string src_ = ""; |
| | 103 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 104 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 105 | | public string Src { |
| 0 | 106 | | get { return src_; } |
| | 107 | | set { |
| 0 | 108 | | src_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |
| 0 | 109 | | } |
| | 110 | | } |
| | 111 | |
|
| | 112 | | /// <summary>Field number for the "style" field.</summary> |
| | 113 | | public const int StyleFieldNumber = 2; |
| | 114 | | private global::DCL.ECSComponents.PBNFTShape.Types.PictureFrameStyle style_; |
| | 115 | | /// <summary> |
| | 116 | | /// default = PictureFrameStyle.Classic |
| | 117 | | /// </summary> |
| | 118 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 119 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 120 | | public global::DCL.ECSComponents.PBNFTShape.Types.PictureFrameStyle Style { |
| 0 | 121 | | get { if ((_hasBits0 & 1) != 0) { return style_; } else { return global::DCL.ECSComponents.PBNFTShape.Types.Pictur |
| | 122 | | set { |
| 2 | 123 | | _hasBits0 |= 1; |
| 2 | 124 | | style_ = value; |
| 2 | 125 | | } |
| | 126 | | } |
| | 127 | | /// <summary>Gets whether the "style" field is set</summary> |
| | 128 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 129 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 130 | | public bool HasStyle { |
| 0 | 131 | | get { return (_hasBits0 & 1) != 0; } |
| | 132 | | } |
| | 133 | | /// <summary>Clears the value of the "style" field</summary> |
| | 134 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 135 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 136 | | public void ClearStyle() { |
| 0 | 137 | | _hasBits0 &= ~1; |
| 0 | 138 | | } |
| | 139 | |
|
| | 140 | | /// <summary>Field number for the "color" field.</summary> |
| | 141 | | public const int ColorFieldNumber = 3; |
| | 142 | | private global::DCL.ECSComponents.Color3 color_; |
| | 143 | | /// <summary> |
| | 144 | | /// default = Color3(0.6404918, 0.611472, 0.8584906) |
| | 145 | | /// </summary> |
| | 146 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 147 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 148 | | public global::DCL.ECSComponents.Color3 Color { |
| 0 | 149 | | get { return color_; } |
| | 150 | | set { |
| 0 | 151 | | color_ = value; |
| 0 | 152 | | } |
| | 153 | | } |
| | 154 | |
|
| | 155 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 156 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 157 | | public override bool Equals(object other) { |
| 0 | 158 | | return Equals(other as PBNFTShape); |
| | 159 | | } |
| | 160 | |
|
| | 161 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 162 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 163 | | public bool Equals(PBNFTShape other) { |
| 0 | 164 | | if (ReferenceEquals(other, null)) { |
| 0 | 165 | | return false; |
| | 166 | | } |
| 0 | 167 | | if (ReferenceEquals(other, this)) { |
| 0 | 168 | | return true; |
| | 169 | | } |
| 0 | 170 | | if (Src != other.Src) return false; |
| 0 | 171 | | if (Style != other.Style) return false; |
| 0 | 172 | | if (!object.Equals(Color, other.Color)) return false; |
| 0 | 173 | | return Equals(_unknownFields, other._unknownFields); |
| | 174 | | } |
| | 175 | |
|
| | 176 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 177 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 178 | | public override int GetHashCode() { |
| 0 | 179 | | int hash = 1; |
| 0 | 180 | | if (Src.Length != 0) hash ^= Src.GetHashCode(); |
| 0 | 181 | | if (HasStyle) hash ^= Style.GetHashCode(); |
| 0 | 182 | | if (color_ != null) hash ^= Color.GetHashCode(); |
| 0 | 183 | | if (_unknownFields != null) { |
| 0 | 184 | | hash ^= _unknownFields.GetHashCode(); |
| | 185 | | } |
| 0 | 186 | | return hash; |
| | 187 | | } |
| | 188 | |
|
| | 189 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 190 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 191 | | public override string ToString() { |
| 0 | 192 | | return pb::JsonFormatter.ToDiagnosticString(this); |
| | 193 | | } |
| | 194 | |
|
| | 195 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 196 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 197 | | public void WriteTo(pb::CodedOutputStream output) { |
| | 198 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 199 | | output.WriteRawMessage(this); |
| | 200 | | #else |
| 0 | 201 | | if (Src.Length != 0) { |
| 0 | 202 | | output.WriteRawTag(10); |
| 0 | 203 | | output.WriteString(Src); |
| | 204 | | } |
| 0 | 205 | | if (HasStyle) { |
| 0 | 206 | | output.WriteRawTag(16); |
| 0 | 207 | | output.WriteEnum((int) Style); |
| | 208 | | } |
| 0 | 209 | | if (color_ != null) { |
| 0 | 210 | | output.WriteRawTag(26); |
| 0 | 211 | | output.WriteMessage(Color); |
| | 212 | | } |
| 0 | 213 | | if (_unknownFields != null) { |
| 0 | 214 | | _unknownFields.WriteTo(output); |
| | 215 | | } |
| | 216 | | #endif |
| 0 | 217 | | } |
| | 218 | |
|
| | 219 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 220 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 221 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 222 | | void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |
| | 223 | | if (Src.Length != 0) { |
| | 224 | | output.WriteRawTag(10); |
| | 225 | | output.WriteString(Src); |
| | 226 | | } |
| | 227 | | if (HasStyle) { |
| | 228 | | output.WriteRawTag(16); |
| | 229 | | output.WriteEnum((int) Style); |
| | 230 | | } |
| | 231 | | if (color_ != null) { |
| | 232 | | output.WriteRawTag(26); |
| | 233 | | output.WriteMessage(Color); |
| | 234 | | } |
| | 235 | | if (_unknownFields != null) { |
| | 236 | | _unknownFields.WriteTo(ref output); |
| | 237 | | } |
| | 238 | | } |
| | 239 | | #endif |
| | 240 | |
|
| | 241 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 242 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 243 | | public int CalculateSize() { |
| 0 | 244 | | int size = 0; |
| 0 | 245 | | if (Src.Length != 0) { |
| 0 | 246 | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Src); |
| | 247 | | } |
| 0 | 248 | | if (HasStyle) { |
| 0 | 249 | | size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Style); |
| | 250 | | } |
| 0 | 251 | | if (color_ != null) { |
| 0 | 252 | | size += 1 + pb::CodedOutputStream.ComputeMessageSize(Color); |
| | 253 | | } |
| 0 | 254 | | if (_unknownFields != null) { |
| 0 | 255 | | size += _unknownFields.CalculateSize(); |
| | 256 | | } |
| 0 | 257 | | return size; |
| | 258 | | } |
| | 259 | |
|
| | 260 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 261 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 262 | | public void MergeFrom(PBNFTShape other) { |
| 0 | 263 | | if (other == null) { |
| 0 | 264 | | return; |
| | 265 | | } |
| 0 | 266 | | if (other.Src.Length != 0) { |
| 0 | 267 | | Src = other.Src; |
| | 268 | | } |
| 0 | 269 | | if (other.HasStyle) { |
| 0 | 270 | | Style = other.Style; |
| | 271 | | } |
| 0 | 272 | | if (other.color_ != null) { |
| 0 | 273 | | if (color_ == null) { |
| 0 | 274 | | Color = new global::DCL.ECSComponents.Color3(); |
| | 275 | | } |
| 0 | 276 | | Color.MergeFrom(other.Color); |
| | 277 | | } |
| 0 | 278 | | _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |
| 0 | 279 | | } |
| | 280 | |
|
| | 281 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 282 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 283 | | public void MergeFrom(pb::CodedInputStream input) { |
| | 284 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 285 | | input.ReadRawMessage(this); |
| | 286 | | #else |
| | 287 | | uint tag; |
| 0 | 288 | | while ((tag = input.ReadTag()) != 0) { |
| | 289 | | switch(tag) { |
| | 290 | | default: |
| 0 | 291 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |
| 0 | 292 | | break; |
| | 293 | | case 10: { |
| 0 | 294 | | Src = input.ReadString(); |
| 0 | 295 | | break; |
| | 296 | | } |
| | 297 | | case 16: { |
| 0 | 298 | | Style = (global::DCL.ECSComponents.PBNFTShape.Types.PictureFrameStyle) input.ReadEnum(); |
| 0 | 299 | | break; |
| | 300 | | } |
| | 301 | | case 26: { |
| 0 | 302 | | if (color_ == null) { |
| 0 | 303 | | Color = new global::DCL.ECSComponents.Color3(); |
| | 304 | | } |
| 0 | 305 | | input.ReadMessage(Color); |
| | 306 | | break; |
| | 307 | | } |
| | 308 | | } |
| | 309 | | } |
| | 310 | | #endif |
| 0 | 311 | | } |
| | 312 | |
|
| | 313 | | #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |
| | 314 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 315 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 316 | | void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { |
| | 317 | | uint tag; |
| | 318 | | while ((tag = input.ReadTag()) != 0) { |
| | 319 | | switch(tag) { |
| | 320 | | default: |
| | 321 | | _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |
| | 322 | | break; |
| | 323 | | case 10: { |
| | 324 | | Src = input.ReadString(); |
| | 325 | | break; |
| | 326 | | } |
| | 327 | | case 16: { |
| | 328 | | Style = (global::DCL.ECSComponents.PBNFTShape.Types.PictureFrameStyle) input.ReadEnum(); |
| | 329 | | break; |
| | 330 | | } |
| | 331 | | case 26: { |
| | 332 | | if (color_ == null) { |
| | 333 | | Color = new global::DCL.ECSComponents.Color3(); |
| | 334 | | } |
| | 335 | | input.ReadMessage(Color); |
| | 336 | | break; |
| | 337 | | } |
| | 338 | | } |
| | 339 | | } |
| | 340 | | } |
| | 341 | | #endif |
| | 342 | |
|
| | 343 | | #region Nested types |
| | 344 | | /// <summary>Container for nested types declared in the PBNFTShape message type.</summary> |
| | 345 | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | 346 | | [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |
| | 347 | | public static partial class Types { |
| | 348 | | public enum PictureFrameStyle { |
| | 349 | | [pbr::OriginalName("Classic")] Classic = 0, |
| | 350 | | [pbr::OriginalName("Baroque_Ornament")] BaroqueOrnament = 1, |
| | 351 | | [pbr::OriginalName("Diamond_Ornament")] DiamondOrnament = 2, |
| | 352 | | [pbr::OriginalName("Minimal_Wide")] MinimalWide = 3, |
| | 353 | | [pbr::OriginalName("Minimal_Grey")] MinimalGrey = 4, |
| | 354 | | [pbr::OriginalName("Blocky")] Blocky = 5, |
| | 355 | | [pbr::OriginalName("Gold_Edges")] GoldEdges = 6, |
| | 356 | | [pbr::OriginalName("Gold_Carved")] GoldCarved = 7, |
| | 357 | | [pbr::OriginalName("Gold_Wide")] GoldWide = 8, |
| | 358 | | [pbr::OriginalName("Gold_Rounded")] GoldRounded = 9, |
| | 359 | | [pbr::OriginalName("Metal_Medium")] MetalMedium = 10, |
| | 360 | | [pbr::OriginalName("Metal_Wide")] MetalWide = 11, |
| | 361 | | [pbr::OriginalName("Metal_Slim")] MetalSlim = 12, |
| | 362 | | [pbr::OriginalName("Metal_Rounded")] MetalRounded = 13, |
| | 363 | | [pbr::OriginalName("Pins")] Pins = 14, |
| | 364 | | [pbr::OriginalName("Minimal_Black")] MinimalBlack = 15, |
| | 365 | | [pbr::OriginalName("Minimal_White")] MinimalWhite = 16, |
| | 366 | | [pbr::OriginalName("Tape")] Tape = 17, |
| | 367 | | [pbr::OriginalName("Wood_Slim")] WoodSlim = 18, |
| | 368 | | [pbr::OriginalName("Wood_Wide")] WoodWide = 19, |
| | 369 | | [pbr::OriginalName("Wood_Twigs")] WoodTwigs = 20, |
| | 370 | | [pbr::OriginalName("Canvas")] Canvas = 21, |
| | 371 | | [pbr::OriginalName("None")] None = 22, |
| | 372 | | } |
| | 373 | |
|
| | 374 | | } |
| | 375 | | #endregion |
| | 376 | |
|
| | 377 | | } |
| | 378 | |
|
| | 379 | | #endregion |
| | 380 | |
|
| | 381 | | } |
| | 382 | |
|
| | 383 | | #endregion Designer generated code |