diff --git a/Assets Editor/Appearances.cs b/Assets Editor/Appearances.cs index 5b5263e..fd0fcf4 100644 --- a/Assets Editor/Appearances.cs +++ b/Assets Editor/Appearances.cs @@ -1,6 +1,6 @@ // // Generated by the protocol buffer compiler. DO NOT EDIT! -// source: appearances.proto +// source: appearances/appearances.proto // #pragma warning disable 1591, 0612, 3021, 8981 #region Designer generated code @@ -9,131 +9,148 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace Tibia.Protobuf.Appearances { - - /// Holder for reflection information generated from appearances.proto - public static partial class AppearancesReflection { - - #region Descriptor - /// File descriptor for appearances.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static AppearancesReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "ChFhcHBlYXJhbmNlcy5wcm90bxIadGliaWEucHJvdG9idWYuYXBwZWFyYW5j", - "ZXMaDHNoYXJlZC5wcm90byLPAgoLQXBwZWFyYW5jZXMSNgoGb2JqZWN0GAEg", - "AygLMiYudGliaWEucHJvdG9idWYuYXBwZWFyYW5jZXMuQXBwZWFyYW5jZRI2", - "CgZvdXRmaXQYAiADKAsyJi50aWJpYS5wcm90b2J1Zi5hcHBlYXJhbmNlcy5B", - "cHBlYXJhbmNlEjYKBmVmZmVjdBgDIAMoCzImLnRpYmlhLnByb3RvYnVmLmFw", - "cGVhcmFuY2VzLkFwcGVhcmFuY2USNwoHbWlzc2lsZRgEIAMoCzImLnRpYmlh", - "LnByb3RvYnVmLmFwcGVhcmFuY2VzLkFwcGVhcmFuY2USXwoec3BlY2lhbF9t", - "ZWFuaW5nX2FwcGVhcmFuY2VfaWRzGAUgASgLMjcudGliaWEucHJvdG9idWYu", - "YXBwZWFyYW5jZXMuU3BlY2lhbE1lYW5pbmdBcHBlYXJhbmNlSWRzIjkKC1Nw", - "cml0ZVBoYXNlEhQKDGR1cmF0aW9uX21pbhgBIAEoDRIUCgxkdXJhdGlvbl9t", - "YXgYAiABKA0i8gEKD1Nwcml0ZUFuaW1hdGlvbhIbChNkZWZhdWx0X3N0YXJ0", - "X3BoYXNlGAEgASgNEhQKDHN5bmNocm9uaXplZBgCIAEoCBIaChJyYW5kb21f", - "c3RhcnRfcGhhc2UYAyABKAgSPQoJbG9vcF90eXBlGAQgASgOMioudGliaWEu", - "cHJvdG9idWYuc2hhcmVkLkFOSU1BVElPTl9MT09QX1RZUEUSEgoKbG9vcF9j", - "b3VudBgFIAEoDRI9CgxzcHJpdGVfcGhhc2UYBiADKAsyJy50aWJpYS5wcm90", - "b2J1Zi5hcHBlYXJhbmNlcy5TcHJpdGVQaGFzZSI6CgNCb3gSCQoBeBgBIAEo", - "DRIJCgF5GAIgASgNEg0KBXdpZHRoGAMgASgNEg4KBmhlaWdodBgEIAEoDSKm", - "AgoKU3ByaXRlSW5mbxIVCg1wYXR0ZXJuX3dpZHRoGAEgASgNEhYKDnBhdHRl", - "cm5faGVpZ2h0GAIgASgNEhUKDXBhdHRlcm5fZGVwdGgYAyABKA0SDgoGbGF5", - "ZXJzGAQgASgNEhEKCXNwcml0ZV9pZBgFIAMoDRIXCg9ib3VuZGluZ19zcXVh", - "cmUYByABKA0SPgoJYW5pbWF0aW9uGAYgASgLMisudGliaWEucHJvdG9idWYu", - "YXBwZWFyYW5jZXMuU3ByaXRlQW5pbWF0aW9uEhEKCWlzX29wYXF1ZRgIIAEo", - "CBJDChpib3VuZGluZ19ib3hfcGVyX2RpcmVjdGlvbhgJIAMoCzIfLnRpYmlh", - "LnByb3RvYnVmLmFwcGVhcmFuY2VzLkJveCKfAQoKRnJhbWVHcm91cBJIChFm", - "aXhlZF9mcmFtZV9ncm91cBgBIAEoDjItLnRpYmlhLnByb3RvYnVmLmFwcGVh", - "cmFuY2VzLkZJWEVEX0ZSQU1FX0dST1VQEgoKAmlkGAIgASgNEjsKC3Nwcml0", - "ZV9pbmZvGAMgASgLMiYudGliaWEucHJvdG9idWYuYXBwZWFyYW5jZXMuU3By", - "aXRlSW5mbyK0AQoKQXBwZWFyYW5jZRIKCgJpZBgBIAEoDRI7CgtmcmFtZV9n", - "cm91cBgCIAMoCzImLnRpYmlhLnByb3RvYnVmLmFwcGVhcmFuY2VzLkZyYW1l", - "R3JvdXASOgoFZmxhZ3MYAyABKAsyKy50aWJpYS5wcm90b2J1Zi5hcHBlYXJh", - "bmNlcy5BcHBlYXJhbmNlRmxhZ3MSDAoEbmFtZRgEIAEoCRITCgtkZXNjcmlw", - "dGlvbhgFIAEoCSKNDwoPQXBwZWFyYW5jZUZsYWdzEjwKBGJhbmsYASABKAsy", - "Li50aWJpYS5wcm90b2J1Zi5hcHBlYXJhbmNlcy5BcHBlYXJhbmNlRmxhZ0Jh", - "bmsSDAoEY2xpcBgCIAEoCBIOCgZib3R0b20YAyABKAgSCwoDdG9wGAQgASgI", - "EhEKCWNvbnRhaW5lchgFIAEoCBISCgpjdW11bGF0aXZlGAYgASgIEg4KBnVz", - "YWJsZRgHIAEoCBIQCghmb3JjZXVzZRgIIAEoCBIQCghtdWx0aXVzZRgJIAEo", - "CBI+CgV3cml0ZRgKIAEoCzIvLnRpYmlhLnByb3RvYnVmLmFwcGVhcmFuY2Vz", - "LkFwcGVhcmFuY2VGbGFnV3JpdGUSRwoKd3JpdGVfb25jZRgLIAEoCzIzLnRp", - "YmlhLnByb3RvYnVmLmFwcGVhcmFuY2VzLkFwcGVhcmFuY2VGbGFnV3JpdGVP", - "bmNlEhIKCmxpcXVpZHBvb2wYDCABKAgSDgoGdW5wYXNzGA0gASgIEg4KBnVu", - "bW92ZRgOIAEoCBIPCgd1bnNpZ2h0GA8gASgIEg0KBWF2b2lkGBAgASgIEh0K", - "FW5vX21vdmVtZW50X2FuaW1hdGlvbhgRIAEoCBIMCgR0YWtlGBIgASgIEhcK", - "D2xpcXVpZGNvbnRhaW5lchgTIAEoCBIMCgRoYW5nGBQgASgIEjwKBGhvb2sY", - "FSABKAsyLi50aWJpYS5wcm90b2J1Zi5hcHBlYXJhbmNlcy5BcHBlYXJhbmNl", - "RmxhZ0hvb2sSDgoGcm90YXRlGBYgASgIEj4KBWxpZ2h0GBcgASgLMi8udGli", - "aWEucHJvdG9idWYuYXBwZWFyYW5jZXMuQXBwZWFyYW5jZUZsYWdMaWdodBIR", - "Cglkb250X2hpZGUYGCABKAgSEwoLdHJhbnNsdWNlbnQYGSABKAgSPgoFc2hp", - "ZnQYGiABKAsyLy50aWJpYS5wcm90b2J1Zi5hcHBlYXJhbmNlcy5BcHBlYXJh", - "bmNlRmxhZ1NoaWZ0EkAKBmhlaWdodBgbIAEoCzIwLnRpYmlhLnByb3RvYnVm", - "LmFwcGVhcmFuY2VzLkFwcGVhcmFuY2VGbGFnSGVpZ2h0EhQKDGx5aW5nX29i", - "amVjdBgcIAEoCBIWCg5hbmltYXRlX2Fsd2F5cxgdIAEoCBJCCgdhdXRvbWFw", - "GB4gASgLMjEudGliaWEucHJvdG9idWYuYXBwZWFyYW5jZXMuQXBwZWFyYW5j", - "ZUZsYWdBdXRvbWFwEkQKCGxlbnNoZWxwGB8gASgLMjIudGliaWEucHJvdG9i", - "dWYuYXBwZWFyYW5jZXMuQXBwZWFyYW5jZUZsYWdMZW5zaGVscBIQCghmdWxs", - "YmFuaxggIAEoCBITCgtpZ25vcmVfbG9vaxghIAEoCBJCCgdjbG90aGVzGCIg", - "ASgLMjEudGliaWEucHJvdG9idWYuYXBwZWFyYW5jZXMuQXBwZWFyYW5jZUZs", - "YWdDbG90aGVzEk8KDmRlZmF1bHRfYWN0aW9uGCMgASgLMjcudGliaWEucHJv", - "dG9idWYuYXBwZWFyYW5jZXMuQXBwZWFyYW5jZUZsYWdEZWZhdWx0QWN0aW9u", - "EkAKBm1hcmtldBgkIAEoCzIwLnRpYmlhLnByb3RvYnVmLmFwcGVhcmFuY2Vz", - "LkFwcGVhcmFuY2VGbGFnTWFya2V0EgwKBHdyYXAYJSABKAgSDgoGdW53cmFw", - "GCYgASgIEhEKCXRvcGVmZmVjdBgnIAEoCBJCCgtucGNzYWxlZGF0YRgoIAMo", - "CzItLnRpYmlhLnByb3RvYnVmLmFwcGVhcmFuY2VzLkFwcGVhcmFuY2VGbGFn", - "TlBDElIKD2NoYW5nZWR0b2V4cGlyZRgpIAEoCzI5LnRpYmlhLnByb3RvYnVm", - "LmFwcGVhcmFuY2VzLkFwcGVhcmFuY2VGbGFnQ2hhbmdlZFRvRXhwaXJlEg4K", - "BmNvcnBzZRgqIAEoCBIVCg1wbGF5ZXJfY29ycHNlGCsgASgIEkwKDmN5Y2xv", - "cGVkaWFpdGVtGCwgASgLMjQudGliaWEucHJvdG9idWYuYXBwZWFyYW5jZXMu", - "QXBwZWFyYW5jZUZsYWdDeWNsb3BlZGlhEgwKBGFtbW8YLSABKAgSFwoPc2hv", - "d19vZmZfc29ja2V0GC4gASgIEhIKCnJlcG9ydGFibGUYLyABKAgSXgoVdXBn", - "cmFkZWNsYXNzaWZpY2F0aW9uGDAgASgLMj8udGliaWEucHJvdG9idWYuYXBw", - "ZWFyYW5jZXMuQXBwZWFyYW5jZUZsYWdVcGdyYWRlQ2xhc3NpZmljYXRpb24S", - "GwoTcmV2ZXJzZV9hZGRvbnNfZWFzdBgxIAEoCBIbChNyZXZlcnNlX2FkZG9u", - "c193ZXN0GDIgASgIEhwKFHJldmVyc2VfYWRkb25zX3NvdXRoGDMgASgIEhwK", - "FHJldmVyc2VfYWRkb25zX25vcnRoGDQgASgIEg8KB3dlYXJvdXQYNSABKAgS", - "EwoLY2xvY2tleHBpcmUYNiABKAgSDgoGZXhwaXJlGDcgASgIEhIKCmV4cGly", - "ZXN0b3AYOCABKAgiRQojQXBwZWFyYW5jZUZsYWdVcGdyYWRlQ2xhc3NpZmlj", - "YXRpb24SHgoWdXBncmFkZV9jbGFzc2lmaWNhdGlvbhgBIAEoDSInChJBcHBl", - "YXJhbmNlRmxhZ0JhbmsSEQoJd2F5cG9pbnRzGAEgASgNIi4KE0FwcGVhcmFu", - "Y2VGbGFnV3JpdGUSFwoPbWF4X3RleHRfbGVuZ3RoGAEgASgNIjcKF0FwcGVh", - "cmFuY2VGbGFnV3JpdGVPbmNlEhwKFG1heF90ZXh0X2xlbmd0aF9vbmNlGAEg", - "ASgNIjgKE0FwcGVhcmFuY2VGbGFnTGlnaHQSEgoKYnJpZ2h0bmVzcxgBIAEo", - "DRINCgVjb2xvchgCIAEoDSIpChRBcHBlYXJhbmNlRmxhZ0hlaWdodBIRCgll", - "bGV2YXRpb24YASABKA0iKwoTQXBwZWFyYW5jZUZsYWdTaGlmdBIJCgF4GAEg", - "ASgNEgkKAXkYAiABKA0iJQoVQXBwZWFyYW5jZUZsYWdDbG90aGVzEgwKBHNs", - "b3QYASABKA0iUwobQXBwZWFyYW5jZUZsYWdEZWZhdWx0QWN0aW9uEjQKBmFj", - "dGlvbhgBIAEoDjIkLnRpYmlhLnByb3RvYnVmLnNoYXJlZC5QTEFZRVJfQUNU", - "SU9OIuYBChRBcHBlYXJhbmNlRmxhZ01hcmtldBI2CghjYXRlZ29yeRgBIAEo", - "DjIkLnRpYmlhLnByb3RvYnVmLnNoYXJlZC5JVEVNX0NBVEVHT1JZEhoKEnRy", - "YWRlX2FzX29iamVjdF9pZBgCIAEoDRIZChFzaG93X2FzX29iamVjdF9pZBgD", - "IAEoDRJIChZyZXN0cmljdF90b19wcm9mZXNzaW9uGAUgAygOMigudGliaWEu", - "cHJvdG9idWYuc2hhcmVkLlBMQVlFUl9QUk9GRVNTSU9OEhUKDW1pbmltdW1f", - "bGV2ZWwYBiABKA0ipQEKEUFwcGVhcmFuY2VGbGFnTlBDEgwKBG5hbWUYASAB", - "KAkSEAoIbG9jYXRpb24YAiABKAkSEgoKc2FsZV9wcmljZRgDIAEoDRIRCgli", - "dXlfcHJpY2UYBCABKA0SHwoXY3VycmVuY3lfb2JqZWN0X3R5cGVfaWQYBSAB", - "KA0SKAogY3VycmVuY3lfcXVlc3RfZmxhZ19kaXNwbGF5X25hbWUYBiABKAki", - "JgoVQXBwZWFyYW5jZUZsYWdBdXRvbWFwEg0KBWNvbG9yGAEgASgNIkkKEkFw", - "cGVhcmFuY2VGbGFnSG9vaxIzCglkaXJlY3Rpb24YASABKA4yIC50aWJpYS5w", - "cm90b2J1Zi5zaGFyZWQuSE9PS19UWVBFIiQKFkFwcGVhcmFuY2VGbGFnTGVu", - "c2hlbHASCgoCaWQYASABKA0iPQodQXBwZWFyYW5jZUZsYWdDaGFuZ2VkVG9F", - "eHBpcmUSHAoUZm9ybWVyX29iamVjdF90eXBlaWQYASABKA0iMwoYQXBwZWFy", - "YW5jZUZsYWdDeWNsb3BlZGlhEhcKD2N5Y2xvcGVkaWFfdHlwZRgBIAEoDSKx", - "AQobU3BlY2lhbE1lYW5pbmdBcHBlYXJhbmNlSWRzEhQKDGdvbGRfY29pbl9p", - "ZBgBIAEoDRIYChBwbGF0aW51bV9jb2luX2lkGAIgASgNEhcKD2NyeXN0YWxf", - "Y29pbl9pZBgDIAEoDRIVCg10aWJpYV9jb2luX2lkGAQgASgNEhkKEXN0YW1w", - "ZWRfbGV0dGVyX2lkGAUgASgNEhcKD3N1cHBseV9zdGFzaF9pZBgGIAEoDSqB", - "AQoRRklYRURfRlJBTUVfR1JPVVASIQodRklYRURfRlJBTUVfR1JPVVBfT1VU", - "RklUX0lETEUQABIjCh9GSVhFRF9GUkFNRV9HUk9VUF9PVVRGSVRfTU9WSU5H", - "EAESJAogRklYRURfRlJBTUVfR1JPVVBfT0JKRUNUX0lOSVRJQUwQAg==")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::Tibia.Protobuf.Shared.SharedReflection.Descriptor, }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP), }, null, new pbr::GeneratedClrTypeInfo[] { +namespace Tibia.Protobuf.Appearances +{ + + /// Holder for reflection information generated from appearances/appearances.proto + public static partial class AppearancesReflection + { + + #region Descriptor + /// File descriptor for appearances/appearances.proto + public static pbr::FileDescriptor Descriptor + { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static AppearancesReflection() + { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Ch1hcHBlYXJhbmNlcy9hcHBlYXJhbmNlcy5wcm90byItCgpDb29yZGluYXRl", + "EgkKAXgYASABKA0SCQoBeRgCIAEoDRIJCgF6GAMgASgNIsgBCgtBcHBlYXJh", + "bmNlcxIbCgZvYmplY3QYASADKAsyCy5BcHBlYXJhbmNlEhsKBm91dGZpdBgC", + "IAMoCzILLkFwcGVhcmFuY2USGwoGZWZmZWN0GAMgAygLMgsuQXBwZWFyYW5j", + "ZRIcCgdtaXNzaWxlGAQgAygLMgsuQXBwZWFyYW5jZRJECh5zcGVjaWFsX21l", + "YW5pbmdfYXBwZWFyYW5jZV9pZHMYBSABKAsyHC5TcGVjaWFsTWVhbmluZ0Fw", + "cGVhcmFuY2VJZHMiOQoLU3ByaXRlUGhhc2USFAoMZHVyYXRpb25fbWluGAEg", + "ASgNEhQKDGR1cmF0aW9uX21heBgCIAEoDSLBAQoPU3ByaXRlQW5pbWF0aW9u", + "EhsKE2RlZmF1bHRfc3RhcnRfcGhhc2UYASABKA0SFAoMc3luY2hyb25pemVk", + "GAIgASgIEhoKEnJhbmRvbV9zdGFydF9waGFzZRgDIAEoCBInCglsb29wX3R5", + "cGUYBCABKA4yFC5BTklNQVRJT05fTE9PUF9UWVBFEhIKCmxvb3BfY291bnQY", + "BSABKA0SIgoMc3ByaXRlX3BoYXNlGAYgAygLMgwuU3ByaXRlUGhhc2UiOgoD", + "Qm94EgkKAXgYASABKA0SCQoBeRgCIAEoDRINCgV3aWR0aBgDIAEoDRIOCgZo", + "ZWlnaHQYBCABKA0i8AEKClNwcml0ZUluZm8SFQoNcGF0dGVybl93aWR0aBgB", + "IAEoDRIWCg5wYXR0ZXJuX2hlaWdodBgCIAEoDRIVCg1wYXR0ZXJuX2RlcHRo", + "GAMgASgNEg4KBmxheWVycxgEIAEoDRIRCglzcHJpdGVfaWQYBSADKA0SFwoP", + "Ym91bmRpbmdfc3F1YXJlGAcgASgNEiMKCWFuaW1hdGlvbhgGIAEoCzIQLlNw", + "cml0ZUFuaW1hdGlvbhIRCglpc19vcGFxdWUYCCABKAgSKAoaYm91bmRpbmdf", + "Ym94X3Blcl9kaXJlY3Rpb24YCSADKAsyBC5Cb3giaQoKRnJhbWVHcm91cBIt", + "ChFmaXhlZF9mcmFtZV9ncm91cBgBIAEoDjISLkZJWEVEX0ZSQU1FX0dST1VQ", + "EgoKAmlkGAIgASgNEiAKC3Nwcml0ZV9pbmZvGAMgASgLMgsuU3ByaXRlSW5m", + "byJ+CgpBcHBlYXJhbmNlEgoKAmlkGAEgASgNEiAKC2ZyYW1lX2dyb3VwGAIg", + "AygLMgsuRnJhbWVHcm91cBIfCgVmbGFncxgDIAEoCzIQLkFwcGVhcmFuY2VG", + "bGFncxIMCgRuYW1lGAQgASgMEhMKC2Rlc2NyaXB0aW9uGAUgASgMIu4LCg9B", + "cHBlYXJhbmNlRmxhZ3MSIQoEYmFuaxgBIAEoCzITLkFwcGVhcmFuY2VGbGFn", + "QmFuaxIMCgRjbGlwGAIgASgIEg4KBmJvdHRvbRgDIAEoCBILCgN0b3AYBCAB", + "KAgSEQoJY29udGFpbmVyGAUgASgIEhIKCmN1bXVsYXRpdmUYBiABKAgSDgoG", + "dXNhYmxlGAcgASgIEhAKCGZvcmNldXNlGAggASgIEhAKCG11bHRpdXNlGAkg", + "ASgIEiMKBXdyaXRlGAogASgLMhQuQXBwZWFyYW5jZUZsYWdXcml0ZRIsCgp3", + "cml0ZV9vbmNlGAsgASgLMhguQXBwZWFyYW5jZUZsYWdXcml0ZU9uY2USEgoK", + "bGlxdWlkcG9vbBgMIAEoCBIOCgZ1bnBhc3MYDSABKAgSDgoGdW5tb3ZlGA4g", + "ASgIEg8KB3Vuc2lnaHQYDyABKAgSDQoFYXZvaWQYECABKAgSHQoVbm9fbW92", + "ZW1lbnRfYW5pbWF0aW9uGBEgASgIEgwKBHRha2UYEiABKAgSFwoPbGlxdWlk", + "Y29udGFpbmVyGBMgASgIEgwKBGhhbmcYFCABKAgSIQoEaG9vaxgVIAEoCzIT", + "LkFwcGVhcmFuY2VGbGFnSG9vaxIOCgZyb3RhdGUYFiABKAgSIwoFbGlnaHQY", + "FyABKAsyFC5BcHBlYXJhbmNlRmxhZ0xpZ2h0EhEKCWRvbnRfaGlkZRgYIAEo", + "CBITCgt0cmFuc2x1Y2VudBgZIAEoCBIjCgVzaGlmdBgaIAEoCzIULkFwcGVh", + "cmFuY2VGbGFnU2hpZnQSJQoGaGVpZ2h0GBsgASgLMhUuQXBwZWFyYW5jZUZs", + "YWdIZWlnaHQSFAoMbHlpbmdfb2JqZWN0GBwgASgIEhYKDmFuaW1hdGVfYWx3", + "YXlzGB0gASgIEicKB2F1dG9tYXAYHiABKAsyFi5BcHBlYXJhbmNlRmxhZ0F1", + "dG9tYXASKQoIbGVuc2hlbHAYHyABKAsyFy5BcHBlYXJhbmNlRmxhZ0xlbnNo", + "ZWxwEhAKCGZ1bGxiYW5rGCAgASgIEhMKC2lnbm9yZV9sb29rGCEgASgIEicK", + "B2Nsb3RoZXMYIiABKAsyFi5BcHBlYXJhbmNlRmxhZ0Nsb3RoZXMSNAoOZGVm", + "YXVsdF9hY3Rpb24YIyABKAsyHC5BcHBlYXJhbmNlRmxhZ0RlZmF1bHRBY3Rp", + "b24SJQoGbWFya2V0GCQgASgLMhUuQXBwZWFyYW5jZUZsYWdNYXJrZXQSDAoE", + "d3JhcBglIAEoCBIOCgZ1bndyYXAYJiABKAgSEQoJdG9wZWZmZWN0GCcgASgI", + "EicKC25wY3NhbGVkYXRhGCggAygLMhIuQXBwZWFyYW5jZUZsYWdOUEMSNwoP", + "Y2hhbmdlZHRvZXhwaXJlGCkgASgLMh4uQXBwZWFyYW5jZUZsYWdDaGFuZ2Vk", + "VG9FeHBpcmUSDgoGY29ycHNlGCogASgIEhUKDXBsYXllcl9jb3Jwc2UYKyAB", + "KAgSMQoOY3ljbG9wZWRpYWl0ZW0YLCABKAsyGS5BcHBlYXJhbmNlRmxhZ0N5", + "Y2xvcGVkaWESDAoEYW1tbxgtIAEoCBIXCg9zaG93X29mZl9zb2NrZXQYLiAB", + "KAgSEgoKcmVwb3J0YWJsZRgvIAEoCBJDChV1cGdyYWRlY2xhc3NpZmljYXRp", + "b24YMCABKAsyJC5BcHBlYXJhbmNlRmxhZ1VwZ3JhZGVDbGFzc2lmaWNhdGlv", + "bhIbChNyZXZlcnNlX2FkZG9uc19lYXN0GDEgASgIEhsKE3JldmVyc2VfYWRk", + "b25zX3dlc3QYMiABKAgSHAoUcmV2ZXJzZV9hZGRvbnNfc291dGgYMyABKAgS", + "HAoUcmV2ZXJzZV9hZGRvbnNfbm9ydGgYNCABKAgSDwoHd2Vhcm91dBg1IAEo", + "CBITCgtjbG9ja2V4cGlyZRg2IAEoCBIOCgZleHBpcmUYNyABKAgSEgoKZXhw", + "aXJlc3RvcBg4IAEoCBIPCgd3cmFwa2l0GDkgASgIIkUKI0FwcGVhcmFuY2VG", + "bGFnVXBncmFkZUNsYXNzaWZpY2F0aW9uEh4KFnVwZ3JhZGVfY2xhc3NpZmlj", + "YXRpb24YASABKA0iJwoSQXBwZWFyYW5jZUZsYWdCYW5rEhEKCXdheXBvaW50", + "cxgBIAEoDSIuChNBcHBlYXJhbmNlRmxhZ1dyaXRlEhcKD21heF90ZXh0X2xl", + "bmd0aBgBIAEoDSI3ChdBcHBlYXJhbmNlRmxhZ1dyaXRlT25jZRIcChRtYXhf", + "dGV4dF9sZW5ndGhfb25jZRgBIAEoDSI4ChNBcHBlYXJhbmNlRmxhZ0xpZ2h0", + "EhIKCmJyaWdodG5lc3MYASABKA0SDQoFY29sb3IYAiABKA0iKQoUQXBwZWFy", + "YW5jZUZsYWdIZWlnaHQSEQoJZWxldmF0aW9uGAEgASgNIisKE0FwcGVhcmFu", + "Y2VGbGFnU2hpZnQSCQoBeBgBIAEoDRIJCgF5GAIgASgNIiUKFUFwcGVhcmFu", + "Y2VGbGFnQ2xvdGhlcxIMCgRzbG90GAEgASgNIj0KG0FwcGVhcmFuY2VGbGFn", + "RGVmYXVsdEFjdGlvbhIeCgZhY3Rpb24YASABKA4yDi5QTEFZRVJfQUNUSU9O", + "IroBChRBcHBlYXJhbmNlRmxhZ01hcmtldBIgCghjYXRlZ29yeRgBIAEoDjIO", + "LklURU1fQ0FURUdPUlkSGgoSdHJhZGVfYXNfb2JqZWN0X2lkGAIgASgNEhkK", + "EXNob3dfYXNfb2JqZWN0X2lkGAMgASgNEjIKFnJlc3RyaWN0X3RvX3Byb2Zl", + "c3Npb24YBSADKA4yEi5QTEFZRVJfUFJPRkVTU0lPThIVCg1taW5pbXVtX2xl", + "dmVsGAYgASgNIqUBChFBcHBlYXJhbmNlRmxhZ05QQxIMCgRuYW1lGAEgASgM", + "EhAKCGxvY2F0aW9uGAIgASgMEhIKCnNhbGVfcHJpY2UYAyABKA0SEQoJYnV5", + "X3ByaWNlGAQgASgNEh8KF2N1cnJlbmN5X29iamVjdF90eXBlX2lkGAUgASgN", + "EigKIGN1cnJlbmN5X3F1ZXN0X2ZsYWdfZGlzcGxheV9uYW1lGAYgASgMIiYK", + "FUFwcGVhcmFuY2VGbGFnQXV0b21hcBINCgVjb2xvchgBIAEoDSIzChJBcHBl", + "YXJhbmNlRmxhZ0hvb2sSHQoJZGlyZWN0aW9uGAEgASgOMgouSE9PS19UWVBF", + "IiQKFkFwcGVhcmFuY2VGbGFnTGVuc2hlbHASCgoCaWQYASABKA0iPQodQXBw", + "ZWFyYW5jZUZsYWdDaGFuZ2VkVG9FeHBpcmUSHAoUZm9ybWVyX29iamVjdF90", + "eXBlaWQYASABKA0iMwoYQXBwZWFyYW5jZUZsYWdDeWNsb3BlZGlhEhcKD2N5", + "Y2xvcGVkaWFfdHlwZRgBIAEoDSLKAQobU3BlY2lhbE1lYW5pbmdBcHBlYXJh", + "bmNlSWRzEhQKDGdvbGRfY29pbl9pZBgBIAEoDRIYChBwbGF0aW51bV9jb2lu", + "X2lkGAIgASgNEhcKD2NyeXN0YWxfY29pbl9pZBgDIAEoDRIVCg10aWJpYV9j", + "b2luX2lkGAQgASgNEhkKEXN0YW1wZWRfbGV0dGVyX2lkGAUgASgNEhcKD3N1", + "cHBseV9zdGFzaF9pZBgGIAEoDRIXCg9yZXdhcmRfY2hlc3RfaWQYByABKA0q", + "lAEKDVBMQVlFUl9BQ1RJT04SFgoSUExBWUVSX0FDVElPTl9OT05FEAASFgoS", + "UExBWUVSX0FDVElPTl9MT09LEAESFQoRUExBWUVSX0FDVElPTl9VU0UQAhIW", + "ChJQTEFZRVJfQUNUSU9OX09QRU4QAxIkCiBQTEFZRVJfQUNUSU9OX0FVVE9X", + "QUxLX0hJR0hMSUdIVBAEKs0FCg1JVEVNX0NBVEVHT1JZEhgKFElURU1fQ0FU", + "RUdPUllfQVJNT1JTEAESGQoVSVRFTV9DQVRFR09SWV9BTVVMRVRTEAISFwoT", + "SVRFTV9DQVRFR09SWV9CT09UUxADEhwKGElURU1fQ0FURUdPUllfQ09OVEFJ", + "TkVSUxAEEhwKGElURU1fQ0FURUdPUllfREVDT1JBVElPThAFEhYKEklURU1f", + "Q0FURUdPUllfRk9PRBAGEh4KGklURU1fQ0FURUdPUllfSEVMTUVUU19IQVRT", + "EAcSFgoSSVRFTV9DQVRFR09SWV9MRUdTEAgSGAoUSVRFTV9DQVRFR09SWV9P", + "VEhFUlMQCRIZChVJVEVNX0NBVEVHT1JZX1BPVElPTlMQChIXChNJVEVNX0NB", + "VEVHT1JZX1JJTkdTEAsSFwoTSVRFTV9DQVRFR09SWV9SVU5FUxAMEhkKFUlU", + "RU1fQ0FURUdPUllfU0hJRUxEUxANEhcKE0lURU1fQ0FURUdPUllfVE9PTFMQ", + "DhIbChdJVEVNX0NBVEVHT1JZX1ZBTFVBQkxFUxAPEhwKGElURU1fQ0FURUdP", + "UllfQU1NVU5JVElPThAQEhYKEklURU1fQ0FURUdPUllfQVhFUxAREhcKE0lU", + "RU1fQ0FURUdPUllfQ0xVQlMQEhIiCh5JVEVNX0NBVEVHT1JZX0RJU1RBTkNF", + "X1dFQVBPTlMQExIYChRJVEVNX0NBVEVHT1JZX1NXT1JEUxAUEhwKGElURU1f", + "Q0FURUdPUllfV0FORFNfUk9EUxAVEiEKHUlURU1fQ0FURUdPUllfUFJFTUlV", + "TV9TQ1JPTExTEBYSHQoZSVRFTV9DQVRFR09SWV9USUJJQV9DT0lOUxAXEiMK", + "H0lURU1fQ0FURUdPUllfQ1JFQVRVUkVfUFJPRFVDVFMQGBIYChRJVEVNX0NB", + "VEVHT1JZX1FVSVZFUhAZKu0BChFQTEFZRVJfUFJPRkVTU0lPThIiChVQTEFZ", + "RVJfUFJPRkVTU0lPTl9BTlkQ////////////ARIaChZQTEFZRVJfUFJPRkVT", + "U0lPTl9OT05FEAASHAoYUExBWUVSX1BST0ZFU1NJT05fS05JR0hUEAESHQoZ", + "UExBWUVSX1BST0ZFU1NJT05fUEFMQURJThACEh4KGlBMQVlFUl9QUk9GRVNT", + "SU9OX1NPUkNFUkVSEAMSGwoXUExBWUVSX1BST0ZFU1NJT05fRFJVSUQQBBIe", + "ChpQTEFZRVJfUFJPRkVTU0lPTl9QUk9NT1RFRBAKKoMBChNBTklNQVRJT05f", + "TE9PUF9UWVBFEikKHEFOSU1BVElPTl9MT09QX1RZUEVfUElOR1BPTkcQ////", + "////////ARIgChxBTklNQVRJT05fTE9PUF9UWVBFX0lORklOSVRFEAASHwob", + "QU5JTUFUSU9OX0xPT1BfVFlQRV9DT1VOVEVEEAEqNAoJSE9PS19UWVBFEhMK", + "D0hPT0tfVFlQRV9TT1VUSBABEhIKDkhPT0tfVFlQRV9FQVNUEAIqgQEKEUZJ", + "WEVEX0ZSQU1FX0dST1VQEiEKHUZJWEVEX0ZSQU1FX0dST1VQX09VVEZJVF9J", + "RExFEAASIwofRklYRURfRlJBTUVfR1JPVVBfT1VURklUX01PVklORxABEiQK", + "IEZJWEVEX0ZSQU1FX0dST1VQX09CSkVDVF9JTklUSUFMEAJCMloTYXBwZWFy", + "YW5jZXMvZ2VuO2dlbqoCGlRpYmlhLlByb3RvYnVmLkFwcGVhcmFuY2Vz")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] { typeof(global::Tibia.Protobuf.Appearances.PLAYER_ACTION), typeof(global::Tibia.Protobuf.Appearances.ITEM_CATEGORY), typeof(global::Tibia.Protobuf.Appearances.PLAYER_PROFESSION), typeof(global::Tibia.Protobuf.Appearances.ANIMATION_LOOP_TYPE), typeof(global::Tibia.Protobuf.Appearances.HOOK_TYPE), typeof(global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.Coordinate), global::Tibia.Protobuf.Appearances.Coordinate.Parser, new[]{ "X", "Y", "Z" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.Appearances), global::Tibia.Protobuf.Appearances.Appearances.Parser, new[]{ "Object", "Outfit", "Effect", "Missile", "SpecialMeaningAppearanceIds" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.SpritePhase), global::Tibia.Protobuf.Appearances.SpritePhase.Parser, new[]{ "DurationMin", "DurationMax" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.SpriteAnimation), global::Tibia.Protobuf.Appearances.SpriteAnimation.Parser, new[]{ "DefaultStartPhase", "Synchronized", "RandomStartPhase", "LoopType", "LoopCount", "SpritePhase" }, null, null, null, null), @@ -141,7 +158,7 @@ static AppearancesReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.SpriteInfo), global::Tibia.Protobuf.Appearances.SpriteInfo.Parser, new[]{ "PatternWidth", "PatternHeight", "PatternDepth", "Layers", "SpriteId", "BoundingSquare", "Animation", "IsOpaque", "BoundingBoxPerDirection" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.FrameGroup), global::Tibia.Protobuf.Appearances.FrameGroup.Parser, new[]{ "FixedFrameGroup", "Id", "SpriteInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.Appearance), global::Tibia.Protobuf.Appearances.Appearance.Parser, new[]{ "Id", "FrameGroup", "Flags", "Name", "Description" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.AppearanceFlags), global::Tibia.Protobuf.Appearances.AppearanceFlags.Parser, new[]{ "Bank", "Clip", "Bottom", "Top", "Container", "Cumulative", "Usable", "Forceuse", "Multiuse", "Write", "WriteOnce", "Liquidpool", "Unpass", "Unmove", "Unsight", "Avoid", "NoMovementAnimation", "Take", "Liquidcontainer", "Hang", "Hook", "Rotate", "Light", "DontHide", "Translucent", "Shift", "Height", "LyingObject", "AnimateAlways", "Automap", "Lenshelp", "Fullbank", "IgnoreLook", "Clothes", "DefaultAction", "Market", "Wrap", "Unwrap", "Topeffect", "Npcsaledata", "Changedtoexpire", "Corpse", "PlayerCorpse", "Cyclopediaitem", "Ammo", "ShowOffSocket", "Reportable", "Upgradeclassification", "ReverseAddonsEast", "ReverseAddonsWest", "ReverseAddonsSouth", "ReverseAddonsNorth", "Wearout", "Clockexpire", "Expire", "Expirestop" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.AppearanceFlags), global::Tibia.Protobuf.Appearances.AppearanceFlags.Parser, new[]{ "Bank", "Clip", "Bottom", "Top", "Container", "Cumulative", "Usable", "Forceuse", "Multiuse", "Write", "WriteOnce", "Liquidpool", "Unpass", "Unmove", "Unsight", "Avoid", "NoMovementAnimation", "Take", "Liquidcontainer", "Hang", "Hook", "Rotate", "Light", "DontHide", "Translucent", "Shift", "Height", "LyingObject", "AnimateAlways", "Automap", "Lenshelp", "Fullbank", "IgnoreLook", "Clothes", "DefaultAction", "Market", "Wrap", "Unwrap", "Topeffect", "Npcsaledata", "Changedtoexpire", "Corpse", "PlayerCorpse", "Cyclopediaitem", "Ammo", "ShowOffSocket", "Reportable", "Upgradeclassification", "ReverseAddonsEast", "ReverseAddonsWest", "ReverseAddonsSouth", "ReverseAddonsNorth", "Wearout", "Clockexpire", "Expire", "Expirestop", "Wrapkit" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.AppearanceFlagUpgradeClassification), global::Tibia.Protobuf.Appearances.AppearanceFlagUpgradeClassification.Parser, new[]{ "UpgradeClassification" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.AppearanceFlagBank), global::Tibia.Protobuf.Appearances.AppearanceFlagBank.Parser, new[]{ "Waypoints" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.AppearanceFlagWrite), global::Tibia.Protobuf.Appearances.AppearanceFlagWrite.Parser, new[]{ "MaxTextLength" }, null, null, null, null), @@ -158,176 +175,615 @@ static AppearancesReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.AppearanceFlagLenshelp), global::Tibia.Protobuf.Appearances.AppearanceFlagLenshelp.Parser, new[]{ "Id" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.AppearanceFlagChangedToExpire), global::Tibia.Protobuf.Appearances.AppearanceFlagChangedToExpire.Parser, new[]{ "FormerObjectTypeid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.AppearanceFlagCyclopedia), global::Tibia.Protobuf.Appearances.AppearanceFlagCyclopedia.Parser, new[]{ "CyclopediaType" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds), global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds.Parser, new[]{ "GoldCoinId", "PlatinumCoinId", "CrystalCoinId", "TibiaCoinId", "StampedLetterId", "SupplyStashId" }, null, null, null, null) - })); + new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds), global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds.Parser, new[]{ "GoldCoinId", "PlatinumCoinId", "CrystalCoinId", "TibiaCoinId", "StampedLetterId", "SupplyStashId", "RewardChestId" }, null, null, null, null) + })); + } + #endregion + + } + #region Enums + public enum PLAYER_ACTION + { + [pbr::OriginalName("PLAYER_ACTION_NONE")] None = 0, + [pbr::OriginalName("PLAYER_ACTION_LOOK")] Look = 1, + [pbr::OriginalName("PLAYER_ACTION_USE")] Use = 2, + [pbr::OriginalName("PLAYER_ACTION_OPEN")] Open = 3, + [pbr::OriginalName("PLAYER_ACTION_AUTOWALK_HIGHLIGHT")] AutowalkHighlight = 4, + } + + public enum ITEM_CATEGORY + { + [pbr::OriginalName("ITEM_CATEGORY_ARMORS")] Armors = 1, + [pbr::OriginalName("ITEM_CATEGORY_AMULETS")] Amulets = 2, + [pbr::OriginalName("ITEM_CATEGORY_BOOTS")] Boots = 3, + [pbr::OriginalName("ITEM_CATEGORY_CONTAINERS")] Containers = 4, + [pbr::OriginalName("ITEM_CATEGORY_DECORATION")] Decoration = 5, + [pbr::OriginalName("ITEM_CATEGORY_FOOD")] Food = 6, + [pbr::OriginalName("ITEM_CATEGORY_HELMETS_HATS")] HelmetsHats = 7, + [pbr::OriginalName("ITEM_CATEGORY_LEGS")] Legs = 8, + [pbr::OriginalName("ITEM_CATEGORY_OTHERS")] Others = 9, + [pbr::OriginalName("ITEM_CATEGORY_POTIONS")] Potions = 10, + [pbr::OriginalName("ITEM_CATEGORY_RINGS")] Rings = 11, + [pbr::OriginalName("ITEM_CATEGORY_RUNES")] Runes = 12, + [pbr::OriginalName("ITEM_CATEGORY_SHIELDS")] Shields = 13, + [pbr::OriginalName("ITEM_CATEGORY_TOOLS")] Tools = 14, + [pbr::OriginalName("ITEM_CATEGORY_VALUABLES")] Valuables = 15, + [pbr::OriginalName("ITEM_CATEGORY_AMMUNITION")] Ammunition = 16, + [pbr::OriginalName("ITEM_CATEGORY_AXES")] Axes = 17, + [pbr::OriginalName("ITEM_CATEGORY_CLUBS")] Clubs = 18, + [pbr::OriginalName("ITEM_CATEGORY_DISTANCE_WEAPONS")] DistanceWeapons = 19, + [pbr::OriginalName("ITEM_CATEGORY_SWORDS")] Swords = 20, + [pbr::OriginalName("ITEM_CATEGORY_WANDS_RODS")] WandsRods = 21, + [pbr::OriginalName("ITEM_CATEGORY_PREMIUM_SCROLLS")] PremiumScrolls = 22, + [pbr::OriginalName("ITEM_CATEGORY_TIBIA_COINS")] TibiaCoins = 23, + [pbr::OriginalName("ITEM_CATEGORY_CREATURE_PRODUCTS")] CreatureProducts = 24, + [pbr::OriginalName("ITEM_CATEGORY_QUIVER")] Quiver = 25, + } + + public enum PLAYER_PROFESSION + { + [pbr::OriginalName("PLAYER_PROFESSION_ANY")] Any = -1, + [pbr::OriginalName("PLAYER_PROFESSION_NONE")] None = 0, + [pbr::OriginalName("PLAYER_PROFESSION_KNIGHT")] Knight = 1, + [pbr::OriginalName("PLAYER_PROFESSION_PALADIN")] Paladin = 2, + [pbr::OriginalName("PLAYER_PROFESSION_SORCERER")] Sorcerer = 3, + [pbr::OriginalName("PLAYER_PROFESSION_DRUID")] Druid = 4, + [pbr::OriginalName("PLAYER_PROFESSION_PROMOTED")] Promoted = 10, + } + + public enum ANIMATION_LOOP_TYPE + { + [pbr::OriginalName("ANIMATION_LOOP_TYPE_PINGPONG")] Pingpong = -1, + [pbr::OriginalName("ANIMATION_LOOP_TYPE_INFINITE")] Infinite = 0, + [pbr::OriginalName("ANIMATION_LOOP_TYPE_COUNTED")] Counted = 1, + } + + public enum HOOK_TYPE + { + [pbr::OriginalName("HOOK_TYPE_SOUTH")] South = 1, + [pbr::OriginalName("HOOK_TYPE_EAST")] East = 2, + } + + public enum FIXED_FRAME_GROUP + { + [pbr::OriginalName("FIXED_FRAME_GROUP_OUTFIT_IDLE")] OutfitIdle = 0, + [pbr::OriginalName("FIXED_FRAME_GROUP_OUTFIT_MOVING")] OutfitMoving = 1, + [pbr::OriginalName("FIXED_FRAME_GROUP_OBJECT_INITIAL")] ObjectInitial = 2, } + #endregion - } - #region Enums - public enum FIXED_FRAME_GROUP { - [pbr::OriginalName("FIXED_FRAME_GROUP_OUTFIT_IDLE")] OutfitIdle = 0, - [pbr::OriginalName("FIXED_FRAME_GROUP_OUTFIT_MOVING")] OutfitMoving = 1, - [pbr::OriginalName("FIXED_FRAME_GROUP_OBJECT_INITIAL")] ObjectInitial = 2, - } - - #endregion - - #region Messages - public sealed partial class Appearances : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Appearances()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[0]; } - } + #region Messages + public sealed partial class Coordinate : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Coordinate()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[0]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Appearances() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Coordinate() + { + OnConstruction(); + } - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Appearances(Appearances other) : this() { - object_ = other.object_.Clone(); - outfit_ = other.outfit_.Clone(); - effect_ = other.effect_.Clone(); - missile_ = other.missile_.Clone(); - specialMeaningAppearanceIds_ = other.specialMeaningAppearanceIds_ != null ? other.specialMeaningAppearanceIds_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Coordinate(Coordinate other) : this() + { + _hasBits0 = other._hasBits0; + x_ = other.x_; + y_ = other.y_; + z_ = other.z_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Appearances Clone() { - return new Appearances(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Coordinate Clone() + { + return new Coordinate(this); + } - /// Field number for the "object" field. - public const int ObjectFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_object_codec - = pb::FieldCodec.ForMessage(10, global::Tibia.Protobuf.Appearances.Appearance.Parser); - private readonly pbc::RepeatedField object_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Object { - get { return object_; } - } + /// Field number for the "x" field. + public const int XFieldNumber = 1; + private readonly static uint XDefaultValue = 0; + + private uint x_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint X + { + get { if ((_hasBits0 & 1) != 0) { return x_; } else { return XDefaultValue; } } + set + { + _hasBits0 |= 1; + x_ = value; + } + } + /// Gets whether the "x" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasX + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "x" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearX() + { + _hasBits0 &= ~1; + } - /// Field number for the "outfit" field. - public const int OutfitFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_outfit_codec - = pb::FieldCodec.ForMessage(18, global::Tibia.Protobuf.Appearances.Appearance.Parser); - private readonly pbc::RepeatedField outfit_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Outfit { - get { return outfit_; } - } + /// Field number for the "y" field. + public const int YFieldNumber = 2; + private readonly static uint YDefaultValue = 0; + + private uint y_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Y + { + get { if ((_hasBits0 & 2) != 0) { return y_; } else { return YDefaultValue; } } + set + { + _hasBits0 |= 2; + y_ = value; + } + } + /// Gets whether the "y" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasY + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "y" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearY() + { + _hasBits0 &= ~2; + } - /// Field number for the "effect" field. - public const int EffectFieldNumber = 3; - private static readonly pb::FieldCodec _repeated_effect_codec - = pb::FieldCodec.ForMessage(26, global::Tibia.Protobuf.Appearances.Appearance.Parser); - private readonly pbc::RepeatedField effect_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Effect { - get { return effect_; } - } + /// Field number for the "z" field. + public const int ZFieldNumber = 3; + private readonly static uint ZDefaultValue = 0; + + private uint z_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Z + { + get { if ((_hasBits0 & 4) != 0) { return z_; } else { return ZDefaultValue; } } + set + { + _hasBits0 |= 4; + z_ = value; + } + } + /// Gets whether the "z" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasZ + { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "z" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearZ() + { + _hasBits0 &= ~4; + } - /// Field number for the "missile" field. - public const int MissileFieldNumber = 4; - private static readonly pb::FieldCodec _repeated_missile_codec - = pb::FieldCodec.ForMessage(34, global::Tibia.Protobuf.Appearances.Appearance.Parser); - private readonly pbc::RepeatedField missile_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Missile { - get { return missile_; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as Coordinate); + } - /// Field number for the "special_meaning_appearance_ids" field. - public const int SpecialMeaningAppearanceIdsFieldNumber = 5; - private global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds specialMeaningAppearanceIds_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds SpecialMeaningAppearanceIds { - get { return specialMeaningAppearanceIds_; } - set { - specialMeaningAppearanceIds_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Coordinate other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (X != other.X) return false; + if (Y != other.Y) return false; + if (Z != other.Z) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Appearances); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasX) hash ^= X.GetHashCode(); + if (HasY) hash ^= Y.GetHashCode(); + if (HasZ) hash ^= Z.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Appearances other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if(!object_.Equals(other.object_)) return false; - if(!outfit_.Equals(other.outfit_)) return false; - if(!effect_.Equals(other.effect_)) return false; - if(!missile_.Equals(other.missile_)) return false; - if (!object.Equals(SpecialMeaningAppearanceIds, other.SpecialMeaningAppearanceIds)) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - hash ^= object_.GetHashCode(); - hash ^= outfit_.GetHashCode(); - hash ^= effect_.GetHashCode(); - hash ^= missile_.GetHashCode(); - if (specialMeaningAppearanceIds_ != null) hash ^= SpecialMeaningAppearanceIds.GetHashCode(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else + if (HasX) { + output.WriteRawTag(8); + output.WriteUInt32(X); + } + if (HasY) { + output.WriteRawTag(16); + output.WriteUInt32(Y); + } + if (HasZ) { + output.WriteRawTag(24); + output.WriteUInt32(Z); + } if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + _unknownFields.WriteTo(output); } - return hash; - } +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasX) + { + output.WriteRawTag(8); + output.WriteUInt32(X); + } + if (HasY) + { + output.WriteRawTag(16); + output.WriteUInt32(Y); + } + if (HasZ) + { + output.WriteRawTag(24); + output.WriteUInt32(Z); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasX) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(X); + } + if (HasY) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Y); + } + if (HasZ) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Z); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Coordinate other) + { + if (other == null) + { + return; + } + if (other.HasX) + { + X = other.X; + } + if (other.HasY) + { + Y = other.Y; + } + if (other.HasZ) + { + Z = other.Z; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + X = input.ReadUInt32(); + break; + } + case 16: { + Y = input.ReadUInt32(); + break; + } + case 24: { + Z = input.ReadUInt32(); + break; + } + } + } +#endif + } + +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + X = input.ReadUInt32(); + break; + } + case 16: + { + Y = input.ReadUInt32(); + break; + } + case 24: + { + Z = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class Appearances : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Appearances()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[1]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Appearances() + { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Appearances(Appearances other) : this() + { + object_ = other.object_.Clone(); + outfit_ = other.outfit_.Clone(); + effect_ = other.effect_.Clone(); + missile_ = other.missile_.Clone(); + specialMeaningAppearanceIds_ = other.specialMeaningAppearanceIds_ != null ? other.specialMeaningAppearanceIds_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Appearances Clone() + { + return new Appearances(this); + } + + /// Field number for the "object" field. + public const int ObjectFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_object_codec + = pb::FieldCodec.ForMessage(10, global::Tibia.Protobuf.Appearances.Appearance.Parser); + private readonly pbc::RepeatedField object_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Object + { + get { return object_; } + } + + /// Field number for the "outfit" field. + public const int OutfitFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_outfit_codec + = pb::FieldCodec.ForMessage(18, global::Tibia.Protobuf.Appearances.Appearance.Parser); + private readonly pbc::RepeatedField outfit_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Outfit + { + get { return outfit_; } + } + + /// Field number for the "effect" field. + public const int EffectFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_effect_codec + = pb::FieldCodec.ForMessage(26, global::Tibia.Protobuf.Appearances.Appearance.Parser); + private readonly pbc::RepeatedField effect_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Effect + { + get { return effect_; } + } + + /// Field number for the "missile" field. + public const int MissileFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_missile_codec + = pb::FieldCodec.ForMessage(34, global::Tibia.Protobuf.Appearances.Appearance.Parser); + private readonly pbc::RepeatedField missile_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Missile + { + get { return missile_; } + } + + /// Field number for the "special_meaning_appearance_ids" field. + public const int SpecialMeaningAppearanceIdsFieldNumber = 5; + private global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds specialMeaningAppearanceIds_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds SpecialMeaningAppearanceIds + { + get { return specialMeaningAppearanceIds_; } + set + { + specialMeaningAppearanceIds_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as Appearances); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Appearances other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (!object_.Equals(other.object_)) return false; + if (!outfit_.Equals(other.outfit_)) return false; + if (!effect_.Equals(other.effect_)) return false; + if (!missile_.Equals(other.missile_)) return false; + if (!object.Equals(SpecialMeaningAppearanceIds, other.SpecialMeaningAppearanceIds)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + hash ^= object_.GetHashCode(); + hash ^= outfit_.GetHashCode(); + hash ^= effect_.GetHashCode(); + hash ^= missile_.GetHashCode(); + if (specialMeaningAppearanceIds_ != null) hash ^= SpecialMeaningAppearanceIds.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else object_.WriteTo(output, _repeated_object_codec); outfit_.WriteTo(output, _repeated_outfit_codec); effect_.WriteTo(output, _repeated_effect_codec); @@ -339,69 +795,80 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } +#endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - object_.WriteTo(ref output, _repeated_object_codec); - outfit_.WriteTo(ref output, _repeated_outfit_codec); - effect_.WriteTo(ref output, _repeated_effect_codec); - missile_.WriteTo(ref output, _repeated_missile_codec); - if (specialMeaningAppearanceIds_ != null) { - output.WriteRawTag(42); - output.WriteMessage(SpecialMeaningAppearanceIds); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - size += object_.CalculateSize(_repeated_object_codec); - size += outfit_.CalculateSize(_repeated_outfit_codec); - size += effect_.CalculateSize(_repeated_effect_codec); - size += missile_.CalculateSize(_repeated_missile_codec); - if (specialMeaningAppearanceIds_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpecialMeaningAppearanceIds); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + object_.WriteTo(ref output, _repeated_object_codec); + outfit_.WriteTo(ref output, _repeated_outfit_codec); + effect_.WriteTo(ref output, _repeated_effect_codec); + missile_.WriteTo(ref output, _repeated_missile_codec); + if (specialMeaningAppearanceIds_ != null) + { + output.WriteRawTag(42); + output.WriteMessage(SpecialMeaningAppearanceIds); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + size += object_.CalculateSize(_repeated_object_codec); + size += outfit_.CalculateSize(_repeated_outfit_codec); + size += effect_.CalculateSize(_repeated_effect_codec); + size += missile_.CalculateSize(_repeated_missile_codec); + if (specialMeaningAppearanceIds_ != null) + { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpecialMeaningAppearanceIds); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Appearances other) { - if (other == null) { - return; - } - object_.Add(other.object_); - outfit_.Add(other.outfit_); - effect_.Add(other.effect_); - missile_.Add(other.missile_); - if (other.specialMeaningAppearanceIds_ != null) { - if (specialMeaningAppearanceIds_ == null) { - SpecialMeaningAppearanceIds = new global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Appearances other) + { + if (other == null) + { + return; + } + object_.Add(other.object_); + outfit_.Add(other.outfit_); + effect_.Add(other.effect_); + missile_.Add(other.missile_); + if (other.specialMeaningAppearanceIds_ != null) + { + if (specialMeaningAppearanceIds_ == null) + { + SpecialMeaningAppearanceIds = new global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds(); + } + SpecialMeaningAppearanceIds.MergeFrom(other.SpecialMeaningAppearanceIds); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } - SpecialMeaningAppearanceIds.MergeFrom(other.SpecialMeaningAppearanceIds); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -433,194 +900,224 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } +#endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - object_.AddEntriesFrom(ref input, _repeated_object_codec); - break; - } - case 18: { - outfit_.AddEntriesFrom(ref input, _repeated_outfit_codec); - break; - } - case 26: { - effect_.AddEntriesFrom(ref input, _repeated_effect_codec); - break; - } - case 34: { - missile_.AddEntriesFrom(ref input, _repeated_missile_codec); - break; - } - case 42: { - if (specialMeaningAppearanceIds_ == null) { - SpecialMeaningAppearanceIds = new global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds(); +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + { + object_.AddEntriesFrom(ref input, _repeated_object_codec); + break; + } + case 18: + { + outfit_.AddEntriesFrom(ref input, _repeated_outfit_codec); + break; + } + case 26: + { + effect_.AddEntriesFrom(ref input, _repeated_effect_codec); + break; + } + case 34: + { + missile_.AddEntriesFrom(ref input, _repeated_missile_codec); + break; + } + case 42: + { + if (specialMeaningAppearanceIds_ == null) + { + SpecialMeaningAppearanceIds = new global::Tibia.Protobuf.Appearances.SpecialMeaningAppearanceIds(); + } + input.ReadMessage(SpecialMeaningAppearanceIds); + break; + } + } } - input.ReadMessage(SpecialMeaningAppearanceIds); - break; - } } - } - } - #endif - - } - - public sealed partial class SpritePhase : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpritePhase()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[1]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpritePhase() { - OnConstruction(); - } +#endif + + } + + public sealed partial class SpritePhase : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpritePhase()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[2]; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpritePhase(SpritePhase other) : this() { - _hasBits0 = other._hasBits0; - durationMin_ = other.durationMin_; - durationMax_ = other.durationMax_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpritePhase() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpritePhase Clone() { - return new SpritePhase(this); - } + partial void OnConstruction(); - /// Field number for the "duration_min" field. - public const int DurationMinFieldNumber = 1; - private readonly static uint DurationMinDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpritePhase(SpritePhase other) : this() + { + _hasBits0 = other._hasBits0; + durationMin_ = other.durationMin_; + durationMax_ = other.durationMax_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - private uint durationMin_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint DurationMin { - get { if ((_hasBits0 & 1) != 0) { return durationMin_; } else { return DurationMinDefaultValue; } } - set { - _hasBits0 |= 1; - durationMin_ = value; - } - } - /// Gets whether the "duration_min" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasDurationMin { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "duration_min" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearDurationMin() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpritePhase Clone() + { + return new SpritePhase(this); + } - /// Field number for the "duration_max" field. - public const int DurationMaxFieldNumber = 2; - private readonly static uint DurationMaxDefaultValue = 0; + /// Field number for the "duration_min" field. + public const int DurationMinFieldNumber = 1; + private readonly static uint DurationMinDefaultValue = 0; + + private uint durationMin_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DurationMin + { + get { if ((_hasBits0 & 1) != 0) { return durationMin_; } else { return DurationMinDefaultValue; } } + set + { + _hasBits0 |= 1; + durationMin_ = value; + } + } + /// Gets whether the "duration_min" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDurationMin + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "duration_min" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDurationMin() + { + _hasBits0 &= ~1; + } - private uint durationMax_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint DurationMax { - get { if ((_hasBits0 & 2) != 0) { return durationMax_; } else { return DurationMaxDefaultValue; } } - set { - _hasBits0 |= 2; - durationMax_ = value; - } - } - /// Gets whether the "duration_max" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasDurationMax { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "duration_max" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearDurationMax() { - _hasBits0 &= ~2; - } + /// Field number for the "duration_max" field. + public const int DurationMaxFieldNumber = 2; + private readonly static uint DurationMaxDefaultValue = 0; + + private uint durationMax_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DurationMax + { + get { if ((_hasBits0 & 2) != 0) { return durationMax_; } else { return DurationMaxDefaultValue; } } + set + { + _hasBits0 |= 2; + durationMax_ = value; + } + } + /// Gets whether the "duration_max" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDurationMax + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "duration_max" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDurationMax() + { + _hasBits0 &= ~2; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SpritePhase); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as SpritePhase); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SpritePhase other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (DurationMin != other.DurationMin) return false; - if (DurationMax != other.DurationMax) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpritePhase other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (DurationMin != other.DurationMin) return false; + if (DurationMax != other.DurationMax) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasDurationMin) hash ^= DurationMin.GetHashCode(); - if (HasDurationMax) hash ^= DurationMax.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasDurationMin) hash ^= DurationMin.GetHashCode(); + if (HasDurationMax) hash ^= DurationMax.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasDurationMin) { output.WriteRawTag(8); output.WriteUInt32(DurationMin); @@ -632,64 +1129,77 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } +#endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasDurationMin) { - output.WriteRawTag(8); - output.WriteUInt32(DurationMin); - } - if (HasDurationMax) { - output.WriteRawTag(16); - output.WriteUInt32(DurationMax); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasDurationMin) + { + output.WriteRawTag(8); + output.WriteUInt32(DurationMin); + } + if (HasDurationMax) + { + output.WriteRawTag(16); + output.WriteUInt32(DurationMax); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasDurationMin) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DurationMin); + } + if (HasDurationMax) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DurationMax); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasDurationMin) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DurationMin); - } - if (HasDurationMax) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DurationMax); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SpritePhase other) + { + if (other == null) + { + return; + } + if (other.HasDurationMin) + { + DurationMin = other.DurationMin; + } + if (other.HasDurationMax) + { + DurationMax = other.DurationMax; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SpritePhase other) { - if (other == null) { - return; - } - if (other.HasDurationMin) { - DurationMin = other.DurationMin; - } - if (other.HasDurationMax) { - DurationMax = other.DurationMax; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -706,283 +1216,322 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - DurationMin = input.ReadUInt32(); - break; - } - case 16: { - DurationMax = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class SpriteAnimation : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpriteAnimation()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[2]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpriteAnimation() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpriteAnimation(SpriteAnimation other) : this() { - _hasBits0 = other._hasBits0; - defaultStartPhase_ = other.defaultStartPhase_; - synchronized_ = other.synchronized_; - randomStartPhase_ = other.randomStartPhase_; - loopType_ = other.loopType_; - loopCount_ = other.loopCount_; - spritePhase_ = other.spritePhase_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpriteAnimation Clone() { - return new SpriteAnimation(this); - } - - /// Field number for the "default_start_phase" field. - public const int DefaultStartPhaseFieldNumber = 1; - private readonly static uint DefaultStartPhaseDefaultValue = 0; +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + DurationMin = input.ReadUInt32(); + break; + } + case 16: + { + DurationMax = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class SpriteAnimation : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpriteAnimation()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[3]; } + } - private uint defaultStartPhase_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint DefaultStartPhase { - get { if ((_hasBits0 & 1) != 0) { return defaultStartPhase_; } else { return DefaultStartPhaseDefaultValue; } } - set { - _hasBits0 |= 1; - defaultStartPhase_ = value; - } - } - /// Gets whether the "default_start_phase" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasDefaultStartPhase { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "default_start_phase" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearDefaultStartPhase() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - /// Field number for the "synchronized" field. - public const int SynchronizedFieldNumber = 2; - private readonly static bool SynchronizedDefaultValue = false; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpriteAnimation() + { + OnConstruction(); + } - private bool synchronized_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Synchronized { - get { if ((_hasBits0 & 2) != 0) { return synchronized_; } else { return SynchronizedDefaultValue; } } - set { - _hasBits0 |= 2; - synchronized_ = value; - } - } - /// Gets whether the "synchronized" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSynchronized { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "synchronized" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSynchronized() { - _hasBits0 &= ~2; - } + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpriteAnimation(SpriteAnimation other) : this() + { + _hasBits0 = other._hasBits0; + defaultStartPhase_ = other.defaultStartPhase_; + synchronized_ = other.synchronized_; + randomStartPhase_ = other.randomStartPhase_; + loopType_ = other.loopType_; + loopCount_ = other.loopCount_; + spritePhase_ = other.spritePhase_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "random_start_phase" field. - public const int RandomStartPhaseFieldNumber = 3; - private readonly static bool RandomStartPhaseDefaultValue = false; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpriteAnimation Clone() + { + return new SpriteAnimation(this); + } - private bool randomStartPhase_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool RandomStartPhase { - get { if ((_hasBits0 & 4) != 0) { return randomStartPhase_; } else { return RandomStartPhaseDefaultValue; } } - set { - _hasBits0 |= 4; - randomStartPhase_ = value; - } - } - /// Gets whether the "random_start_phase" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRandomStartPhase { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "random_start_phase" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRandomStartPhase() { - _hasBits0 &= ~4; - } + /// Field number for the "default_start_phase" field. + public const int DefaultStartPhaseFieldNumber = 1; + private readonly static uint DefaultStartPhaseDefaultValue = 0; + + private uint defaultStartPhase_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint DefaultStartPhase + { + get { if ((_hasBits0 & 1) != 0) { return defaultStartPhase_; } else { return DefaultStartPhaseDefaultValue; } } + set + { + _hasBits0 |= 1; + defaultStartPhase_ = value; + } + } + /// Gets whether the "default_start_phase" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDefaultStartPhase + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "default_start_phase" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDefaultStartPhase() + { + _hasBits0 &= ~1; + } - /// Field number for the "loop_type" field. - public const int LoopTypeFieldNumber = 4; - private readonly static global::Tibia.Protobuf.Shared.ANIMATION_LOOP_TYPE LoopTypeDefaultValue = global::Tibia.Protobuf.Shared.ANIMATION_LOOP_TYPE.Pingpong; + /// Field number for the "synchronized" field. + public const int SynchronizedFieldNumber = 2; + private readonly static bool SynchronizedDefaultValue = false; + + private bool synchronized_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Synchronized + { + get { if ((_hasBits0 & 2) != 0) { return synchronized_; } else { return SynchronizedDefaultValue; } } + set + { + _hasBits0 |= 2; + synchronized_ = value; + } + } + /// Gets whether the "synchronized" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSynchronized + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "synchronized" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSynchronized() + { + _hasBits0 &= ~2; + } - private global::Tibia.Protobuf.Shared.ANIMATION_LOOP_TYPE loopType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Shared.ANIMATION_LOOP_TYPE LoopType { - get { if ((_hasBits0 & 8) != 0) { return loopType_; } else { return LoopTypeDefaultValue; } } - set { - _hasBits0 |= 8; - loopType_ = value; - } - } - /// Gets whether the "loop_type" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasLoopType { - get { return (_hasBits0 & 8) != 0; } - } - /// Clears the value of the "loop_type" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearLoopType() { - _hasBits0 &= ~8; - } + /// Field number for the "random_start_phase" field. + public const int RandomStartPhaseFieldNumber = 3; + private readonly static bool RandomStartPhaseDefaultValue = false; + + private bool randomStartPhase_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RandomStartPhase + { + get { if ((_hasBits0 & 4) != 0) { return randomStartPhase_; } else { return RandomStartPhaseDefaultValue; } } + set + { + _hasBits0 |= 4; + randomStartPhase_ = value; + } + } + /// Gets whether the "random_start_phase" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRandomStartPhase + { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "random_start_phase" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRandomStartPhase() + { + _hasBits0 &= ~4; + } - /// Field number for the "loop_count" field. - public const int LoopCountFieldNumber = 5; - private readonly static uint LoopCountDefaultValue = 0; + /// Field number for the "loop_type" field. + public const int LoopTypeFieldNumber = 4; + private readonly static global::Tibia.Protobuf.Appearances.ANIMATION_LOOP_TYPE LoopTypeDefaultValue = global::Tibia.Protobuf.Appearances.ANIMATION_LOOP_TYPE.Pingpong; + + private global::Tibia.Protobuf.Appearances.ANIMATION_LOOP_TYPE loopType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.ANIMATION_LOOP_TYPE LoopType + { + get { if ((_hasBits0 & 8) != 0) { return loopType_; } else { return LoopTypeDefaultValue; } } + set + { + _hasBits0 |= 8; + loopType_ = value; + } + } + /// Gets whether the "loop_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLoopType + { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "loop_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLoopType() + { + _hasBits0 &= ~8; + } - private uint loopCount_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint LoopCount { - get { if ((_hasBits0 & 16) != 0) { return loopCount_; } else { return LoopCountDefaultValue; } } - set { - _hasBits0 |= 16; - loopCount_ = value; - } - } - /// Gets whether the "loop_count" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasLoopCount { - get { return (_hasBits0 & 16) != 0; } - } - /// Clears the value of the "loop_count" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearLoopCount() { - _hasBits0 &= ~16; - } + /// Field number for the "loop_count" field. + public const int LoopCountFieldNumber = 5; + private readonly static uint LoopCountDefaultValue = 0; + + private uint loopCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint LoopCount + { + get { if ((_hasBits0 & 16) != 0) { return loopCount_; } else { return LoopCountDefaultValue; } } + set + { + _hasBits0 |= 16; + loopCount_ = value; + } + } + /// Gets whether the "loop_count" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLoopCount + { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "loop_count" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLoopCount() + { + _hasBits0 &= ~16; + } - /// Field number for the "sprite_phase" field. - public const int SpritePhaseFieldNumber = 6; - private static readonly pb::FieldCodec _repeated_spritePhase_codec - = pb::FieldCodec.ForMessage(50, global::Tibia.Protobuf.Appearances.SpritePhase.Parser); - private readonly pbc::RepeatedField spritePhase_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField SpritePhase { - get { return spritePhase_; } - } + /// Field number for the "sprite_phase" field. + public const int SpritePhaseFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_spritePhase_codec + = pb::FieldCodec.ForMessage(50, global::Tibia.Protobuf.Appearances.SpritePhase.Parser); + private readonly pbc::RepeatedField spritePhase_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SpritePhase + { + get { return spritePhase_; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SpriteAnimation); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as SpriteAnimation); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SpriteAnimation other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (DefaultStartPhase != other.DefaultStartPhase) return false; - if (Synchronized != other.Synchronized) return false; - if (RandomStartPhase != other.RandomStartPhase) return false; - if (LoopType != other.LoopType) return false; - if (LoopCount != other.LoopCount) return false; - if(!spritePhase_.Equals(other.spritePhase_)) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpriteAnimation other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (DefaultStartPhase != other.DefaultStartPhase) return false; + if (Synchronized != other.Synchronized) return false; + if (RandomStartPhase != other.RandomStartPhase) return false; + if (LoopType != other.LoopType) return false; + if (LoopCount != other.LoopCount) return false; + if (!spritePhase_.Equals(other.spritePhase_)) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasDefaultStartPhase) hash ^= DefaultStartPhase.GetHashCode(); - if (HasSynchronized) hash ^= Synchronized.GetHashCode(); - if (HasRandomStartPhase) hash ^= RandomStartPhase.GetHashCode(); - if (HasLoopType) hash ^= LoopType.GetHashCode(); - if (HasLoopCount) hash ^= LoopCount.GetHashCode(); - hash ^= spritePhase_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasDefaultStartPhase) hash ^= DefaultStartPhase.GetHashCode(); + if (HasSynchronized) hash ^= Synchronized.GetHashCode(); + if (HasRandomStartPhase) hash ^= RandomStartPhase.GetHashCode(); + if (HasLoopType) hash ^= LoopType.GetHashCode(); + if (HasLoopCount) hash ^= LoopCount.GetHashCode(); + hash ^= spritePhase_.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasDefaultStartPhase) { output.WriteRawTag(8); output.WriteUInt32(DefaultStartPhase); @@ -1007,97 +1556,119 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasDefaultStartPhase) { - output.WriteRawTag(8); - output.WriteUInt32(DefaultStartPhase); - } - if (HasSynchronized) { - output.WriteRawTag(16); - output.WriteBool(Synchronized); - } - if (HasRandomStartPhase) { - output.WriteRawTag(24); - output.WriteBool(RandomStartPhase); - } - if (HasLoopType) { - output.WriteRawTag(32); - output.WriteEnum((int) LoopType); - } - if (HasLoopCount) { - output.WriteRawTag(40); - output.WriteUInt32(LoopCount); - } - spritePhase_.WriteTo(ref output, _repeated_spritePhase_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasDefaultStartPhase) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DefaultStartPhase); - } - if (HasSynchronized) { - size += 1 + 1; - } - if (HasRandomStartPhase) { - size += 1 + 1; - } - if (HasLoopType) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) LoopType); - } - if (HasLoopCount) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LoopCount); - } - size += spritePhase_.CalculateSize(_repeated_spritePhase_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasDefaultStartPhase) + { + output.WriteRawTag(8); + output.WriteUInt32(DefaultStartPhase); + } + if (HasSynchronized) + { + output.WriteRawTag(16); + output.WriteBool(Synchronized); + } + if (HasRandomStartPhase) + { + output.WriteRawTag(24); + output.WriteBool(RandomStartPhase); + } + if (HasLoopType) + { + output.WriteRawTag(32); + output.WriteEnum((int)LoopType); + } + if (HasLoopCount) + { + output.WriteRawTag(40); + output.WriteUInt32(LoopCount); + } + spritePhase_.WriteTo(ref output, _repeated_spritePhase_codec); + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasDefaultStartPhase) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DefaultStartPhase); + } + if (HasSynchronized) + { + size += 1 + 1; + } + if (HasRandomStartPhase) + { + size += 1 + 1; + } + if (HasLoopType) + { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)LoopType); + } + if (HasLoopCount) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LoopCount); + } + size += spritePhase_.CalculateSize(_repeated_spritePhase_codec); + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SpriteAnimation other) { - if (other == null) { - return; - } - if (other.HasDefaultStartPhase) { - DefaultStartPhase = other.DefaultStartPhase; - } - if (other.HasSynchronized) { - Synchronized = other.Synchronized; - } - if (other.HasRandomStartPhase) { - RandomStartPhase = other.RandomStartPhase; - } - if (other.HasLoopType) { - LoopType = other.LoopType; - } - if (other.HasLoopCount) { - LoopCount = other.LoopCount; - } - spritePhase_.Add(other.spritePhase_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SpriteAnimation other) + { + if (other == null) + { + return; + } + if (other.HasDefaultStartPhase) + { + DefaultStartPhase = other.DefaultStartPhase; + } + if (other.HasSynchronized) + { + Synchronized = other.Synchronized; + } + if (other.HasRandomStartPhase) + { + RandomStartPhase = other.RandomStartPhase; + } + if (other.HasLoopType) + { + LoopType = other.LoopType; + } + if (other.HasLoopCount) + { + LoopCount = other.LoopCount; + } + spritePhase_.Add(other.spritePhase_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1117,7 +1688,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 32: { - LoopType = (global::Tibia.Protobuf.Shared.ANIMATION_LOOP_TYPE) input.ReadEnum(); + LoopType = (global::Tibia.Protobuf.Appearances.ANIMATION_LOOP_TYPE) input.ReadEnum(); break; } case 40: { @@ -1130,255 +1701,293 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - DefaultStartPhase = input.ReadUInt32(); - break; - } - case 16: { - Synchronized = input.ReadBool(); - break; - } - case 24: { - RandomStartPhase = input.ReadBool(); - break; - } - case 32: { - LoopType = (global::Tibia.Protobuf.Shared.ANIMATION_LOOP_TYPE) input.ReadEnum(); - break; - } - case 40: { - LoopCount = input.ReadUInt32(); - break; - } - case 50: { - spritePhase_.AddEntriesFrom(ref input, _repeated_spritePhase_codec); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class Box : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Box()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[3]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Box() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Box(Box other) : this() { - _hasBits0 = other._hasBits0; - x_ = other.x_; - y_ = other.y_; - width_ = other.width_; - height_ = other.height_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Box Clone() { - return new Box(this); - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + DefaultStartPhase = input.ReadUInt32(); + break; + } + case 16: + { + Synchronized = input.ReadBool(); + break; + } + case 24: + { + RandomStartPhase = input.ReadBool(); + break; + } + case 32: + { + LoopType = (global::Tibia.Protobuf.Appearances.ANIMATION_LOOP_TYPE)input.ReadEnum(); + break; + } + case 40: + { + LoopCount = input.ReadUInt32(); + break; + } + case 50: + { + spritePhase_.AddEntriesFrom(ref input, _repeated_spritePhase_codec); + break; + } + } + } + } +#endif + + } + + public sealed partial class Box : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Box()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[4]; } + } - /// Field number for the "x" field. - public const int XFieldNumber = 1; - private readonly static uint XDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - private uint x_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint X { - get { if ((_hasBits0 & 1) != 0) { return x_; } else { return XDefaultValue; } } - set { - _hasBits0 |= 1; - x_ = value; - } - } - /// Gets whether the "x" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasX { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "x" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearX() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Box() + { + OnConstruction(); + } - /// Field number for the "y" field. - public const int YFieldNumber = 2; - private readonly static uint YDefaultValue = 0; + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Box(Box other) : this() + { + _hasBits0 = other._hasBits0; + x_ = other.x_; + y_ = other.y_; + width_ = other.width_; + height_ = other.height_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - private uint y_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Y { - get { if ((_hasBits0 & 2) != 0) { return y_; } else { return YDefaultValue; } } - set { - _hasBits0 |= 2; - y_ = value; - } - } - /// Gets whether the "y" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasY { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "y" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearY() { - _hasBits0 &= ~2; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Box Clone() + { + return new Box(this); + } - /// Field number for the "width" field. - public const int WidthFieldNumber = 3; - private readonly static uint WidthDefaultValue = 0; + /// Field number for the "x" field. + public const int XFieldNumber = 1; + private readonly static uint XDefaultValue = 0; + + private uint x_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint X + { + get { if ((_hasBits0 & 1) != 0) { return x_; } else { return XDefaultValue; } } + set + { + _hasBits0 |= 1; + x_ = value; + } + } + /// Gets whether the "x" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasX + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "x" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearX() + { + _hasBits0 &= ~1; + } - private uint width_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Width { - get { if ((_hasBits0 & 4) != 0) { return width_; } else { return WidthDefaultValue; } } - set { - _hasBits0 |= 4; - width_ = value; - } - } - /// Gets whether the "width" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasWidth { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "width" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearWidth() { - _hasBits0 &= ~4; - } + /// Field number for the "y" field. + public const int YFieldNumber = 2; + private readonly static uint YDefaultValue = 0; + + private uint y_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Y + { + get { if ((_hasBits0 & 2) != 0) { return y_; } else { return YDefaultValue; } } + set + { + _hasBits0 |= 2; + y_ = value; + } + } + /// Gets whether the "y" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasY + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "y" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearY() + { + _hasBits0 &= ~2; + } - /// Field number for the "height" field. - public const int HeightFieldNumber = 4; - private readonly static uint HeightDefaultValue = 0; + /// Field number for the "width" field. + public const int WidthFieldNumber = 3; + private readonly static uint WidthDefaultValue = 0; + + private uint width_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Width + { + get { if ((_hasBits0 & 4) != 0) { return width_; } else { return WidthDefaultValue; } } + set + { + _hasBits0 |= 4; + width_ = value; + } + } + /// Gets whether the "width" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWidth + { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "width" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWidth() + { + _hasBits0 &= ~4; + } - private uint height_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Height { - get { if ((_hasBits0 & 8) != 0) { return height_; } else { return HeightDefaultValue; } } - set { - _hasBits0 |= 8; - height_ = value; - } - } - /// Gets whether the "height" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasHeight { - get { return (_hasBits0 & 8) != 0; } - } - /// Clears the value of the "height" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearHeight() { - _hasBits0 &= ~8; - } + /// Field number for the "height" field. + public const int HeightFieldNumber = 4; + private readonly static uint HeightDefaultValue = 0; + + private uint height_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Height + { + get { if ((_hasBits0 & 8) != 0) { return height_; } else { return HeightDefaultValue; } } + set + { + _hasBits0 |= 8; + height_ = value; + } + } + /// Gets whether the "height" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHeight + { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "height" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHeight() + { + _hasBits0 &= ~8; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Box); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as Box); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Box other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (X != other.X) return false; - if (Y != other.Y) return false; - if (Width != other.Width) return false; - if (Height != other.Height) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Box other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (X != other.X) return false; + if (Y != other.Y) return false; + if (Width != other.Width) return false; + if (Height != other.Height) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasX) hash ^= X.GetHashCode(); - if (HasY) hash ^= Y.GetHashCode(); - if (HasWidth) hash ^= Width.GetHashCode(); - if (HasHeight) hash ^= Height.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasX) hash ^= X.GetHashCode(); + if (HasY) hash ^= Y.GetHashCode(); + if (HasWidth) hash ^= Width.GetHashCode(); + if (HasHeight) hash ^= Height.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasX) { output.WriteRawTag(8); output.WriteUInt32(X); @@ -1398,84 +2007,103 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } +#endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasX) { - output.WriteRawTag(8); - output.WriteUInt32(X); - } - if (HasY) { - output.WriteRawTag(16); - output.WriteUInt32(Y); - } - if (HasWidth) { - output.WriteRawTag(24); - output.WriteUInt32(Width); - } - if (HasHeight) { - output.WriteRawTag(32); - output.WriteUInt32(Height); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasX) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(X); - } - if (HasY) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Y); - } - if (HasWidth) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Width); - } - if (HasHeight) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Height); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasX) + { + output.WriteRawTag(8); + output.WriteUInt32(X); + } + if (HasY) + { + output.WriteRawTag(16); + output.WriteUInt32(Y); + } + if (HasWidth) + { + output.WriteRawTag(24); + output.WriteUInt32(Width); + } + if (HasHeight) + { + output.WriteRawTag(32); + output.WriteUInt32(Height); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasX) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(X); + } + if (HasY) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Y); + } + if (HasWidth) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Width); + } + if (HasHeight) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Height); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Box other) { - if (other == null) { - return; - } - if (other.HasX) { - X = other.X; - } - if (other.HasY) { - Y = other.Y; - } - if (other.HasWidth) { - Width = other.Width; - } - if (other.HasHeight) { - Height = other.Height; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Box other) + { + if (other == null) + { + return; + } + if (other.HasX) + { + X = other.X; + } + if (other.HasY) + { + Y = other.Y; + } + if (other.HasWidth) + { + Width = other.Width; + } + if (other.HasHeight) + { + Height = other.Height; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1500,350 +2128,398 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - X = input.ReadUInt32(); - break; - } - case 16: { - Y = input.ReadUInt32(); - break; - } - case 24: { - Width = input.ReadUInt32(); - break; - } - case 32: { - Height = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class SpriteInfo : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpriteInfo()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[4]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpriteInfo() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpriteInfo(SpriteInfo other) : this() { - _hasBits0 = other._hasBits0; - patternWidth_ = other.patternWidth_; - patternHeight_ = other.patternHeight_; - patternDepth_ = other.patternDepth_; - layers_ = other.layers_; - spriteId_ = other.spriteId_.Clone(); - boundingSquare_ = other.boundingSquare_; - animation_ = other.animation_ != null ? other.animation_.Clone() : null; - isOpaque_ = other.isOpaque_; - boundingBoxPerDirection_ = other.boundingBoxPerDirection_.Clone(); - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpriteInfo Clone() { - return new SpriteInfo(this); - } - - /// Field number for the "pattern_width" field. - public const int PatternWidthFieldNumber = 1; - private readonly static uint PatternWidthDefaultValue = 0; - private uint patternWidth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint PatternWidth { - get { if ((_hasBits0 & 1) != 0) { return patternWidth_; } else { return PatternWidthDefaultValue; } } - set { - _hasBits0 |= 1; - patternWidth_ = value; - } - } - /// Gets whether the "pattern_width" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPatternWidth { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "pattern_width" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPatternWidth() { - _hasBits0 &= ~1; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + X = input.ReadUInt32(); + break; + } + case 16: + { + Y = input.ReadUInt32(); + break; + } + case 24: + { + Width = input.ReadUInt32(); + break; + } + case 32: + { + Height = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class SpriteInfo : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpriteInfo()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[5]; } + } - /// Field number for the "pattern_height" field. - public const int PatternHeightFieldNumber = 2; - private readonly static uint PatternHeightDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - private uint patternHeight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint PatternHeight { - get { if ((_hasBits0 & 2) != 0) { return patternHeight_; } else { return PatternHeightDefaultValue; } } - set { - _hasBits0 |= 2; - patternHeight_ = value; - } - } - /// Gets whether the "pattern_height" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPatternHeight { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "pattern_height" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPatternHeight() { - _hasBits0 &= ~2; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpriteInfo() + { + OnConstruction(); + } - /// Field number for the "pattern_depth" field. - public const int PatternDepthFieldNumber = 3; - private readonly static uint PatternDepthDefaultValue = 0; + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpriteInfo(SpriteInfo other) : this() + { + _hasBits0 = other._hasBits0; + patternWidth_ = other.patternWidth_; + patternHeight_ = other.patternHeight_; + patternDepth_ = other.patternDepth_; + layers_ = other.layers_; + spriteId_ = other.spriteId_.Clone(); + boundingSquare_ = other.boundingSquare_; + animation_ = other.animation_ != null ? other.animation_.Clone() : null; + isOpaque_ = other.isOpaque_; + boundingBoxPerDirection_ = other.boundingBoxPerDirection_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - private uint patternDepth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint PatternDepth { - get { if ((_hasBits0 & 4) != 0) { return patternDepth_; } else { return PatternDepthDefaultValue; } } - set { - _hasBits0 |= 4; - patternDepth_ = value; - } - } - /// Gets whether the "pattern_depth" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPatternDepth { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "pattern_depth" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPatternDepth() { - _hasBits0 &= ~4; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpriteInfo Clone() + { + return new SpriteInfo(this); + } - /// Field number for the "layers" field. - public const int LayersFieldNumber = 4; - private readonly static uint LayersDefaultValue = 0; + /// Field number for the "pattern_width" field. + public const int PatternWidthFieldNumber = 1; + private readonly static uint PatternWidthDefaultValue = 0; + + private uint patternWidth_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PatternWidth + { + get { if ((_hasBits0 & 1) != 0) { return patternWidth_; } else { return PatternWidthDefaultValue; } } + set + { + _hasBits0 |= 1; + patternWidth_ = value; + } + } + /// Gets whether the "pattern_width" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPatternWidth + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "pattern_width" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPatternWidth() + { + _hasBits0 &= ~1; + } - private uint layers_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Layers { - get { if ((_hasBits0 & 8) != 0) { return layers_; } else { return LayersDefaultValue; } } - set { - _hasBits0 |= 8; - layers_ = value; - } - } - /// Gets whether the "layers" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasLayers { - get { return (_hasBits0 & 8) != 0; } - } - /// Clears the value of the "layers" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearLayers() { - _hasBits0 &= ~8; - } + /// Field number for the "pattern_height" field. + public const int PatternHeightFieldNumber = 2; + private readonly static uint PatternHeightDefaultValue = 0; + + private uint patternHeight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PatternHeight + { + get { if ((_hasBits0 & 2) != 0) { return patternHeight_; } else { return PatternHeightDefaultValue; } } + set + { + _hasBits0 |= 2; + patternHeight_ = value; + } + } + /// Gets whether the "pattern_height" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPatternHeight + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "pattern_height" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPatternHeight() + { + _hasBits0 &= ~2; + } - /// Field number for the "sprite_id" field. - public const int SpriteIdFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_spriteId_codec - = pb::FieldCodec.ForUInt32(40); - private readonly pbc::RepeatedField spriteId_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField SpriteId { - get { return spriteId_; } - } + /// Field number for the "pattern_depth" field. + public const int PatternDepthFieldNumber = 3; + private readonly static uint PatternDepthDefaultValue = 0; + + private uint patternDepth_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PatternDepth + { + get { if ((_hasBits0 & 4) != 0) { return patternDepth_; } else { return PatternDepthDefaultValue; } } + set + { + _hasBits0 |= 4; + patternDepth_ = value; + } + } + /// Gets whether the "pattern_depth" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPatternDepth + { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "pattern_depth" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPatternDepth() + { + _hasBits0 &= ~4; + } - /// Field number for the "bounding_square" field. - public const int BoundingSquareFieldNumber = 7; - private readonly static uint BoundingSquareDefaultValue = 0; + /// Field number for the "layers" field. + public const int LayersFieldNumber = 4; + private readonly static uint LayersDefaultValue = 0; + + private uint layers_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Layers + { + get { if ((_hasBits0 & 8) != 0) { return layers_; } else { return LayersDefaultValue; } } + set + { + _hasBits0 |= 8; + layers_ = value; + } + } + /// Gets whether the "layers" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLayers + { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "layers" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLayers() + { + _hasBits0 &= ~8; + } - private uint boundingSquare_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint BoundingSquare { - get { if ((_hasBits0 & 16) != 0) { return boundingSquare_; } else { return BoundingSquareDefaultValue; } } - set { - _hasBits0 |= 16; - boundingSquare_ = value; - } - } - /// Gets whether the "bounding_square" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasBoundingSquare { - get { return (_hasBits0 & 16) != 0; } - } - /// Clears the value of the "bounding_square" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearBoundingSquare() { - _hasBits0 &= ~16; - } + /// Field number for the "sprite_id" field. + public const int SpriteIdFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_spriteId_codec + = pb::FieldCodec.ForUInt32(40); + private readonly pbc::RepeatedField spriteId_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SpriteId + { + get { return spriteId_; } + } - /// Field number for the "animation" field. - public const int AnimationFieldNumber = 6; - private global::Tibia.Protobuf.Appearances.SpriteAnimation animation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.SpriteAnimation Animation { - get { return animation_; } - set { - animation_ = value; - } - } + /// Field number for the "bounding_square" field. + public const int BoundingSquareFieldNumber = 7; + private readonly static uint BoundingSquareDefaultValue = 0; + + private uint boundingSquare_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BoundingSquare + { + get { if ((_hasBits0 & 16) != 0) { return boundingSquare_; } else { return BoundingSquareDefaultValue; } } + set + { + _hasBits0 |= 16; + boundingSquare_ = value; + } + } + /// Gets whether the "bounding_square" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBoundingSquare + { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "bounding_square" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBoundingSquare() + { + _hasBits0 &= ~16; + } - /// Field number for the "is_opaque" field. - public const int IsOpaqueFieldNumber = 8; - private readonly static bool IsOpaqueDefaultValue = false; + /// Field number for the "animation" field. + public const int AnimationFieldNumber = 6; + private global::Tibia.Protobuf.Appearances.SpriteAnimation animation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.SpriteAnimation Animation + { + get { return animation_; } + set + { + animation_ = value; + } + } - private bool isOpaque_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IsOpaque { - get { if ((_hasBits0 & 32) != 0) { return isOpaque_; } else { return IsOpaqueDefaultValue; } } - set { - _hasBits0 |= 32; - isOpaque_ = value; - } - } - /// Gets whether the "is_opaque" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIsOpaque { - get { return (_hasBits0 & 32) != 0; } - } - /// Clears the value of the "is_opaque" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIsOpaque() { - _hasBits0 &= ~32; - } + /// Field number for the "is_opaque" field. + public const int IsOpaqueFieldNumber = 8; + private readonly static bool IsOpaqueDefaultValue = false; + + private bool isOpaque_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsOpaque + { + get { if ((_hasBits0 & 32) != 0) { return isOpaque_; } else { return IsOpaqueDefaultValue; } } + set + { + _hasBits0 |= 32; + isOpaque_ = value; + } + } + /// Gets whether the "is_opaque" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIsOpaque + { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "is_opaque" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIsOpaque() + { + _hasBits0 &= ~32; + } - /// Field number for the "bounding_box_per_direction" field. - public const int BoundingBoxPerDirectionFieldNumber = 9; - private static readonly pb::FieldCodec _repeated_boundingBoxPerDirection_codec - = pb::FieldCodec.ForMessage(74, global::Tibia.Protobuf.Appearances.Box.Parser); - private readonly pbc::RepeatedField boundingBoxPerDirection_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField BoundingBoxPerDirection { - get { return boundingBoxPerDirection_; } - } + /// Field number for the "bounding_box_per_direction" field. + public const int BoundingBoxPerDirectionFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_boundingBoxPerDirection_codec + = pb::FieldCodec.ForMessage(74, global::Tibia.Protobuf.Appearances.Box.Parser); + private readonly pbc::RepeatedField boundingBoxPerDirection_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField BoundingBoxPerDirection + { + get { return boundingBoxPerDirection_; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SpriteInfo); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as SpriteInfo); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SpriteInfo other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (PatternWidth != other.PatternWidth) return false; - if (PatternHeight != other.PatternHeight) return false; - if (PatternDepth != other.PatternDepth) return false; - if (Layers != other.Layers) return false; - if(!spriteId_.Equals(other.spriteId_)) return false; - if (BoundingSquare != other.BoundingSquare) return false; - if (!object.Equals(Animation, other.Animation)) return false; - if (IsOpaque != other.IsOpaque) return false; - if(!boundingBoxPerDirection_.Equals(other.boundingBoxPerDirection_)) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpriteInfo other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (PatternWidth != other.PatternWidth) return false; + if (PatternHeight != other.PatternHeight) return false; + if (PatternDepth != other.PatternDepth) return false; + if (Layers != other.Layers) return false; + if (!spriteId_.Equals(other.spriteId_)) return false; + if (BoundingSquare != other.BoundingSquare) return false; + if (!object.Equals(Animation, other.Animation)) return false; + if (IsOpaque != other.IsOpaque) return false; + if (!boundingBoxPerDirection_.Equals(other.boundingBoxPerDirection_)) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasPatternWidth) hash ^= PatternWidth.GetHashCode(); - if (HasPatternHeight) hash ^= PatternHeight.GetHashCode(); - if (HasPatternDepth) hash ^= PatternDepth.GetHashCode(); - if (HasLayers) hash ^= Layers.GetHashCode(); - hash ^= spriteId_.GetHashCode(); - if (HasBoundingSquare) hash ^= BoundingSquare.GetHashCode(); - if (animation_ != null) hash ^= Animation.GetHashCode(); - if (HasIsOpaque) hash ^= IsOpaque.GetHashCode(); - hash ^= boundingBoxPerDirection_.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasPatternWidth) hash ^= PatternWidth.GetHashCode(); + if (HasPatternHeight) hash ^= PatternHeight.GetHashCode(); + if (HasPatternDepth) hash ^= PatternDepth.GetHashCode(); + if (HasLayers) hash ^= Layers.GetHashCode(); + hash ^= spriteId_.GetHashCode(); + if (HasBoundingSquare) hash ^= BoundingSquare.GetHashCode(); + if (animation_ != null) hash ^= Animation.GetHashCode(); + if (HasIsOpaque) hash ^= IsOpaque.GetHashCode(); + hash ^= boundingBoxPerDirection_.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasPatternWidth) { output.WriteRawTag(8); output.WriteUInt32(PatternWidth); @@ -1877,123 +2553,152 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasPatternWidth) { - output.WriteRawTag(8); - output.WriteUInt32(PatternWidth); - } - if (HasPatternHeight) { - output.WriteRawTag(16); - output.WriteUInt32(PatternHeight); - } - if (HasPatternDepth) { - output.WriteRawTag(24); - output.WriteUInt32(PatternDepth); - } - if (HasLayers) { - output.WriteRawTag(32); - output.WriteUInt32(Layers); - } - spriteId_.WriteTo(ref output, _repeated_spriteId_codec); - if (animation_ != null) { - output.WriteRawTag(50); - output.WriteMessage(Animation); - } - if (HasBoundingSquare) { - output.WriteRawTag(56); - output.WriteUInt32(BoundingSquare); - } - if (HasIsOpaque) { - output.WriteRawTag(64); - output.WriteBool(IsOpaque); - } - boundingBoxPerDirection_.WriteTo(ref output, _repeated_boundingBoxPerDirection_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasPatternWidth) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PatternWidth); - } - if (HasPatternHeight) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PatternHeight); - } - if (HasPatternDepth) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PatternDepth); - } - if (HasLayers) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Layers); - } - size += spriteId_.CalculateSize(_repeated_spriteId_codec); - if (HasBoundingSquare) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BoundingSquare); - } - if (animation_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Animation); - } - if (HasIsOpaque) { - size += 1 + 1; - } - size += boundingBoxPerDirection_.CalculateSize(_repeated_boundingBoxPerDirection_codec); - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasPatternWidth) + { + output.WriteRawTag(8); + output.WriteUInt32(PatternWidth); + } + if (HasPatternHeight) + { + output.WriteRawTag(16); + output.WriteUInt32(PatternHeight); + } + if (HasPatternDepth) + { + output.WriteRawTag(24); + output.WriteUInt32(PatternDepth); + } + if (HasLayers) + { + output.WriteRawTag(32); + output.WriteUInt32(Layers); + } + spriteId_.WriteTo(ref output, _repeated_spriteId_codec); + if (animation_ != null) + { + output.WriteRawTag(50); + output.WriteMessage(Animation); + } + if (HasBoundingSquare) + { + output.WriteRawTag(56); + output.WriteUInt32(BoundingSquare); + } + if (HasIsOpaque) + { + output.WriteRawTag(64); + output.WriteBool(IsOpaque); + } + boundingBoxPerDirection_.WriteTo(ref output, _repeated_boundingBoxPerDirection_codec); + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasPatternWidth) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PatternWidth); + } + if (HasPatternHeight) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PatternHeight); + } + if (HasPatternDepth) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PatternDepth); + } + if (HasLayers) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Layers); + } + size += spriteId_.CalculateSize(_repeated_spriteId_codec); + if (HasBoundingSquare) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BoundingSquare); + } + if (animation_ != null) + { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Animation); + } + if (HasIsOpaque) + { + size += 1 + 1; + } + size += boundingBoxPerDirection_.CalculateSize(_repeated_boundingBoxPerDirection_codec); + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SpriteInfo other) { - if (other == null) { - return; - } - if (other.HasPatternWidth) { - PatternWidth = other.PatternWidth; - } - if (other.HasPatternHeight) { - PatternHeight = other.PatternHeight; - } - if (other.HasPatternDepth) { - PatternDepth = other.PatternDepth; - } - if (other.HasLayers) { - Layers = other.Layers; - } - spriteId_.Add(other.spriteId_); - if (other.HasBoundingSquare) { - BoundingSquare = other.BoundingSquare; - } - if (other.animation_ != null) { - if (animation_ == null) { - Animation = new global::Tibia.Protobuf.Appearances.SpriteAnimation(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SpriteInfo other) + { + if (other == null) + { + return; + } + if (other.HasPatternWidth) + { + PatternWidth = other.PatternWidth; + } + if (other.HasPatternHeight) + { + PatternHeight = other.PatternHeight; + } + if (other.HasPatternDepth) + { + PatternDepth = other.PatternDepth; + } + if (other.HasLayers) + { + Layers = other.Layers; + } + spriteId_.Add(other.spriteId_); + if (other.HasBoundingSquare) + { + BoundingSquare = other.BoundingSquare; + } + if (other.animation_ != null) + { + if (animation_ == null) + { + Animation = new global::Tibia.Protobuf.Appearances.SpriteAnimation(); + } + Animation.MergeFrom(other.Animation); + } + if (other.HasIsOpaque) + { + IsOpaque = other.IsOpaque; + } + boundingBoxPerDirection_.Add(other.boundingBoxPerDirection_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } - Animation.MergeFrom(other.Animation); - } - if (other.HasIsOpaque) { - IsOpaque = other.IsOpaque; - } - boundingBoxPerDirection_.Add(other.boundingBoxPerDirection_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -2042,226 +2747,262 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } +#endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - PatternWidth = input.ReadUInt32(); - break; - } - case 16: { - PatternHeight = input.ReadUInt32(); - break; - } - case 24: { - PatternDepth = input.ReadUInt32(); - break; - } - case 32: { - Layers = input.ReadUInt32(); - break; - } - case 42: - case 40: { - spriteId_.AddEntriesFrom(ref input, _repeated_spriteId_codec); - break; - } - case 50: { - if (animation_ == null) { - Animation = new global::Tibia.Protobuf.Appearances.SpriteAnimation(); +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + PatternWidth = input.ReadUInt32(); + break; + } + case 16: + { + PatternHeight = input.ReadUInt32(); + break; + } + case 24: + { + PatternDepth = input.ReadUInt32(); + break; + } + case 32: + { + Layers = input.ReadUInt32(); + break; + } + case 42: + case 40: + { + spriteId_.AddEntriesFrom(ref input, _repeated_spriteId_codec); + break; + } + case 50: + { + if (animation_ == null) + { + Animation = new global::Tibia.Protobuf.Appearances.SpriteAnimation(); + } + input.ReadMessage(Animation); + break; + } + case 56: + { + BoundingSquare = input.ReadUInt32(); + break; + } + case 64: + { + IsOpaque = input.ReadBool(); + break; + } + case 74: + { + boundingBoxPerDirection_.AddEntriesFrom(ref input, _repeated_boundingBoxPerDirection_codec); + break; + } + } } - input.ReadMessage(Animation); - break; - } - case 56: { - BoundingSquare = input.ReadUInt32(); - break; - } - case 64: { - IsOpaque = input.ReadBool(); - break; - } - case 74: { - boundingBoxPerDirection_.AddEntriesFrom(ref input, _repeated_boundingBoxPerDirection_codec); - break; - } } - } - } - #endif - - } - - public sealed partial class FrameGroup : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FrameGroup()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[5]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FrameGroup() { - OnConstruction(); - } - - partial void OnConstruction(); +#endif + + } + + public sealed partial class FrameGroup : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FrameGroup()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[6]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FrameGroup(FrameGroup other) : this() { - _hasBits0 = other._hasBits0; - fixedFrameGroup_ = other.fixedFrameGroup_; - id_ = other.id_; - spriteInfo_ = other.spriteInfo_ != null ? other.spriteInfo_.Clone() : null; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public FrameGroup Clone() { - return new FrameGroup(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameGroup() + { + OnConstruction(); + } - /// Field number for the "fixed_frame_group" field. - public const int FixedFrameGroupFieldNumber = 1; - private readonly static global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP FixedFrameGroupDefaultValue = global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP.OutfitIdle; + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameGroup(FrameGroup other) : this() + { + _hasBits0 = other._hasBits0; + fixedFrameGroup_ = other.fixedFrameGroup_; + id_ = other.id_; + spriteInfo_ = other.spriteInfo_ != null ? other.spriteInfo_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - private global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP fixedFrameGroup_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP FixedFrameGroup { - get { if ((_hasBits0 & 1) != 0) { return fixedFrameGroup_; } else { return FixedFrameGroupDefaultValue; } } - set { - _hasBits0 |= 1; - fixedFrameGroup_ = value; - } - } - /// Gets whether the "fixed_frame_group" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasFixedFrameGroup { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "fixed_frame_group" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearFixedFrameGroup() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FrameGroup Clone() + { + return new FrameGroup(this); + } - /// Field number for the "id" field. - public const int IdFieldNumber = 2; - private readonly static uint IdDefaultValue = 0; + /// Field number for the "fixed_frame_group" field. + public const int FixedFrameGroupFieldNumber = 1; + private readonly static global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP FixedFrameGroupDefaultValue = global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP.OutfitIdle; + + private global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP fixedFrameGroup_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP FixedFrameGroup + { + get { if ((_hasBits0 & 1) != 0) { return fixedFrameGroup_; } else { return FixedFrameGroupDefaultValue; } } + set + { + _hasBits0 |= 1; + fixedFrameGroup_ = value; + } + } + /// Gets whether the "fixed_frame_group" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFixedFrameGroup + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "fixed_frame_group" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFixedFrameGroup() + { + _hasBits0 &= ~1; + } - private uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { if ((_hasBits0 & 2) != 0) { return id_; } else { return IdDefaultValue; } } - set { - _hasBits0 |= 2; - id_ = value; - } - } - /// Gets whether the "id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasId { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearId() { - _hasBits0 &= ~2; - } + /// Field number for the "id" field. + public const int IdFieldNumber = 2; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id + { + get { if ((_hasBits0 & 2) != 0) { return id_; } else { return IdDefaultValue; } } + set + { + _hasBits0 |= 2; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() + { + _hasBits0 &= ~2; + } - /// Field number for the "sprite_info" field. - public const int SpriteInfoFieldNumber = 3; - private global::Tibia.Protobuf.Appearances.SpriteInfo spriteInfo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.SpriteInfo SpriteInfo { - get { return spriteInfo_; } - set { - spriteInfo_ = value; - } - } + /// Field number for the "sprite_info" field. + public const int SpriteInfoFieldNumber = 3; + private global::Tibia.Protobuf.Appearances.SpriteInfo spriteInfo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.SpriteInfo SpriteInfo + { + get { return spriteInfo_; } + set + { + spriteInfo_ = value; + } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as FrameGroup); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as FrameGroup); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(FrameGroup other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (FixedFrameGroup != other.FixedFrameGroup) return false; - if (Id != other.Id) return false; - if (!object.Equals(SpriteInfo, other.SpriteInfo)) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FrameGroup other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (FixedFrameGroup != other.FixedFrameGroup) return false; + if (Id != other.Id) return false; + if (!object.Equals(SpriteInfo, other.SpriteInfo)) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasFixedFrameGroup) hash ^= FixedFrameGroup.GetHashCode(); - if (HasId) hash ^= Id.GetHashCode(); - if (spriteInfo_ != null) hash ^= SpriteInfo.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasFixedFrameGroup) hash ^= FixedFrameGroup.GetHashCode(); + if (HasId) hash ^= Id.GetHashCode(); + if (spriteInfo_ != null) hash ^= SpriteInfo.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasFixedFrameGroup) { output.WriteRawTag(8); output.WriteEnum((int) FixedFrameGroup); @@ -2277,77 +3018,94 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasFixedFrameGroup) { - output.WriteRawTag(8); - output.WriteEnum((int) FixedFrameGroup); - } - if (HasId) { - output.WriteRawTag(16); - output.WriteUInt32(Id); - } - if (spriteInfo_ != null) { - output.WriteRawTag(26); - output.WriteMessage(SpriteInfo); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasFixedFrameGroup) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FixedFrameGroup); - } - if (HasId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); - } - if (spriteInfo_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpriteInfo); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasFixedFrameGroup) + { + output.WriteRawTag(8); + output.WriteEnum((int)FixedFrameGroup); + } + if (HasId) + { + output.WriteRawTag(16); + output.WriteUInt32(Id); + } + if (spriteInfo_ != null) + { + output.WriteRawTag(26); + output.WriteMessage(SpriteInfo); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasFixedFrameGroup) + { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)FixedFrameGroup); + } + if (HasId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + if (spriteInfo_ != null) + { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpriteInfo); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(FrameGroup other) { - if (other == null) { - return; - } - if (other.HasFixedFrameGroup) { - FixedFrameGroup = other.FixedFrameGroup; - } - if (other.HasId) { - Id = other.Id; - } - if (other.spriteInfo_ != null) { - if (spriteInfo_ == null) { - SpriteInfo = new global::Tibia.Protobuf.Appearances.SpriteInfo(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FrameGroup other) + { + if (other == null) + { + return; + } + if (other.HasFixedFrameGroup) + { + FixedFrameGroup = other.FixedFrameGroup; + } + if (other.HasId) + { + Id = other.Id; + } + if (other.spriteInfo_ != null) + { + if (spriteInfo_ == null) + { + SpriteInfo = new global::Tibia.Protobuf.Appearances.SpriteInfo(); + } + SpriteInfo.MergeFrom(other.SpriteInfo); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } - SpriteInfo.MergeFrom(other.SpriteInfo); - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -2371,243 +3129,278 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } +#endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - FixedFrameGroup = (global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP) input.ReadEnum(); - break; - } - case 16: { - Id = input.ReadUInt32(); - break; - } - case 26: { - if (spriteInfo_ == null) { - SpriteInfo = new global::Tibia.Protobuf.Appearances.SpriteInfo(); +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + FixedFrameGroup = (global::Tibia.Protobuf.Appearances.FIXED_FRAME_GROUP)input.ReadEnum(); + break; + } + case 16: + { + Id = input.ReadUInt32(); + break; + } + case 26: + { + if (spriteInfo_ == null) + { + SpriteInfo = new global::Tibia.Protobuf.Appearances.SpriteInfo(); + } + input.ReadMessage(SpriteInfo); + break; + } + } } - input.ReadMessage(SpriteInfo); - break; - } } - } - } - #endif - - } - - public sealed partial class Appearance : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Appearance()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[6]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Appearance() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Appearance(Appearance other) : this() { - _hasBits0 = other._hasBits0; - id_ = other.id_; - frameGroup_ = other.frameGroup_.Clone(); - flags_ = other.flags_ != null ? other.flags_.Clone() : null; - name_ = other.name_; - description_ = other.description_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } +#endif + + } + + public sealed partial class Appearance : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Appearance()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[7]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Appearance Clone() { - return new Appearance(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private readonly static uint IdDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Appearance() + { + OnConstruction(); + } - private uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } - set { - _hasBits0 |= 1; - id_ = value; - } - } - /// Gets whether the "id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasId { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearId() { - _hasBits0 &= ~1; - } + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Appearance(Appearance other) : this() + { + _hasBits0 = other._hasBits0; + id_ = other.id_; + frameGroup_ = other.frameGroup_.Clone(); + flags_ = other.flags_ != null ? other.flags_.Clone() : null; + name_ = other.name_; + description_ = other.description_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "frame_group" field. - public const int FrameGroupFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_frameGroup_codec - = pb::FieldCodec.ForMessage(18, global::Tibia.Protobuf.Appearances.FrameGroup.Parser); - private readonly pbc::RepeatedField frameGroup_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField FrameGroup { - get { return frameGroup_; } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Appearance Clone() + { + return new Appearance(this); + } - /// Field number for the "flags" field. - public const int FlagsFieldNumber = 3; - private global::Tibia.Protobuf.Appearances.AppearanceFlags flags_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlags Flags { - get { return flags_; } - set { - flags_ = value; - } - } + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id + { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set + { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() + { + _hasBits0 &= ~1; + } - /// Field number for the "name" field. - public const int NameFieldNumber = 4; - private readonly static string NameDefaultValue = ""; + /// Field number for the "frame_group" field. + public const int FrameGroupFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_frameGroup_codec + = pb::FieldCodec.ForMessage(18, global::Tibia.Protobuf.Appearances.FrameGroup.Parser); + private readonly pbc::RepeatedField frameGroup_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FrameGroup + { + get { return frameGroup_; } + } - private string name_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_ ?? NameDefaultValue; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "name" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasName { - get { return name_ != null; } - } - /// Clears the value of the "name" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearName() { - name_ = null; - } + /// Field number for the "flags" field. + public const int FlagsFieldNumber = 3; + private global::Tibia.Protobuf.Appearances.AppearanceFlags flags_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlags Flags + { + get { return flags_; } + set + { + flags_ = value; + } + } - /// Field number for the "description" field. - public const int DescriptionFieldNumber = 5; - private readonly static string DescriptionDefaultValue = ""; + /// Field number for the "name" field. + public const int NameFieldNumber = 4; + private readonly static pb::ByteString NameDefaultValue = pb::ByteString.Empty; + + private pb::ByteString name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Name + { + get { return name_ ?? NameDefaultValue; } + set + { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName + { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() + { + name_ = null; + } - private string description_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Description { - get { return description_ ?? DescriptionDefaultValue; } - set { - description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "description" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasDescription { - get { return description_ != null; } - } - /// Clears the value of the "description" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearDescription() { - description_ = null; - } + /// Field number for the "description" field. + public const int DescriptionFieldNumber = 5; + private readonly static pb::ByteString DescriptionDefaultValue = pb::ByteString.Empty; + + private pb::ByteString description_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Description + { + get { return description_ ?? DescriptionDefaultValue; } + set + { + description_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "description" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDescription + { + get { return description_ != null; } + } + /// Clears the value of the "description" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDescription() + { + description_ = null; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Appearance); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as Appearance); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Appearance other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - if(!frameGroup_.Equals(other.frameGroup_)) return false; - if (!object.Equals(Flags, other.Flags)) return false; - if (Name != other.Name) return false; - if (Description != other.Description) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Appearance other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Id != other.Id) return false; + if (!frameGroup_.Equals(other.frameGroup_)) return false; + if (!object.Equals(Flags, other.Flags)) return false; + if (Name != other.Name) return false; + if (Description != other.Description) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasId) hash ^= Id.GetHashCode(); - hash ^= frameGroup_.GetHashCode(); - if (flags_ != null) hash ^= Flags.GetHashCode(); - if (HasName) hash ^= Name.GetHashCode(); - if (HasDescription) hash ^= Description.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + hash ^= frameGroup_.GetHashCode(); + if (flags_ != null) hash ^= Flags.GetHashCode(); + if (HasName) hash ^= Name.GetHashCode(); + if (HasDescription) hash ^= Description.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasId) { output.WriteRawTag(8); output.WriteUInt32(Id); @@ -2619,149 +3412,131 @@ public void WriteTo(pb::CodedOutputStream output) { } if (HasName) { output.WriteRawTag(34); - output.WriteString(Name); + output.WriteBytes(Name); } if (HasDescription) { output.WriteRawTag(42); - output.WriteString(Description); + output.WriteBytes(Description); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasId) { - output.WriteRawTag(8); - output.WriteUInt32(Id); - } - frameGroup_.WriteTo(ref output, _repeated_frameGroup_codec); - if (flags_ != null) { - output.WriteRawTag(26); - output.WriteMessage(Flags); - } - if (HasName) { - output.WriteRawTag(34); - output.WriteString(Name); - } - if (HasDescription) { - output.WriteRawTag(42); - output.WriteString(Description); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); - } - size += frameGroup_.CalculateSize(_repeated_frameGroup_codec); - if (flags_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Flags); - } - if (HasName) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (HasDescription) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Appearance other) { - if (other == null) { - return; - } - if (other.HasId) { - Id = other.Id; - } - frameGroup_.Add(other.frameGroup_); - if (other.flags_ != null) { - if (flags_ == null) { - Flags = new global::Tibia.Protobuf.Appearances.AppearanceFlags(); +#endif } - Flags.MergeFrom(other.Flags); - } - if (other.HasName) { - Name = other.Name; - } - if (other.HasDescription) { - Description = other.Description; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Id = input.ReadUInt32(); - break; - } - case 18: { - frameGroup_.AddEntriesFrom(input, _repeated_frameGroup_codec); - break; - } - case 26: { - if (flags_ == null) { - Flags = new global::Tibia.Protobuf.Appearances.AppearanceFlags(); +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasId) + { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + frameGroup_.WriteTo(ref output, _repeated_frameGroup_codec); + if (flags_ != null) + { + output.WriteRawTag(26); + output.WriteMessage(Flags); + } + if (HasName) + { + output.WriteRawTag(34); + output.WriteBytes(Name); + } + if (HasDescription) + { + output.WriteRawTag(42); + output.WriteBytes(Description); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); } - input.ReadMessage(Flags); - break; - } - case 34: { - Name = input.ReadString(); - break; - } - case 42: { - Description = input.ReadString(); - break; - } } - } - #endif - } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + size += frameGroup_.CalculateSize(_repeated_frameGroup_codec); + if (flags_ != null) + { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Flags); + } + if (HasName) + { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Name); + } + if (HasDescription) + { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Description); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Appearance other) + { + if (other == null) + { + return; + } + if (other.HasId) + { + Id = other.Id; + } + frameGroup_.Add(other.frameGroup_); + if (other.flags_ != null) + { + if (flags_ == null) + { + Flags = new global::Tibia.Protobuf.Appearances.AppearanceFlags(); + } + Flags.MergeFrom(other.Flags); + } + if (other.HasName) + { + Name = other.Name; + } + if (other.HasDescription) + { + Description = other.Description; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Id = input.ReadUInt32(); break; } case 18: { - frameGroup_.AddEntriesFrom(ref input, _repeated_frameGroup_codec); + frameGroup_.AddEntriesFrom(input, _repeated_frameGroup_codec); break; } case 26: { @@ -2772,1546 +3547,1831 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 34: { - Name = input.ReadString(); + Name = input.ReadBytes(); break; } case 42: { - Description = input.ReadString(); + Description = input.ReadBytes(); break; } } } - } - #endif - - } - - public sealed partial class AppearanceFlags : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlags()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - private int _hasBits1; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[7]; } - } +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + Id = input.ReadUInt32(); + break; + } + case 18: + { + frameGroup_.AddEntriesFrom(ref input, _repeated_frameGroup_codec); + break; + } + case 26: + { + if (flags_ == null) + { + Flags = new global::Tibia.Protobuf.Appearances.AppearanceFlags(); + } + input.ReadMessage(Flags); + break; + } + case 34: + { + Name = input.ReadBytes(); + break; + } + case 42: + { + Description = input.ReadBytes(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlags : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlags()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + private int _hasBits1; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[8]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlags() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlags(AppearanceFlags other) : this() { - _hasBits0 = other._hasBits0; - _hasBits1 = other._hasBits1; - bank_ = other.bank_ != null ? other.bank_.Clone() : null; - clip_ = other.clip_; - bottom_ = other.bottom_; - top_ = other.top_; - container_ = other.container_; - cumulative_ = other.cumulative_; - usable_ = other.usable_; - forceuse_ = other.forceuse_; - multiuse_ = other.multiuse_; - write_ = other.write_ != null ? other.write_.Clone() : null; - writeOnce_ = other.writeOnce_ != null ? other.writeOnce_.Clone() : null; - liquidpool_ = other.liquidpool_; - unpass_ = other.unpass_; - unmove_ = other.unmove_; - unsight_ = other.unsight_; - avoid_ = other.avoid_; - noMovementAnimation_ = other.noMovementAnimation_; - take_ = other.take_; - liquidcontainer_ = other.liquidcontainer_; - hang_ = other.hang_; - hook_ = other.hook_ != null ? other.hook_.Clone() : null; - rotate_ = other.rotate_; - light_ = other.light_ != null ? other.light_.Clone() : null; - dontHide_ = other.dontHide_; - translucent_ = other.translucent_; - shift_ = other.shift_ != null ? other.shift_.Clone() : null; - height_ = other.height_ != null ? other.height_.Clone() : null; - lyingObject_ = other.lyingObject_; - animateAlways_ = other.animateAlways_; - automap_ = other.automap_ != null ? other.automap_.Clone() : null; - lenshelp_ = other.lenshelp_ != null ? other.lenshelp_.Clone() : null; - fullbank_ = other.fullbank_; - ignoreLook_ = other.ignoreLook_; - clothes_ = other.clothes_ != null ? other.clothes_.Clone() : null; - defaultAction_ = other.defaultAction_ != null ? other.defaultAction_.Clone() : null; - market_ = other.market_ != null ? other.market_.Clone() : null; - wrap_ = other.wrap_; - unwrap_ = other.unwrap_; - topeffect_ = other.topeffect_; - npcsaledata_ = other.npcsaledata_.Clone(); - changedtoexpire_ = other.changedtoexpire_ != null ? other.changedtoexpire_.Clone() : null; - corpse_ = other.corpse_; - playerCorpse_ = other.playerCorpse_; - cyclopediaitem_ = other.cyclopediaitem_ != null ? other.cyclopediaitem_.Clone() : null; - ammo_ = other.ammo_; - showOffSocket_ = other.showOffSocket_; - reportable_ = other.reportable_; - upgradeclassification_ = other.upgradeclassification_ != null ? other.upgradeclassification_.Clone() : null; - reverseAddonsEast_ = other.reverseAddonsEast_; - reverseAddonsWest_ = other.reverseAddonsWest_; - reverseAddonsSouth_ = other.reverseAddonsSouth_; - reverseAddonsNorth_ = other.reverseAddonsNorth_; - wearout_ = other.wearout_; - clockexpire_ = other.clockexpire_; - expire_ = other.expire_; - expirestop_ = other.expirestop_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlags() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlags Clone() { - return new AppearanceFlags(this); - } + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlags(AppearanceFlags other) : this() + { + _hasBits0 = other._hasBits0; + _hasBits1 = other._hasBits1; + bank_ = other.bank_ != null ? other.bank_.Clone() : null; + clip_ = other.clip_; + bottom_ = other.bottom_; + top_ = other.top_; + container_ = other.container_; + cumulative_ = other.cumulative_; + usable_ = other.usable_; + forceuse_ = other.forceuse_; + multiuse_ = other.multiuse_; + write_ = other.write_ != null ? other.write_.Clone() : null; + writeOnce_ = other.writeOnce_ != null ? other.writeOnce_.Clone() : null; + liquidpool_ = other.liquidpool_; + unpass_ = other.unpass_; + unmove_ = other.unmove_; + unsight_ = other.unsight_; + avoid_ = other.avoid_; + noMovementAnimation_ = other.noMovementAnimation_; + take_ = other.take_; + liquidcontainer_ = other.liquidcontainer_; + hang_ = other.hang_; + hook_ = other.hook_ != null ? other.hook_.Clone() : null; + rotate_ = other.rotate_; + light_ = other.light_ != null ? other.light_.Clone() : null; + dontHide_ = other.dontHide_; + translucent_ = other.translucent_; + shift_ = other.shift_ != null ? other.shift_.Clone() : null; + height_ = other.height_ != null ? other.height_.Clone() : null; + lyingObject_ = other.lyingObject_; + animateAlways_ = other.animateAlways_; + automap_ = other.automap_ != null ? other.automap_.Clone() : null; + lenshelp_ = other.lenshelp_ != null ? other.lenshelp_.Clone() : null; + fullbank_ = other.fullbank_; + ignoreLook_ = other.ignoreLook_; + clothes_ = other.clothes_ != null ? other.clothes_.Clone() : null; + defaultAction_ = other.defaultAction_ != null ? other.defaultAction_.Clone() : null; + market_ = other.market_ != null ? other.market_.Clone() : null; + wrap_ = other.wrap_; + unwrap_ = other.unwrap_; + topeffect_ = other.topeffect_; + npcsaledata_ = other.npcsaledata_.Clone(); + changedtoexpire_ = other.changedtoexpire_ != null ? other.changedtoexpire_.Clone() : null; + corpse_ = other.corpse_; + playerCorpse_ = other.playerCorpse_; + cyclopediaitem_ = other.cyclopediaitem_ != null ? other.cyclopediaitem_.Clone() : null; + ammo_ = other.ammo_; + showOffSocket_ = other.showOffSocket_; + reportable_ = other.reportable_; + upgradeclassification_ = other.upgradeclassification_ != null ? other.upgradeclassification_.Clone() : null; + reverseAddonsEast_ = other.reverseAddonsEast_; + reverseAddonsWest_ = other.reverseAddonsWest_; + reverseAddonsSouth_ = other.reverseAddonsSouth_; + reverseAddonsNorth_ = other.reverseAddonsNorth_; + wearout_ = other.wearout_; + clockexpire_ = other.clockexpire_; + expire_ = other.expire_; + expirestop_ = other.expirestop_; + wrapkit_ = other.wrapkit_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "bank" field. - public const int BankFieldNumber = 1; - private global::Tibia.Protobuf.Appearances.AppearanceFlagBank bank_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagBank Bank { - get { return bank_; } - set { - bank_ = value; - } - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlags Clone() + { + return new AppearanceFlags(this); + } - /// Field number for the "clip" field. - public const int ClipFieldNumber = 2; - private readonly static bool ClipDefaultValue = false; + /// Field number for the "bank" field. + public const int BankFieldNumber = 1; + private global::Tibia.Protobuf.Appearances.AppearanceFlagBank bank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagBank Bank + { + get { return bank_; } + set + { + bank_ = value; + } + } - private bool clip_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Clip { - get { if ((_hasBits0 & 1) != 0) { return clip_; } else { return ClipDefaultValue; } } - set { - _hasBits0 |= 1; - clip_ = value; - } - } - /// Gets whether the "clip" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasClip { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "clip" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearClip() { - _hasBits0 &= ~1; - } + /// Field number for the "clip" field. + public const int ClipFieldNumber = 2; + private readonly static bool ClipDefaultValue = false; + + private bool clip_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Clip + { + get { if ((_hasBits0 & 1) != 0) { return clip_; } else { return ClipDefaultValue; } } + set + { + _hasBits0 |= 1; + clip_ = value; + } + } + /// Gets whether the "clip" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClip + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "clip" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClip() + { + _hasBits0 &= ~1; + } - /// Field number for the "bottom" field. - public const int BottomFieldNumber = 3; - private readonly static bool BottomDefaultValue = false; + /// Field number for the "bottom" field. + public const int BottomFieldNumber = 3; + private readonly static bool BottomDefaultValue = false; + + private bool bottom_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Bottom + { + get { if ((_hasBits0 & 2) != 0) { return bottom_; } else { return BottomDefaultValue; } } + set + { + _hasBits0 |= 2; + bottom_ = value; + } + } + /// Gets whether the "bottom" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBottom + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "bottom" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBottom() + { + _hasBits0 &= ~2; + } - private bool bottom_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Bottom { - get { if ((_hasBits0 & 2) != 0) { return bottom_; } else { return BottomDefaultValue; } } - set { - _hasBits0 |= 2; - bottom_ = value; - } - } - /// Gets whether the "bottom" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasBottom { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "bottom" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearBottom() { - _hasBits0 &= ~2; - } + /// Field number for the "top" field. + public const int TopFieldNumber = 4; + private readonly static bool TopDefaultValue = false; + + private bool top_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Top + { + get { if ((_hasBits0 & 4) != 0) { return top_; } else { return TopDefaultValue; } } + set + { + _hasBits0 |= 4; + top_ = value; + } + } + /// Gets whether the "top" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTop + { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "top" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTop() + { + _hasBits0 &= ~4; + } - /// Field number for the "top" field. - public const int TopFieldNumber = 4; - private readonly static bool TopDefaultValue = false; + /// Field number for the "container" field. + public const int ContainerFieldNumber = 5; + private readonly static bool ContainerDefaultValue = false; + + private bool container_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Container + { + get { if ((_hasBits0 & 8) != 0) { return container_; } else { return ContainerDefaultValue; } } + set + { + _hasBits0 |= 8; + container_ = value; + } + } + /// Gets whether the "container" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasContainer + { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "container" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearContainer() + { + _hasBits0 &= ~8; + } - private bool top_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Top { - get { if ((_hasBits0 & 4) != 0) { return top_; } else { return TopDefaultValue; } } - set { - _hasBits0 |= 4; - top_ = value; - } - } - /// Gets whether the "top" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasTop { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "top" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearTop() { - _hasBits0 &= ~4; - } + /// Field number for the "cumulative" field. + public const int CumulativeFieldNumber = 6; + private readonly static bool CumulativeDefaultValue = false; + + private bool cumulative_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Cumulative + { + get { if ((_hasBits0 & 16) != 0) { return cumulative_; } else { return CumulativeDefaultValue; } } + set + { + _hasBits0 |= 16; + cumulative_ = value; + } + } + /// Gets whether the "cumulative" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCumulative + { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "cumulative" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCumulative() + { + _hasBits0 &= ~16; + } - /// Field number for the "container" field. - public const int ContainerFieldNumber = 5; - private readonly static bool ContainerDefaultValue = false; + /// Field number for the "usable" field. + public const int UsableFieldNumber = 7; + private readonly static bool UsableDefaultValue = false; + + private bool usable_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Usable + { + get { if ((_hasBits0 & 32) != 0) { return usable_; } else { return UsableDefaultValue; } } + set + { + _hasBits0 |= 32; + usable_ = value; + } + } + /// Gets whether the "usable" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUsable + { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "usable" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUsable() + { + _hasBits0 &= ~32; + } - private bool container_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Container { - get { if ((_hasBits0 & 8) != 0) { return container_; } else { return ContainerDefaultValue; } } - set { - _hasBits0 |= 8; - container_ = value; - } - } - /// Gets whether the "container" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasContainer { - get { return (_hasBits0 & 8) != 0; } - } - /// Clears the value of the "container" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearContainer() { - _hasBits0 &= ~8; - } + /// Field number for the "forceuse" field. + public const int ForceuseFieldNumber = 8; + private readonly static bool ForceuseDefaultValue = false; + + private bool forceuse_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Forceuse + { + get { if ((_hasBits0 & 64) != 0) { return forceuse_; } else { return ForceuseDefaultValue; } } + set + { + _hasBits0 |= 64; + forceuse_ = value; + } + } + /// Gets whether the "forceuse" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasForceuse + { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "forceuse" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearForceuse() + { + _hasBits0 &= ~64; + } - /// Field number for the "cumulative" field. - public const int CumulativeFieldNumber = 6; - private readonly static bool CumulativeDefaultValue = false; + /// Field number for the "multiuse" field. + public const int MultiuseFieldNumber = 9; + private readonly static bool MultiuseDefaultValue = false; + + private bool multiuse_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Multiuse + { + get { if ((_hasBits0 & 128) != 0) { return multiuse_; } else { return MultiuseDefaultValue; } } + set + { + _hasBits0 |= 128; + multiuse_ = value; + } + } + /// Gets whether the "multiuse" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMultiuse + { + get { return (_hasBits0 & 128) != 0; } + } + /// Clears the value of the "multiuse" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMultiuse() + { + _hasBits0 &= ~128; + } - private bool cumulative_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Cumulative { - get { if ((_hasBits0 & 16) != 0) { return cumulative_; } else { return CumulativeDefaultValue; } } - set { - _hasBits0 |= 16; - cumulative_ = value; - } - } - /// Gets whether the "cumulative" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCumulative { - get { return (_hasBits0 & 16) != 0; } - } - /// Clears the value of the "cumulative" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCumulative() { - _hasBits0 &= ~16; - } + /// Field number for the "write" field. + public const int WriteFieldNumber = 10; + private global::Tibia.Protobuf.Appearances.AppearanceFlagWrite write_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagWrite Write + { + get { return write_; } + set + { + write_ = value; + } + } - /// Field number for the "usable" field. - public const int UsableFieldNumber = 7; - private readonly static bool UsableDefaultValue = false; + /// Field number for the "write_once" field. + public const int WriteOnceFieldNumber = 11; + private global::Tibia.Protobuf.Appearances.AppearanceFlagWriteOnce writeOnce_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagWriteOnce WriteOnce + { + get { return writeOnce_; } + set + { + writeOnce_ = value; + } + } - private bool usable_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Usable { - get { if ((_hasBits0 & 32) != 0) { return usable_; } else { return UsableDefaultValue; } } - set { - _hasBits0 |= 32; - usable_ = value; - } - } - /// Gets whether the "usable" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasUsable { - get { return (_hasBits0 & 32) != 0; } - } - /// Clears the value of the "usable" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearUsable() { - _hasBits0 &= ~32; - } + /// Field number for the "liquidpool" field. + public const int LiquidpoolFieldNumber = 12; + private readonly static bool LiquidpoolDefaultValue = false; + + private bool liquidpool_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Liquidpool + { + get { if ((_hasBits0 & 256) != 0) { return liquidpool_; } else { return LiquidpoolDefaultValue; } } + set + { + _hasBits0 |= 256; + liquidpool_ = value; + } + } + /// Gets whether the "liquidpool" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLiquidpool + { + get { return (_hasBits0 & 256) != 0; } + } + /// Clears the value of the "liquidpool" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLiquidpool() + { + _hasBits0 &= ~256; + } - /// Field number for the "forceuse" field. - public const int ForceuseFieldNumber = 8; - private readonly static bool ForceuseDefaultValue = false; + /// Field number for the "unpass" field. + public const int UnpassFieldNumber = 13; + private readonly static bool UnpassDefaultValue = false; + + private bool unpass_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Unpass + { + get { if ((_hasBits0 & 512) != 0) { return unpass_; } else { return UnpassDefaultValue; } } + set + { + _hasBits0 |= 512; + unpass_ = value; + } + } + /// Gets whether the "unpass" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUnpass + { + get { return (_hasBits0 & 512) != 0; } + } + /// Clears the value of the "unpass" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUnpass() + { + _hasBits0 &= ~512; + } - private bool forceuse_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Forceuse { - get { if ((_hasBits0 & 64) != 0) { return forceuse_; } else { return ForceuseDefaultValue; } } - set { - _hasBits0 |= 64; - forceuse_ = value; - } - } - /// Gets whether the "forceuse" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasForceuse { - get { return (_hasBits0 & 64) != 0; } - } - /// Clears the value of the "forceuse" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearForceuse() { - _hasBits0 &= ~64; - } + /// Field number for the "unmove" field. + public const int UnmoveFieldNumber = 14; + private readonly static bool UnmoveDefaultValue = false; + + private bool unmove_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Unmove + { + get { if ((_hasBits0 & 1024) != 0) { return unmove_; } else { return UnmoveDefaultValue; } } + set + { + _hasBits0 |= 1024; + unmove_ = value; + } + } + /// Gets whether the "unmove" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUnmove + { + get { return (_hasBits0 & 1024) != 0; } + } + /// Clears the value of the "unmove" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUnmove() + { + _hasBits0 &= ~1024; + } - /// Field number for the "multiuse" field. - public const int MultiuseFieldNumber = 9; - private readonly static bool MultiuseDefaultValue = false; + /// Field number for the "unsight" field. + public const int UnsightFieldNumber = 15; + private readonly static bool UnsightDefaultValue = false; + + private bool unsight_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Unsight + { + get { if ((_hasBits0 & 2048) != 0) { return unsight_; } else { return UnsightDefaultValue; } } + set + { + _hasBits0 |= 2048; + unsight_ = value; + } + } + /// Gets whether the "unsight" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUnsight + { + get { return (_hasBits0 & 2048) != 0; } + } + /// Clears the value of the "unsight" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUnsight() + { + _hasBits0 &= ~2048; + } - private bool multiuse_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Multiuse { - get { if ((_hasBits0 & 128) != 0) { return multiuse_; } else { return MultiuseDefaultValue; } } - set { - _hasBits0 |= 128; - multiuse_ = value; - } - } - /// Gets whether the "multiuse" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasMultiuse { - get { return (_hasBits0 & 128) != 0; } - } - /// Clears the value of the "multiuse" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearMultiuse() { - _hasBits0 &= ~128; - } + /// Field number for the "avoid" field. + public const int AvoidFieldNumber = 16; + private readonly static bool AvoidDefaultValue = false; + + private bool avoid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Avoid + { + get { if ((_hasBits0 & 4096) != 0) { return avoid_; } else { return AvoidDefaultValue; } } + set + { + _hasBits0 |= 4096; + avoid_ = value; + } + } + /// Gets whether the "avoid" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAvoid + { + get { return (_hasBits0 & 4096) != 0; } + } + /// Clears the value of the "avoid" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAvoid() + { + _hasBits0 &= ~4096; + } - /// Field number for the "write" field. - public const int WriteFieldNumber = 10; - private global::Tibia.Protobuf.Appearances.AppearanceFlagWrite write_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagWrite Write { - get { return write_; } - set { - write_ = value; - } - } + /// Field number for the "no_movement_animation" field. + public const int NoMovementAnimationFieldNumber = 17; + private readonly static bool NoMovementAnimationDefaultValue = false; + + private bool noMovementAnimation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool NoMovementAnimation + { + get { if ((_hasBits0 & 8192) != 0) { return noMovementAnimation_; } else { return NoMovementAnimationDefaultValue; } } + set + { + _hasBits0 |= 8192; + noMovementAnimation_ = value; + } + } + /// Gets whether the "no_movement_animation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasNoMovementAnimation + { + get { return (_hasBits0 & 8192) != 0; } + } + /// Clears the value of the "no_movement_animation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearNoMovementAnimation() + { + _hasBits0 &= ~8192; + } - /// Field number for the "write_once" field. - public const int WriteOnceFieldNumber = 11; - private global::Tibia.Protobuf.Appearances.AppearanceFlagWriteOnce writeOnce_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagWriteOnce WriteOnce { - get { return writeOnce_; } - set { - writeOnce_ = value; - } - } + /// Field number for the "take" field. + public const int TakeFieldNumber = 18; + private readonly static bool TakeDefaultValue = false; + + private bool take_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Take + { + get { if ((_hasBits0 & 16384) != 0) { return take_; } else { return TakeDefaultValue; } } + set + { + _hasBits0 |= 16384; + take_ = value; + } + } + /// Gets whether the "take" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTake + { + get { return (_hasBits0 & 16384) != 0; } + } + /// Clears the value of the "take" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTake() + { + _hasBits0 &= ~16384; + } - /// Field number for the "liquidpool" field. - public const int LiquidpoolFieldNumber = 12; - private readonly static bool LiquidpoolDefaultValue = false; + /// Field number for the "liquidcontainer" field. + public const int LiquidcontainerFieldNumber = 19; + private readonly static bool LiquidcontainerDefaultValue = false; + + private bool liquidcontainer_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Liquidcontainer + { + get { if ((_hasBits0 & 32768) != 0) { return liquidcontainer_; } else { return LiquidcontainerDefaultValue; } } + set + { + _hasBits0 |= 32768; + liquidcontainer_ = value; + } + } + /// Gets whether the "liquidcontainer" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLiquidcontainer + { + get { return (_hasBits0 & 32768) != 0; } + } + /// Clears the value of the "liquidcontainer" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLiquidcontainer() + { + _hasBits0 &= ~32768; + } - private bool liquidpool_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Liquidpool { - get { if ((_hasBits0 & 256) != 0) { return liquidpool_; } else { return LiquidpoolDefaultValue; } } - set { - _hasBits0 |= 256; - liquidpool_ = value; - } - } - /// Gets whether the "liquidpool" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasLiquidpool { - get { return (_hasBits0 & 256) != 0; } - } - /// Clears the value of the "liquidpool" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearLiquidpool() { - _hasBits0 &= ~256; - } + /// Field number for the "hang" field. + public const int HangFieldNumber = 20; + private readonly static bool HangDefaultValue = false; + + private bool hang_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Hang + { + get { if ((_hasBits0 & 65536) != 0) { return hang_; } else { return HangDefaultValue; } } + set + { + _hasBits0 |= 65536; + hang_ = value; + } + } + /// Gets whether the "hang" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasHang + { + get { return (_hasBits0 & 65536) != 0; } + } + /// Clears the value of the "hang" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearHang() + { + _hasBits0 &= ~65536; + } - /// Field number for the "unpass" field. - public const int UnpassFieldNumber = 13; - private readonly static bool UnpassDefaultValue = false; + /// Field number for the "hook" field. + public const int HookFieldNumber = 21; + private global::Tibia.Protobuf.Appearances.AppearanceFlagHook hook_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagHook Hook + { + get { return hook_; } + set + { + hook_ = value; + } + } - private bool unpass_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Unpass { - get { if ((_hasBits0 & 512) != 0) { return unpass_; } else { return UnpassDefaultValue; } } - set { - _hasBits0 |= 512; - unpass_ = value; - } - } - /// Gets whether the "unpass" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasUnpass { - get { return (_hasBits0 & 512) != 0; } - } - /// Clears the value of the "unpass" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearUnpass() { - _hasBits0 &= ~512; - } + /// Field number for the "rotate" field. + public const int RotateFieldNumber = 22; + private readonly static bool RotateDefaultValue = false; + + private bool rotate_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Rotate + { + get { if ((_hasBits0 & 131072) != 0) { return rotate_; } else { return RotateDefaultValue; } } + set + { + _hasBits0 |= 131072; + rotate_ = value; + } + } + /// Gets whether the "rotate" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRotate + { + get { return (_hasBits0 & 131072) != 0; } + } + /// Clears the value of the "rotate" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRotate() + { + _hasBits0 &= ~131072; + } - /// Field number for the "unmove" field. - public const int UnmoveFieldNumber = 14; - private readonly static bool UnmoveDefaultValue = false; + /// Field number for the "light" field. + public const int LightFieldNumber = 23; + private global::Tibia.Protobuf.Appearances.AppearanceFlagLight light_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagLight Light + { + get { return light_; } + set + { + light_ = value; + } + } - private bool unmove_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Unmove { - get { if ((_hasBits0 & 1024) != 0) { return unmove_; } else { return UnmoveDefaultValue; } } - set { - _hasBits0 |= 1024; - unmove_ = value; - } - } - /// Gets whether the "unmove" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasUnmove { - get { return (_hasBits0 & 1024) != 0; } - } - /// Clears the value of the "unmove" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearUnmove() { - _hasBits0 &= ~1024; - } + /// Field number for the "dont_hide" field. + public const int DontHideFieldNumber = 24; + private readonly static bool DontHideDefaultValue = false; + + private bool dontHide_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool DontHide + { + get { if ((_hasBits0 & 262144) != 0) { return dontHide_; } else { return DontHideDefaultValue; } } + set + { + _hasBits0 |= 262144; + dontHide_ = value; + } + } + /// Gets whether the "dont_hide" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDontHide + { + get { return (_hasBits0 & 262144) != 0; } + } + /// Clears the value of the "dont_hide" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDontHide() + { + _hasBits0 &= ~262144; + } - /// Field number for the "unsight" field. - public const int UnsightFieldNumber = 15; - private readonly static bool UnsightDefaultValue = false; + /// Field number for the "translucent" field. + public const int TranslucentFieldNumber = 25; + private readonly static bool TranslucentDefaultValue = false; + + private bool translucent_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Translucent + { + get { if ((_hasBits0 & 524288) != 0) { return translucent_; } else { return TranslucentDefaultValue; } } + set + { + _hasBits0 |= 524288; + translucent_ = value; + } + } + /// Gets whether the "translucent" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTranslucent + { + get { return (_hasBits0 & 524288) != 0; } + } + /// Clears the value of the "translucent" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTranslucent() + { + _hasBits0 &= ~524288; + } - private bool unsight_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Unsight { - get { if ((_hasBits0 & 2048) != 0) { return unsight_; } else { return UnsightDefaultValue; } } - set { - _hasBits0 |= 2048; - unsight_ = value; - } - } - /// Gets whether the "unsight" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasUnsight { - get { return (_hasBits0 & 2048) != 0; } - } - /// Clears the value of the "unsight" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearUnsight() { - _hasBits0 &= ~2048; - } + /// Field number for the "shift" field. + public const int ShiftFieldNumber = 26; + private global::Tibia.Protobuf.Appearances.AppearanceFlagShift shift_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagShift Shift + { + get { return shift_; } + set + { + shift_ = value; + } + } - /// Field number for the "avoid" field. - public const int AvoidFieldNumber = 16; - private readonly static bool AvoidDefaultValue = false; + /// Field number for the "height" field. + public const int HeightFieldNumber = 27; + private global::Tibia.Protobuf.Appearances.AppearanceFlagHeight height_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagHeight Height + { + get { return height_; } + set + { + height_ = value; + } + } - private bool avoid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Avoid { - get { if ((_hasBits0 & 4096) != 0) { return avoid_; } else { return AvoidDefaultValue; } } - set { - _hasBits0 |= 4096; - avoid_ = value; - } - } - /// Gets whether the "avoid" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasAvoid { - get { return (_hasBits0 & 4096) != 0; } - } - /// Clears the value of the "avoid" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearAvoid() { - _hasBits0 &= ~4096; - } + /// Field number for the "lying_object" field. + public const int LyingObjectFieldNumber = 28; + private readonly static bool LyingObjectDefaultValue = false; + + private bool lyingObject_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool LyingObject + { + get { if ((_hasBits0 & 1048576) != 0) { return lyingObject_; } else { return LyingObjectDefaultValue; } } + set + { + _hasBits0 |= 1048576; + lyingObject_ = value; + } + } + /// Gets whether the "lying_object" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLyingObject + { + get { return (_hasBits0 & 1048576) != 0; } + } + /// Clears the value of the "lying_object" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLyingObject() + { + _hasBits0 &= ~1048576; + } - /// Field number for the "no_movement_animation" field. - public const int NoMovementAnimationFieldNumber = 17; - private readonly static bool NoMovementAnimationDefaultValue = false; + /// Field number for the "animate_always" field. + public const int AnimateAlwaysFieldNumber = 29; + private readonly static bool AnimateAlwaysDefaultValue = false; + + private bool animateAlways_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool AnimateAlways + { + get { if ((_hasBits0 & 2097152) != 0) { return animateAlways_; } else { return AnimateAlwaysDefaultValue; } } + set + { + _hasBits0 |= 2097152; + animateAlways_ = value; + } + } + /// Gets whether the "animate_always" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAnimateAlways + { + get { return (_hasBits0 & 2097152) != 0; } + } + /// Clears the value of the "animate_always" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAnimateAlways() + { + _hasBits0 &= ~2097152; + } - private bool noMovementAnimation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool NoMovementAnimation { - get { if ((_hasBits0 & 8192) != 0) { return noMovementAnimation_; } else { return NoMovementAnimationDefaultValue; } } - set { - _hasBits0 |= 8192; - noMovementAnimation_ = value; - } - } - /// Gets whether the "no_movement_animation" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasNoMovementAnimation { - get { return (_hasBits0 & 8192) != 0; } - } - /// Clears the value of the "no_movement_animation" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearNoMovementAnimation() { - _hasBits0 &= ~8192; - } + /// Field number for the "automap" field. + public const int AutomapFieldNumber = 30; + private global::Tibia.Protobuf.Appearances.AppearanceFlagAutomap automap_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagAutomap Automap + { + get { return automap_; } + set + { + automap_ = value; + } + } - /// Field number for the "take" field. - public const int TakeFieldNumber = 18; - private readonly static bool TakeDefaultValue = false; + /// Field number for the "lenshelp" field. + public const int LenshelpFieldNumber = 31; + private global::Tibia.Protobuf.Appearances.AppearanceFlagLenshelp lenshelp_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagLenshelp Lenshelp + { + get { return lenshelp_; } + set + { + lenshelp_ = value; + } + } - private bool take_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Take { - get { if ((_hasBits0 & 16384) != 0) { return take_; } else { return TakeDefaultValue; } } - set { - _hasBits0 |= 16384; - take_ = value; - } - } - /// Gets whether the "take" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasTake { - get { return (_hasBits0 & 16384) != 0; } - } - /// Clears the value of the "take" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearTake() { - _hasBits0 &= ~16384; - } + /// Field number for the "fullbank" field. + public const int FullbankFieldNumber = 32; + private readonly static bool FullbankDefaultValue = false; + + private bool fullbank_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Fullbank + { + get { if ((_hasBits0 & 4194304) != 0) { return fullbank_; } else { return FullbankDefaultValue; } } + set + { + _hasBits0 |= 4194304; + fullbank_ = value; + } + } + /// Gets whether the "fullbank" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFullbank + { + get { return (_hasBits0 & 4194304) != 0; } + } + /// Clears the value of the "fullbank" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFullbank() + { + _hasBits0 &= ~4194304; + } - /// Field number for the "liquidcontainer" field. - public const int LiquidcontainerFieldNumber = 19; - private readonly static bool LiquidcontainerDefaultValue = false; + /// Field number for the "ignore_look" field. + public const int IgnoreLookFieldNumber = 33; + private readonly static bool IgnoreLookDefaultValue = false; + + private bool ignoreLook_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IgnoreLook + { + get { if ((_hasBits0 & 8388608) != 0) { return ignoreLook_; } else { return IgnoreLookDefaultValue; } } + set + { + _hasBits0 |= 8388608; + ignoreLook_ = value; + } + } + /// Gets whether the "ignore_look" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasIgnoreLook + { + get { return (_hasBits0 & 8388608) != 0; } + } + /// Clears the value of the "ignore_look" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearIgnoreLook() + { + _hasBits0 &= ~8388608; + } - private bool liquidcontainer_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Liquidcontainer { - get { if ((_hasBits0 & 32768) != 0) { return liquidcontainer_; } else { return LiquidcontainerDefaultValue; } } - set { - _hasBits0 |= 32768; - liquidcontainer_ = value; - } - } - /// Gets whether the "liquidcontainer" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasLiquidcontainer { - get { return (_hasBits0 & 32768) != 0; } - } - /// Clears the value of the "liquidcontainer" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearLiquidcontainer() { - _hasBits0 &= ~32768; - } + /// Field number for the "clothes" field. + public const int ClothesFieldNumber = 34; + private global::Tibia.Protobuf.Appearances.AppearanceFlagClothes clothes_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagClothes Clothes + { + get { return clothes_; } + set + { + clothes_ = value; + } + } - /// Field number for the "hang" field. - public const int HangFieldNumber = 20; - private readonly static bool HangDefaultValue = false; + /// Field number for the "default_action" field. + public const int DefaultActionFieldNumber = 35; + private global::Tibia.Protobuf.Appearances.AppearanceFlagDefaultAction defaultAction_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagDefaultAction DefaultAction + { + get { return defaultAction_; } + set + { + defaultAction_ = value; + } + } - private bool hang_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Hang { - get { if ((_hasBits0 & 65536) != 0) { return hang_; } else { return HangDefaultValue; } } - set { - _hasBits0 |= 65536; - hang_ = value; - } - } - /// Gets whether the "hang" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasHang { - get { return (_hasBits0 & 65536) != 0; } - } - /// Clears the value of the "hang" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearHang() { - _hasBits0 &= ~65536; - } + /// Field number for the "market" field. + public const int MarketFieldNumber = 36; + private global::Tibia.Protobuf.Appearances.AppearanceFlagMarket market_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagMarket Market + { + get { return market_; } + set + { + market_ = value; + } + } - /// Field number for the "hook" field. - public const int HookFieldNumber = 21; - private global::Tibia.Protobuf.Appearances.AppearanceFlagHook hook_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagHook Hook { - get { return hook_; } - set { - hook_ = value; - } - } + /// Field number for the "wrap" field. + public const int WrapFieldNumber = 37; + private readonly static bool WrapDefaultValue = false; + + private bool wrap_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Wrap + { + get { if ((_hasBits0 & 16777216) != 0) { return wrap_; } else { return WrapDefaultValue; } } + set + { + _hasBits0 |= 16777216; + wrap_ = value; + } + } + /// Gets whether the "wrap" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWrap + { + get { return (_hasBits0 & 16777216) != 0; } + } + /// Clears the value of the "wrap" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWrap() + { + _hasBits0 &= ~16777216; + } - /// Field number for the "rotate" field. - public const int RotateFieldNumber = 22; - private readonly static bool RotateDefaultValue = false; - - private bool rotate_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Rotate { - get { if ((_hasBits0 & 131072) != 0) { return rotate_; } else { return RotateDefaultValue; } } - set { - _hasBits0 |= 131072; - rotate_ = value; - } - } - /// Gets whether the "rotate" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasRotate { - get { return (_hasBits0 & 131072) != 0; } - } - /// Clears the value of the "rotate" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearRotate() { - _hasBits0 &= ~131072; - } - - /// Field number for the "light" field. - public const int LightFieldNumber = 23; - private global::Tibia.Protobuf.Appearances.AppearanceFlagLight light_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagLight Light { - get { return light_; } - set { - light_ = value; - } - } - - /// Field number for the "dont_hide" field. - public const int DontHideFieldNumber = 24; - private readonly static bool DontHideDefaultValue = false; - - private bool dontHide_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool DontHide { - get { if ((_hasBits0 & 262144) != 0) { return dontHide_; } else { return DontHideDefaultValue; } } - set { - _hasBits0 |= 262144; - dontHide_ = value; - } - } - /// Gets whether the "dont_hide" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasDontHide { - get { return (_hasBits0 & 262144) != 0; } - } - /// Clears the value of the "dont_hide" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearDontHide() { - _hasBits0 &= ~262144; - } - - /// Field number for the "translucent" field. - public const int TranslucentFieldNumber = 25; - private readonly static bool TranslucentDefaultValue = false; - - private bool translucent_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Translucent { - get { if ((_hasBits0 & 524288) != 0) { return translucent_; } else { return TranslucentDefaultValue; } } - set { - _hasBits0 |= 524288; - translucent_ = value; - } - } - /// Gets whether the "translucent" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasTranslucent { - get { return (_hasBits0 & 524288) != 0; } - } - /// Clears the value of the "translucent" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearTranslucent() { - _hasBits0 &= ~524288; - } - - /// Field number for the "shift" field. - public const int ShiftFieldNumber = 26; - private global::Tibia.Protobuf.Appearances.AppearanceFlagShift shift_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagShift Shift { - get { return shift_; } - set { - shift_ = value; - } - } - - /// Field number for the "height" field. - public const int HeightFieldNumber = 27; - private global::Tibia.Protobuf.Appearances.AppearanceFlagHeight height_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagHeight Height { - get { return height_; } - set { - height_ = value; - } - } - - /// Field number for the "lying_object" field. - public const int LyingObjectFieldNumber = 28; - private readonly static bool LyingObjectDefaultValue = false; - - private bool lyingObject_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool LyingObject { - get { if ((_hasBits0 & 1048576) != 0) { return lyingObject_; } else { return LyingObjectDefaultValue; } } - set { - _hasBits0 |= 1048576; - lyingObject_ = value; - } - } - /// Gets whether the "lying_object" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasLyingObject { - get { return (_hasBits0 & 1048576) != 0; } - } - /// Clears the value of the "lying_object" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearLyingObject() { - _hasBits0 &= ~1048576; - } - - /// Field number for the "animate_always" field. - public const int AnimateAlwaysFieldNumber = 29; - private readonly static bool AnimateAlwaysDefaultValue = false; - - private bool animateAlways_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool AnimateAlways { - get { if ((_hasBits0 & 2097152) != 0) { return animateAlways_; } else { return AnimateAlwaysDefaultValue; } } - set { - _hasBits0 |= 2097152; - animateAlways_ = value; - } - } - /// Gets whether the "animate_always" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasAnimateAlways { - get { return (_hasBits0 & 2097152) != 0; } - } - /// Clears the value of the "animate_always" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearAnimateAlways() { - _hasBits0 &= ~2097152; - } - - /// Field number for the "automap" field. - public const int AutomapFieldNumber = 30; - private global::Tibia.Protobuf.Appearances.AppearanceFlagAutomap automap_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagAutomap Automap { - get { return automap_; } - set { - automap_ = value; - } - } - - /// Field number for the "lenshelp" field. - public const int LenshelpFieldNumber = 31; - private global::Tibia.Protobuf.Appearances.AppearanceFlagLenshelp lenshelp_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagLenshelp Lenshelp { - get { return lenshelp_; } - set { - lenshelp_ = value; - } - } - - /// Field number for the "fullbank" field. - public const int FullbankFieldNumber = 32; - private readonly static bool FullbankDefaultValue = false; - - private bool fullbank_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Fullbank { - get { if ((_hasBits0 & 4194304) != 0) { return fullbank_; } else { return FullbankDefaultValue; } } - set { - _hasBits0 |= 4194304; - fullbank_ = value; - } - } - /// Gets whether the "fullbank" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasFullbank { - get { return (_hasBits0 & 4194304) != 0; } - } - /// Clears the value of the "fullbank" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearFullbank() { - _hasBits0 &= ~4194304; - } - - /// Field number for the "ignore_look" field. - public const int IgnoreLookFieldNumber = 33; - private readonly static bool IgnoreLookDefaultValue = false; - - private bool ignoreLook_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool IgnoreLook { - get { if ((_hasBits0 & 8388608) != 0) { return ignoreLook_; } else { return IgnoreLookDefaultValue; } } - set { - _hasBits0 |= 8388608; - ignoreLook_ = value; - } - } - /// Gets whether the "ignore_look" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasIgnoreLook { - get { return (_hasBits0 & 8388608) != 0; } - } - /// Clears the value of the "ignore_look" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearIgnoreLook() { - _hasBits0 &= ~8388608; - } - - /// Field number for the "clothes" field. - public const int ClothesFieldNumber = 34; - private global::Tibia.Protobuf.Appearances.AppearanceFlagClothes clothes_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagClothes Clothes { - get { return clothes_; } - set { - clothes_ = value; - } - } - - /// Field number for the "default_action" field. - public const int DefaultActionFieldNumber = 35; - private global::Tibia.Protobuf.Appearances.AppearanceFlagDefaultAction defaultAction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagDefaultAction DefaultAction { - get { return defaultAction_; } - set { - defaultAction_ = value; - } - } - - /// Field number for the "market" field. - public const int MarketFieldNumber = 36; - private global::Tibia.Protobuf.Appearances.AppearanceFlagMarket market_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagMarket Market { - get { return market_; } - set { - market_ = value; - } - } - - /// Field number for the "wrap" field. - public const int WrapFieldNumber = 37; - private readonly static bool WrapDefaultValue = false; - - private bool wrap_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Wrap { - get { if ((_hasBits0 & 16777216) != 0) { return wrap_; } else { return WrapDefaultValue; } } - set { - _hasBits0 |= 16777216; - wrap_ = value; - } - } - /// Gets whether the "wrap" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasWrap { - get { return (_hasBits0 & 16777216) != 0; } - } - /// Clears the value of the "wrap" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearWrap() { - _hasBits0 &= ~16777216; - } - - /// Field number for the "unwrap" field. - public const int UnwrapFieldNumber = 38; - private readonly static bool UnwrapDefaultValue = false; - - private bool unwrap_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Unwrap { - get { if ((_hasBits0 & 33554432) != 0) { return unwrap_; } else { return UnwrapDefaultValue; } } - set { - _hasBits0 |= 33554432; - unwrap_ = value; - } - } - /// Gets whether the "unwrap" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasUnwrap { - get { return (_hasBits0 & 33554432) != 0; } - } - /// Clears the value of the "unwrap" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearUnwrap() { - _hasBits0 &= ~33554432; - } - - /// Field number for the "topeffect" field. - public const int TopeffectFieldNumber = 39; - private readonly static bool TopeffectDefaultValue = false; - - private bool topeffect_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Topeffect { - get { if ((_hasBits0 & 67108864) != 0) { return topeffect_; } else { return TopeffectDefaultValue; } } - set { - _hasBits0 |= 67108864; - topeffect_ = value; - } - } - /// Gets whether the "topeffect" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasTopeffect { - get { return (_hasBits0 & 67108864) != 0; } - } - /// Clears the value of the "topeffect" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearTopeffect() { - _hasBits0 &= ~67108864; - } - - /// Field number for the "npcsaledata" field. - public const int NpcsaledataFieldNumber = 40; - private static readonly pb::FieldCodec _repeated_npcsaledata_codec - = pb::FieldCodec.ForMessage(322, global::Tibia.Protobuf.Appearances.AppearanceFlagNPC.Parser); - private readonly pbc::RepeatedField npcsaledata_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Npcsaledata { - get { return npcsaledata_; } - } - - /// Field number for the "changedtoexpire" field. - public const int ChangedtoexpireFieldNumber = 41; - private global::Tibia.Protobuf.Appearances.AppearanceFlagChangedToExpire changedtoexpire_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagChangedToExpire Changedtoexpire { - get { return changedtoexpire_; } - set { - changedtoexpire_ = value; - } - } - - /// Field number for the "corpse" field. - public const int CorpseFieldNumber = 42; - private readonly static bool CorpseDefaultValue = false; - - private bool corpse_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Corpse { - get { if ((_hasBits0 & 134217728) != 0) { return corpse_; } else { return CorpseDefaultValue; } } - set { - _hasBits0 |= 134217728; - corpse_ = value; - } - } - /// Gets whether the "corpse" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCorpse { - get { return (_hasBits0 & 134217728) != 0; } - } - /// Clears the value of the "corpse" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCorpse() { - _hasBits0 &= ~134217728; - } - - /// Field number for the "player_corpse" field. - public const int PlayerCorpseFieldNumber = 43; - private readonly static bool PlayerCorpseDefaultValue = false; - - private bool playerCorpse_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool PlayerCorpse { - get { if ((_hasBits0 & 268435456) != 0) { return playerCorpse_; } else { return PlayerCorpseDefaultValue; } } - set { - _hasBits0 |= 268435456; - playerCorpse_ = value; - } - } - /// Gets whether the "player_corpse" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPlayerCorpse { - get { return (_hasBits0 & 268435456) != 0; } - } - /// Clears the value of the "player_corpse" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPlayerCorpse() { - _hasBits0 &= ~268435456; - } - - /// Field number for the "cyclopediaitem" field. - public const int CyclopediaitemFieldNumber = 44; - private global::Tibia.Protobuf.Appearances.AppearanceFlagCyclopedia cyclopediaitem_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagCyclopedia Cyclopediaitem { - get { return cyclopediaitem_; } - set { - cyclopediaitem_ = value; - } - } - - /// Field number for the "ammo" field. - public const int AmmoFieldNumber = 45; - private readonly static bool AmmoDefaultValue = false; - - private bool ammo_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Ammo { - get { if ((_hasBits0 & 536870912) != 0) { return ammo_; } else { return AmmoDefaultValue; } } - set { - _hasBits0 |= 536870912; - ammo_ = value; - } - } - /// Gets whether the "ammo" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasAmmo { - get { return (_hasBits0 & 536870912) != 0; } - } - /// Clears the value of the "ammo" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearAmmo() { - _hasBits0 &= ~536870912; - } - - /// Field number for the "show_off_socket" field. - public const int ShowOffSocketFieldNumber = 46; - private readonly static bool ShowOffSocketDefaultValue = false; - - private bool showOffSocket_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ShowOffSocket { - get { if ((_hasBits0 & 1073741824) != 0) { return showOffSocket_; } else { return ShowOffSocketDefaultValue; } } - set { - _hasBits0 |= 1073741824; - showOffSocket_ = value; - } - } - /// Gets whether the "show_off_socket" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasShowOffSocket { - get { return (_hasBits0 & 1073741824) != 0; } - } - /// Clears the value of the "show_off_socket" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearShowOffSocket() { - _hasBits0 &= ~1073741824; - } + /// Field number for the "unwrap" field. + public const int UnwrapFieldNumber = 38; + private readonly static bool UnwrapDefaultValue = false; + + private bool unwrap_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Unwrap + { + get { if ((_hasBits0 & 33554432) != 0) { return unwrap_; } else { return UnwrapDefaultValue; } } + set + { + _hasBits0 |= 33554432; + unwrap_ = value; + } + } + /// Gets whether the "unwrap" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUnwrap + { + get { return (_hasBits0 & 33554432) != 0; } + } + /// Clears the value of the "unwrap" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUnwrap() + { + _hasBits0 &= ~33554432; + } - /// Field number for the "reportable" field. - public const int ReportableFieldNumber = 47; - private readonly static bool ReportableDefaultValue = false; + /// Field number for the "topeffect" field. + public const int TopeffectFieldNumber = 39; + private readonly static bool TopeffectDefaultValue = false; + + private bool topeffect_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Topeffect + { + get { if ((_hasBits0 & 67108864) != 0) { return topeffect_; } else { return TopeffectDefaultValue; } } + set + { + _hasBits0 |= 67108864; + topeffect_ = value; + } + } + /// Gets whether the "topeffect" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTopeffect + { + get { return (_hasBits0 & 67108864) != 0; } + } + /// Clears the value of the "topeffect" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTopeffect() + { + _hasBits0 &= ~67108864; + } - private bool reportable_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Reportable { - get { if ((_hasBits0 & -2147483648) != 0) { return reportable_; } else { return ReportableDefaultValue; } } - set { - _hasBits0 |= -2147483648; - reportable_ = value; - } - } - /// Gets whether the "reportable" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasReportable { - get { return (_hasBits0 & -2147483648) != 0; } - } - /// Clears the value of the "reportable" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearReportable() { - _hasBits0 &= ~-2147483648; - } + /// Field number for the "npcsaledata" field. + public const int NpcsaledataFieldNumber = 40; + private static readonly pb::FieldCodec _repeated_npcsaledata_codec + = pb::FieldCodec.ForMessage(322, global::Tibia.Protobuf.Appearances.AppearanceFlagNPC.Parser); + private readonly pbc::RepeatedField npcsaledata_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Npcsaledata + { + get { return npcsaledata_; } + } - /// Field number for the "upgradeclassification" field. - public const int UpgradeclassificationFieldNumber = 48; - private global::Tibia.Protobuf.Appearances.AppearanceFlagUpgradeClassification upgradeclassification_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Appearances.AppearanceFlagUpgradeClassification Upgradeclassification { - get { return upgradeclassification_; } - set { - upgradeclassification_ = value; - } - } + /// Field number for the "changedtoexpire" field. + public const int ChangedtoexpireFieldNumber = 41; + private global::Tibia.Protobuf.Appearances.AppearanceFlagChangedToExpire changedtoexpire_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagChangedToExpire Changedtoexpire + { + get { return changedtoexpire_; } + set + { + changedtoexpire_ = value; + } + } - /// Field number for the "reverse_addons_east" field. - public const int ReverseAddonsEastFieldNumber = 49; - private readonly static bool ReverseAddonsEastDefaultValue = false; + /// Field number for the "corpse" field. + public const int CorpseFieldNumber = 42; + private readonly static bool CorpseDefaultValue = false; + + private bool corpse_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Corpse + { + get { if ((_hasBits0 & 134217728) != 0) { return corpse_; } else { return CorpseDefaultValue; } } + set + { + _hasBits0 |= 134217728; + corpse_ = value; + } + } + /// Gets whether the "corpse" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCorpse + { + get { return (_hasBits0 & 134217728) != 0; } + } + /// Clears the value of the "corpse" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCorpse() + { + _hasBits0 &= ~134217728; + } - private bool reverseAddonsEast_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ReverseAddonsEast { - get { if ((_hasBits1 & 1) != 0) { return reverseAddonsEast_; } else { return ReverseAddonsEastDefaultValue; } } - set { - _hasBits1 |= 1; - reverseAddonsEast_ = value; - } - } - /// Gets whether the "reverse_addons_east" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasReverseAddonsEast { - get { return (_hasBits1 & 1) != 0; } - } - /// Clears the value of the "reverse_addons_east" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearReverseAddonsEast() { - _hasBits1 &= ~1; - } + /// Field number for the "player_corpse" field. + public const int PlayerCorpseFieldNumber = 43; + private readonly static bool PlayerCorpseDefaultValue = false; + + private bool playerCorpse_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool PlayerCorpse + { + get { if ((_hasBits0 & 268435456) != 0) { return playerCorpse_; } else { return PlayerCorpseDefaultValue; } } + set + { + _hasBits0 |= 268435456; + playerCorpse_ = value; + } + } + /// Gets whether the "player_corpse" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPlayerCorpse + { + get { return (_hasBits0 & 268435456) != 0; } + } + /// Clears the value of the "player_corpse" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPlayerCorpse() + { + _hasBits0 &= ~268435456; + } - /// Field number for the "reverse_addons_west" field. - public const int ReverseAddonsWestFieldNumber = 50; - private readonly static bool ReverseAddonsWestDefaultValue = false; + /// Field number for the "cyclopediaitem" field. + public const int CyclopediaitemFieldNumber = 44; + private global::Tibia.Protobuf.Appearances.AppearanceFlagCyclopedia cyclopediaitem_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagCyclopedia Cyclopediaitem + { + get { return cyclopediaitem_; } + set + { + cyclopediaitem_ = value; + } + } - private bool reverseAddonsWest_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ReverseAddonsWest { - get { if ((_hasBits1 & 2) != 0) { return reverseAddonsWest_; } else { return ReverseAddonsWestDefaultValue; } } - set { - _hasBits1 |= 2; - reverseAddonsWest_ = value; - } - } - /// Gets whether the "reverse_addons_west" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasReverseAddonsWest { - get { return (_hasBits1 & 2) != 0; } - } - /// Clears the value of the "reverse_addons_west" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearReverseAddonsWest() { - _hasBits1 &= ~2; - } + /// Field number for the "ammo" field. + public const int AmmoFieldNumber = 45; + private readonly static bool AmmoDefaultValue = false; + + private bool ammo_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Ammo + { + get { if ((_hasBits0 & 536870912) != 0) { return ammo_; } else { return AmmoDefaultValue; } } + set + { + _hasBits0 |= 536870912; + ammo_ = value; + } + } + /// Gets whether the "ammo" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAmmo + { + get { return (_hasBits0 & 536870912) != 0; } + } + /// Clears the value of the "ammo" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAmmo() + { + _hasBits0 &= ~536870912; + } - /// Field number for the "reverse_addons_south" field. - public const int ReverseAddonsSouthFieldNumber = 51; - private readonly static bool ReverseAddonsSouthDefaultValue = false; + /// Field number for the "show_off_socket" field. + public const int ShowOffSocketFieldNumber = 46; + private readonly static bool ShowOffSocketDefaultValue = false; + + private bool showOffSocket_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ShowOffSocket + { + get { if ((_hasBits0 & 1073741824) != 0) { return showOffSocket_; } else { return ShowOffSocketDefaultValue; } } + set + { + _hasBits0 |= 1073741824; + showOffSocket_ = value; + } + } + /// Gets whether the "show_off_socket" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasShowOffSocket + { + get { return (_hasBits0 & 1073741824) != 0; } + } + /// Clears the value of the "show_off_socket" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearShowOffSocket() + { + _hasBits0 &= ~1073741824; + } - private bool reverseAddonsSouth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ReverseAddonsSouth { - get { if ((_hasBits1 & 4) != 0) { return reverseAddonsSouth_; } else { return ReverseAddonsSouthDefaultValue; } } - set { - _hasBits1 |= 4; - reverseAddonsSouth_ = value; - } - } - /// Gets whether the "reverse_addons_south" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasReverseAddonsSouth { - get { return (_hasBits1 & 4) != 0; } - } - /// Clears the value of the "reverse_addons_south" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearReverseAddonsSouth() { - _hasBits1 &= ~4; - } + /// Field number for the "reportable" field. + public const int ReportableFieldNumber = 47; + private readonly static bool ReportableDefaultValue = false; + + private bool reportable_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Reportable + { + get { if ((_hasBits0 & -2147483648) != 0) { return reportable_; } else { return ReportableDefaultValue; } } + set + { + _hasBits0 |= -2147483648; + reportable_ = value; + } + } + /// Gets whether the "reportable" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReportable + { + get { return (_hasBits0 & -2147483648) != 0; } + } + /// Clears the value of the "reportable" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReportable() + { + _hasBits0 &= ~-2147483648; + } - /// Field number for the "reverse_addons_north" field. - public const int ReverseAddonsNorthFieldNumber = 52; - private readonly static bool ReverseAddonsNorthDefaultValue = false; + /// Field number for the "upgradeclassification" field. + public const int UpgradeclassificationFieldNumber = 48; + private global::Tibia.Protobuf.Appearances.AppearanceFlagUpgradeClassification upgradeclassification_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.AppearanceFlagUpgradeClassification Upgradeclassification + { + get { return upgradeclassification_; } + set + { + upgradeclassification_ = value; + } + } - private bool reverseAddonsNorth_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool ReverseAddonsNorth { - get { if ((_hasBits1 & 8) != 0) { return reverseAddonsNorth_; } else { return ReverseAddonsNorthDefaultValue; } } - set { - _hasBits1 |= 8; - reverseAddonsNorth_ = value; - } - } - /// Gets whether the "reverse_addons_north" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasReverseAddonsNorth { - get { return (_hasBits1 & 8) != 0; } - } - /// Clears the value of the "reverse_addons_north" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearReverseAddonsNorth() { - _hasBits1 &= ~8; - } + /// Field number for the "reverse_addons_east" field. + public const int ReverseAddonsEastFieldNumber = 49; + private readonly static bool ReverseAddonsEastDefaultValue = false; + + private bool reverseAddonsEast_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ReverseAddonsEast + { + get { if ((_hasBits1 & 1) != 0) { return reverseAddonsEast_; } else { return ReverseAddonsEastDefaultValue; } } + set + { + _hasBits1 |= 1; + reverseAddonsEast_ = value; + } + } + /// Gets whether the "reverse_addons_east" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReverseAddonsEast + { + get { return (_hasBits1 & 1) != 0; } + } + /// Clears the value of the "reverse_addons_east" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReverseAddonsEast() + { + _hasBits1 &= ~1; + } - /// Field number for the "wearout" field. - public const int WearoutFieldNumber = 53; - private readonly static bool WearoutDefaultValue = false; + /// Field number for the "reverse_addons_west" field. + public const int ReverseAddonsWestFieldNumber = 50; + private readonly static bool ReverseAddonsWestDefaultValue = false; + + private bool reverseAddonsWest_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ReverseAddonsWest + { + get { if ((_hasBits1 & 2) != 0) { return reverseAddonsWest_; } else { return ReverseAddonsWestDefaultValue; } } + set + { + _hasBits1 |= 2; + reverseAddonsWest_ = value; + } + } + /// Gets whether the "reverse_addons_west" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReverseAddonsWest + { + get { return (_hasBits1 & 2) != 0; } + } + /// Clears the value of the "reverse_addons_west" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReverseAddonsWest() + { + _hasBits1 &= ~2; + } - private bool wearout_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Wearout { - get { if ((_hasBits1 & 16) != 0) { return wearout_; } else { return WearoutDefaultValue; } } - set { - _hasBits1 |= 16; - wearout_ = value; - } - } - /// Gets whether the "wearout" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasWearout { - get { return (_hasBits1 & 16) != 0; } - } - /// Clears the value of the "wearout" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearWearout() { - _hasBits1 &= ~16; - } + /// Field number for the "reverse_addons_south" field. + public const int ReverseAddonsSouthFieldNumber = 51; + private readonly static bool ReverseAddonsSouthDefaultValue = false; + + private bool reverseAddonsSouth_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ReverseAddonsSouth + { + get { if ((_hasBits1 & 4) != 0) { return reverseAddonsSouth_; } else { return ReverseAddonsSouthDefaultValue; } } + set + { + _hasBits1 |= 4; + reverseAddonsSouth_ = value; + } + } + /// Gets whether the "reverse_addons_south" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReverseAddonsSouth + { + get { return (_hasBits1 & 4) != 0; } + } + /// Clears the value of the "reverse_addons_south" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReverseAddonsSouth() + { + _hasBits1 &= ~4; + } - /// Field number for the "clockexpire" field. - public const int ClockexpireFieldNumber = 54; - private readonly static bool ClockexpireDefaultValue = false; + /// Field number for the "reverse_addons_north" field. + public const int ReverseAddonsNorthFieldNumber = 52; + private readonly static bool ReverseAddonsNorthDefaultValue = false; + + private bool reverseAddonsNorth_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ReverseAddonsNorth + { + get { if ((_hasBits1 & 8) != 0) { return reverseAddonsNorth_; } else { return ReverseAddonsNorthDefaultValue; } } + set + { + _hasBits1 |= 8; + reverseAddonsNorth_ = value; + } + } + /// Gets whether the "reverse_addons_north" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasReverseAddonsNorth + { + get { return (_hasBits1 & 8) != 0; } + } + /// Clears the value of the "reverse_addons_north" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearReverseAddonsNorth() + { + _hasBits1 &= ~8; + } - private bool clockexpire_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Clockexpire { - get { if ((_hasBits1 & 32) != 0) { return clockexpire_; } else { return ClockexpireDefaultValue; } } - set { - _hasBits1 |= 32; - clockexpire_ = value; - } - } - /// Gets whether the "clockexpire" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasClockexpire { - get { return (_hasBits1 & 32) != 0; } - } - /// Clears the value of the "clockexpire" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearClockexpire() { - _hasBits1 &= ~32; - } + /// Field number for the "wearout" field. + public const int WearoutFieldNumber = 53; + private readonly static bool WearoutDefaultValue = false; + + private bool wearout_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Wearout + { + get { if ((_hasBits1 & 16) != 0) { return wearout_; } else { return WearoutDefaultValue; } } + set + { + _hasBits1 |= 16; + wearout_ = value; + } + } + /// Gets whether the "wearout" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWearout + { + get { return (_hasBits1 & 16) != 0; } + } + /// Clears the value of the "wearout" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWearout() + { + _hasBits1 &= ~16; + } - /// Field number for the "expire" field. - public const int ExpireFieldNumber = 55; - private readonly static bool ExpireDefaultValue = false; + /// Field number for the "clockexpire" field. + public const int ClockexpireFieldNumber = 54; + private readonly static bool ClockexpireDefaultValue = false; + + private bool clockexpire_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Clockexpire + { + get { if ((_hasBits1 & 32) != 0) { return clockexpire_; } else { return ClockexpireDefaultValue; } } + set + { + _hasBits1 |= 32; + clockexpire_ = value; + } + } + /// Gets whether the "clockexpire" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasClockexpire + { + get { return (_hasBits1 & 32) != 0; } + } + /// Clears the value of the "clockexpire" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearClockexpire() + { + _hasBits1 &= ~32; + } - private bool expire_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Expire { - get { if ((_hasBits1 & 64) != 0) { return expire_; } else { return ExpireDefaultValue; } } - set { - _hasBits1 |= 64; - expire_ = value; - } - } - /// Gets whether the "expire" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasExpire { - get { return (_hasBits1 & 64) != 0; } - } - /// Clears the value of the "expire" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearExpire() { - _hasBits1 &= ~64; - } + /// Field number for the "expire" field. + public const int ExpireFieldNumber = 55; + private readonly static bool ExpireDefaultValue = false; + + private bool expire_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Expire + { + get { if ((_hasBits1 & 64) != 0) { return expire_; } else { return ExpireDefaultValue; } } + set + { + _hasBits1 |= 64; + expire_ = value; + } + } + /// Gets whether the "expire" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExpire + { + get { return (_hasBits1 & 64) != 0; } + } + /// Clears the value of the "expire" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpire() + { + _hasBits1 &= ~64; + } - /// Field number for the "expirestop" field. - public const int ExpirestopFieldNumber = 56; - private readonly static bool ExpirestopDefaultValue = false; + /// Field number for the "expirestop" field. + public const int ExpirestopFieldNumber = 56; + private readonly static bool ExpirestopDefaultValue = false; + + private bool expirestop_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Expirestop + { + get { if ((_hasBits1 & 128) != 0) { return expirestop_; } else { return ExpirestopDefaultValue; } } + set + { + _hasBits1 |= 128; + expirestop_ = value; + } + } + /// Gets whether the "expirestop" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasExpirestop + { + get { return (_hasBits1 & 128) != 0; } + } + /// Clears the value of the "expirestop" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearExpirestop() + { + _hasBits1 &= ~128; + } - private bool expirestop_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Expirestop { - get { if ((_hasBits1 & 128) != 0) { return expirestop_; } else { return ExpirestopDefaultValue; } } - set { - _hasBits1 |= 128; - expirestop_ = value; - } - } - /// Gets whether the "expirestop" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasExpirestop { - get { return (_hasBits1 & 128) != 0; } - } - /// Clears the value of the "expirestop" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearExpirestop() { - _hasBits1 &= ~128; - } + /// Field number for the "wrapkit" field. + public const int WrapkitFieldNumber = 57; + private readonly static bool WrapkitDefaultValue = false; + + private bool wrapkit_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Wrapkit + { + get { if ((_hasBits1 & 256) != 0) { return wrapkit_; } else { return WrapkitDefaultValue; } } + set + { + _hasBits1 |= 256; + wrapkit_ = value; + } + } + /// Gets whether the "wrapkit" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWrapkit + { + get { return (_hasBits1 & 256) != 0; } + } + /// Clears the value of the "wrapkit" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWrapkit() + { + _hasBits1 &= ~256; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlags); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlags); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlags other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (!object.Equals(Bank, other.Bank)) return false; - if (Clip != other.Clip) return false; - if (Bottom != other.Bottom) return false; - if (Top != other.Top) return false; - if (Container != other.Container) return false; - if (Cumulative != other.Cumulative) return false; - if (Usable != other.Usable) return false; - if (Forceuse != other.Forceuse) return false; - if (Multiuse != other.Multiuse) return false; - if (!object.Equals(Write, other.Write)) return false; - if (!object.Equals(WriteOnce, other.WriteOnce)) return false; - if (Liquidpool != other.Liquidpool) return false; - if (Unpass != other.Unpass) return false; - if (Unmove != other.Unmove) return false; - if (Unsight != other.Unsight) return false; - if (Avoid != other.Avoid) return false; - if (NoMovementAnimation != other.NoMovementAnimation) return false; - if (Take != other.Take) return false; - if (Liquidcontainer != other.Liquidcontainer) return false; - if (Hang != other.Hang) return false; - if (!object.Equals(Hook, other.Hook)) return false; - if (Rotate != other.Rotate) return false; - if (!object.Equals(Light, other.Light)) return false; - if (DontHide != other.DontHide) return false; - if (Translucent != other.Translucent) return false; - if (!object.Equals(Shift, other.Shift)) return false; - if (!object.Equals(Height, other.Height)) return false; - if (LyingObject != other.LyingObject) return false; - if (AnimateAlways != other.AnimateAlways) return false; - if (!object.Equals(Automap, other.Automap)) return false; - if (!object.Equals(Lenshelp, other.Lenshelp)) return false; - if (Fullbank != other.Fullbank) return false; - if (IgnoreLook != other.IgnoreLook) return false; - if (!object.Equals(Clothes, other.Clothes)) return false; - if (!object.Equals(DefaultAction, other.DefaultAction)) return false; - if (!object.Equals(Market, other.Market)) return false; - if (Wrap != other.Wrap) return false; - if (Unwrap != other.Unwrap) return false; - if (Topeffect != other.Topeffect) return false; - if(!npcsaledata_.Equals(other.npcsaledata_)) return false; - if (!object.Equals(Changedtoexpire, other.Changedtoexpire)) return false; - if (Corpse != other.Corpse) return false; - if (PlayerCorpse != other.PlayerCorpse) return false; - if (!object.Equals(Cyclopediaitem, other.Cyclopediaitem)) return false; - if (Ammo != other.Ammo) return false; - if (ShowOffSocket != other.ShowOffSocket) return false; - if (Reportable != other.Reportable) return false; - if (!object.Equals(Upgradeclassification, other.Upgradeclassification)) return false; - if (ReverseAddonsEast != other.ReverseAddonsEast) return false; - if (ReverseAddonsWest != other.ReverseAddonsWest) return false; - if (ReverseAddonsSouth != other.ReverseAddonsSouth) return false; - if (ReverseAddonsNorth != other.ReverseAddonsNorth) return false; - if (Wearout != other.Wearout) return false; - if (Clockexpire != other.Clockexpire) return false; - if (Expire != other.Expire) return false; - if (Expirestop != other.Expirestop) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlags other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (!object.Equals(Bank, other.Bank)) return false; + if (Clip != other.Clip) return false; + if (Bottom != other.Bottom) return false; + if (Top != other.Top) return false; + if (Container != other.Container) return false; + if (Cumulative != other.Cumulative) return false; + if (Usable != other.Usable) return false; + if (Forceuse != other.Forceuse) return false; + if (Multiuse != other.Multiuse) return false; + if (!object.Equals(Write, other.Write)) return false; + if (!object.Equals(WriteOnce, other.WriteOnce)) return false; + if (Liquidpool != other.Liquidpool) return false; + if (Unpass != other.Unpass) return false; + if (Unmove != other.Unmove) return false; + if (Unsight != other.Unsight) return false; + if (Avoid != other.Avoid) return false; + if (NoMovementAnimation != other.NoMovementAnimation) return false; + if (Take != other.Take) return false; + if (Liquidcontainer != other.Liquidcontainer) return false; + if (Hang != other.Hang) return false; + if (!object.Equals(Hook, other.Hook)) return false; + if (Rotate != other.Rotate) return false; + if (!object.Equals(Light, other.Light)) return false; + if (DontHide != other.DontHide) return false; + if (Translucent != other.Translucent) return false; + if (!object.Equals(Shift, other.Shift)) return false; + if (!object.Equals(Height, other.Height)) return false; + if (LyingObject != other.LyingObject) return false; + if (AnimateAlways != other.AnimateAlways) return false; + if (!object.Equals(Automap, other.Automap)) return false; + if (!object.Equals(Lenshelp, other.Lenshelp)) return false; + if (Fullbank != other.Fullbank) return false; + if (IgnoreLook != other.IgnoreLook) return false; + if (!object.Equals(Clothes, other.Clothes)) return false; + if (!object.Equals(DefaultAction, other.DefaultAction)) return false; + if (!object.Equals(Market, other.Market)) return false; + if (Wrap != other.Wrap) return false; + if (Unwrap != other.Unwrap) return false; + if (Topeffect != other.Topeffect) return false; + if (!npcsaledata_.Equals(other.npcsaledata_)) return false; + if (!object.Equals(Changedtoexpire, other.Changedtoexpire)) return false; + if (Corpse != other.Corpse) return false; + if (PlayerCorpse != other.PlayerCorpse) return false; + if (!object.Equals(Cyclopediaitem, other.Cyclopediaitem)) return false; + if (Ammo != other.Ammo) return false; + if (ShowOffSocket != other.ShowOffSocket) return false; + if (Reportable != other.Reportable) return false; + if (!object.Equals(Upgradeclassification, other.Upgradeclassification)) return false; + if (ReverseAddonsEast != other.ReverseAddonsEast) return false; + if (ReverseAddonsWest != other.ReverseAddonsWest) return false; + if (ReverseAddonsSouth != other.ReverseAddonsSouth) return false; + if (ReverseAddonsNorth != other.ReverseAddonsNorth) return false; + if (Wearout != other.Wearout) return false; + if (Clockexpire != other.Clockexpire) return false; + if (Expire != other.Expire) return false; + if (Expirestop != other.Expirestop) return false; + if (Wrapkit != other.Wrapkit) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (bank_ != null) hash ^= Bank.GetHashCode(); - if (HasClip) hash ^= Clip.GetHashCode(); - if (HasBottom) hash ^= Bottom.GetHashCode(); - if (HasTop) hash ^= Top.GetHashCode(); - if (HasContainer) hash ^= Container.GetHashCode(); - if (HasCumulative) hash ^= Cumulative.GetHashCode(); - if (HasUsable) hash ^= Usable.GetHashCode(); - if (HasForceuse) hash ^= Forceuse.GetHashCode(); - if (HasMultiuse) hash ^= Multiuse.GetHashCode(); - if (write_ != null) hash ^= Write.GetHashCode(); - if (writeOnce_ != null) hash ^= WriteOnce.GetHashCode(); - if (HasLiquidpool) hash ^= Liquidpool.GetHashCode(); - if (HasUnpass) hash ^= Unpass.GetHashCode(); - if (HasUnmove) hash ^= Unmove.GetHashCode(); - if (HasUnsight) hash ^= Unsight.GetHashCode(); - if (HasAvoid) hash ^= Avoid.GetHashCode(); - if (HasNoMovementAnimation) hash ^= NoMovementAnimation.GetHashCode(); - if (HasTake) hash ^= Take.GetHashCode(); - if (HasLiquidcontainer) hash ^= Liquidcontainer.GetHashCode(); - if (HasHang) hash ^= Hang.GetHashCode(); - if (hook_ != null) hash ^= Hook.GetHashCode(); - if (HasRotate) hash ^= Rotate.GetHashCode(); - if (light_ != null) hash ^= Light.GetHashCode(); - if (HasDontHide) hash ^= DontHide.GetHashCode(); - if (HasTranslucent) hash ^= Translucent.GetHashCode(); - if (shift_ != null) hash ^= Shift.GetHashCode(); - if (height_ != null) hash ^= Height.GetHashCode(); - if (HasLyingObject) hash ^= LyingObject.GetHashCode(); - if (HasAnimateAlways) hash ^= AnimateAlways.GetHashCode(); - if (automap_ != null) hash ^= Automap.GetHashCode(); - if (lenshelp_ != null) hash ^= Lenshelp.GetHashCode(); - if (HasFullbank) hash ^= Fullbank.GetHashCode(); - if (HasIgnoreLook) hash ^= IgnoreLook.GetHashCode(); - if (clothes_ != null) hash ^= Clothes.GetHashCode(); - if (defaultAction_ != null) hash ^= DefaultAction.GetHashCode(); - if (market_ != null) hash ^= Market.GetHashCode(); - if (HasWrap) hash ^= Wrap.GetHashCode(); - if (HasUnwrap) hash ^= Unwrap.GetHashCode(); - if (HasTopeffect) hash ^= Topeffect.GetHashCode(); - hash ^= npcsaledata_.GetHashCode(); - if (changedtoexpire_ != null) hash ^= Changedtoexpire.GetHashCode(); - if (HasCorpse) hash ^= Corpse.GetHashCode(); - if (HasPlayerCorpse) hash ^= PlayerCorpse.GetHashCode(); - if (cyclopediaitem_ != null) hash ^= Cyclopediaitem.GetHashCode(); - if (HasAmmo) hash ^= Ammo.GetHashCode(); - if (HasShowOffSocket) hash ^= ShowOffSocket.GetHashCode(); - if (HasReportable) hash ^= Reportable.GetHashCode(); - if (upgradeclassification_ != null) hash ^= Upgradeclassification.GetHashCode(); - if (HasReverseAddonsEast) hash ^= ReverseAddonsEast.GetHashCode(); - if (HasReverseAddonsWest) hash ^= ReverseAddonsWest.GetHashCode(); - if (HasReverseAddonsSouth) hash ^= ReverseAddonsSouth.GetHashCode(); - if (HasReverseAddonsNorth) hash ^= ReverseAddonsNorth.GetHashCode(); - if (HasWearout) hash ^= Wearout.GetHashCode(); - if (HasClockexpire) hash ^= Clockexpire.GetHashCode(); - if (HasExpire) hash ^= Expire.GetHashCode(); - if (HasExpirestop) hash ^= Expirestop.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (bank_ != null) hash ^= Bank.GetHashCode(); + if (HasClip) hash ^= Clip.GetHashCode(); + if (HasBottom) hash ^= Bottom.GetHashCode(); + if (HasTop) hash ^= Top.GetHashCode(); + if (HasContainer) hash ^= Container.GetHashCode(); + if (HasCumulative) hash ^= Cumulative.GetHashCode(); + if (HasUsable) hash ^= Usable.GetHashCode(); + if (HasForceuse) hash ^= Forceuse.GetHashCode(); + if (HasMultiuse) hash ^= Multiuse.GetHashCode(); + if (write_ != null) hash ^= Write.GetHashCode(); + if (writeOnce_ != null) hash ^= WriteOnce.GetHashCode(); + if (HasLiquidpool) hash ^= Liquidpool.GetHashCode(); + if (HasUnpass) hash ^= Unpass.GetHashCode(); + if (HasUnmove) hash ^= Unmove.GetHashCode(); + if (HasUnsight) hash ^= Unsight.GetHashCode(); + if (HasAvoid) hash ^= Avoid.GetHashCode(); + if (HasNoMovementAnimation) hash ^= NoMovementAnimation.GetHashCode(); + if (HasTake) hash ^= Take.GetHashCode(); + if (HasLiquidcontainer) hash ^= Liquidcontainer.GetHashCode(); + if (HasHang) hash ^= Hang.GetHashCode(); + if (hook_ != null) hash ^= Hook.GetHashCode(); + if (HasRotate) hash ^= Rotate.GetHashCode(); + if (light_ != null) hash ^= Light.GetHashCode(); + if (HasDontHide) hash ^= DontHide.GetHashCode(); + if (HasTranslucent) hash ^= Translucent.GetHashCode(); + if (shift_ != null) hash ^= Shift.GetHashCode(); + if (height_ != null) hash ^= Height.GetHashCode(); + if (HasLyingObject) hash ^= LyingObject.GetHashCode(); + if (HasAnimateAlways) hash ^= AnimateAlways.GetHashCode(); + if (automap_ != null) hash ^= Automap.GetHashCode(); + if (lenshelp_ != null) hash ^= Lenshelp.GetHashCode(); + if (HasFullbank) hash ^= Fullbank.GetHashCode(); + if (HasIgnoreLook) hash ^= IgnoreLook.GetHashCode(); + if (clothes_ != null) hash ^= Clothes.GetHashCode(); + if (defaultAction_ != null) hash ^= DefaultAction.GetHashCode(); + if (market_ != null) hash ^= Market.GetHashCode(); + if (HasWrap) hash ^= Wrap.GetHashCode(); + if (HasUnwrap) hash ^= Unwrap.GetHashCode(); + if (HasTopeffect) hash ^= Topeffect.GetHashCode(); + hash ^= npcsaledata_.GetHashCode(); + if (changedtoexpire_ != null) hash ^= Changedtoexpire.GetHashCode(); + if (HasCorpse) hash ^= Corpse.GetHashCode(); + if (HasPlayerCorpse) hash ^= PlayerCorpse.GetHashCode(); + if (cyclopediaitem_ != null) hash ^= Cyclopediaitem.GetHashCode(); + if (HasAmmo) hash ^= Ammo.GetHashCode(); + if (HasShowOffSocket) hash ^= ShowOffSocket.GetHashCode(); + if (HasReportable) hash ^= Reportable.GetHashCode(); + if (upgradeclassification_ != null) hash ^= Upgradeclassification.GetHashCode(); + if (HasReverseAddonsEast) hash ^= ReverseAddonsEast.GetHashCode(); + if (HasReverseAddonsWest) hash ^= ReverseAddonsWest.GetHashCode(); + if (HasReverseAddonsSouth) hash ^= ReverseAddonsSouth.GetHashCode(); + if (HasReverseAddonsNorth) hash ^= ReverseAddonsNorth.GetHashCode(); + if (HasWearout) hash ^= Wearout.GetHashCode(); + if (HasClockexpire) hash ^= Clockexpire.GetHashCode(); + if (HasExpire) hash ^= Expire.GetHashCode(); + if (HasExpirestop) hash ^= Expirestop.GetHashCode(); + if (HasWrapkit) hash ^= Wrapkit.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (bank_ != null) { output.WriteRawTag(10); output.WriteMessage(Bank); @@ -4533,934 +5593,854 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(192, 3); output.WriteBool(Expirestop); } + if (HasWrapkit) { + output.WriteRawTag(200, 3); + output.WriteBool(Wrapkit); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } +#endif + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (bank_ != null) { - output.WriteRawTag(10); - output.WriteMessage(Bank); - } - if (HasClip) { - output.WriteRawTag(16); - output.WriteBool(Clip); - } - if (HasBottom) { - output.WriteRawTag(24); - output.WriteBool(Bottom); - } - if (HasTop) { - output.WriteRawTag(32); - output.WriteBool(Top); - } - if (HasContainer) { - output.WriteRawTag(40); - output.WriteBool(Container); - } - if (HasCumulative) { - output.WriteRawTag(48); - output.WriteBool(Cumulative); - } - if (HasUsable) { - output.WriteRawTag(56); - output.WriteBool(Usable); - } - if (HasForceuse) { - output.WriteRawTag(64); - output.WriteBool(Forceuse); - } - if (HasMultiuse) { - output.WriteRawTag(72); - output.WriteBool(Multiuse); - } - if (write_ != null) { - output.WriteRawTag(82); - output.WriteMessage(Write); - } - if (writeOnce_ != null) { - output.WriteRawTag(90); - output.WriteMessage(WriteOnce); - } - if (HasLiquidpool) { - output.WriteRawTag(96); - output.WriteBool(Liquidpool); - } - if (HasUnpass) { - output.WriteRawTag(104); - output.WriteBool(Unpass); - } - if (HasUnmove) { - output.WriteRawTag(112); - output.WriteBool(Unmove); - } - if (HasUnsight) { - output.WriteRawTag(120); - output.WriteBool(Unsight); - } - if (HasAvoid) { - output.WriteRawTag(128, 1); - output.WriteBool(Avoid); - } - if (HasNoMovementAnimation) { - output.WriteRawTag(136, 1); - output.WriteBool(NoMovementAnimation); - } - if (HasTake) { - output.WriteRawTag(144, 1); - output.WriteBool(Take); - } - if (HasLiquidcontainer) { - output.WriteRawTag(152, 1); - output.WriteBool(Liquidcontainer); - } - if (HasHang) { - output.WriteRawTag(160, 1); - output.WriteBool(Hang); - } - if (hook_ != null) { - output.WriteRawTag(170, 1); - output.WriteMessage(Hook); - } - if (HasRotate) { - output.WriteRawTag(176, 1); - output.WriteBool(Rotate); - } - if (light_ != null) { - output.WriteRawTag(186, 1); - output.WriteMessage(Light); - } - if (HasDontHide) { - output.WriteRawTag(192, 1); - output.WriteBool(DontHide); - } - if (HasTranslucent) { - output.WriteRawTag(200, 1); - output.WriteBool(Translucent); - } - if (shift_ != null) { - output.WriteRawTag(210, 1); - output.WriteMessage(Shift); - } - if (height_ != null) { - output.WriteRawTag(218, 1); - output.WriteMessage(Height); - } - if (HasLyingObject) { - output.WriteRawTag(224, 1); - output.WriteBool(LyingObject); - } - if (HasAnimateAlways) { - output.WriteRawTag(232, 1); - output.WriteBool(AnimateAlways); - } - if (automap_ != null) { - output.WriteRawTag(242, 1); - output.WriteMessage(Automap); - } - if (lenshelp_ != null) { - output.WriteRawTag(250, 1); - output.WriteMessage(Lenshelp); - } - if (HasFullbank) { - output.WriteRawTag(128, 2); - output.WriteBool(Fullbank); - } - if (HasIgnoreLook) { - output.WriteRawTag(136, 2); - output.WriteBool(IgnoreLook); - } - if (clothes_ != null) { - output.WriteRawTag(146, 2); - output.WriteMessage(Clothes); - } - if (defaultAction_ != null) { - output.WriteRawTag(154, 2); - output.WriteMessage(DefaultAction); - } - if (market_ != null) { - output.WriteRawTag(162, 2); - output.WriteMessage(Market); - } - if (HasWrap) { - output.WriteRawTag(168, 2); - output.WriteBool(Wrap); - } - if (HasUnwrap) { - output.WriteRawTag(176, 2); - output.WriteBool(Unwrap); - } - if (HasTopeffect) { - output.WriteRawTag(184, 2); - output.WriteBool(Topeffect); - } - npcsaledata_.WriteTo(ref output, _repeated_npcsaledata_codec); - if (changedtoexpire_ != null) { - output.WriteRawTag(202, 2); - output.WriteMessage(Changedtoexpire); - } - if (HasCorpse) { - output.WriteRawTag(208, 2); - output.WriteBool(Corpse); - } - if (HasPlayerCorpse) { - output.WriteRawTag(216, 2); - output.WriteBool(PlayerCorpse); - } - if (cyclopediaitem_ != null) { - output.WriteRawTag(226, 2); - output.WriteMessage(Cyclopediaitem); - } - if (HasAmmo) { - output.WriteRawTag(232, 2); - output.WriteBool(Ammo); - } - if (HasShowOffSocket) { - output.WriteRawTag(240, 2); - output.WriteBool(ShowOffSocket); - } - if (HasReportable) { - output.WriteRawTag(248, 2); - output.WriteBool(Reportable); - } - if (upgradeclassification_ != null) { - output.WriteRawTag(130, 3); - output.WriteMessage(Upgradeclassification); - } - if (HasReverseAddonsEast) { - output.WriteRawTag(136, 3); - output.WriteBool(ReverseAddonsEast); - } - if (HasReverseAddonsWest) { - output.WriteRawTag(144, 3); - output.WriteBool(ReverseAddonsWest); - } - if (HasReverseAddonsSouth) { - output.WriteRawTag(152, 3); - output.WriteBool(ReverseAddonsSouth); - } - if (HasReverseAddonsNorth) { - output.WriteRawTag(160, 3); - output.WriteBool(ReverseAddonsNorth); - } - if (HasWearout) { - output.WriteRawTag(168, 3); - output.WriteBool(Wearout); - } - if (HasClockexpire) { - output.WriteRawTag(176, 3); - output.WriteBool(Clockexpire); - } - if (HasExpire) { - output.WriteRawTag(184, 3); - output.WriteBool(Expire); - } - if (HasExpirestop) { - output.WriteRawTag(192, 3); - output.WriteBool(Expirestop); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (bank_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bank); - } - if (HasClip) { - size += 1 + 1; - } - if (HasBottom) { - size += 1 + 1; - } - if (HasTop) { - size += 1 + 1; - } - if (HasContainer) { - size += 1 + 1; - } - if (HasCumulative) { - size += 1 + 1; - } - if (HasUsable) { - size += 1 + 1; - } - if (HasForceuse) { - size += 1 + 1; - } - if (HasMultiuse) { - size += 1 + 1; - } - if (write_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Write); - } - if (writeOnce_ != null) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(WriteOnce); - } - if (HasLiquidpool) { - size += 1 + 1; - } - if (HasUnpass) { - size += 1 + 1; - } - if (HasUnmove) { - size += 1 + 1; - } - if (HasUnsight) { - size += 1 + 1; - } - if (HasAvoid) { - size += 2 + 1; - } - if (HasNoMovementAnimation) { - size += 2 + 1; - } - if (HasTake) { - size += 2 + 1; - } - if (HasLiquidcontainer) { - size += 2 + 1; - } - if (HasHang) { - size += 2 + 1; - } - if (hook_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Hook); - } - if (HasRotate) { - size += 2 + 1; - } - if (light_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Light); - } - if (HasDontHide) { - size += 2 + 1; - } - if (HasTranslucent) { - size += 2 + 1; - } - if (shift_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Shift); - } - if (height_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Height); - } - if (HasLyingObject) { - size += 2 + 1; - } - if (HasAnimateAlways) { - size += 2 + 1; - } - if (automap_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Automap); - } - if (lenshelp_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Lenshelp); - } - if (HasFullbank) { - size += 2 + 1; - } - if (HasIgnoreLook) { - size += 2 + 1; - } - if (clothes_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Clothes); - } - if (defaultAction_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(DefaultAction); - } - if (market_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Market); - } - if (HasWrap) { - size += 2 + 1; - } - if (HasUnwrap) { - size += 2 + 1; - } - if (HasTopeffect) { - size += 2 + 1; - } - size += npcsaledata_.CalculateSize(_repeated_npcsaledata_codec); - if (changedtoexpire_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Changedtoexpire); - } - if (HasCorpse) { - size += 2 + 1; - } - if (HasPlayerCorpse) { - size += 2 + 1; - } - if (cyclopediaitem_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Cyclopediaitem); - } - if (HasAmmo) { - size += 2 + 1; - } - if (HasShowOffSocket) { - size += 2 + 1; - } - if (HasReportable) { - size += 2 + 1; - } - if (upgradeclassification_ != null) { - size += 2 + pb::CodedOutputStream.ComputeMessageSize(Upgradeclassification); - } - if (HasReverseAddonsEast) { - size += 2 + 1; - } - if (HasReverseAddonsWest) { - size += 2 + 1; - } - if (HasReverseAddonsSouth) { - size += 2 + 1; - } - if (HasReverseAddonsNorth) { - size += 2 + 1; - } - if (HasWearout) { - size += 2 + 1; - } - if (HasClockexpire) { - size += 2 + 1; - } - if (HasExpire) { - size += 2 + 1; - } - if (HasExpirestop) { - size += 2 + 1; - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlags other) { - if (other == null) { - return; - } - if (other.bank_ != null) { - if (bank_ == null) { - Bank = new global::Tibia.Protobuf.Appearances.AppearanceFlagBank(); - } - Bank.MergeFrom(other.Bank); - } - if (other.HasClip) { - Clip = other.Clip; - } - if (other.HasBottom) { - Bottom = other.Bottom; - } - if (other.HasTop) { - Top = other.Top; - } - if (other.HasContainer) { - Container = other.Container; - } - if (other.HasCumulative) { - Cumulative = other.Cumulative; - } - if (other.HasUsable) { - Usable = other.Usable; - } - if (other.HasForceuse) { - Forceuse = other.Forceuse; - } - if (other.HasMultiuse) { - Multiuse = other.Multiuse; - } - if (other.write_ != null) { - if (write_ == null) { - Write = new global::Tibia.Protobuf.Appearances.AppearanceFlagWrite(); - } - Write.MergeFrom(other.Write); - } - if (other.writeOnce_ != null) { - if (writeOnce_ == null) { - WriteOnce = new global::Tibia.Protobuf.Appearances.AppearanceFlagWriteOnce(); - } - WriteOnce.MergeFrom(other.WriteOnce); - } - if (other.HasLiquidpool) { - Liquidpool = other.Liquidpool; - } - if (other.HasUnpass) { - Unpass = other.Unpass; - } - if (other.HasUnmove) { - Unmove = other.Unmove; - } - if (other.HasUnsight) { - Unsight = other.Unsight; - } - if (other.HasAvoid) { - Avoid = other.Avoid; - } - if (other.HasNoMovementAnimation) { - NoMovementAnimation = other.NoMovementAnimation; - } - if (other.HasTake) { - Take = other.Take; - } - if (other.HasLiquidcontainer) { - Liquidcontainer = other.Liquidcontainer; - } - if (other.HasHang) { - Hang = other.Hang; - } - if (other.hook_ != null) { - if (hook_ == null) { - Hook = new global::Tibia.Protobuf.Appearances.AppearanceFlagHook(); - } - Hook.MergeFrom(other.Hook); - } - if (other.HasRotate) { - Rotate = other.Rotate; - } - if (other.light_ != null) { - if (light_ == null) { - Light = new global::Tibia.Protobuf.Appearances.AppearanceFlagLight(); - } - Light.MergeFrom(other.Light); - } - if (other.HasDontHide) { - DontHide = other.DontHide; - } - if (other.HasTranslucent) { - Translucent = other.Translucent; - } - if (other.shift_ != null) { - if (shift_ == null) { - Shift = new global::Tibia.Protobuf.Appearances.AppearanceFlagShift(); - } - Shift.MergeFrom(other.Shift); - } - if (other.height_ != null) { - if (height_ == null) { - Height = new global::Tibia.Protobuf.Appearances.AppearanceFlagHeight(); - } - Height.MergeFrom(other.Height); - } - if (other.HasLyingObject) { - LyingObject = other.LyingObject; - } - if (other.HasAnimateAlways) { - AnimateAlways = other.AnimateAlways; - } - if (other.automap_ != null) { - if (automap_ == null) { - Automap = new global::Tibia.Protobuf.Appearances.AppearanceFlagAutomap(); - } - Automap.MergeFrom(other.Automap); - } - if (other.lenshelp_ != null) { - if (lenshelp_ == null) { - Lenshelp = new global::Tibia.Protobuf.Appearances.AppearanceFlagLenshelp(); - } - Lenshelp.MergeFrom(other.Lenshelp); - } - if (other.HasFullbank) { - Fullbank = other.Fullbank; - } - if (other.HasIgnoreLook) { - IgnoreLook = other.IgnoreLook; - } - if (other.clothes_ != null) { - if (clothes_ == null) { - Clothes = new global::Tibia.Protobuf.Appearances.AppearanceFlagClothes(); - } - Clothes.MergeFrom(other.Clothes); - } - if (other.defaultAction_ != null) { - if (defaultAction_ == null) { - DefaultAction = new global::Tibia.Protobuf.Appearances.AppearanceFlagDefaultAction(); - } - DefaultAction.MergeFrom(other.DefaultAction); - } - if (other.market_ != null) { - if (market_ == null) { - Market = new global::Tibia.Protobuf.Appearances.AppearanceFlagMarket(); - } - Market.MergeFrom(other.Market); - } - if (other.HasWrap) { - Wrap = other.Wrap; - } - if (other.HasUnwrap) { - Unwrap = other.Unwrap; - } - if (other.HasTopeffect) { - Topeffect = other.Topeffect; - } - npcsaledata_.Add(other.npcsaledata_); - if (other.changedtoexpire_ != null) { - if (changedtoexpire_ == null) { - Changedtoexpire = new global::Tibia.Protobuf.Appearances.AppearanceFlagChangedToExpire(); - } - Changedtoexpire.MergeFrom(other.Changedtoexpire); - } - if (other.HasCorpse) { - Corpse = other.Corpse; - } - if (other.HasPlayerCorpse) { - PlayerCorpse = other.PlayerCorpse; - } - if (other.cyclopediaitem_ != null) { - if (cyclopediaitem_ == null) { - Cyclopediaitem = new global::Tibia.Protobuf.Appearances.AppearanceFlagCyclopedia(); +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (bank_ != null) + { + output.WriteRawTag(10); + output.WriteMessage(Bank); + } + if (HasClip) + { + output.WriteRawTag(16); + output.WriteBool(Clip); + } + if (HasBottom) + { + output.WriteRawTag(24); + output.WriteBool(Bottom); + } + if (HasTop) + { + output.WriteRawTag(32); + output.WriteBool(Top); + } + if (HasContainer) + { + output.WriteRawTag(40); + output.WriteBool(Container); + } + if (HasCumulative) + { + output.WriteRawTag(48); + output.WriteBool(Cumulative); + } + if (HasUsable) + { + output.WriteRawTag(56); + output.WriteBool(Usable); + } + if (HasForceuse) + { + output.WriteRawTag(64); + output.WriteBool(Forceuse); + } + if (HasMultiuse) + { + output.WriteRawTag(72); + output.WriteBool(Multiuse); + } + if (write_ != null) + { + output.WriteRawTag(82); + output.WriteMessage(Write); + } + if (writeOnce_ != null) + { + output.WriteRawTag(90); + output.WriteMessage(WriteOnce); + } + if (HasLiquidpool) + { + output.WriteRawTag(96); + output.WriteBool(Liquidpool); + } + if (HasUnpass) + { + output.WriteRawTag(104); + output.WriteBool(Unpass); + } + if (HasUnmove) + { + output.WriteRawTag(112); + output.WriteBool(Unmove); + } + if (HasUnsight) + { + output.WriteRawTag(120); + output.WriteBool(Unsight); + } + if (HasAvoid) + { + output.WriteRawTag(128, 1); + output.WriteBool(Avoid); + } + if (HasNoMovementAnimation) + { + output.WriteRawTag(136, 1); + output.WriteBool(NoMovementAnimation); + } + if (HasTake) + { + output.WriteRawTag(144, 1); + output.WriteBool(Take); + } + if (HasLiquidcontainer) + { + output.WriteRawTag(152, 1); + output.WriteBool(Liquidcontainer); + } + if (HasHang) + { + output.WriteRawTag(160, 1); + output.WriteBool(Hang); + } + if (hook_ != null) + { + output.WriteRawTag(170, 1); + output.WriteMessage(Hook); + } + if (HasRotate) + { + output.WriteRawTag(176, 1); + output.WriteBool(Rotate); + } + if (light_ != null) + { + output.WriteRawTag(186, 1); + output.WriteMessage(Light); + } + if (HasDontHide) + { + output.WriteRawTag(192, 1); + output.WriteBool(DontHide); + } + if (HasTranslucent) + { + output.WriteRawTag(200, 1); + output.WriteBool(Translucent); + } + if (shift_ != null) + { + output.WriteRawTag(210, 1); + output.WriteMessage(Shift); + } + if (height_ != null) + { + output.WriteRawTag(218, 1); + output.WriteMessage(Height); + } + if (HasLyingObject) + { + output.WriteRawTag(224, 1); + output.WriteBool(LyingObject); + } + if (HasAnimateAlways) + { + output.WriteRawTag(232, 1); + output.WriteBool(AnimateAlways); + } + if (automap_ != null) + { + output.WriteRawTag(242, 1); + output.WriteMessage(Automap); + } + if (lenshelp_ != null) + { + output.WriteRawTag(250, 1); + output.WriteMessage(Lenshelp); + } + if (HasFullbank) + { + output.WriteRawTag(128, 2); + output.WriteBool(Fullbank); + } + if (HasIgnoreLook) + { + output.WriteRawTag(136, 2); + output.WriteBool(IgnoreLook); + } + if (clothes_ != null) + { + output.WriteRawTag(146, 2); + output.WriteMessage(Clothes); + } + if (defaultAction_ != null) + { + output.WriteRawTag(154, 2); + output.WriteMessage(DefaultAction); + } + if (market_ != null) + { + output.WriteRawTag(162, 2); + output.WriteMessage(Market); + } + if (HasWrap) + { + output.WriteRawTag(168, 2); + output.WriteBool(Wrap); + } + if (HasUnwrap) + { + output.WriteRawTag(176, 2); + output.WriteBool(Unwrap); + } + if (HasTopeffect) + { + output.WriteRawTag(184, 2); + output.WriteBool(Topeffect); + } + npcsaledata_.WriteTo(ref output, _repeated_npcsaledata_codec); + if (changedtoexpire_ != null) + { + output.WriteRawTag(202, 2); + output.WriteMessage(Changedtoexpire); + } + if (HasCorpse) + { + output.WriteRawTag(208, 2); + output.WriteBool(Corpse); + } + if (HasPlayerCorpse) + { + output.WriteRawTag(216, 2); + output.WriteBool(PlayerCorpse); + } + if (cyclopediaitem_ != null) + { + output.WriteRawTag(226, 2); + output.WriteMessage(Cyclopediaitem); + } + if (HasAmmo) + { + output.WriteRawTag(232, 2); + output.WriteBool(Ammo); + } + if (HasShowOffSocket) + { + output.WriteRawTag(240, 2); + output.WriteBool(ShowOffSocket); + } + if (HasReportable) + { + output.WriteRawTag(248, 2); + output.WriteBool(Reportable); + } + if (upgradeclassification_ != null) + { + output.WriteRawTag(130, 3); + output.WriteMessage(Upgradeclassification); + } + if (HasReverseAddonsEast) + { + output.WriteRawTag(136, 3); + output.WriteBool(ReverseAddonsEast); + } + if (HasReverseAddonsWest) + { + output.WriteRawTag(144, 3); + output.WriteBool(ReverseAddonsWest); + } + if (HasReverseAddonsSouth) + { + output.WriteRawTag(152, 3); + output.WriteBool(ReverseAddonsSouth); + } + if (HasReverseAddonsNorth) + { + output.WriteRawTag(160, 3); + output.WriteBool(ReverseAddonsNorth); + } + if (HasWearout) + { + output.WriteRawTag(168, 3); + output.WriteBool(Wearout); + } + if (HasClockexpire) + { + output.WriteRawTag(176, 3); + output.WriteBool(Clockexpire); + } + if (HasExpire) + { + output.WriteRawTag(184, 3); + output.WriteBool(Expire); + } + if (HasExpirestop) + { + output.WriteRawTag(192, 3); + output.WriteBool(Expirestop); + } + if (HasWrapkit) + { + output.WriteRawTag(200, 3); + output.WriteBool(Wrapkit); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } } - Cyclopediaitem.MergeFrom(other.Cyclopediaitem); - } - if (other.HasAmmo) { - Ammo = other.Ammo; - } - if (other.HasShowOffSocket) { - ShowOffSocket = other.ShowOffSocket; - } - if (other.HasReportable) { - Reportable = other.Reportable; - } - if (other.upgradeclassification_ != null) { - if (upgradeclassification_ == null) { - Upgradeclassification = new global::Tibia.Protobuf.Appearances.AppearanceFlagUpgradeClassification(); +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (bank_ != null) + { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bank); + } + if (HasClip) + { + size += 1 + 1; + } + if (HasBottom) + { + size += 1 + 1; + } + if (HasTop) + { + size += 1 + 1; + } + if (HasContainer) + { + size += 1 + 1; + } + if (HasCumulative) + { + size += 1 + 1; + } + if (HasUsable) + { + size += 1 + 1; + } + if (HasForceuse) + { + size += 1 + 1; + } + if (HasMultiuse) + { + size += 1 + 1; + } + if (write_ != null) + { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Write); + } + if (writeOnce_ != null) + { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(WriteOnce); + } + if (HasLiquidpool) + { + size += 1 + 1; + } + if (HasUnpass) + { + size += 1 + 1; + } + if (HasUnmove) + { + size += 1 + 1; + } + if (HasUnsight) + { + size += 1 + 1; + } + if (HasAvoid) + { + size += 2 + 1; + } + if (HasNoMovementAnimation) + { + size += 2 + 1; + } + if (HasTake) + { + size += 2 + 1; + } + if (HasLiquidcontainer) + { + size += 2 + 1; + } + if (HasHang) + { + size += 2 + 1; + } + if (hook_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Hook); + } + if (HasRotate) + { + size += 2 + 1; + } + if (light_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Light); + } + if (HasDontHide) + { + size += 2 + 1; + } + if (HasTranslucent) + { + size += 2 + 1; + } + if (shift_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Shift); + } + if (height_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Height); + } + if (HasLyingObject) + { + size += 2 + 1; + } + if (HasAnimateAlways) + { + size += 2 + 1; + } + if (automap_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Automap); + } + if (lenshelp_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Lenshelp); + } + if (HasFullbank) + { + size += 2 + 1; + } + if (HasIgnoreLook) + { + size += 2 + 1; + } + if (clothes_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Clothes); + } + if (defaultAction_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(DefaultAction); + } + if (market_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Market); + } + if (HasWrap) + { + size += 2 + 1; + } + if (HasUnwrap) + { + size += 2 + 1; + } + if (HasTopeffect) + { + size += 2 + 1; + } + size += npcsaledata_.CalculateSize(_repeated_npcsaledata_codec); + if (changedtoexpire_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Changedtoexpire); + } + if (HasCorpse) + { + size += 2 + 1; + } + if (HasPlayerCorpse) + { + size += 2 + 1; + } + if (cyclopediaitem_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Cyclopediaitem); + } + if (HasAmmo) + { + size += 2 + 1; + } + if (HasShowOffSocket) + { + size += 2 + 1; + } + if (HasReportable) + { + size += 2 + 1; + } + if (upgradeclassification_ != null) + { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(Upgradeclassification); + } + if (HasReverseAddonsEast) + { + size += 2 + 1; + } + if (HasReverseAddonsWest) + { + size += 2 + 1; + } + if (HasReverseAddonsSouth) + { + size += 2 + 1; + } + if (HasReverseAddonsNorth) + { + size += 2 + 1; + } + if (HasWearout) + { + size += 2 + 1; + } + if (HasClockexpire) + { + size += 2 + 1; + } + if (HasExpire) + { + size += 2 + 1; + } + if (HasExpirestop) + { + size += 2 + 1; + } + if (HasWrapkit) + { + size += 2 + 1; + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; } - Upgradeclassification.MergeFrom(other.Upgradeclassification); - } - if (other.HasReverseAddonsEast) { - ReverseAddonsEast = other.ReverseAddonsEast; - } - if (other.HasReverseAddonsWest) { - ReverseAddonsWest = other.ReverseAddonsWest; - } - if (other.HasReverseAddonsSouth) { - ReverseAddonsSouth = other.ReverseAddonsSouth; - } - if (other.HasReverseAddonsNorth) { - ReverseAddonsNorth = other.ReverseAddonsNorth; - } - if (other.HasWearout) { - Wearout = other.Wearout; - } - if (other.HasClockexpire) { - Clockexpire = other.Clockexpire; - } - if (other.HasExpire) { - Expire = other.Expire; - } - if (other.HasExpirestop) { - Expirestop = other.Expirestop; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 10: { - if (bank_ == null) { - Bank = new global::Tibia.Protobuf.Appearances.AppearanceFlagBank(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlags other) + { + if (other == null) + { + return; } - input.ReadMessage(Bank); - break; - } - case 16: { - Clip = input.ReadBool(); - break; - } - case 24: { - Bottom = input.ReadBool(); - break; - } - case 32: { - Top = input.ReadBool(); - break; - } - case 40: { - Container = input.ReadBool(); - break; - } - case 48: { - Cumulative = input.ReadBool(); - break; - } - case 56: { - Usable = input.ReadBool(); - break; - } - case 64: { - Forceuse = input.ReadBool(); - break; - } - case 72: { - Multiuse = input.ReadBool(); - break; - } - case 82: { - if (write_ == null) { - Write = new global::Tibia.Protobuf.Appearances.AppearanceFlagWrite(); + if (other.bank_ != null) + { + if (bank_ == null) + { + Bank = new global::Tibia.Protobuf.Appearances.AppearanceFlagBank(); + } + Bank.MergeFrom(other.Bank); } - input.ReadMessage(Write); - break; - } - case 90: { - if (writeOnce_ == null) { - WriteOnce = new global::Tibia.Protobuf.Appearances.AppearanceFlagWriteOnce(); + if (other.HasClip) + { + Clip = other.Clip; } - input.ReadMessage(WriteOnce); - break; - } - case 96: { - Liquidpool = input.ReadBool(); - break; - } - case 104: { - Unpass = input.ReadBool(); - break; - } - case 112: { - Unmove = input.ReadBool(); - break; - } - case 120: { - Unsight = input.ReadBool(); - break; - } - case 128: { - Avoid = input.ReadBool(); - break; - } - case 136: { - NoMovementAnimation = input.ReadBool(); - break; - } - case 144: { - Take = input.ReadBool(); - break; - } - case 152: { - Liquidcontainer = input.ReadBool(); - break; - } - case 160: { - Hang = input.ReadBool(); - break; - } - case 170: { - if (hook_ == null) { - Hook = new global::Tibia.Protobuf.Appearances.AppearanceFlagHook(); + if (other.HasBottom) + { + Bottom = other.Bottom; } - input.ReadMessage(Hook); - break; - } - case 176: { - Rotate = input.ReadBool(); - break; - } - case 186: { - if (light_ == null) { - Light = new global::Tibia.Protobuf.Appearances.AppearanceFlagLight(); + if (other.HasTop) + { + Top = other.Top; } - input.ReadMessage(Light); - break; - } - case 192: { - DontHide = input.ReadBool(); - break; - } - case 200: { - Translucent = input.ReadBool(); - break; - } - case 210: { - if (shift_ == null) { - Shift = new global::Tibia.Protobuf.Appearances.AppearanceFlagShift(); + if (other.HasContainer) + { + Container = other.Container; } - input.ReadMessage(Shift); - break; - } - case 218: { - if (height_ == null) { - Height = new global::Tibia.Protobuf.Appearances.AppearanceFlagHeight(); + if (other.HasCumulative) + { + Cumulative = other.Cumulative; } - input.ReadMessage(Height); - break; - } - case 224: { - LyingObject = input.ReadBool(); - break; - } - case 232: { - AnimateAlways = input.ReadBool(); - break; - } - case 242: { - if (automap_ == null) { - Automap = new global::Tibia.Protobuf.Appearances.AppearanceFlagAutomap(); + if (other.HasUsable) + { + Usable = other.Usable; + } + if (other.HasForceuse) + { + Forceuse = other.Forceuse; + } + if (other.HasMultiuse) + { + Multiuse = other.Multiuse; + } + if (other.write_ != null) + { + if (write_ == null) + { + Write = new global::Tibia.Protobuf.Appearances.AppearanceFlagWrite(); + } + Write.MergeFrom(other.Write); + } + if (other.writeOnce_ != null) + { + if (writeOnce_ == null) + { + WriteOnce = new global::Tibia.Protobuf.Appearances.AppearanceFlagWriteOnce(); + } + WriteOnce.MergeFrom(other.WriteOnce); + } + if (other.HasLiquidpool) + { + Liquidpool = other.Liquidpool; + } + if (other.HasUnpass) + { + Unpass = other.Unpass; + } + if (other.HasUnmove) + { + Unmove = other.Unmove; + } + if (other.HasUnsight) + { + Unsight = other.Unsight; + } + if (other.HasAvoid) + { + Avoid = other.Avoid; + } + if (other.HasNoMovementAnimation) + { + NoMovementAnimation = other.NoMovementAnimation; + } + if (other.HasTake) + { + Take = other.Take; + } + if (other.HasLiquidcontainer) + { + Liquidcontainer = other.Liquidcontainer; + } + if (other.HasHang) + { + Hang = other.Hang; + } + if (other.hook_ != null) + { + if (hook_ == null) + { + Hook = new global::Tibia.Protobuf.Appearances.AppearanceFlagHook(); + } + Hook.MergeFrom(other.Hook); + } + if (other.HasRotate) + { + Rotate = other.Rotate; + } + if (other.light_ != null) + { + if (light_ == null) + { + Light = new global::Tibia.Protobuf.Appearances.AppearanceFlagLight(); + } + Light.MergeFrom(other.Light); + } + if (other.HasDontHide) + { + DontHide = other.DontHide; + } + if (other.HasTranslucent) + { + Translucent = other.Translucent; + } + if (other.shift_ != null) + { + if (shift_ == null) + { + Shift = new global::Tibia.Protobuf.Appearances.AppearanceFlagShift(); + } + Shift.MergeFrom(other.Shift); + } + if (other.height_ != null) + { + if (height_ == null) + { + Height = new global::Tibia.Protobuf.Appearances.AppearanceFlagHeight(); + } + Height.MergeFrom(other.Height); + } + if (other.HasLyingObject) + { + LyingObject = other.LyingObject; + } + if (other.HasAnimateAlways) + { + AnimateAlways = other.AnimateAlways; + } + if (other.automap_ != null) + { + if (automap_ == null) + { + Automap = new global::Tibia.Protobuf.Appearances.AppearanceFlagAutomap(); + } + Automap.MergeFrom(other.Automap); + } + if (other.lenshelp_ != null) + { + if (lenshelp_ == null) + { + Lenshelp = new global::Tibia.Protobuf.Appearances.AppearanceFlagLenshelp(); + } + Lenshelp.MergeFrom(other.Lenshelp); + } + if (other.HasFullbank) + { + Fullbank = other.Fullbank; + } + if (other.HasIgnoreLook) + { + IgnoreLook = other.IgnoreLook; + } + if (other.clothes_ != null) + { + if (clothes_ == null) + { + Clothes = new global::Tibia.Protobuf.Appearances.AppearanceFlagClothes(); + } + Clothes.MergeFrom(other.Clothes); + } + if (other.defaultAction_ != null) + { + if (defaultAction_ == null) + { + DefaultAction = new global::Tibia.Protobuf.Appearances.AppearanceFlagDefaultAction(); + } + DefaultAction.MergeFrom(other.DefaultAction); + } + if (other.market_ != null) + { + if (market_ == null) + { + Market = new global::Tibia.Protobuf.Appearances.AppearanceFlagMarket(); + } + Market.MergeFrom(other.Market); + } + if (other.HasWrap) + { + Wrap = other.Wrap; + } + if (other.HasUnwrap) + { + Unwrap = other.Unwrap; + } + if (other.HasTopeffect) + { + Topeffect = other.Topeffect; } - input.ReadMessage(Automap); - break; - } - case 250: { - if (lenshelp_ == null) { - Lenshelp = new global::Tibia.Protobuf.Appearances.AppearanceFlagLenshelp(); + npcsaledata_.Add(other.npcsaledata_); + if (other.changedtoexpire_ != null) + { + if (changedtoexpire_ == null) + { + Changedtoexpire = new global::Tibia.Protobuf.Appearances.AppearanceFlagChangedToExpire(); + } + Changedtoexpire.MergeFrom(other.Changedtoexpire); } - input.ReadMessage(Lenshelp); - break; - } - case 256: { - Fullbank = input.ReadBool(); - break; - } - case 264: { - IgnoreLook = input.ReadBool(); - break; - } - case 274: { - if (clothes_ == null) { - Clothes = new global::Tibia.Protobuf.Appearances.AppearanceFlagClothes(); + if (other.HasCorpse) + { + Corpse = other.Corpse; } - input.ReadMessage(Clothes); - break; - } - case 282: { - if (defaultAction_ == null) { - DefaultAction = new global::Tibia.Protobuf.Appearances.AppearanceFlagDefaultAction(); + if (other.HasPlayerCorpse) + { + PlayerCorpse = other.PlayerCorpse; } - input.ReadMessage(DefaultAction); - break; - } - case 290: { - if (market_ == null) { - Market = new global::Tibia.Protobuf.Appearances.AppearanceFlagMarket(); + if (other.cyclopediaitem_ != null) + { + if (cyclopediaitem_ == null) + { + Cyclopediaitem = new global::Tibia.Protobuf.Appearances.AppearanceFlagCyclopedia(); + } + Cyclopediaitem.MergeFrom(other.Cyclopediaitem); } - input.ReadMessage(Market); - break; - } - case 296: { - Wrap = input.ReadBool(); - break; - } - case 304: { - Unwrap = input.ReadBool(); - break; - } - case 312: { - Topeffect = input.ReadBool(); - break; - } - case 322: { - npcsaledata_.AddEntriesFrom(input, _repeated_npcsaledata_codec); - break; - } - case 330: { - if (changedtoexpire_ == null) { - Changedtoexpire = new global::Tibia.Protobuf.Appearances.AppearanceFlagChangedToExpire(); + if (other.HasAmmo) + { + Ammo = other.Ammo; } - input.ReadMessage(Changedtoexpire); - break; - } - case 336: { - Corpse = input.ReadBool(); - break; - } - case 344: { - PlayerCorpse = input.ReadBool(); - break; - } - case 354: { - if (cyclopediaitem_ == null) { - Cyclopediaitem = new global::Tibia.Protobuf.Appearances.AppearanceFlagCyclopedia(); + if (other.HasShowOffSocket) + { + ShowOffSocket = other.ShowOffSocket; } - input.ReadMessage(Cyclopediaitem); - break; - } - case 360: { - Ammo = input.ReadBool(); - break; - } - case 368: { - ShowOffSocket = input.ReadBool(); - break; - } - case 376: { - Reportable = input.ReadBool(); - break; - } - case 386: { - if (upgradeclassification_ == null) { - Upgradeclassification = new global::Tibia.Protobuf.Appearances.AppearanceFlagUpgradeClassification(); + if (other.HasReportable) + { + Reportable = other.Reportable; } - input.ReadMessage(Upgradeclassification); - break; - } - case 392: { - ReverseAddonsEast = input.ReadBool(); - break; - } - case 400: { - ReverseAddonsWest = input.ReadBool(); - break; - } - case 408: { - ReverseAddonsSouth = input.ReadBool(); - break; - } - case 416: { - ReverseAddonsNorth = input.ReadBool(); - break; - } - case 424: { - Wearout = input.ReadBool(); - break; - } - case 432: { - Clockexpire = input.ReadBool(); - break; - } - case 440: { - Expire = input.ReadBool(); - break; - } - case 448: { - Expirestop = input.ReadBool(); - break; - } + if (other.upgradeclassification_ != null) + { + if (upgradeclassification_ == null) + { + Upgradeclassification = new global::Tibia.Protobuf.Appearances.AppearanceFlagUpgradeClassification(); + } + Upgradeclassification.MergeFrom(other.Upgradeclassification); + } + if (other.HasReverseAddonsEast) + { + ReverseAddonsEast = other.ReverseAddonsEast; + } + if (other.HasReverseAddonsWest) + { + ReverseAddonsWest = other.ReverseAddonsWest; + } + if (other.HasReverseAddonsSouth) + { + ReverseAddonsSouth = other.ReverseAddonsSouth; + } + if (other.HasReverseAddonsNorth) + { + ReverseAddonsNorth = other.ReverseAddonsNorth; + } + if (other.HasWearout) + { + Wearout = other.Wearout; + } + if (other.HasClockexpire) + { + Clockexpire = other.Clockexpire; + } + if (other.HasExpire) + { + Expire = other.Expire; + } + if (other.HasExpirestop) + { + Expirestop = other.Expirestop; + } + if (other.HasWrapkit) + { + Wrapkit = other.Wrapkit; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } - } - #endif - } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (bank_ == null) { @@ -5655,7 +6635,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 322: { - npcsaledata_.AddEntriesFrom(ref input, _repeated_npcsaledata_codec); + npcsaledata_.AddEntriesFrom(input, _repeated_npcsaledata_codec); break; } case 330: { @@ -5731,128 +6711,512 @@ public void MergeFrom(pb::CodedInputStream input) { Expirestop = input.ReadBool(); break; } + case 456: { + Wrapkit = input.ReadBool(); + break; + } } } - } - #endif - - } - - public sealed partial class AppearanceFlagUpgradeClassification : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagUpgradeClassification()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[8]; } - } +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + { + if (bank_ == null) + { + Bank = new global::Tibia.Protobuf.Appearances.AppearanceFlagBank(); + } + input.ReadMessage(Bank); + break; + } + case 16: + { + Clip = input.ReadBool(); + break; + } + case 24: + { + Bottom = input.ReadBool(); + break; + } + case 32: + { + Top = input.ReadBool(); + break; + } + case 40: + { + Container = input.ReadBool(); + break; + } + case 48: + { + Cumulative = input.ReadBool(); + break; + } + case 56: + { + Usable = input.ReadBool(); + break; + } + case 64: + { + Forceuse = input.ReadBool(); + break; + } + case 72: + { + Multiuse = input.ReadBool(); + break; + } + case 82: + { + if (write_ == null) + { + Write = new global::Tibia.Protobuf.Appearances.AppearanceFlagWrite(); + } + input.ReadMessage(Write); + break; + } + case 90: + { + if (writeOnce_ == null) + { + WriteOnce = new global::Tibia.Protobuf.Appearances.AppearanceFlagWriteOnce(); + } + input.ReadMessage(WriteOnce); + break; + } + case 96: + { + Liquidpool = input.ReadBool(); + break; + } + case 104: + { + Unpass = input.ReadBool(); + break; + } + case 112: + { + Unmove = input.ReadBool(); + break; + } + case 120: + { + Unsight = input.ReadBool(); + break; + } + case 128: + { + Avoid = input.ReadBool(); + break; + } + case 136: + { + NoMovementAnimation = input.ReadBool(); + break; + } + case 144: + { + Take = input.ReadBool(); + break; + } + case 152: + { + Liquidcontainer = input.ReadBool(); + break; + } + case 160: + { + Hang = input.ReadBool(); + break; + } + case 170: + { + if (hook_ == null) + { + Hook = new global::Tibia.Protobuf.Appearances.AppearanceFlagHook(); + } + input.ReadMessage(Hook); + break; + } + case 176: + { + Rotate = input.ReadBool(); + break; + } + case 186: + { + if (light_ == null) + { + Light = new global::Tibia.Protobuf.Appearances.AppearanceFlagLight(); + } + input.ReadMessage(Light); + break; + } + case 192: + { + DontHide = input.ReadBool(); + break; + } + case 200: + { + Translucent = input.ReadBool(); + break; + } + case 210: + { + if (shift_ == null) + { + Shift = new global::Tibia.Protobuf.Appearances.AppearanceFlagShift(); + } + input.ReadMessage(Shift); + break; + } + case 218: + { + if (height_ == null) + { + Height = new global::Tibia.Protobuf.Appearances.AppearanceFlagHeight(); + } + input.ReadMessage(Height); + break; + } + case 224: + { + LyingObject = input.ReadBool(); + break; + } + case 232: + { + AnimateAlways = input.ReadBool(); + break; + } + case 242: + { + if (automap_ == null) + { + Automap = new global::Tibia.Protobuf.Appearances.AppearanceFlagAutomap(); + } + input.ReadMessage(Automap); + break; + } + case 250: + { + if (lenshelp_ == null) + { + Lenshelp = new global::Tibia.Protobuf.Appearances.AppearanceFlagLenshelp(); + } + input.ReadMessage(Lenshelp); + break; + } + case 256: + { + Fullbank = input.ReadBool(); + break; + } + case 264: + { + IgnoreLook = input.ReadBool(); + break; + } + case 274: + { + if (clothes_ == null) + { + Clothes = new global::Tibia.Protobuf.Appearances.AppearanceFlagClothes(); + } + input.ReadMessage(Clothes); + break; + } + case 282: + { + if (defaultAction_ == null) + { + DefaultAction = new global::Tibia.Protobuf.Appearances.AppearanceFlagDefaultAction(); + } + input.ReadMessage(DefaultAction); + break; + } + case 290: + { + if (market_ == null) + { + Market = new global::Tibia.Protobuf.Appearances.AppearanceFlagMarket(); + } + input.ReadMessage(Market); + break; + } + case 296: + { + Wrap = input.ReadBool(); + break; + } + case 304: + { + Unwrap = input.ReadBool(); + break; + } + case 312: + { + Topeffect = input.ReadBool(); + break; + } + case 322: + { + npcsaledata_.AddEntriesFrom(ref input, _repeated_npcsaledata_codec); + break; + } + case 330: + { + if (changedtoexpire_ == null) + { + Changedtoexpire = new global::Tibia.Protobuf.Appearances.AppearanceFlagChangedToExpire(); + } + input.ReadMessage(Changedtoexpire); + break; + } + case 336: + { + Corpse = input.ReadBool(); + break; + } + case 344: + { + PlayerCorpse = input.ReadBool(); + break; + } + case 354: + { + if (cyclopediaitem_ == null) + { + Cyclopediaitem = new global::Tibia.Protobuf.Appearances.AppearanceFlagCyclopedia(); + } + input.ReadMessage(Cyclopediaitem); + break; + } + case 360: + { + Ammo = input.ReadBool(); + break; + } + case 368: + { + ShowOffSocket = input.ReadBool(); + break; + } + case 376: + { + Reportable = input.ReadBool(); + break; + } + case 386: + { + if (upgradeclassification_ == null) + { + Upgradeclassification = new global::Tibia.Protobuf.Appearances.AppearanceFlagUpgradeClassification(); + } + input.ReadMessage(Upgradeclassification); + break; + } + case 392: + { + ReverseAddonsEast = input.ReadBool(); + break; + } + case 400: + { + ReverseAddonsWest = input.ReadBool(); + break; + } + case 408: + { + ReverseAddonsSouth = input.ReadBool(); + break; + } + case 416: + { + ReverseAddonsNorth = input.ReadBool(); + break; + } + case 424: + { + Wearout = input.ReadBool(); + break; + } + case 432: + { + Clockexpire = input.ReadBool(); + break; + } + case 440: + { + Expire = input.ReadBool(); + break; + } + case 448: + { + Expirestop = input.ReadBool(); + break; + } + case 456: + { + Wrapkit = input.ReadBool(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagUpgradeClassification : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagUpgradeClassification()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[9]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagUpgradeClassification() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagUpgradeClassification() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagUpgradeClassification(AppearanceFlagUpgradeClassification other) : this() { - _hasBits0 = other._hasBits0; - upgradeClassification_ = other.upgradeClassification_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagUpgradeClassification Clone() { - return new AppearanceFlagUpgradeClassification(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagUpgradeClassification(AppearanceFlagUpgradeClassification other) : this() + { + _hasBits0 = other._hasBits0; + upgradeClassification_ = other.upgradeClassification_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "upgrade_classification" field. - public const int UpgradeClassificationFieldNumber = 1; - private readonly static uint UpgradeClassificationDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagUpgradeClassification Clone() + { + return new AppearanceFlagUpgradeClassification(this); + } - private uint upgradeClassification_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint UpgradeClassification { - get { if ((_hasBits0 & 1) != 0) { return upgradeClassification_; } else { return UpgradeClassificationDefaultValue; } } - set { - _hasBits0 |= 1; - upgradeClassification_ = value; - } - } - /// Gets whether the "upgrade_classification" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasUpgradeClassification { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "upgrade_classification" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearUpgradeClassification() { - _hasBits0 &= ~1; - } + /// Field number for the "upgrade_classification" field. + public const int UpgradeClassificationFieldNumber = 1; + private readonly static uint UpgradeClassificationDefaultValue = 0; + + private uint upgradeClassification_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint UpgradeClassification + { + get { if ((_hasBits0 & 1) != 0) { return upgradeClassification_; } else { return UpgradeClassificationDefaultValue; } } + set + { + _hasBits0 |= 1; + upgradeClassification_ = value; + } + } + /// Gets whether the "upgrade_classification" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasUpgradeClassification + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "upgrade_classification" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearUpgradeClassification() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagUpgradeClassification); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagUpgradeClassification); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagUpgradeClassification other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (UpgradeClassification != other.UpgradeClassification) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagUpgradeClassification other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (UpgradeClassification != other.UpgradeClassification) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasUpgradeClassification) hash ^= UpgradeClassification.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasUpgradeClassification) hash ^= UpgradeClassification.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasUpgradeClassification) { output.WriteRawTag(8); output.WriteUInt32(UpgradeClassification); @@ -5860,54 +7224,64 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasUpgradeClassification) { - output.WriteRawTag(8); - output.WriteUInt32(UpgradeClassification); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasUpgradeClassification) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UpgradeClassification); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasUpgradeClassification) + { + output.WriteRawTag(8); + output.WriteUInt32(UpgradeClassification); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasUpgradeClassification) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(UpgradeClassification); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagUpgradeClassification other) { - if (other == null) { - return; - } - if (other.HasUpgradeClassification) { - UpgradeClassification = other.UpgradeClassification; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagUpgradeClassification other) + { + if (other == null) + { + return; + } + if (other.HasUpgradeClassification) + { + UpgradeClassification = other.UpgradeClassification; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -5920,200 +7294,231 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - UpgradeClassification = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagBank : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagBank()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[9]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagBank() { - OnConstruction(); - } - partial void OnConstruction(); +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + UpgradeClassification = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagBank : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagBank()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[10]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagBank(AppearanceFlagBank other) : this() { - _hasBits0 = other._hasBits0; - waypoints_ = other.waypoints_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagBank Clone() { - return new AppearanceFlagBank(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagBank() + { + OnConstruction(); + } - /// Field number for the "waypoints" field. - public const int WaypointsFieldNumber = 1; - private readonly static uint WaypointsDefaultValue = 0; + partial void OnConstruction(); - private uint waypoints_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Waypoints { - get { if ((_hasBits0 & 1) != 0) { return waypoints_; } else { return WaypointsDefaultValue; } } - set { - _hasBits0 |= 1; - waypoints_ = value; - } - } - /// Gets whether the "waypoints" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasWaypoints { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "waypoints" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearWaypoints() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagBank(AppearanceFlagBank other) : this() + { + _hasBits0 = other._hasBits0; + waypoints_ = other.waypoints_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagBank); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagBank Clone() + { + return new AppearanceFlagBank(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagBank other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Waypoints != other.Waypoints) return false; - return Equals(_unknownFields, other._unknownFields); - } + /// Field number for the "waypoints" field. + public const int WaypointsFieldNumber = 1; + private readonly static uint WaypointsDefaultValue = 0; + + private uint waypoints_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Waypoints + { + get { if ((_hasBits0 & 1) != 0) { return waypoints_; } else { return WaypointsDefaultValue; } } + set + { + _hasBits0 |= 1; + waypoints_ = value; + } + } + /// Gets whether the "waypoints" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasWaypoints + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "waypoints" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearWaypoints() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasWaypoints) hash ^= Waypoints.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagBank); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagBank other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Waypoints != other.Waypoints) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasWaypoints) { - output.WriteRawTag(8); - output.WriteUInt32(Waypoints); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasWaypoints) hash ^= Waypoints.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasWaypoints) { output.WriteRawTag(8); output.WriteUInt32(Waypoints); } if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + _unknownFields.WriteTo(output); } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasWaypoints) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Waypoints); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasWaypoints) + { + output.WriteRawTag(8); + output.WriteUInt32(Waypoints); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasWaypoints) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Waypoints); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagBank other) { - if (other == null) { - return; - } - if (other.HasWaypoints) { - Waypoints = other.Waypoints; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagBank other) + { + if (other == null) + { + return; + } + if (other.HasWaypoints) + { + Waypoints = other.Waypoints; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -6126,145 +7531,166 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Waypoints = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagWrite : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagWrite()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[10]; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + Waypoints = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagWrite : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagWrite()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[11]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagWrite() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagWrite() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagWrite(AppearanceFlagWrite other) : this() { - _hasBits0 = other._hasBits0; - maxTextLength_ = other.maxTextLength_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagWrite Clone() { - return new AppearanceFlagWrite(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagWrite(AppearanceFlagWrite other) : this() + { + _hasBits0 = other._hasBits0; + maxTextLength_ = other.maxTextLength_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "max_text_length" field. - public const int MaxTextLengthFieldNumber = 1; - private readonly static uint MaxTextLengthDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagWrite Clone() + { + return new AppearanceFlagWrite(this); + } - private uint maxTextLength_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint MaxTextLength { - get { if ((_hasBits0 & 1) != 0) { return maxTextLength_; } else { return MaxTextLengthDefaultValue; } } - set { - _hasBits0 |= 1; - maxTextLength_ = value; - } - } - /// Gets whether the "max_text_length" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasMaxTextLength { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "max_text_length" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearMaxTextLength() { - _hasBits0 &= ~1; - } + /// Field number for the "max_text_length" field. + public const int MaxTextLengthFieldNumber = 1; + private readonly static uint MaxTextLengthDefaultValue = 0; + + private uint maxTextLength_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxTextLength + { + get { if ((_hasBits0 & 1) != 0) { return maxTextLength_; } else { return MaxTextLengthDefaultValue; } } + set + { + _hasBits0 |= 1; + maxTextLength_ = value; + } + } + /// Gets whether the "max_text_length" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxTextLength + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "max_text_length" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxTextLength() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagWrite); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagWrite); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagWrite other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (MaxTextLength != other.MaxTextLength) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagWrite other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (MaxTextLength != other.MaxTextLength) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasMaxTextLength) hash ^= MaxTextLength.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasMaxTextLength) hash ^= MaxTextLength.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasMaxTextLength) { output.WriteRawTag(8); output.WriteUInt32(MaxTextLength); @@ -6272,54 +7698,64 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasMaxTextLength) { - output.WriteRawTag(8); - output.WriteUInt32(MaxTextLength); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasMaxTextLength) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxTextLength); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasMaxTextLength) + { + output.WriteRawTag(8); + output.WriteUInt32(MaxTextLength); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasMaxTextLength) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxTextLength); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagWrite other) { - if (other == null) { - return; - } - if (other.HasMaxTextLength) { - MaxTextLength = other.MaxTextLength; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagWrite other) + { + if (other == null) + { + return; + } + if (other.HasMaxTextLength) + { + MaxTextLength = other.MaxTextLength; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -6332,145 +7768,166 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - MaxTextLength = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagWriteOnce : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagWriteOnce()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[11]; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + MaxTextLength = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagWriteOnce : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagWriteOnce()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[12]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagWriteOnce() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagWriteOnce() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagWriteOnce(AppearanceFlagWriteOnce other) : this() { - _hasBits0 = other._hasBits0; - maxTextLengthOnce_ = other.maxTextLengthOnce_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagWriteOnce Clone() { - return new AppearanceFlagWriteOnce(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagWriteOnce(AppearanceFlagWriteOnce other) : this() + { + _hasBits0 = other._hasBits0; + maxTextLengthOnce_ = other.maxTextLengthOnce_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "max_text_length_once" field. - public const int MaxTextLengthOnceFieldNumber = 1; - private readonly static uint MaxTextLengthOnceDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagWriteOnce Clone() + { + return new AppearanceFlagWriteOnce(this); + } - private uint maxTextLengthOnce_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint MaxTextLengthOnce { - get { if ((_hasBits0 & 1) != 0) { return maxTextLengthOnce_; } else { return MaxTextLengthOnceDefaultValue; } } - set { - _hasBits0 |= 1; - maxTextLengthOnce_ = value; - } - } - /// Gets whether the "max_text_length_once" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasMaxTextLengthOnce { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "max_text_length_once" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearMaxTextLengthOnce() { - _hasBits0 &= ~1; - } + /// Field number for the "max_text_length_once" field. + public const int MaxTextLengthOnceFieldNumber = 1; + private readonly static uint MaxTextLengthOnceDefaultValue = 0; + + private uint maxTextLengthOnce_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MaxTextLengthOnce + { + get { if ((_hasBits0 & 1) != 0) { return maxTextLengthOnce_; } else { return MaxTextLengthOnceDefaultValue; } } + set + { + _hasBits0 |= 1; + maxTextLengthOnce_ = value; + } + } + /// Gets whether the "max_text_length_once" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMaxTextLengthOnce + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "max_text_length_once" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMaxTextLengthOnce() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagWriteOnce); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagWriteOnce); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagWriteOnce other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (MaxTextLengthOnce != other.MaxTextLengthOnce) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagWriteOnce other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (MaxTextLengthOnce != other.MaxTextLengthOnce) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasMaxTextLengthOnce) hash ^= MaxTextLengthOnce.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasMaxTextLengthOnce) hash ^= MaxTextLengthOnce.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasMaxTextLengthOnce) { output.WriteRawTag(8); output.WriteUInt32(MaxTextLengthOnce); @@ -6478,54 +7935,64 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasMaxTextLengthOnce) { - output.WriteRawTag(8); - output.WriteUInt32(MaxTextLengthOnce); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasMaxTextLengthOnce) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxTextLengthOnce); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasMaxTextLengthOnce) + { + output.WriteRawTag(8); + output.WriteUInt32(MaxTextLengthOnce); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasMaxTextLengthOnce) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MaxTextLengthOnce); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagWriteOnce other) { - if (other == null) { - return; - } - if (other.HasMaxTextLengthOnce) { - MaxTextLengthOnce = other.MaxTextLengthOnce; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagWriteOnce other) + { + if (other == null) + { + return; + } + if (other.HasMaxTextLengthOnce) + { + MaxTextLengthOnce = other.MaxTextLengthOnce; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -6538,272 +8005,287 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - MaxTextLengthOnce = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagLight : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagLight()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[12]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagLight() { - OnConstruction(); - } - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagLight(AppearanceFlagLight other) : this() { - _hasBits0 = other._hasBits0; - brightness_ = other.brightness_; - color_ = other.color_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + MaxTextLengthOnce = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagLight : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagLight()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[13]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagLight Clone() { - return new AppearanceFlagLight(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - /// Field number for the "brightness" field. - public const int BrightnessFieldNumber = 1; - private readonly static uint BrightnessDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagLight() + { + OnConstruction(); + } - private uint brightness_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Brightness { - get { if ((_hasBits0 & 1) != 0) { return brightness_; } else { return BrightnessDefaultValue; } } - set { - _hasBits0 |= 1; - brightness_ = value; - } - } - /// Gets whether the "brightness" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasBrightness { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "brightness" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearBrightness() { - _hasBits0 &= ~1; - } + partial void OnConstruction(); - /// Field number for the "color" field. - public const int ColorFieldNumber = 2; - private readonly static uint ColorDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagLight(AppearanceFlagLight other) : this() + { + _hasBits0 = other._hasBits0; + brightness_ = other.brightness_; + color_ = other.color_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - private uint color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Color { - get { if ((_hasBits0 & 2) != 0) { return color_; } else { return ColorDefaultValue; } } - set { - _hasBits0 |= 2; - color_ = value; - } - } - /// Gets whether the "color" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasColor { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "color" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearColor() { - _hasBits0 &= ~2; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagLight Clone() + { + return new AppearanceFlagLight(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagLight); - } + /// Field number for the "brightness" field. + public const int BrightnessFieldNumber = 1; + private readonly static uint BrightnessDefaultValue = 0; + + private uint brightness_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Brightness + { + get { if ((_hasBits0 & 1) != 0) { return brightness_; } else { return BrightnessDefaultValue; } } + set + { + _hasBits0 |= 1; + brightness_ = value; + } + } + /// Gets whether the "brightness" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBrightness + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "brightness" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBrightness() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagLight other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Brightness != other.Brightness) return false; - if (Color != other.Color) return false; - return Equals(_unknownFields, other._unknownFields); - } + /// Field number for the "color" field. + public const int ColorFieldNumber = 2; + private readonly static uint ColorDefaultValue = 0; + + private uint color_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Color + { + get { if ((_hasBits0 & 2) != 0) { return color_; } else { return ColorDefaultValue; } } + set + { + _hasBits0 |= 2; + color_ = value; + } + } + /// Gets whether the "color" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasColor + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "color" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearColor() + { + _hasBits0 &= ~2; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasBrightness) hash ^= Brightness.GetHashCode(); - if (HasColor) hash ^= Color.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagLight); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagLight other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Brightness != other.Brightness) return false; + if (Color != other.Color) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasBrightness) { - output.WriteRawTag(8); - output.WriteUInt32(Brightness); - } - if (HasColor) { - output.WriteRawTag(16); - output.WriteUInt32(Color); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasBrightness) hash ^= Brightness.GetHashCode(); + if (HasColor) hash ^= Color.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasBrightness) { - output.WriteRawTag(8); - output.WriteUInt32(Brightness); - } - if (HasColor) { - output.WriteRawTag(16); - output.WriteUInt32(Color); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasBrightness) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Brightness); + output.WriteRawTag(8); + output.WriteUInt32(Brightness); } if (HasColor) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Color); + output.WriteRawTag(16); + output.WriteUInt32(Color); } if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); + _unknownFields.WriteTo(output); } - return size; - } +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagLight other) { - if (other == null) { - return; - } - if (other.HasBrightness) { - Brightness = other.Brightness; - } - if (other.HasColor) { - Color = other.Color; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasBrightness) + { + output.WriteRawTag(8); + output.WriteUInt32(Brightness); + } + if (HasColor) + { + output.WriteRawTag(16); + output.WriteUInt32(Color); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasBrightness) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Brightness); + } + if (HasColor) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Color); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Brightness = input.ReadUInt32(); - break; - } - case 16: { - Color = input.ReadUInt32(); - break; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagLight other) + { + if (other == null) + { + return; + } + if (other.HasBrightness) + { + Brightness = other.Brightness; + } + if (other.HasColor) + { + Color = other.Color; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } - } - #endif - } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Brightness = input.ReadUInt32(); @@ -6815,126 +8297,171 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - } - #endif - - } - - public sealed partial class AppearanceFlagHeight : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagHeight()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[13]; } - } +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + Brightness = input.ReadUInt32(); + break; + } + case 16: + { + Color = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagHeight : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagHeight()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[14]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagHeight() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagHeight() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagHeight(AppearanceFlagHeight other) : this() { - _hasBits0 = other._hasBits0; - elevation_ = other.elevation_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagHeight Clone() { - return new AppearanceFlagHeight(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagHeight(AppearanceFlagHeight other) : this() + { + _hasBits0 = other._hasBits0; + elevation_ = other.elevation_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "elevation" field. - public const int ElevationFieldNumber = 1; - private readonly static uint ElevationDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagHeight Clone() + { + return new AppearanceFlagHeight(this); + } - private uint elevation_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Elevation { - get { if ((_hasBits0 & 1) != 0) { return elevation_; } else { return ElevationDefaultValue; } } - set { - _hasBits0 |= 1; - elevation_ = value; - } - } - /// Gets whether the "elevation" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasElevation { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "elevation" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearElevation() { - _hasBits0 &= ~1; - } + /// Field number for the "elevation" field. + public const int ElevationFieldNumber = 1; + private readonly static uint ElevationDefaultValue = 0; + + private uint elevation_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Elevation + { + get { if ((_hasBits0 & 1) != 0) { return elevation_; } else { return ElevationDefaultValue; } } + set + { + _hasBits0 |= 1; + elevation_ = value; + } + } + /// Gets whether the "elevation" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasElevation + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "elevation" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearElevation() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagHeight); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagHeight); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagHeight other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Elevation != other.Elevation) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagHeight other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Elevation != other.Elevation) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasElevation) hash ^= Elevation.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasElevation) hash ^= Elevation.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasElevation) { output.WriteRawTag(8); output.WriteUInt32(Elevation); @@ -6942,54 +8469,64 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasElevation) { - output.WriteRawTag(8); - output.WriteUInt32(Elevation); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasElevation) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Elevation); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasElevation) + { + output.WriteRawTag(8); + output.WriteUInt32(Elevation); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasElevation) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Elevation); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagHeight other) { - if (other == null) { - return; - } - if (other.HasElevation) { - Elevation = other.Elevation; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagHeight other) + { + if (other == null) + { + return; + } + if (other.HasElevation) + { + Elevation = other.Elevation; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -7002,175 +8539,200 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Elevation = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagShift : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagShift()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[14]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagShift() { - OnConstruction(); - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + Elevation = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagShift : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagShift()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[15]; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagShift(AppearanceFlagShift other) : this() { - _hasBits0 = other._hasBits0; - x_ = other.x_; - y_ = other.y_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagShift() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagShift Clone() { - return new AppearanceFlagShift(this); - } + partial void OnConstruction(); - /// Field number for the "x" field. - public const int XFieldNumber = 1; - private readonly static uint XDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagShift(AppearanceFlagShift other) : this() + { + _hasBits0 = other._hasBits0; + x_ = other.x_; + y_ = other.y_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - private uint x_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint X { - get { if ((_hasBits0 & 1) != 0) { return x_; } else { return XDefaultValue; } } - set { - _hasBits0 |= 1; - x_ = value; - } - } - /// Gets whether the "x" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasX { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "x" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearX() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagShift Clone() + { + return new AppearanceFlagShift(this); + } - /// Field number for the "y" field. - public const int YFieldNumber = 2; - private readonly static uint YDefaultValue = 0; + /// Field number for the "x" field. + public const int XFieldNumber = 1; + private readonly static uint XDefaultValue = 0; + + private uint x_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint X + { + get { if ((_hasBits0 & 1) != 0) { return x_; } else { return XDefaultValue; } } + set + { + _hasBits0 |= 1; + x_ = value; + } + } + /// Gets whether the "x" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasX + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "x" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearX() + { + _hasBits0 &= ~1; + } - private uint y_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Y { - get { if ((_hasBits0 & 2) != 0) { return y_; } else { return YDefaultValue; } } - set { - _hasBits0 |= 2; - y_ = value; - } - } - /// Gets whether the "y" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasY { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "y" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearY() { - _hasBits0 &= ~2; - } + /// Field number for the "y" field. + public const int YFieldNumber = 2; + private readonly static uint YDefaultValue = 0; + + private uint y_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Y + { + get { if ((_hasBits0 & 2) != 0) { return y_; } else { return YDefaultValue; } } + set + { + _hasBits0 |= 2; + y_ = value; + } + } + /// Gets whether the "y" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasY + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "y" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearY() + { + _hasBits0 &= ~2; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagShift); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagShift); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagShift other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (X != other.X) return false; - if (Y != other.Y) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagShift other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (X != other.X) return false; + if (Y != other.Y) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasX) hash ^= X.GetHashCode(); - if (HasY) hash ^= Y.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasX) hash ^= X.GetHashCode(); + if (HasY) hash ^= Y.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasX) { output.WriteRawTag(8); output.WriteUInt32(X); @@ -7182,64 +8744,77 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasX) { - output.WriteRawTag(8); - output.WriteUInt32(X); - } - if (HasY) { - output.WriteRawTag(16); - output.WriteUInt32(Y); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasX) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(X); - } - if (HasY) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Y); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasX) + { + output.WriteRawTag(8); + output.WriteUInt32(X); + } + if (HasY) + { + output.WriteRawTag(16); + output.WriteUInt32(Y); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasX) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(X); + } + if (HasY) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Y); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagShift other) { - if (other == null) { - return; - } - if (other.HasX) { - X = other.X; - } - if (other.HasY) { - Y = other.Y; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagShift other) + { + if (other == null) + { + return; + } + if (other.HasX) + { + X = other.X; + } + if (other.HasY) + { + Y = other.Y; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -7256,204 +8831,236 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - X = input.ReadUInt32(); - break; - } - case 16: { - Y = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagClothes : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagClothes()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[15]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagClothes() { - OnConstruction(); - } - partial void OnConstruction(); +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + X = input.ReadUInt32(); + break; + } + case 16: + { + Y = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagClothes : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagClothes()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[16]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagClothes(AppearanceFlagClothes other) : this() { - _hasBits0 = other._hasBits0; - slot_ = other.slot_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagClothes Clone() { - return new AppearanceFlagClothes(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagClothes() + { + OnConstruction(); + } - /// Field number for the "slot" field. - public const int SlotFieldNumber = 1; - private readonly static uint SlotDefaultValue = 0; + partial void OnConstruction(); - private uint slot_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Slot { - get { if ((_hasBits0 & 1) != 0) { return slot_; } else { return SlotDefaultValue; } } - set { - _hasBits0 |= 1; - slot_ = value; - } - } - /// Gets whether the "slot" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSlot { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "slot" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSlot() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagClothes(AppearanceFlagClothes other) : this() + { + _hasBits0 = other._hasBits0; + slot_ = other.slot_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagClothes); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagClothes Clone() + { + return new AppearanceFlagClothes(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagClothes other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Slot != other.Slot) return false; - return Equals(_unknownFields, other._unknownFields); - } + /// Field number for the "slot" field. + public const int SlotFieldNumber = 1; + private readonly static uint SlotDefaultValue = 0; + + private uint slot_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Slot + { + get { if ((_hasBits0 & 1) != 0) { return slot_; } else { return SlotDefaultValue; } } + set + { + _hasBits0 |= 1; + slot_ = value; + } + } + /// Gets whether the "slot" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSlot + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "slot" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSlot() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasSlot) hash ^= Slot.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagClothes); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagClothes other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Slot != other.Slot) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasSlot) { - output.WriteRawTag(8); - output.WriteUInt32(Slot); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasSlot) hash ^= Slot.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasSlot) { output.WriteRawTag(8); output.WriteUInt32(Slot); } if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + _unknownFields.WriteTo(output); } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasSlot) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Slot); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasSlot) + { + output.WriteRawTag(8); + output.WriteUInt32(Slot); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasSlot) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Slot); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagClothes other) { - if (other == null) { - return; - } - if (other.HasSlot) { - Slot = other.Slot; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagClothes other) + { + if (other == null) + { + return; + } + if (other.HasSlot) + { + Slot = other.Slot; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -7466,145 +9073,166 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Slot = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagDefaultAction : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagDefaultAction()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[16]; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + Slot = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagDefaultAction : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagDefaultAction()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[17]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagDefaultAction() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagDefaultAction() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagDefaultAction(AppearanceFlagDefaultAction other) : this() { - _hasBits0 = other._hasBits0; - action_ = other.action_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagDefaultAction Clone() { - return new AppearanceFlagDefaultAction(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagDefaultAction(AppearanceFlagDefaultAction other) : this() + { + _hasBits0 = other._hasBits0; + action_ = other.action_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "action" field. - public const int ActionFieldNumber = 1; - private readonly static global::Tibia.Protobuf.Shared.PLAYER_ACTION ActionDefaultValue = global::Tibia.Protobuf.Shared.PLAYER_ACTION.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagDefaultAction Clone() + { + return new AppearanceFlagDefaultAction(this); + } - private global::Tibia.Protobuf.Shared.PLAYER_ACTION action_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Shared.PLAYER_ACTION Action { - get { if ((_hasBits0 & 1) != 0) { return action_; } else { return ActionDefaultValue; } } - set { - _hasBits0 |= 1; - action_ = value; - } - } - /// Gets whether the "action" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasAction { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "action" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearAction() { - _hasBits0 &= ~1; - } + /// Field number for the "action" field. + public const int ActionFieldNumber = 1; + private readonly static global::Tibia.Protobuf.Appearances.PLAYER_ACTION ActionDefaultValue = global::Tibia.Protobuf.Appearances.PLAYER_ACTION.None; + + private global::Tibia.Protobuf.Appearances.PLAYER_ACTION action_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.PLAYER_ACTION Action + { + get { if ((_hasBits0 & 1) != 0) { return action_; } else { return ActionDefaultValue; } } + set + { + _hasBits0 |= 1; + action_ = value; + } + } + /// Gets whether the "action" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAction + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "action" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearAction() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagDefaultAction); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagDefaultAction); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagDefaultAction other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Action != other.Action) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagDefaultAction other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Action != other.Action) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasAction) hash ^= Action.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasAction) hash ^= Action.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasAction) { output.WriteRawTag(8); output.WriteEnum((int) Action); @@ -7612,54 +9240,64 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasAction) { - output.WriteRawTag(8); - output.WriteEnum((int) Action); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasAction) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Action); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasAction) + { + output.WriteRawTag(8); + output.WriteEnum((int)Action); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasAction) + { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)Action); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagDefaultAction other) { - if (other == null) { - return; - } - if (other.HasAction) { - Action = other.Action; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagDefaultAction other) + { + if (other == null) + { + return; + } + if (other.HasAction) + { + Action = other.Action; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -7667,254 +9305,288 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Action = (global::Tibia.Protobuf.Shared.PLAYER_ACTION) input.ReadEnum(); + Action = (global::Tibia.Protobuf.Appearances.PLAYER_ACTION) input.ReadEnum(); break; } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Action = (global::Tibia.Protobuf.Shared.PLAYER_ACTION) input.ReadEnum(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagMarket : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagMarket()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[17]; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagMarket() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagMarket(AppearanceFlagMarket other) : this() { - _hasBits0 = other._hasBits0; - category_ = other.category_; - tradeAsObjectId_ = other.tradeAsObjectId_; - showAsObjectId_ = other.showAsObjectId_; - restrictToProfession_ = other.restrictToProfession_.Clone(); - minimumLevel_ = other.minimumLevel_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagMarket Clone() { - return new AppearanceFlagMarket(this); - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + Action = (global::Tibia.Protobuf.Appearances.PLAYER_ACTION)input.ReadEnum(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagMarket : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagMarket()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[18]; } + } - /// Field number for the "category" field. - public const int CategoryFieldNumber = 1; - private readonly static global::Tibia.Protobuf.Shared.ITEM_CATEGORY CategoryDefaultValue = global::Tibia.Protobuf.Shared.ITEM_CATEGORY.Armors; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - private global::Tibia.Protobuf.Shared.ITEM_CATEGORY category_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Shared.ITEM_CATEGORY Category { - get { if ((_hasBits0 & 1) != 0) { return category_; } else { return CategoryDefaultValue; } } - set { - _hasBits0 |= 1; - category_ = value; - } - } - /// Gets whether the "category" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCategory { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "category" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCategory() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagMarket() + { + OnConstruction(); + } - /// Field number for the "trade_as_object_id" field. - public const int TradeAsObjectIdFieldNumber = 2; - private readonly static uint TradeAsObjectIdDefaultValue = 0; + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagMarket(AppearanceFlagMarket other) : this() + { + _hasBits0 = other._hasBits0; + category_ = other.category_; + tradeAsObjectId_ = other.tradeAsObjectId_; + showAsObjectId_ = other.showAsObjectId_; + restrictToProfession_ = other.restrictToProfession_.Clone(); + minimumLevel_ = other.minimumLevel_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - private uint tradeAsObjectId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint TradeAsObjectId { - get { if ((_hasBits0 & 2) != 0) { return tradeAsObjectId_; } else { return TradeAsObjectIdDefaultValue; } } - set { - _hasBits0 |= 2; - tradeAsObjectId_ = value; - } - } - /// Gets whether the "trade_as_object_id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasTradeAsObjectId { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "trade_as_object_id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearTradeAsObjectId() { - _hasBits0 &= ~2; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagMarket Clone() + { + return new AppearanceFlagMarket(this); + } - /// Field number for the "show_as_object_id" field. - public const int ShowAsObjectIdFieldNumber = 3; - private readonly static uint ShowAsObjectIdDefaultValue = 0; + /// Field number for the "category" field. + public const int CategoryFieldNumber = 1; + private readonly static global::Tibia.Protobuf.Appearances.ITEM_CATEGORY CategoryDefaultValue = global::Tibia.Protobuf.Appearances.ITEM_CATEGORY.Armors; + + private global::Tibia.Protobuf.Appearances.ITEM_CATEGORY category_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.ITEM_CATEGORY Category + { + get { if ((_hasBits0 & 1) != 0) { return category_; } else { return CategoryDefaultValue; } } + set + { + _hasBits0 |= 1; + category_ = value; + } + } + /// Gets whether the "category" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCategory + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "category" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCategory() + { + _hasBits0 &= ~1; + } - private uint showAsObjectId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint ShowAsObjectId { - get { if ((_hasBits0 & 4) != 0) { return showAsObjectId_; } else { return ShowAsObjectIdDefaultValue; } } - set { - _hasBits0 |= 4; - showAsObjectId_ = value; - } - } - /// Gets whether the "show_as_object_id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasShowAsObjectId { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "show_as_object_id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearShowAsObjectId() { - _hasBits0 &= ~4; - } + /// Field number for the "trade_as_object_id" field. + public const int TradeAsObjectIdFieldNumber = 2; + private readonly static uint TradeAsObjectIdDefaultValue = 0; + + private uint tradeAsObjectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TradeAsObjectId + { + get { if ((_hasBits0 & 2) != 0) { return tradeAsObjectId_; } else { return TradeAsObjectIdDefaultValue; } } + set + { + _hasBits0 |= 2; + tradeAsObjectId_ = value; + } + } + /// Gets whether the "trade_as_object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTradeAsObjectId + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "trade_as_object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTradeAsObjectId() + { + _hasBits0 &= ~2; + } - /// Field number for the "restrict_to_profession" field. - public const int RestrictToProfessionFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_restrictToProfession_codec - = pb::FieldCodec.ForEnum(40, x => (int) x, x => (global::Tibia.Protobuf.Shared.PLAYER_PROFESSION) x); - private readonly pbc::RepeatedField restrictToProfession_ = new pbc::RepeatedField(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField RestrictToProfession { - get { return restrictToProfession_; } - } + /// Field number for the "show_as_object_id" field. + public const int ShowAsObjectIdFieldNumber = 3; + private readonly static uint ShowAsObjectIdDefaultValue = 0; + + private uint showAsObjectId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint ShowAsObjectId + { + get { if ((_hasBits0 & 4) != 0) { return showAsObjectId_; } else { return ShowAsObjectIdDefaultValue; } } + set + { + _hasBits0 |= 4; + showAsObjectId_ = value; + } + } + /// Gets whether the "show_as_object_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasShowAsObjectId + { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "show_as_object_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearShowAsObjectId() + { + _hasBits0 &= ~4; + } - /// Field number for the "minimum_level" field. - public const int MinimumLevelFieldNumber = 6; - private readonly static uint MinimumLevelDefaultValue = 0; + /// Field number for the "restrict_to_profession" field. + public const int RestrictToProfessionFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_restrictToProfession_codec + = pb::FieldCodec.ForEnum(40, x => (int)x, x => (global::Tibia.Protobuf.Appearances.PLAYER_PROFESSION)x); + private readonly pbc::RepeatedField restrictToProfession_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField RestrictToProfession + { + get { return restrictToProfession_; } + } - private uint minimumLevel_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint MinimumLevel { - get { if ((_hasBits0 & 8) != 0) { return minimumLevel_; } else { return MinimumLevelDefaultValue; } } - set { - _hasBits0 |= 8; - minimumLevel_ = value; - } - } - /// Gets whether the "minimum_level" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasMinimumLevel { - get { return (_hasBits0 & 8) != 0; } - } - /// Clears the value of the "minimum_level" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearMinimumLevel() { - _hasBits0 &= ~8; - } + /// Field number for the "minimum_level" field. + public const int MinimumLevelFieldNumber = 6; + private readonly static uint MinimumLevelDefaultValue = 0; + + private uint minimumLevel_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint MinimumLevel + { + get { if ((_hasBits0 & 8) != 0) { return minimumLevel_; } else { return MinimumLevelDefaultValue; } } + set + { + _hasBits0 |= 8; + minimumLevel_ = value; + } + } + /// Gets whether the "minimum_level" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasMinimumLevel + { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "minimum_level" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMinimumLevel() + { + _hasBits0 &= ~8; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagMarket); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagMarket); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagMarket other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Category != other.Category) return false; - if (TradeAsObjectId != other.TradeAsObjectId) return false; - if (ShowAsObjectId != other.ShowAsObjectId) return false; - if(!restrictToProfession_.Equals(other.restrictToProfession_)) return false; - if (MinimumLevel != other.MinimumLevel) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagMarket other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Category != other.Category) return false; + if (TradeAsObjectId != other.TradeAsObjectId) return false; + if (ShowAsObjectId != other.ShowAsObjectId) return false; + if (!restrictToProfession_.Equals(other.restrictToProfession_)) return false; + if (MinimumLevel != other.MinimumLevel) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasCategory) hash ^= Category.GetHashCode(); - if (HasTradeAsObjectId) hash ^= TradeAsObjectId.GetHashCode(); - if (HasShowAsObjectId) hash ^= ShowAsObjectId.GetHashCode(); - hash ^= restrictToProfession_.GetHashCode(); - if (HasMinimumLevel) hash ^= MinimumLevel.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasCategory) hash ^= Category.GetHashCode(); + if (HasTradeAsObjectId) hash ^= TradeAsObjectId.GetHashCode(); + if (HasShowAsObjectId) hash ^= ShowAsObjectId.GetHashCode(); + hash ^= restrictToProfession_.GetHashCode(); + if (HasMinimumLevel) hash ^= MinimumLevel.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasCategory) { output.WriteRawTag(8); output.WriteEnum((int) Category); @@ -7935,131 +9607,114 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasCategory) { - output.WriteRawTag(8); - output.WriteEnum((int) Category); - } - if (HasTradeAsObjectId) { - output.WriteRawTag(16); - output.WriteUInt32(TradeAsObjectId); - } - if (HasShowAsObjectId) { - output.WriteRawTag(24); - output.WriteUInt32(ShowAsObjectId); - } - restrictToProfession_.WriteTo(ref output, _repeated_restrictToProfession_codec); - if (HasMinimumLevel) { - output.WriteRawTag(48); - output.WriteUInt32(MinimumLevel); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasCategory) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Category); - } - if (HasTradeAsObjectId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TradeAsObjectId); - } - if (HasShowAsObjectId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShowAsObjectId); - } - size += restrictToProfession_.CalculateSize(_repeated_restrictToProfession_codec); - if (HasMinimumLevel) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinimumLevel); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagMarket other) { - if (other == null) { - return; - } - if (other.HasCategory) { - Category = other.Category; - } - if (other.HasTradeAsObjectId) { - TradeAsObjectId = other.TradeAsObjectId; - } - if (other.HasShowAsObjectId) { - ShowAsObjectId = other.ShowAsObjectId; - } - restrictToProfession_.Add(other.restrictToProfession_); - if (other.HasMinimumLevel) { - MinimumLevel = other.MinimumLevel; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasCategory) + { + output.WriteRawTag(8); + output.WriteEnum((int)Category); + } + if (HasTradeAsObjectId) + { + output.WriteRawTag(16); + output.WriteUInt32(TradeAsObjectId); + } + if (HasShowAsObjectId) + { + output.WriteRawTag(24); + output.WriteUInt32(ShowAsObjectId); + } + restrictToProfession_.WriteTo(ref output, _repeated_restrictToProfession_codec); + if (HasMinimumLevel) + { + output.WriteRawTag(48); + output.WriteUInt32(MinimumLevel); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasCategory) + { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)Category); + } + if (HasTradeAsObjectId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TradeAsObjectId); + } + if (HasShowAsObjectId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(ShowAsObjectId); + } + size += restrictToProfession_.CalculateSize(_repeated_restrictToProfession_codec); + if (HasMinimumLevel) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(MinimumLevel); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Category = (global::Tibia.Protobuf.Shared.ITEM_CATEGORY) input.ReadEnum(); - break; - } - case 16: { - TradeAsObjectId = input.ReadUInt32(); - break; - } - case 24: { - ShowAsObjectId = input.ReadUInt32(); - break; - } - case 42: - case 40: { - restrictToProfession_.AddEntriesFrom(input, _repeated_restrictToProfession_codec); - break; - } - case 48: { - MinimumLevel = input.ReadUInt32(); - break; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagMarket other) + { + if (other == null) + { + return; + } + if (other.HasCategory) + { + Category = other.Category; + } + if (other.HasTradeAsObjectId) + { + TradeAsObjectId = other.TradeAsObjectId; + } + if (other.HasShowAsObjectId) + { + ShowAsObjectId = other.ShowAsObjectId; + } + restrictToProfession_.Add(other.restrictToProfession_); + if (other.HasMinimumLevel) + { + MinimumLevel = other.MinimumLevel; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } - } - #endif - } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Category = (global::Tibia.Protobuf.Shared.ITEM_CATEGORY) input.ReadEnum(); + Category = (global::Tibia.Protobuf.Appearances.ITEM_CATEGORY) input.ReadEnum(); break; } case 16: { @@ -8072,7 +9727,7 @@ public void MergeFrom(pb::CodedInputStream input) { } case 42: case 40: { - restrictToProfession_.AddEntriesFrom(ref input, _repeated_restrictToProfession_codec); + restrictToProfession_.AddEntriesFrom(input, _repeated_restrictToProfession_codec); break; } case 48: { @@ -8081,280 +9736,361 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - } - #endif - - } - - public sealed partial class AppearanceFlagNPC : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagNPC()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[18]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagNPC() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagNPC(AppearanceFlagNPC other) : this() { - _hasBits0 = other._hasBits0; - name_ = other.name_; - location_ = other.location_; - salePrice_ = other.salePrice_; - buyPrice_ = other.buyPrice_; - currencyObjectTypeId_ = other.currencyObjectTypeId_; - currencyQuestFlagDisplayName_ = other.currencyQuestFlagDisplayName_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagNPC Clone() { - return new AppearanceFlagNPC(this); - } - - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - private readonly static string NameDefaultValue = ""; +#endif + } - private string name_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_ ?? NameDefaultValue; } - set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "name" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasName { - get { return name_ != null; } - } - /// Clears the value of the "name" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearName() { - name_ = null; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + Category = (global::Tibia.Protobuf.Appearances.ITEM_CATEGORY)input.ReadEnum(); + break; + } + case 16: + { + TradeAsObjectId = input.ReadUInt32(); + break; + } + case 24: + { + ShowAsObjectId = input.ReadUInt32(); + break; + } + case 42: + case 40: + { + restrictToProfession_.AddEntriesFrom(ref input, _repeated_restrictToProfession_codec); + break; + } + case 48: + { + MinimumLevel = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagNPC : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagNPC()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[19]; } + } - /// Field number for the "location" field. - public const int LocationFieldNumber = 2; - private readonly static string LocationDefaultValue = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - private string location_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Location { - get { return location_ ?? LocationDefaultValue; } - set { - location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "location" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasLocation { - get { return location_ != null; } - } - /// Clears the value of the "location" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearLocation() { - location_ = null; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagNPC() + { + OnConstruction(); + } - /// Field number for the "sale_price" field. - public const int SalePriceFieldNumber = 3; - private readonly static uint SalePriceDefaultValue = 0; + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagNPC(AppearanceFlagNPC other) : this() + { + _hasBits0 = other._hasBits0; + name_ = other.name_; + location_ = other.location_; + salePrice_ = other.salePrice_; + buyPrice_ = other.buyPrice_; + currencyObjectTypeId_ = other.currencyObjectTypeId_; + currencyQuestFlagDisplayName_ = other.currencyQuestFlagDisplayName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - private uint salePrice_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint SalePrice { - get { if ((_hasBits0 & 1) != 0) { return salePrice_; } else { return SalePriceDefaultValue; } } - set { - _hasBits0 |= 1; - salePrice_ = value; - } - } - /// Gets whether the "sale_price" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSalePrice { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "sale_price" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSalePrice() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagNPC Clone() + { + return new AppearanceFlagNPC(this); + } - /// Field number for the "buy_price" field. - public const int BuyPriceFieldNumber = 4; - private readonly static uint BuyPriceDefaultValue = 0; + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private readonly static pb::ByteString NameDefaultValue = pb::ByteString.Empty; + + private pb::ByteString name_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Name + { + get { return name_ ?? NameDefaultValue; } + set + { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasName + { + get { return name_ != null; } + } + /// Clears the value of the "name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearName() + { + name_ = null; + } - private uint buyPrice_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint BuyPrice { - get { if ((_hasBits0 & 2) != 0) { return buyPrice_; } else { return BuyPriceDefaultValue; } } - set { - _hasBits0 |= 2; - buyPrice_ = value; - } - } - /// Gets whether the "buy_price" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasBuyPrice { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "buy_price" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearBuyPrice() { - _hasBits0 &= ~2; - } + /// Field number for the "location" field. + public const int LocationFieldNumber = 2; + private readonly static pb::ByteString LocationDefaultValue = pb::ByteString.Empty; + + private pb::ByteString location_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString Location + { + get { return location_ ?? LocationDefaultValue; } + set + { + location_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "location" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasLocation + { + get { return location_ != null; } + } + /// Clears the value of the "location" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearLocation() + { + location_ = null; + } - /// Field number for the "currency_object_type_id" field. - public const int CurrencyObjectTypeIdFieldNumber = 5; - private readonly static uint CurrencyObjectTypeIdDefaultValue = 0; + /// Field number for the "sale_price" field. + public const int SalePriceFieldNumber = 3; + private readonly static uint SalePriceDefaultValue = 0; + + private uint salePrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SalePrice + { + get { if ((_hasBits0 & 1) != 0) { return salePrice_; } else { return SalePriceDefaultValue; } } + set + { + _hasBits0 |= 1; + salePrice_ = value; + } + } + /// Gets whether the "sale_price" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSalePrice + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "sale_price" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSalePrice() + { + _hasBits0 &= ~1; + } - private uint currencyObjectTypeId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint CurrencyObjectTypeId { - get { if ((_hasBits0 & 4) != 0) { return currencyObjectTypeId_; } else { return CurrencyObjectTypeIdDefaultValue; } } - set { - _hasBits0 |= 4; - currencyObjectTypeId_ = value; - } - } - /// Gets whether the "currency_object_type_id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCurrencyObjectTypeId { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "currency_object_type_id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCurrencyObjectTypeId() { - _hasBits0 &= ~4; - } + /// Field number for the "buy_price" field. + public const int BuyPriceFieldNumber = 4; + private readonly static uint BuyPriceDefaultValue = 0; + + private uint buyPrice_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint BuyPrice + { + get { if ((_hasBits0 & 2) != 0) { return buyPrice_; } else { return BuyPriceDefaultValue; } } + set + { + _hasBits0 |= 2; + buyPrice_ = value; + } + } + /// Gets whether the "buy_price" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasBuyPrice + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "buy_price" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearBuyPrice() + { + _hasBits0 &= ~2; + } - /// Field number for the "currency_quest_flag_display_name" field. - public const int CurrencyQuestFlagDisplayNameFieldNumber = 6; - private readonly static string CurrencyQuestFlagDisplayNameDefaultValue = ""; + /// Field number for the "currency_object_type_id" field. + public const int CurrencyObjectTypeIdFieldNumber = 5; + private readonly static uint CurrencyObjectTypeIdDefaultValue = 0; + + private uint currencyObjectTypeId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CurrencyObjectTypeId + { + get { if ((_hasBits0 & 4) != 0) { return currencyObjectTypeId_; } else { return CurrencyObjectTypeIdDefaultValue; } } + set + { + _hasBits0 |= 4; + currencyObjectTypeId_ = value; + } + } + /// Gets whether the "currency_object_type_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrencyObjectTypeId + { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "currency_object_type_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrencyObjectTypeId() + { + _hasBits0 &= ~4; + } - private string currencyQuestFlagDisplayName_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string CurrencyQuestFlagDisplayName { - get { return currencyQuestFlagDisplayName_ ?? CurrencyQuestFlagDisplayNameDefaultValue; } - set { - currencyQuestFlagDisplayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Gets whether the "currency_quest_flag_display_name" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCurrencyQuestFlagDisplayName { - get { return currencyQuestFlagDisplayName_ != null; } - } - /// Clears the value of the "currency_quest_flag_display_name" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCurrencyQuestFlagDisplayName() { - currencyQuestFlagDisplayName_ = null; - } + /// Field number for the "currency_quest_flag_display_name" field. + public const int CurrencyQuestFlagDisplayNameFieldNumber = 6; + private readonly static pb::ByteString CurrencyQuestFlagDisplayNameDefaultValue = pb::ByteString.Empty; + + private pb::ByteString currencyQuestFlagDisplayName_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString CurrencyQuestFlagDisplayName + { + get { return currencyQuestFlagDisplayName_ ?? CurrencyQuestFlagDisplayNameDefaultValue; } + set + { + currencyQuestFlagDisplayName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Gets whether the "currency_quest_flag_display_name" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCurrencyQuestFlagDisplayName + { + get { return currencyQuestFlagDisplayName_ != null; } + } + /// Clears the value of the "currency_quest_flag_display_name" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCurrencyQuestFlagDisplayName() + { + currencyQuestFlagDisplayName_ = null; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagNPC); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagNPC); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagNPC other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Name != other.Name) return false; - if (Location != other.Location) return false; - if (SalePrice != other.SalePrice) return false; - if (BuyPrice != other.BuyPrice) return false; - if (CurrencyObjectTypeId != other.CurrencyObjectTypeId) return false; - if (CurrencyQuestFlagDisplayName != other.CurrencyQuestFlagDisplayName) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagNPC other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Name != other.Name) return false; + if (Location != other.Location) return false; + if (SalePrice != other.SalePrice) return false; + if (BuyPrice != other.BuyPrice) return false; + if (CurrencyObjectTypeId != other.CurrencyObjectTypeId) return false; + if (CurrencyQuestFlagDisplayName != other.CurrencyQuestFlagDisplayName) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasName) hash ^= Name.GetHashCode(); - if (HasLocation) hash ^= Location.GetHashCode(); - if (HasSalePrice) hash ^= SalePrice.GetHashCode(); - if (HasBuyPrice) hash ^= BuyPrice.GetHashCode(); - if (HasCurrencyObjectTypeId) hash ^= CurrencyObjectTypeId.GetHashCode(); - if (HasCurrencyQuestFlagDisplayName) hash ^= CurrencyQuestFlagDisplayName.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasName) hash ^= Name.GetHashCode(); + if (HasLocation) hash ^= Location.GetHashCode(); + if (HasSalePrice) hash ^= SalePrice.GetHashCode(); + if (HasBuyPrice) hash ^= BuyPrice.GetHashCode(); + if (HasCurrencyObjectTypeId) hash ^= CurrencyObjectTypeId.GetHashCode(); + if (HasCurrencyQuestFlagDisplayName) hash ^= CurrencyQuestFlagDisplayName.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasName) { output.WriteRawTag(10); - output.WriteString(Name); + output.WriteBytes(Name); } if (HasLocation) { output.WriteRawTag(18); - output.WriteString(Location); + output.WriteBytes(Location); } if (HasSalePrice) { output.WriteRawTag(24); @@ -8370,109 +10106,134 @@ public void WriteTo(pb::CodedOutputStream output) { } if (HasCurrencyQuestFlagDisplayName) { output.WriteRawTag(50); - output.WriteString(CurrencyQuestFlagDisplayName); + output.WriteBytes(CurrencyQuestFlagDisplayName); } if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasName) { - output.WriteRawTag(10); - output.WriteString(Name); - } - if (HasLocation) { - output.WriteRawTag(18); - output.WriteString(Location); - } - if (HasSalePrice) { - output.WriteRawTag(24); - output.WriteUInt32(SalePrice); - } - if (HasBuyPrice) { - output.WriteRawTag(32); - output.WriteUInt32(BuyPrice); - } - if (HasCurrencyObjectTypeId) { - output.WriteRawTag(40); - output.WriteUInt32(CurrencyObjectTypeId); - } - if (HasCurrencyQuestFlagDisplayName) { - output.WriteRawTag(50); - output.WriteString(CurrencyQuestFlagDisplayName); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasName) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); - } - if (HasLocation) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Location); - } - if (HasSalePrice) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SalePrice); - } - if (HasBuyPrice) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuyPrice); - } - if (HasCurrencyObjectTypeId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurrencyObjectTypeId); - } - if (HasCurrencyQuestFlagDisplayName) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(CurrencyQuestFlagDisplayName); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasName) + { + output.WriteRawTag(10); + output.WriteBytes(Name); + } + if (HasLocation) + { + output.WriteRawTag(18); + output.WriteBytes(Location); + } + if (HasSalePrice) + { + output.WriteRawTag(24); + output.WriteUInt32(SalePrice); + } + if (HasBuyPrice) + { + output.WriteRawTag(32); + output.WriteUInt32(BuyPrice); + } + if (HasCurrencyObjectTypeId) + { + output.WriteRawTag(40); + output.WriteUInt32(CurrencyObjectTypeId); + } + if (HasCurrencyQuestFlagDisplayName) + { + output.WriteRawTag(50); + output.WriteBytes(CurrencyQuestFlagDisplayName); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasName) + { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Name); + } + if (HasLocation) + { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Location); + } + if (HasSalePrice) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SalePrice); + } + if (HasBuyPrice) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(BuyPrice); + } + if (HasCurrencyObjectTypeId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CurrencyObjectTypeId); + } + if (HasCurrencyQuestFlagDisplayName) + { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(CurrencyQuestFlagDisplayName); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagNPC other) { - if (other == null) { - return; - } - if (other.HasName) { - Name = other.Name; - } - if (other.HasLocation) { - Location = other.Location; - } - if (other.HasSalePrice) { - SalePrice = other.SalePrice; - } - if (other.HasBuyPrice) { - BuyPrice = other.BuyPrice; - } - if (other.HasCurrencyObjectTypeId) { - CurrencyObjectTypeId = other.CurrencyObjectTypeId; - } - if (other.HasCurrencyQuestFlagDisplayName) { - CurrencyQuestFlagDisplayName = other.CurrencyQuestFlagDisplayName; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagNPC other) + { + if (other == null) + { + return; + } + if (other.HasName) + { + Name = other.Name; + } + if (other.HasLocation) + { + Location = other.Location; + } + if (other.HasSalePrice) + { + SalePrice = other.SalePrice; + } + if (other.HasBuyPrice) + { + BuyPrice = other.BuyPrice; + } + if (other.HasCurrencyObjectTypeId) + { + CurrencyObjectTypeId = other.CurrencyObjectTypeId; + } + if (other.HasCurrencyQuestFlagDisplayName) + { + CurrencyQuestFlagDisplayName = other.CurrencyQuestFlagDisplayName; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -8480,11 +10241,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - Name = input.ReadString(); + Name = input.ReadBytes(); break; } case 18: { - Location = input.ReadString(); + Location = input.ReadBytes(); break; } case 24: { @@ -8500,170 +10261,196 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 50: { - CurrencyQuestFlagDisplayName = input.ReadString(); + CurrencyQuestFlagDisplayName = input.ReadBytes(); break; } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 10: { - Name = input.ReadString(); - break; - } - case 18: { - Location = input.ReadString(); - break; - } - case 24: { - SalePrice = input.ReadUInt32(); - break; - } - case 32: { - BuyPrice = input.ReadUInt32(); - break; - } - case 40: { - CurrencyObjectTypeId = input.ReadUInt32(); - break; - } - case 50: { - CurrencyQuestFlagDisplayName = input.ReadString(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagAutomap : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagAutomap()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[19]; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: + { + Name = input.ReadBytes(); + break; + } + case 18: + { + Location = input.ReadBytes(); + break; + } + case 24: + { + SalePrice = input.ReadUInt32(); + break; + } + case 32: + { + BuyPrice = input.ReadUInt32(); + break; + } + case 40: + { + CurrencyObjectTypeId = input.ReadUInt32(); + break; + } + case 50: + { + CurrencyQuestFlagDisplayName = input.ReadBytes(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagAutomap : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagAutomap()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[20]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagAutomap() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagAutomap() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagAutomap(AppearanceFlagAutomap other) : this() { - _hasBits0 = other._hasBits0; - color_ = other.color_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagAutomap Clone() { - return new AppearanceFlagAutomap(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagAutomap(AppearanceFlagAutomap other) : this() + { + _hasBits0 = other._hasBits0; + color_ = other.color_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "color" field. - public const int ColorFieldNumber = 1; - private readonly static uint ColorDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagAutomap Clone() + { + return new AppearanceFlagAutomap(this); + } - private uint color_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Color { - get { if ((_hasBits0 & 1) != 0) { return color_; } else { return ColorDefaultValue; } } - set { - _hasBits0 |= 1; - color_ = value; - } - } - /// Gets whether the "color" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasColor { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "color" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearColor() { - _hasBits0 &= ~1; - } + /// Field number for the "color" field. + public const int ColorFieldNumber = 1; + private readonly static uint ColorDefaultValue = 0; + + private uint color_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Color + { + get { if ((_hasBits0 & 1) != 0) { return color_; } else { return ColorDefaultValue; } } + set + { + _hasBits0 |= 1; + color_ = value; + } + } + /// Gets whether the "color" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasColor + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "color" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearColor() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagAutomap); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagAutomap); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagAutomap other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Color != other.Color) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagAutomap other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Color != other.Color) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasColor) hash ^= Color.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasColor) hash ^= Color.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasColor) { output.WriteRawTag(8); output.WriteUInt32(Color); @@ -8671,78 +10458,69 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasColor) { - output.WriteRawTag(8); - output.WriteUInt32(Color); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasColor) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Color); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagAutomap other) { - if (other == null) { - return; - } - if (other.HasColor) { - Color = other.Color; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - Color = input.ReadUInt32(); - break; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasColor) + { + output.WriteRawTag(8); + output.WriteUInt32(Color); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasColor) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Color); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagAutomap other) + { + if (other == null) + { + return; + } + if (other.HasColor) + { + Color = other.Color; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } - } - #endif - } - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { Color = input.ReadUInt32(); @@ -8750,126 +10528,166 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - } - #endif - - } - - public sealed partial class AppearanceFlagHook : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagHook()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[20]; } - } +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + Color = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagHook : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagHook()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[21]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagHook() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagHook() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagHook(AppearanceFlagHook other) : this() { - _hasBits0 = other._hasBits0; - direction_ = other.direction_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagHook Clone() { - return new AppearanceFlagHook(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagHook(AppearanceFlagHook other) : this() + { + _hasBits0 = other._hasBits0; + direction_ = other.direction_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "direction" field. - public const int DirectionFieldNumber = 1; - private readonly static global::Tibia.Protobuf.Shared.HOOK_TYPE DirectionDefaultValue = global::Tibia.Protobuf.Shared.HOOK_TYPE.South; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagHook Clone() + { + return new AppearanceFlagHook(this); + } - private global::Tibia.Protobuf.Shared.HOOK_TYPE direction_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::Tibia.Protobuf.Shared.HOOK_TYPE Direction { - get { if ((_hasBits0 & 1) != 0) { return direction_; } else { return DirectionDefaultValue; } } - set { - _hasBits0 |= 1; - direction_ = value; - } - } - /// Gets whether the "direction" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasDirection { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "direction" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearDirection() { - _hasBits0 &= ~1; - } + /// Field number for the "direction" field. + public const int DirectionFieldNumber = 1; + private readonly static global::Tibia.Protobuf.Appearances.HOOK_TYPE DirectionDefaultValue = global::Tibia.Protobuf.Appearances.HOOK_TYPE.South; + + private global::Tibia.Protobuf.Appearances.HOOK_TYPE direction_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Tibia.Protobuf.Appearances.HOOK_TYPE Direction + { + get { if ((_hasBits0 & 1) != 0) { return direction_; } else { return DirectionDefaultValue; } } + set + { + _hasBits0 |= 1; + direction_ = value; + } + } + /// Gets whether the "direction" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasDirection + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "direction" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearDirection() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagHook); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagHook); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagHook other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Direction != other.Direction) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagHook other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Direction != other.Direction) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasDirection) hash ^= Direction.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasDirection) hash ^= Direction.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasDirection) { output.WriteRawTag(8); output.WriteEnum((int) Direction); @@ -8877,54 +10695,64 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasDirection) { - output.WriteRawTag(8); - output.WriteEnum((int) Direction); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasDirection) { - size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Direction); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasDirection) + { + output.WriteRawTag(8); + output.WriteEnum((int)Direction); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasDirection) + { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)Direction); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagHook other) { - if (other == null) { - return; - } - if (other.HasDirection) { - Direction = other.Direction; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagHook other) + { + if (other == null) + { + return; + } + if (other.HasDirection) + { + Direction = other.Direction; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -8932,150 +10760,171 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { - Direction = (global::Tibia.Protobuf.Shared.HOOK_TYPE) input.ReadEnum(); + Direction = (global::Tibia.Protobuf.Appearances.HOOK_TYPE) input.ReadEnum(); break; } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Direction = (global::Tibia.Protobuf.Shared.HOOK_TYPE) input.ReadEnum(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagLenshelp : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagLenshelp()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[21]; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + Direction = (global::Tibia.Protobuf.Appearances.HOOK_TYPE)input.ReadEnum(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagLenshelp : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagLenshelp()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[22]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagLenshelp() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagLenshelp() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagLenshelp(AppearanceFlagLenshelp other) : this() { - _hasBits0 = other._hasBits0; - id_ = other.id_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagLenshelp Clone() { - return new AppearanceFlagLenshelp(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagLenshelp(AppearanceFlagLenshelp other) : this() + { + _hasBits0 = other._hasBits0; + id_ = other.id_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "id" field. - public const int IdFieldNumber = 1; - private readonly static uint IdDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagLenshelp Clone() + { + return new AppearanceFlagLenshelp(this); + } - private uint id_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Id { - get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } - set { - _hasBits0 |= 1; - id_ = value; - } - } - /// Gets whether the "id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasId { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearId() { - _hasBits0 &= ~1; - } + /// Field number for the "id" field. + public const int IdFieldNumber = 1; + private readonly static uint IdDefaultValue = 0; + + private uint id_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint Id + { + get { if ((_hasBits0 & 1) != 0) { return id_; } else { return IdDefaultValue; } } + set + { + _hasBits0 |= 1; + id_ = value; + } + } + /// Gets whether the "id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasId + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearId() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagLenshelp); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagLenshelp); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagLenshelp other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (Id != other.Id) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagLenshelp other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (Id != other.Id) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasId) hash ^= Id.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasId) hash ^= Id.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasId) { output.WriteRawTag(8); output.WriteUInt32(Id); @@ -9083,54 +10932,64 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasId) { - output.WriteRawTag(8); - output.WriteUInt32(Id); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasId) + { + output.WriteRawTag(8); + output.WriteUInt32(Id); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagLenshelp other) { - if (other == null) { - return; - } - if (other.HasId) { - Id = other.Id; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagLenshelp other) + { + if (other == null) + { + return; + } + if (other.HasId) + { + Id = other.Id; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -9143,145 +11002,166 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - Id = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagChangedToExpire : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagChangedToExpire()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[22]; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + Id = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagChangedToExpire : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagChangedToExpire()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[23]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagChangedToExpire() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagChangedToExpire() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagChangedToExpire(AppearanceFlagChangedToExpire other) : this() { - _hasBits0 = other._hasBits0; - formerObjectTypeid_ = other.formerObjectTypeid_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagChangedToExpire Clone() { - return new AppearanceFlagChangedToExpire(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagChangedToExpire(AppearanceFlagChangedToExpire other) : this() + { + _hasBits0 = other._hasBits0; + formerObjectTypeid_ = other.formerObjectTypeid_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "former_object_typeid" field. - public const int FormerObjectTypeidFieldNumber = 1; - private readonly static uint FormerObjectTypeidDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagChangedToExpire Clone() + { + return new AppearanceFlagChangedToExpire(this); + } - private uint formerObjectTypeid_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint FormerObjectTypeid { - get { if ((_hasBits0 & 1) != 0) { return formerObjectTypeid_; } else { return FormerObjectTypeidDefaultValue; } } - set { - _hasBits0 |= 1; - formerObjectTypeid_ = value; - } - } - /// Gets whether the "former_object_typeid" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasFormerObjectTypeid { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "former_object_typeid" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearFormerObjectTypeid() { - _hasBits0 &= ~1; - } + /// Field number for the "former_object_typeid" field. + public const int FormerObjectTypeidFieldNumber = 1; + private readonly static uint FormerObjectTypeidDefaultValue = 0; + + private uint formerObjectTypeid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint FormerObjectTypeid + { + get { if ((_hasBits0 & 1) != 0) { return formerObjectTypeid_; } else { return FormerObjectTypeidDefaultValue; } } + set + { + _hasBits0 |= 1; + formerObjectTypeid_ = value; + } + } + /// Gets whether the "former_object_typeid" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasFormerObjectTypeid + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "former_object_typeid" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearFormerObjectTypeid() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagChangedToExpire); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagChangedToExpire); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagChangedToExpire other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (FormerObjectTypeid != other.FormerObjectTypeid) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagChangedToExpire other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (FormerObjectTypeid != other.FormerObjectTypeid) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasFormerObjectTypeid) hash ^= FormerObjectTypeid.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasFormerObjectTypeid) hash ^= FormerObjectTypeid.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasFormerObjectTypeid) { output.WriteRawTag(8); output.WriteUInt32(FormerObjectTypeid); @@ -9289,54 +11169,64 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasFormerObjectTypeid) { - output.WriteRawTag(8); - output.WriteUInt32(FormerObjectTypeid); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasFormerObjectTypeid) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FormerObjectTypeid); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasFormerObjectTypeid) + { + output.WriteRawTag(8); + output.WriteUInt32(FormerObjectTypeid); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasFormerObjectTypeid) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(FormerObjectTypeid); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagChangedToExpire other) { - if (other == null) { - return; - } - if (other.HasFormerObjectTypeid) { - FormerObjectTypeid = other.FormerObjectTypeid; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagChangedToExpire other) + { + if (other == null) + { + return; + } + if (other.HasFormerObjectTypeid) + { + FormerObjectTypeid = other.FormerObjectTypeid; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -9349,145 +11239,166 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - FormerObjectTypeid = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class AppearanceFlagCyclopedia : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagCyclopedia()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[23]; } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + FormerObjectTypeid = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class AppearanceFlagCyclopedia : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagCyclopedia()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[24]; } + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagCyclopedia() { - OnConstruction(); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - partial void OnConstruction(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagCyclopedia() + { + OnConstruction(); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagCyclopedia(AppearanceFlagCyclopedia other) : this() { - _hasBits0 = other._hasBits0; - cyclopediaType_ = other.cyclopediaType_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } + partial void OnConstruction(); - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public AppearanceFlagCyclopedia Clone() { - return new AppearanceFlagCyclopedia(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagCyclopedia(AppearanceFlagCyclopedia other) : this() + { + _hasBits0 = other._hasBits0; + cyclopediaType_ = other.cyclopediaType_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "cyclopedia_type" field. - public const int CyclopediaTypeFieldNumber = 1; - private readonly static uint CyclopediaTypeDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public AppearanceFlagCyclopedia Clone() + { + return new AppearanceFlagCyclopedia(this); + } - private uint cyclopediaType_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint CyclopediaType { - get { if ((_hasBits0 & 1) != 0) { return cyclopediaType_; } else { return CyclopediaTypeDefaultValue; } } - set { - _hasBits0 |= 1; - cyclopediaType_ = value; - } - } - /// Gets whether the "cyclopedia_type" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCyclopediaType { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "cyclopedia_type" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCyclopediaType() { - _hasBits0 &= ~1; - } + /// Field number for the "cyclopedia_type" field. + public const int CyclopediaTypeFieldNumber = 1; + private readonly static uint CyclopediaTypeDefaultValue = 0; + + private uint cyclopediaType_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CyclopediaType + { + get { if ((_hasBits0 & 1) != 0) { return cyclopediaType_; } else { return CyclopediaTypeDefaultValue; } } + set + { + _hasBits0 |= 1; + cyclopediaType_ = value; + } + } + /// Gets whether the "cyclopedia_type" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCyclopediaType + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "cyclopedia_type" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCyclopediaType() + { + _hasBits0 &= ~1; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as AppearanceFlagCyclopedia); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as AppearanceFlagCyclopedia); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(AppearanceFlagCyclopedia other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (CyclopediaType != other.CyclopediaType) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(AppearanceFlagCyclopedia other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (CyclopediaType != other.CyclopediaType) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasCyclopediaType) hash ^= CyclopediaType.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasCyclopediaType) hash ^= CyclopediaType.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasCyclopediaType) { output.WriteRawTag(8); output.WriteUInt32(CyclopediaType); @@ -9495,54 +11406,64 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasCyclopediaType) { - output.WriteRawTag(8); - output.WriteUInt32(CyclopediaType); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasCyclopediaType) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CyclopediaType); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasCyclopediaType) + { + output.WriteRawTag(8); + output.WriteUInt32(CyclopediaType); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasCyclopediaType) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CyclopediaType); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(AppearanceFlagCyclopedia other) { - if (other == null) { - return; - } - if (other.HasCyclopediaType) { - CyclopediaType = other.CyclopediaType; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(AppearanceFlagCyclopedia other) + { + if (other == null) + { + return; + } + if (other.HasCyclopediaType) + { + CyclopediaType = other.CyclopediaType; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -9555,295 +11476,370 @@ public void MergeFrom(pb::CodedInputStream input) { } } } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - CyclopediaType = input.ReadUInt32(); - break; - } +#endif } - } - } - #endif - - } - - public sealed partial class SpecialMeaningAppearanceIds : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpecialMeaningAppearanceIds()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[24]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpecialMeaningAppearanceIds() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpecialMeaningAppearanceIds(SpecialMeaningAppearanceIds other) : this() { - _hasBits0 = other._hasBits0; - goldCoinId_ = other.goldCoinId_; - platinumCoinId_ = other.platinumCoinId_; - crystalCoinId_ = other.crystalCoinId_; - tibiaCoinId_ = other.tibiaCoinId_; - stampedLetterId_ = other.stampedLetterId_; - supplyStashId_ = other.supplyStashId_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public SpecialMeaningAppearanceIds Clone() { - return new SpecialMeaningAppearanceIds(this); - } - /// Field number for the "gold_coin_id" field. - public const int GoldCoinIdFieldNumber = 1; - private readonly static uint GoldCoinIdDefaultValue = 0; +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + CyclopediaType = input.ReadUInt32(); + break; + } + } + } + } +#endif + + } + + public sealed partial class SpecialMeaningAppearanceIds : pb::IMessage +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage +#endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpecialMeaningAppearanceIds()); + private pb::UnknownFieldSet _unknownFields; + private int _hasBits0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor + { + get { return global::Tibia.Protobuf.Appearances.AppearancesReflection.Descriptor.MessageTypes[25]; } + } - private uint goldCoinId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint GoldCoinId { - get { if ((_hasBits0 & 1) != 0) { return goldCoinId_; } else { return GoldCoinIdDefaultValue; } } - set { - _hasBits0 |= 1; - goldCoinId_ = value; - } - } - /// Gets whether the "gold_coin_id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasGoldCoinId { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "gold_coin_id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearGoldCoinId() { - _hasBits0 &= ~1; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor + { + get { return Descriptor; } + } - /// Field number for the "platinum_coin_id" field. - public const int PlatinumCoinIdFieldNumber = 2; - private readonly static uint PlatinumCoinIdDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecialMeaningAppearanceIds() + { + OnConstruction(); + } - private uint platinumCoinId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint PlatinumCoinId { - get { if ((_hasBits0 & 2) != 0) { return platinumCoinId_; } else { return PlatinumCoinIdDefaultValue; } } - set { - _hasBits0 |= 2; - platinumCoinId_ = value; - } - } - /// Gets whether the "platinum_coin_id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasPlatinumCoinId { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "platinum_coin_id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearPlatinumCoinId() { - _hasBits0 &= ~2; - } + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecialMeaningAppearanceIds(SpecialMeaningAppearanceIds other) : this() + { + _hasBits0 = other._hasBits0; + goldCoinId_ = other.goldCoinId_; + platinumCoinId_ = other.platinumCoinId_; + crystalCoinId_ = other.crystalCoinId_; + tibiaCoinId_ = other.tibiaCoinId_; + stampedLetterId_ = other.stampedLetterId_; + supplyStashId_ = other.supplyStashId_; + rewardChestId_ = other.rewardChestId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } - /// Field number for the "crystal_coin_id" field. - public const int CrystalCoinIdFieldNumber = 3; - private readonly static uint CrystalCoinIdDefaultValue = 0; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecialMeaningAppearanceIds Clone() + { + return new SpecialMeaningAppearanceIds(this); + } - private uint crystalCoinId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint CrystalCoinId { - get { if ((_hasBits0 & 4) != 0) { return crystalCoinId_; } else { return CrystalCoinIdDefaultValue; } } - set { - _hasBits0 |= 4; - crystalCoinId_ = value; - } - } - /// Gets whether the "crystal_coin_id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasCrystalCoinId { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "crystal_coin_id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearCrystalCoinId() { - _hasBits0 &= ~4; - } + /// Field number for the "gold_coin_id" field. + public const int GoldCoinIdFieldNumber = 1; + private readonly static uint GoldCoinIdDefaultValue = 0; + + private uint goldCoinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint GoldCoinId + { + get { if ((_hasBits0 & 1) != 0) { return goldCoinId_; } else { return GoldCoinIdDefaultValue; } } + set + { + _hasBits0 |= 1; + goldCoinId_ = value; + } + } + /// Gets whether the "gold_coin_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasGoldCoinId + { + get { return (_hasBits0 & 1) != 0; } + } + /// Clears the value of the "gold_coin_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearGoldCoinId() + { + _hasBits0 &= ~1; + } - /// Field number for the "tibia_coin_id" field. - public const int TibiaCoinIdFieldNumber = 4; - private readonly static uint TibiaCoinIdDefaultValue = 0; + /// Field number for the "platinum_coin_id" field. + public const int PlatinumCoinIdFieldNumber = 2; + private readonly static uint PlatinumCoinIdDefaultValue = 0; + + private uint platinumCoinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint PlatinumCoinId + { + get { if ((_hasBits0 & 2) != 0) { return platinumCoinId_; } else { return PlatinumCoinIdDefaultValue; } } + set + { + _hasBits0 |= 2; + platinumCoinId_ = value; + } + } + /// Gets whether the "platinum_coin_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasPlatinumCoinId + { + get { return (_hasBits0 & 2) != 0; } + } + /// Clears the value of the "platinum_coin_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearPlatinumCoinId() + { + _hasBits0 &= ~2; + } - private uint tibiaCoinId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint TibiaCoinId { - get { if ((_hasBits0 & 8) != 0) { return tibiaCoinId_; } else { return TibiaCoinIdDefaultValue; } } - set { - _hasBits0 |= 8; - tibiaCoinId_ = value; - } - } - /// Gets whether the "tibia_coin_id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasTibiaCoinId { - get { return (_hasBits0 & 8) != 0; } - } - /// Clears the value of the "tibia_coin_id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearTibiaCoinId() { - _hasBits0 &= ~8; - } + /// Field number for the "crystal_coin_id" field. + public const int CrystalCoinIdFieldNumber = 3; + private readonly static uint CrystalCoinIdDefaultValue = 0; + + private uint crystalCoinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint CrystalCoinId + { + get { if ((_hasBits0 & 4) != 0) { return crystalCoinId_; } else { return CrystalCoinIdDefaultValue; } } + set + { + _hasBits0 |= 4; + crystalCoinId_ = value; + } + } + /// Gets whether the "crystal_coin_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasCrystalCoinId + { + get { return (_hasBits0 & 4) != 0; } + } + /// Clears the value of the "crystal_coin_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearCrystalCoinId() + { + _hasBits0 &= ~4; + } - /// Field number for the "stamped_letter_id" field. - public const int StampedLetterIdFieldNumber = 5; - private readonly static uint StampedLetterIdDefaultValue = 0; + /// Field number for the "tibia_coin_id" field. + public const int TibiaCoinIdFieldNumber = 4; + private readonly static uint TibiaCoinIdDefaultValue = 0; + + private uint tibiaCoinId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint TibiaCoinId + { + get { if ((_hasBits0 & 8) != 0) { return tibiaCoinId_; } else { return TibiaCoinIdDefaultValue; } } + set + { + _hasBits0 |= 8; + tibiaCoinId_ = value; + } + } + /// Gets whether the "tibia_coin_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasTibiaCoinId + { + get { return (_hasBits0 & 8) != 0; } + } + /// Clears the value of the "tibia_coin_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearTibiaCoinId() + { + _hasBits0 &= ~8; + } - private uint stampedLetterId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint StampedLetterId { - get { if ((_hasBits0 & 16) != 0) { return stampedLetterId_; } else { return StampedLetterIdDefaultValue; } } - set { - _hasBits0 |= 16; - stampedLetterId_ = value; - } - } - /// Gets whether the "stamped_letter_id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasStampedLetterId { - get { return (_hasBits0 & 16) != 0; } - } - /// Clears the value of the "stamped_letter_id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearStampedLetterId() { - _hasBits0 &= ~16; - } + /// Field number for the "stamped_letter_id" field. + public const int StampedLetterIdFieldNumber = 5; + private readonly static uint StampedLetterIdDefaultValue = 0; + + private uint stampedLetterId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint StampedLetterId + { + get { if ((_hasBits0 & 16) != 0) { return stampedLetterId_; } else { return StampedLetterIdDefaultValue; } } + set + { + _hasBits0 |= 16; + stampedLetterId_ = value; + } + } + /// Gets whether the "stamped_letter_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasStampedLetterId + { + get { return (_hasBits0 & 16) != 0; } + } + /// Clears the value of the "stamped_letter_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearStampedLetterId() + { + _hasBits0 &= ~16; + } - /// Field number for the "supply_stash_id" field. - public const int SupplyStashIdFieldNumber = 6; - private readonly static uint SupplyStashIdDefaultValue = 0; + /// Field number for the "supply_stash_id" field. + public const int SupplyStashIdFieldNumber = 6; + private readonly static uint SupplyStashIdDefaultValue = 0; + + private uint supplyStashId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint SupplyStashId + { + get { if ((_hasBits0 & 32) != 0) { return supplyStashId_; } else { return SupplyStashIdDefaultValue; } } + set + { + _hasBits0 |= 32; + supplyStashId_ = value; + } + } + /// Gets whether the "supply_stash_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasSupplyStashId + { + get { return (_hasBits0 & 32) != 0; } + } + /// Clears the value of the "supply_stash_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearSupplyStashId() + { + _hasBits0 &= ~32; + } - private uint supplyStashId_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint SupplyStashId { - get { if ((_hasBits0 & 32) != 0) { return supplyStashId_; } else { return SupplyStashIdDefaultValue; } } - set { - _hasBits0 |= 32; - supplyStashId_ = value; - } - } - /// Gets whether the "supply_stash_id" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasSupplyStashId { - get { return (_hasBits0 & 32) != 0; } - } - /// Clears the value of the "supply_stash_id" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearSupplyStashId() { - _hasBits0 &= ~32; - } + /// Field number for the "reward_chest_id" field. + public const int RewardChestIdFieldNumber = 7; + private readonly static uint RewardChestIdDefaultValue = 0; + + private uint rewardChestId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public uint RewardChestId + { + get { if ((_hasBits0 & 64) != 0) { return rewardChestId_; } else { return RewardChestIdDefaultValue; } } + set + { + _hasBits0 |= 64; + rewardChestId_ = value; + } + } + /// Gets whether the "reward_chest_id" field is set + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasRewardChestId + { + get { return (_hasBits0 & 64) != 0; } + } + /// Clears the value of the "reward_chest_id" field + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearRewardChestId() + { + _hasBits0 &= ~64; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as SpecialMeaningAppearanceIds); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) + { + return Equals(other as SpecialMeaningAppearanceIds); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(SpecialMeaningAppearanceIds other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (GoldCoinId != other.GoldCoinId) return false; - if (PlatinumCoinId != other.PlatinumCoinId) return false; - if (CrystalCoinId != other.CrystalCoinId) return false; - if (TibiaCoinId != other.TibiaCoinId) return false; - if (StampedLetterId != other.StampedLetterId) return false; - if (SupplyStashId != other.SupplyStashId) return false; - return Equals(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpecialMeaningAppearanceIds other) + { + if (ReferenceEquals(other, null)) + { + return false; + } + if (ReferenceEquals(other, this)) + { + return true; + } + if (GoldCoinId != other.GoldCoinId) return false; + if (PlatinumCoinId != other.PlatinumCoinId) return false; + if (CrystalCoinId != other.CrystalCoinId) return false; + if (TibiaCoinId != other.TibiaCoinId) return false; + if (StampedLetterId != other.StampedLetterId) return false; + if (SupplyStashId != other.SupplyStashId) return false; + if (RewardChestId != other.RewardChestId) return false; + return Equals(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasGoldCoinId) hash ^= GoldCoinId.GetHashCode(); - if (HasPlatinumCoinId) hash ^= PlatinumCoinId.GetHashCode(); - if (HasCrystalCoinId) hash ^= CrystalCoinId.GetHashCode(); - if (HasTibiaCoinId) hash ^= TibiaCoinId.GetHashCode(); - if (HasStampedLetterId) hash ^= StampedLetterId.GetHashCode(); - if (HasSupplyStashId) hash ^= SupplyStashId.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() + { + int hash = 1; + if (HasGoldCoinId) hash ^= GoldCoinId.GetHashCode(); + if (HasPlatinumCoinId) hash ^= PlatinumCoinId.GetHashCode(); + if (HasCrystalCoinId) hash ^= CrystalCoinId.GetHashCode(); + if (HasTibiaCoinId) hash ^= TibiaCoinId.GetHashCode(); + if (HasStampedLetterId) hash ^= StampedLetterId.GetHashCode(); + if (HasSupplyStashId) hash ^= SupplyStashId.GetHashCode(); + if (HasRewardChestId) hash ^= RewardChestId.GetHashCode(); + if (_unknownFields != null) + { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() + { + return pb::JsonFormatter.ToDiagnosticString(this); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); +#else if (HasGoldCoinId) { output.WriteRawTag(8); output.WriteUInt32(GoldCoinId); @@ -9868,107 +11864,149 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(48); output.WriteUInt32(SupplyStashId); } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasGoldCoinId) { - output.WriteRawTag(8); - output.WriteUInt32(GoldCoinId); - } - if (HasPlatinumCoinId) { - output.WriteRawTag(16); - output.WriteUInt32(PlatinumCoinId); - } - if (HasCrystalCoinId) { - output.WriteRawTag(24); - output.WriteUInt32(CrystalCoinId); - } - if (HasTibiaCoinId) { - output.WriteRawTag(32); - output.WriteUInt32(TibiaCoinId); - } - if (HasStampedLetterId) { - output.WriteRawTag(40); - output.WriteUInt32(StampedLetterId); - } - if (HasSupplyStashId) { - output.WriteRawTag(48); - output.WriteUInt32(SupplyStashId); + if (HasRewardChestId) { + output.WriteRawTag(56); + output.WriteUInt32(RewardChestId); } if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + _unknownFields.WriteTo(output); } - } - #endif +#endif + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasGoldCoinId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GoldCoinId); - } - if (HasPlatinumCoinId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlatinumCoinId); - } - if (HasCrystalCoinId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CrystalCoinId); - } - if (HasTibiaCoinId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TibiaCoinId); - } - if (HasStampedLetterId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StampedLetterId); - } - if (HasSupplyStashId) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SupplyStashId); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) + { + if (HasGoldCoinId) + { + output.WriteRawTag(8); + output.WriteUInt32(GoldCoinId); + } + if (HasPlatinumCoinId) + { + output.WriteRawTag(16); + output.WriteUInt32(PlatinumCoinId); + } + if (HasCrystalCoinId) + { + output.WriteRawTag(24); + output.WriteUInt32(CrystalCoinId); + } + if (HasTibiaCoinId) + { + output.WriteRawTag(32); + output.WriteUInt32(TibiaCoinId); + } + if (HasStampedLetterId) + { + output.WriteRawTag(40); + output.WriteUInt32(StampedLetterId); + } + if (HasSupplyStashId) + { + output.WriteRawTag(48); + output.WriteUInt32(SupplyStashId); + } + if (HasRewardChestId) + { + output.WriteRawTag(56); + output.WriteUInt32(RewardChestId); + } + if (_unknownFields != null) + { + _unknownFields.WriteTo(ref output); + } + } +#endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() + { + int size = 0; + if (HasGoldCoinId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GoldCoinId); + } + if (HasPlatinumCoinId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(PlatinumCoinId); + } + if (HasCrystalCoinId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(CrystalCoinId); + } + if (HasTibiaCoinId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(TibiaCoinId); + } + if (HasStampedLetterId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(StampedLetterId); + } + if (HasSupplyStashId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(SupplyStashId); + } + if (HasRewardChestId) + { + size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RewardChestId); + } + if (_unknownFields != null) + { + size += _unknownFields.CalculateSize(); + } + return size; + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(SpecialMeaningAppearanceIds other) { - if (other == null) { - return; - } - if (other.HasGoldCoinId) { - GoldCoinId = other.GoldCoinId; - } - if (other.HasPlatinumCoinId) { - PlatinumCoinId = other.PlatinumCoinId; - } - if (other.HasCrystalCoinId) { - CrystalCoinId = other.CrystalCoinId; - } - if (other.HasTibiaCoinId) { - TibiaCoinId = other.TibiaCoinId; - } - if (other.HasStampedLetterId) { - StampedLetterId = other.StampedLetterId; - } - if (other.HasSupplyStashId) { - SupplyStashId = other.SupplyStashId; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SpecialMeaningAppearanceIds other) + { + if (other == null) + { + return; + } + if (other.HasGoldCoinId) + { + GoldCoinId = other.GoldCoinId; + } + if (other.HasPlatinumCoinId) + { + PlatinumCoinId = other.PlatinumCoinId; + } + if (other.HasCrystalCoinId) + { + CrystalCoinId = other.CrystalCoinId; + } + if (other.HasTibiaCoinId) + { + TibiaCoinId = other.TibiaCoinId; + } + if (other.HasStampedLetterId) + { + StampedLetterId = other.StampedLetterId; + } + if (other.HasSupplyStashId) + { + SupplyStashId = other.SupplyStashId; + } + if (other.HasRewardChestId) + { + RewardChestId = other.RewardChestId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) + { +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); +#else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -9999,53 +12037,71 @@ public void MergeFrom(pb::CodedInputStream input) { SupplyStashId = input.ReadUInt32(); break; } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - GoldCoinId = input.ReadUInt32(); - break; - } - case 16: { - PlatinumCoinId = input.ReadUInt32(); - break; - } - case 24: { - CrystalCoinId = input.ReadUInt32(); - break; - } - case 32: { - TibiaCoinId = input.ReadUInt32(); - break; - } - case 40: { - StampedLetterId = input.ReadUInt32(); - break; - } - case 48: { - SupplyStashId = input.ReadUInt32(); + case 56: { + RewardChestId = input.ReadUInt32(); break; } } } - } - #endif +#endif + } + +#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) + { + uint tag; + while ((tag = input.ReadTag()) != 0) + { + switch (tag) + { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: + { + GoldCoinId = input.ReadUInt32(); + break; + } + case 16: + { + PlatinumCoinId = input.ReadUInt32(); + break; + } + case 24: + { + CrystalCoinId = input.ReadUInt32(); + break; + } + case 32: + { + TibiaCoinId = input.ReadUInt32(); + break; + } + case 40: + { + StampedLetterId = input.ReadUInt32(); + break; + } + case 48: + { + SupplyStashId = input.ReadUInt32(); + break; + } + case 56: + { + RewardChestId = input.ReadUInt32(); + break; + } + } + } + } +#endif - } + } - #endregion + #endregion } diff --git a/Assets Editor/DatEditor.xaml b/Assets Editor/DatEditor.xaml index ce67089..64ef8d5 100644 --- a/Assets Editor/DatEditor.xaml +++ b/Assets Editor/DatEditor.xaml @@ -346,8 +346,9 @@ - - + + + diff --git a/Assets Editor/DatEditor.xaml.cs b/Assets Editor/DatEditor.xaml.cs index 3836a52..5664a59 100644 --- a/Assets Editor/DatEditor.xaml.cs +++ b/Assets Editor/DatEditor.xaml.cs @@ -9,13 +9,13 @@ using System.Collections.ObjectModel; using System.Diagnostics; using System.IO; +using System.Text; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using Tibia.Protobuf.Appearances; -using Tibia.Protobuf.Shared; namespace Assets_Editor { @@ -345,10 +345,11 @@ private void LoadCurrentObjectAppearances() } } A_FlagMarketlevel.Value = (CurrentObjectAppearance.Flags.Market != null && CurrentObjectAppearance.Flags.Market.HasMinimumLevel) ? (int)CurrentObjectAppearance.Flags.Market.MinimumLevel : 0; - A_FlagName.Text = CurrentObjectAppearance.HasName ? CurrentObjectAppearance.Name : null; - A_FlagDescription.Text = CurrentObjectAppearance.HasDescription ? CurrentObjectAppearance.Description : null; + A_FlagName.Text = CurrentObjectAppearance.HasName ? CurrentObjectAppearance.Name.ToString() : null; + A_FlagDescription.Text = CurrentObjectAppearance.HasDescription ? CurrentObjectAppearance.Description.ToString() : null; A_FlagWrap.IsChecked = CurrentObjectAppearance.Flags.HasWrap; A_FlagUnwrap.IsChecked = CurrentObjectAppearance.Flags.HasUnwrap; + A_FlagWrapkit.IsChecked = CurrentObjectAppearance.Flags.HasWrapkit; A_FlagTopeffect.IsChecked = CurrentObjectAppearance.Flags.HasTop; A_FlagChangedToExpire.IsChecked = CurrentObjectAppearance.Flags.Changedtoexpire != null; A_FlagChangedToExpireId.Value = (CurrentObjectAppearance.Flags.Changedtoexpire != null && CurrentObjectAppearance.Flags.Changedtoexpire.HasFormerObjectTypeid) ? (int)CurrentObjectAppearance.Flags.Changedtoexpire.FormerObjectTypeid : 0; @@ -750,10 +751,10 @@ private void A_SprPaternZ_ValueChanged(object sender, RoutedPropertyChangedEvent private void ObjectSave_PreviewMouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e) { if (!string.IsNullOrWhiteSpace(A_FlagName.Text)) - CurrentObjectAppearance.Name = A_FlagName.Text; + CurrentObjectAppearance.Name = ByteString.CopyFrom(A_FlagName.Text, Encoding.UTF8); if (!string.IsNullOrWhiteSpace(A_FlagDescription.Text)) - CurrentObjectAppearance.Description = A_FlagDescription.Text; + CurrentObjectAppearance.Description = ByteString.CopyFrom(A_FlagDescription.Text, Encoding.UTF8); if ((bool)A_FlagGround.IsChecked) { CurrentObjectAppearance.Flags.Bank = new AppearanceFlagBank @@ -1072,6 +1073,11 @@ private void ObjectSave_PreviewMouseLeftButtonDown(object sender, System.Windows else if (CurrentObjectAppearance.Flags.HasUnwrap) CurrentObjectAppearance.Flags.ClearUnwrap(); + if ((bool)A_FlagWrapkit.IsChecked) + CurrentObjectAppearance.Flags.Wrapkit = true; + else if (CurrentObjectAppearance.Flags.HasWrapkit) + CurrentObjectAppearance.Flags.ClearWrapkit(); + if ((bool)A_FlagTopeffect.IsChecked) CurrentObjectAppearance.Flags.Topeffect = true; else if (CurrentObjectAppearance.Flags.HasTopeffect) diff --git a/Assets Editor/Shared.cs b/Assets Editor/Shared.cs deleted file mode 100644 index 41d7a99..0000000 --- a/Assets Editor/Shared.cs +++ /dev/null @@ -1,442 +0,0 @@ -// -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: shared.proto -// -#pragma warning disable 1591, 0612, 3021, 8981 -#region Designer generated code - -using pb = global::Google.Protobuf; -using pbc = global::Google.Protobuf.Collections; -using pbr = global::Google.Protobuf.Reflection; -using scg = global::System.Collections.Generic; -namespace Tibia.Protobuf.Shared { - - /// Holder for reflection information generated from shared.proto - public static partial class SharedReflection { - - #region Descriptor - /// File descriptor for shared.proto - public static pbr::FileDescriptor Descriptor { - get { return descriptor; } - } - private static pbr::FileDescriptor descriptor; - - static SharedReflection() { - byte[] descriptorData = global::System.Convert.FromBase64String( - string.Concat( - "CgxzaGFyZWQucHJvdG8SFXRpYmlhLnByb3RvYnVmLnNoYXJlZCItCgpDb29y", - "ZGluYXRlEgkKAXgYASABKA0SCQoBeRgCIAEoDRIJCgF6GAMgASgNKpQBCg1Q", - "TEFZRVJfQUNUSU9OEhYKElBMQVlFUl9BQ1RJT05fTk9ORRAAEhYKElBMQVlF", - "Ul9BQ1RJT05fTE9PSxABEhUKEVBMQVlFUl9BQ1RJT05fVVNFEAISFgoSUExB", - "WUVSX0FDVElPTl9PUEVOEAMSJAogUExBWUVSX0FDVElPTl9BVVRPV0FMS19I", - "SUdITElHSFQQBCrNBQoNSVRFTV9DQVRFR09SWRIYChRJVEVNX0NBVEVHT1JZ", - "X0FSTU9SUxABEhkKFUlURU1fQ0FURUdPUllfQU1VTEVUUxACEhcKE0lURU1f", - "Q0FURUdPUllfQk9PVFMQAxIcChhJVEVNX0NBVEVHT1JZX0NPTlRBSU5FUlMQ", - "BBIcChhJVEVNX0NBVEVHT1JZX0RFQ09SQVRJT04QBRIWChJJVEVNX0NBVEVH", - "T1JZX0ZPT0QQBhIeChpJVEVNX0NBVEVHT1JZX0hFTE1FVFNfSEFUUxAHEhYK", - "EklURU1fQ0FURUdPUllfTEVHUxAIEhgKFElURU1fQ0FURUdPUllfT1RIRVJT", - "EAkSGQoVSVRFTV9DQVRFR09SWV9QT1RJT05TEAoSFwoTSVRFTV9DQVRFR09S", - "WV9SSU5HUxALEhcKE0lURU1fQ0FURUdPUllfUlVORVMQDBIZChVJVEVNX0NB", - "VEVHT1JZX1NISUVMRFMQDRIXChNJVEVNX0NBVEVHT1JZX1RPT0xTEA4SGwoX", - "SVRFTV9DQVRFR09SWV9WQUxVQUJMRVMQDxIcChhJVEVNX0NBVEVHT1JZX0FN", - "TVVOSVRJT04QEBIWChJJVEVNX0NBVEVHT1JZX0FYRVMQERIXChNJVEVNX0NB", - "VEVHT1JZX0NMVUJTEBISIgoeSVRFTV9DQVRFR09SWV9ESVNUQU5DRV9XRUFQ", - "T05TEBMSGAoUSVRFTV9DQVRFR09SWV9TV09SRFMQFBIcChhJVEVNX0NBVEVH", - "T1JZX1dBTkRTX1JPRFMQFRIhCh1JVEVNX0NBVEVHT1JZX1BSRU1JVU1fU0NS", - "T0xMUxAWEh0KGUlURU1fQ0FURUdPUllfVElCSUFfQ09JTlMQFxIjCh9JVEVN", - "X0NBVEVHT1JZX0NSRUFUVVJFX1BST0RVQ1RTEBgSGAoUSVRFTV9DQVRFR09S", - "WV9RVUlWRVIQGSrtAQoRUExBWUVSX1BST0ZFU1NJT04SIgoVUExBWUVSX1BS", - "T0ZFU1NJT05fQU5ZEP///////////wESGgoWUExBWUVSX1BST0ZFU1NJT05f", - "Tk9ORRAAEhwKGFBMQVlFUl9QUk9GRVNTSU9OX0tOSUdIVBABEh0KGVBMQVlF", - "Ul9QUk9GRVNTSU9OX1BBTEFESU4QAhIeChpQTEFZRVJfUFJPRkVTU0lPTl9T", - "T1JDRVJFUhADEhsKF1BMQVlFUl9QUk9GRVNTSU9OX0RSVUlEEAQSHgoaUExB", - "WUVSX1BST0ZFU1NJT05fUFJPTU9URUQQCiqDAQoTQU5JTUFUSU9OX0xPT1Bf", - "VFlQRRIpChxBTklNQVRJT05fTE9PUF9UWVBFX1BJTkdQT05HEP//////////", - "/wESIAocQU5JTUFUSU9OX0xPT1BfVFlQRV9JTkZJTklURRAAEh8KG0FOSU1B", - "VElPTl9MT09QX1RZUEVfQ09VTlRFRBABKjQKCUhPT0tfVFlQRRITCg9IT09L", - "X1RZUEVfU09VVEgQARISCg5IT09LX1RZUEVfRUFTVBAC")); - descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tibia.Protobuf.Shared.PLAYER_ACTION), typeof(global::Tibia.Protobuf.Shared.ITEM_CATEGORY), typeof(global::Tibia.Protobuf.Shared.PLAYER_PROFESSION), typeof(global::Tibia.Protobuf.Shared.ANIMATION_LOOP_TYPE), typeof(global::Tibia.Protobuf.Shared.HOOK_TYPE), }, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::Tibia.Protobuf.Shared.Coordinate), global::Tibia.Protobuf.Shared.Coordinate.Parser, new[]{ "X", "Y", "Z" }, null, null, null, null) - })); - } - #endregion - - } - #region Enums - public enum PLAYER_ACTION { - [pbr::OriginalName("PLAYER_ACTION_NONE")] None = 0, - [pbr::OriginalName("PLAYER_ACTION_LOOK")] Look = 1, - [pbr::OriginalName("PLAYER_ACTION_USE")] Use = 2, - [pbr::OriginalName("PLAYER_ACTION_OPEN")] Open = 3, - [pbr::OriginalName("PLAYER_ACTION_AUTOWALK_HIGHLIGHT")] AutowalkHighlight = 4, - } - - public enum ITEM_CATEGORY { - [pbr::OriginalName("ITEM_CATEGORY_ARMORS")] Armors = 1, - [pbr::OriginalName("ITEM_CATEGORY_AMULETS")] Amulets = 2, - [pbr::OriginalName("ITEM_CATEGORY_BOOTS")] Boots = 3, - [pbr::OriginalName("ITEM_CATEGORY_CONTAINERS")] Containers = 4, - [pbr::OriginalName("ITEM_CATEGORY_DECORATION")] Decoration = 5, - [pbr::OriginalName("ITEM_CATEGORY_FOOD")] Food = 6, - [pbr::OriginalName("ITEM_CATEGORY_HELMETS_HATS")] HelmetsHats = 7, - [pbr::OriginalName("ITEM_CATEGORY_LEGS")] Legs = 8, - [pbr::OriginalName("ITEM_CATEGORY_OTHERS")] Others = 9, - [pbr::OriginalName("ITEM_CATEGORY_POTIONS")] Potions = 10, - [pbr::OriginalName("ITEM_CATEGORY_RINGS")] Rings = 11, - [pbr::OriginalName("ITEM_CATEGORY_RUNES")] Runes = 12, - [pbr::OriginalName("ITEM_CATEGORY_SHIELDS")] Shields = 13, - [pbr::OriginalName("ITEM_CATEGORY_TOOLS")] Tools = 14, - [pbr::OriginalName("ITEM_CATEGORY_VALUABLES")] Valuables = 15, - [pbr::OriginalName("ITEM_CATEGORY_AMMUNITION")] Ammunition = 16, - [pbr::OriginalName("ITEM_CATEGORY_AXES")] Axes = 17, - [pbr::OriginalName("ITEM_CATEGORY_CLUBS")] Clubs = 18, - [pbr::OriginalName("ITEM_CATEGORY_DISTANCE_WEAPONS")] DistanceWeapons = 19, - [pbr::OriginalName("ITEM_CATEGORY_SWORDS")] Swords = 20, - [pbr::OriginalName("ITEM_CATEGORY_WANDS_RODS")] WandsRods = 21, - [pbr::OriginalName("ITEM_CATEGORY_PREMIUM_SCROLLS")] PremiumScrolls = 22, - [pbr::OriginalName("ITEM_CATEGORY_TIBIA_COINS")] TibiaCoins = 23, - [pbr::OriginalName("ITEM_CATEGORY_CREATURE_PRODUCTS")] CreatureProducts = 24, - [pbr::OriginalName("ITEM_CATEGORY_QUIVER")] Quiver = 25, - } - - public enum PLAYER_PROFESSION { - [pbr::OriginalName("PLAYER_PROFESSION_ANY")] Any = -1, - [pbr::OriginalName("PLAYER_PROFESSION_NONE")] None = 0, - [pbr::OriginalName("PLAYER_PROFESSION_KNIGHT")] Knight = 1, - [pbr::OriginalName("PLAYER_PROFESSION_PALADIN")] Paladin = 2, - [pbr::OriginalName("PLAYER_PROFESSION_SORCERER")] Sorcerer = 3, - [pbr::OriginalName("PLAYER_PROFESSION_DRUID")] Druid = 4, - [pbr::OriginalName("PLAYER_PROFESSION_PROMOTED")] Promoted = 10, - } - - public enum ANIMATION_LOOP_TYPE { - [pbr::OriginalName("ANIMATION_LOOP_TYPE_PINGPONG")] Pingpong = -1, - [pbr::OriginalName("ANIMATION_LOOP_TYPE_INFINITE")] Infinite = 0, - [pbr::OriginalName("ANIMATION_LOOP_TYPE_COUNTED")] Counted = 1, - } - - public enum HOOK_TYPE { - [pbr::OriginalName("HOOK_TYPE_SOUTH")] South = 1, - [pbr::OriginalName("HOOK_TYPE_EAST")] East = 2, - } - - #endregion - - #region Messages - public sealed partial class Coordinate : pb::IMessage - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - , pb::IBufferMessage - #endif - { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Coordinate()); - private pb::UnknownFieldSet _unknownFields; - private int _hasBits0; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pbr::MessageDescriptor Descriptor { - get { return global::Tibia.Protobuf.Shared.SharedReflection.Descriptor.MessageTypes[0]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Coordinate() { - OnConstruction(); - } - - partial void OnConstruction(); - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Coordinate(Coordinate other) : this() { - _hasBits0 = other._hasBits0; - x_ = other.x_; - y_ = other.y_; - z_ = other.z_; - _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Coordinate Clone() { - return new Coordinate(this); - } - - /// Field number for the "x" field. - public const int XFieldNumber = 1; - private readonly static uint XDefaultValue = 0; - - private uint x_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint X { - get { if ((_hasBits0 & 1) != 0) { return x_; } else { return XDefaultValue; } } - set { - _hasBits0 |= 1; - x_ = value; - } - } - /// Gets whether the "x" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasX { - get { return (_hasBits0 & 1) != 0; } - } - /// Clears the value of the "x" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearX() { - _hasBits0 &= ~1; - } - - /// Field number for the "y" field. - public const int YFieldNumber = 2; - private readonly static uint YDefaultValue = 0; - - private uint y_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Y { - get { if ((_hasBits0 & 2) != 0) { return y_; } else { return YDefaultValue; } } - set { - _hasBits0 |= 2; - y_ = value; - } - } - /// Gets whether the "y" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasY { - get { return (_hasBits0 & 2) != 0; } - } - /// Clears the value of the "y" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearY() { - _hasBits0 &= ~2; - } - - /// Field number for the "z" field. - public const int ZFieldNumber = 3; - private readonly static uint ZDefaultValue = 0; - - private uint z_; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public uint Z { - get { if ((_hasBits0 & 4) != 0) { return z_; } else { return ZDefaultValue; } } - set { - _hasBits0 |= 4; - z_ = value; - } - } - /// Gets whether the "z" field is set - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool HasZ { - get { return (_hasBits0 & 4) != 0; } - } - /// Clears the value of the "z" field - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearZ() { - _hasBits0 &= ~4; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override bool Equals(object other) { - return Equals(other as Coordinate); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Coordinate other) { - if (ReferenceEquals(other, null)) { - return false; - } - if (ReferenceEquals(other, this)) { - return true; - } - if (X != other.X) return false; - if (Y != other.Y) return false; - if (Z != other.Z) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override int GetHashCode() { - int hash = 1; - if (HasX) hash ^= X.GetHashCode(); - if (HasY) hash ^= Y.GetHashCode(); - if (HasZ) hash ^= Z.GetHashCode(); - if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); - } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void WriteTo(pb::CodedOutputStream output) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - output.WriteRawMessage(this); - #else - if (HasX) { - output.WriteRawTag(8); - output.WriteUInt32(X); - } - if (HasY) { - output.WriteRawTag(16); - output.WriteUInt32(Y); - } - if (HasZ) { - output.WriteRawTag(24); - output.WriteUInt32(Z); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(output); - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (HasX) { - output.WriteRawTag(8); - output.WriteUInt32(X); - } - if (HasY) { - output.WriteRawTag(16); - output.WriteUInt32(Y); - } - if (HasZ) { - output.WriteRawTag(24); - output.WriteUInt32(Z); - } - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); - } - } - #endif - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int CalculateSize() { - int size = 0; - if (HasX) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(X); - } - if (HasY) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Y); - } - if (HasZ) { - size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Z); - } - if (_unknownFields != null) { - size += _unknownFields.CalculateSize(); - } - return size; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Coordinate other) { - if (other == null) { - return; - } - if (other.HasX) { - X = other.X; - } - if (other.HasY) { - Y = other.Y; - } - if (other.HasZ) { - Z = other.Z; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(pb::CodedInputStream input) { - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - input.ReadRawMessage(this); - #else - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); - break; - case 8: { - X = input.ReadUInt32(); - break; - } - case 16: { - Y = input.ReadUInt32(); - break; - } - case 24: { - Z = input.ReadUInt32(); - break; - } - } - } - #endif - } - - #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { - uint tag; - while ((tag = input.ReadTag()) != 0) { - switch(tag) { - default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); - break; - case 8: { - X = input.ReadUInt32(); - break; - } - case 16: { - Y = input.ReadUInt32(); - break; - } - case 24: { - Z = input.ReadUInt32(); - break; - } - } - } - } - #endif - - } - - #endregion - -} - -#endregion Designer generated code diff --git a/apperances.proto b/apperances.proto new file mode 100644 index 0000000..a0ccfe5 --- /dev/null +++ b/apperances.proto @@ -0,0 +1,273 @@ +syntax = "proto2"; + +option go_package = "appearances/gen;gen"; +option csharp_namespace = "Tibia.Protobuf.Appearances"; + +message Coordinate { + optional uint32 x = 1; + optional uint32 y = 2; + optional uint32 z = 3; +} + +enum PLAYER_ACTION { + PLAYER_ACTION_NONE = 0; + PLAYER_ACTION_LOOK = 1; + PLAYER_ACTION_USE = 2; + PLAYER_ACTION_OPEN = 3; + PLAYER_ACTION_AUTOWALK_HIGHLIGHT = 4; +} + +enum ITEM_CATEGORY { + ITEM_CATEGORY_ARMORS = 1; + ITEM_CATEGORY_AMULETS = 2; + ITEM_CATEGORY_BOOTS = 3; + ITEM_CATEGORY_CONTAINERS = 4; + ITEM_CATEGORY_DECORATION = 5; + ITEM_CATEGORY_FOOD = 6; + ITEM_CATEGORY_HELMETS_HATS = 7; + ITEM_CATEGORY_LEGS = 8; + ITEM_CATEGORY_OTHERS = 9; + ITEM_CATEGORY_POTIONS = 10; + ITEM_CATEGORY_RINGS = 11; + ITEM_CATEGORY_RUNES = 12; + ITEM_CATEGORY_SHIELDS = 13; + ITEM_CATEGORY_TOOLS = 14; + ITEM_CATEGORY_VALUABLES = 15; + ITEM_CATEGORY_AMMUNITION = 16; + ITEM_CATEGORY_AXES = 17; + ITEM_CATEGORY_CLUBS = 18; + ITEM_CATEGORY_DISTANCE_WEAPONS = 19; + ITEM_CATEGORY_SWORDS = 20; + ITEM_CATEGORY_WANDS_RODS = 21; + ITEM_CATEGORY_PREMIUM_SCROLLS = 22; + ITEM_CATEGORY_TIBIA_COINS = 23; + ITEM_CATEGORY_CREATURE_PRODUCTS = 24; + ITEM_CATEGORY_QUIVER = 25; +} + +enum PLAYER_PROFESSION { + PLAYER_PROFESSION_ANY = -1; + PLAYER_PROFESSION_NONE = 0; + PLAYER_PROFESSION_KNIGHT = 1; + PLAYER_PROFESSION_PALADIN = 2; + PLAYER_PROFESSION_SORCERER = 3; + PLAYER_PROFESSION_DRUID = 4; + PLAYER_PROFESSION_PROMOTED = 10; +} + +enum ANIMATION_LOOP_TYPE { + ANIMATION_LOOP_TYPE_PINGPONG = -1; + ANIMATION_LOOP_TYPE_INFINITE = 0; + ANIMATION_LOOP_TYPE_COUNTED = 1; +} + +enum HOOK_TYPE { + HOOK_TYPE_SOUTH = 1; + HOOK_TYPE_EAST = 2; +} + +message Appearances { + repeated Appearance object = 1; + repeated Appearance outfit = 2; + repeated Appearance effect = 3; + repeated Appearance missile = 4; + optional SpecialMeaningAppearanceIds special_meaning_appearance_ids = 5; +} + +message SpritePhase { + optional uint32 duration_min = 1; + optional uint32 duration_max = 2; +} + +message SpriteAnimation { + optional uint32 default_start_phase = 1; + optional bool synchronized = 2; + optional bool random_start_phase = 3; + optional ANIMATION_LOOP_TYPE loop_type = 4; + optional uint32 loop_count = 5; + repeated SpritePhase sprite_phase = 6; +} + +message Box { + optional uint32 x = 1; + optional uint32 y = 2; + optional uint32 width = 3; + optional uint32 height = 4; +} + +message SpriteInfo { + optional uint32 pattern_width = 1; + optional uint32 pattern_height = 2; + optional uint32 pattern_depth = 3; + optional uint32 layers = 4; + repeated uint32 sprite_id = 5; + optional uint32 bounding_square = 7; + optional SpriteAnimation animation = 6; + optional bool is_opaque = 8; + repeated Box bounding_box_per_direction = 9; +} + +message FrameGroup { + optional FIXED_FRAME_GROUP fixed_frame_group = 1; + optional uint32 id = 2; + optional SpriteInfo sprite_info = 3; +} + +message Appearance { + optional uint32 id = 1; + repeated FrameGroup frame_group = 2; + optional AppearanceFlags flags = 3; + optional bytes name = 4; + optional bytes description = 5; +} + +message AppearanceFlags { + optional AppearanceFlagBank bank = 1; + optional bool clip = 2; + optional bool bottom = 3; + optional bool top = 4; + optional bool container = 5; + optional bool cumulative = 6; + optional bool usable = 7; + optional bool forceuse = 8; + optional bool multiuse = 9; + optional AppearanceFlagWrite write = 10; + optional AppearanceFlagWriteOnce write_once = 11; + optional bool liquidpool = 12; + optional bool unpass = 13; + optional bool unmove = 14; + optional bool unsight = 15; + optional bool avoid = 16; + optional bool no_movement_animation = 17; + optional bool take = 18; + optional bool liquidcontainer = 19; + optional bool hang = 20; + optional AppearanceFlagHook hook = 21; + optional bool rotate = 22; + optional AppearanceFlagLight light = 23; + optional bool dont_hide = 24; + optional bool translucent = 25; + optional AppearanceFlagShift shift = 26; + optional AppearanceFlagHeight height = 27; + optional bool lying_object = 28; + optional bool animate_always = 29; + optional AppearanceFlagAutomap automap = 30; + optional AppearanceFlagLenshelp lenshelp = 31; + optional bool fullbank = 32; + optional bool ignore_look = 33; + optional AppearanceFlagClothes clothes = 34; + optional AppearanceFlagDefaultAction default_action = 35; + optional AppearanceFlagMarket market = 36; + optional bool wrap = 37; + optional bool unwrap = 38; + optional bool topeffect = 39; + repeated AppearanceFlagNPC npcsaledata = 40; + optional AppearanceFlagChangedToExpire changedtoexpire = 41; + optional bool corpse = 42; + optional bool player_corpse = 43; + optional AppearanceFlagCyclopedia cyclopediaitem = 44; + optional bool ammo = 45; + optional bool show_off_socket = 46; + optional bool reportable = 47; + optional AppearanceFlagUpgradeClassification upgradeclassification = 48; + optional bool reverse_addons_east = 49; + optional bool reverse_addons_west = 50; + optional bool reverse_addons_south = 51; + optional bool reverse_addons_north = 52; + optional bool wearout = 53; + optional bool clockexpire = 54; + optional bool expire = 55; + optional bool expirestop = 56; + optional bool wrapkit = 57; +} + +message AppearanceFlagUpgradeClassification { + optional uint32 upgrade_classification = 1; +} + +message AppearanceFlagBank { + optional uint32 waypoints = 1; +} + +message AppearanceFlagWrite { + optional uint32 max_text_length = 1; +} + +message AppearanceFlagWriteOnce { + optional uint32 max_text_length_once = 1; +} + +message AppearanceFlagLight { + optional uint32 brightness = 1; + optional uint32 color = 2; +} + +message AppearanceFlagHeight { + optional uint32 elevation = 1; +} + +message AppearanceFlagShift { + optional uint32 x = 1; + optional uint32 y = 2; +} + +message AppearanceFlagClothes { + optional uint32 slot = 1; +} + +message AppearanceFlagDefaultAction { + optional PLAYER_ACTION action = 1; +} + +message AppearanceFlagMarket { + optional ITEM_CATEGORY category = 1; + optional uint32 trade_as_object_id = 2; + optional uint32 show_as_object_id = 3; + repeated PLAYER_PROFESSION restrict_to_profession = 5; + optional uint32 minimum_level = 6; +} + +message AppearanceFlagNPC { + optional bytes name = 1; + optional bytes location = 2; + optional uint32 sale_price = 3; + optional uint32 buy_price = 4; + optional uint32 currency_object_type_id = 5; + optional bytes currency_quest_flag_display_name = 6; +} + +message AppearanceFlagAutomap { + optional uint32 color = 1; +} + +message AppearanceFlagHook { + optional HOOK_TYPE direction = 1; +} + +message AppearanceFlagLenshelp { + optional uint32 id = 1; +} + +message AppearanceFlagChangedToExpire { + optional uint32 former_object_typeid = 1; +} + +message AppearanceFlagCyclopedia { + optional uint32 cyclopedia_type = 1; +} + +message SpecialMeaningAppearanceIds { + optional uint32 gold_coin_id = 1; + optional uint32 platinum_coin_id = 2; + optional uint32 crystal_coin_id = 3; + optional uint32 tibia_coin_id = 4; + optional uint32 stamped_letter_id = 5; + optional uint32 supply_stash_id = 6; + optional uint32 reward_chest_id = 7; +} + +enum FIXED_FRAME_GROUP { + FIXED_FRAME_GROUP_OUTFIT_IDLE = 0; + FIXED_FRAME_GROUP_OUTFIT_MOVING = 1; + FIXED_FRAME_GROUP_OBJECT_INITIAL = 2; +}