// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: DatReader.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 OXGaming.TibiaAPI.Utilities { /// Holder for reflection information generated from DatReader.proto public static partial class DatReaderReflection { #region Descriptor /// File descriptor for DatReader.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static DatReaderReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cg9EYXRSZWFkZXIucHJvdG8SG09YR2FtaW5nLlRpYmlhQVBJLlV0aWxpdGll", "cyItCgpDb29yZGluYXRlEgkKAXgYASABKA0SCQoBeRgCIAEoDRIJCgF6GAMg", "ASgNItQCCgtBcHBlYXJhbmNlcxI3CgZvYmplY3QYASADKAsyJy5PWEdhbWlu", "Zy5UaWJpYUFQSS5VdGlsaXRpZXMuQXBwZWFyYW5jZRI3CgZvdXRmaXQYAiAD", "KAsyJy5PWEdhbWluZy5UaWJpYUFQSS5VdGlsaXRpZXMuQXBwZWFyYW5jZRI3", "CgZlZmZlY3QYAyADKAsyJy5PWEdhbWluZy5UaWJpYUFQSS5VdGlsaXRpZXMu", "QXBwZWFyYW5jZRI4CgdtaXNzaWxlGAQgAygLMicuT1hHYW1pbmcuVGliaWFB", "UEkuVXRpbGl0aWVzLkFwcGVhcmFuY2USYAoec3BlY2lhbF9tZWFuaW5nX2Fw", "cGVhcmFuY2VfaWRzGAUgASgLMjguT1hHYW1pbmcuVGliaWFBUEkuVXRpbGl0", "aWVzLlNwZWNpYWxNZWFuaW5nQXBwZWFyYW5jZUlkcyI5CgtTcHJpdGVQaGFz", "ZRIUCgxkdXJhdGlvbl9taW4YASABKA0SFAoMZHVyYXRpb25fbWF4GAIgASgN", "IvkBCg9TcHJpdGVBbmltYXRpb24SGwoTZGVmYXVsdF9zdGFydF9waGFzZRgB", "IAEoDRIUCgxzeW5jaHJvbml6ZWQYAiABKAgSGgoScmFuZG9tX3N0YXJ0X3Bo", "YXNlGAMgASgIEkMKCWxvb3BfdHlwZRgEIAEoDjIwLk9YR2FtaW5nLlRpYmlh", "QVBJLlV0aWxpdGllcy5BTklNQVRJT05fTE9PUF9UWVBFEhIKCmxvb3BfY291", "bnQYBSABKA0SPgoMc3ByaXRlX3BoYXNlGAYgAygLMiguT1hHYW1pbmcuVGli", "aWFBUEkuVXRpbGl0aWVzLlNwcml0ZVBoYXNlIjoKA0JveBIJCgF4GAEgASgN", "EgkKAXkYAiABKA0SDQoFd2lkdGgYAyABKA0SDgoGaGVpZ2h0GAQgASgNIqgC", "CgpTcHJpdGVJbmZvEhUKDXBhdHRlcm5fd2lkdGgYASABKA0SFgoOcGF0dGVy", "bl9oZWlnaHQYAiABKA0SFQoNcGF0dGVybl9kZXB0aBgDIAEoDRIOCgZsYXll", "cnMYBCABKA0SEQoJc3ByaXRlX2lkGAUgAygNEhcKD2JvdW5kaW5nX3NxdWFy", "ZRgHIAEoDRI/CglhbmltYXRpb24YBiABKAsyLC5PWEdhbWluZy5UaWJpYUFQ", "SS5VdGlsaXRpZXMuU3ByaXRlQW5pbWF0aW9uEhEKCWlzX29wYXF1ZRgIIAEo", "CBJEChpib3VuZGluZ19ib3hfcGVyX2RpcmVjdGlvbhgJIAMoCzIgLk9YR2Ft", "aW5nLlRpYmlhQVBJLlV0aWxpdGllcy5Cb3gioQEKCkZyYW1lR3JvdXASSQoR", "Zml4ZWRfZnJhbWVfZ3JvdXAYASABKA4yLi5PWEdhbWluZy5UaWJpYUFQSS5V", "dGlsaXRpZXMuRklYRURfRlJBTUVfR1JPVVASCgoCaWQYAiABKA0SPAoLc3By", "aXRlX2luZm8YAyABKAsyJy5PWEdhbWluZy5UaWJpYUFQSS5VdGlsaXRpZXMu", "U3ByaXRlSW5mbyK2AQoKQXBwZWFyYW5jZRIKCgJpZBgBIAEoDRI8CgtmcmFt", "ZV9ncm91cBgCIAMoCzInLk9YR2FtaW5nLlRpYmlhQVBJLlV0aWxpdGllcy5G", "cmFtZUdyb3VwEjsKBWZsYWdzGAMgASgLMiwuT1hHYW1pbmcuVGliaWFBUEku", "VXRpbGl0aWVzLkFwcGVhcmFuY2VGbGFncxIMCgRuYW1lGAQgASgMEhMKC2Rl", "c2NyaXB0aW9uGAUgASgMIoEQCg9BcHBlYXJhbmNlRmxhZ3MSPQoEYmFuaxgB", "IAEoCzIvLk9YR2FtaW5nLlRpYmlhQVBJLlV0aWxpdGllcy5BcHBlYXJhbmNl", "RmxhZ0JhbmsSDAoEY2xpcBgCIAEoCBIOCgZib3R0b20YAyABKAgSCwoDdG9w", "GAQgASgIEhEKCWNvbnRhaW5lchgFIAEoCBISCgpjdW11bGF0aXZlGAYgASgI", "Eg4KBnVzYWJsZRgHIAEoCBIQCghmb3JjZXVzZRgIIAEoCBIQCghtdWx0aXVz", "ZRgJIAEoCBI/CgV3cml0ZRgKIAEoCzIwLk9YR2FtaW5nLlRpYmlhQVBJLlV0", "aWxpdGllcy5BcHBlYXJhbmNlRmxhZ1dyaXRlEkgKCndyaXRlX29uY2UYCyAB", "KAsyNC5PWEdhbWluZy5UaWJpYUFQSS5VdGlsaXRpZXMuQXBwZWFyYW5jZUZs", "YWdXcml0ZU9uY2USEgoKbGlxdWlkcG9vbBgMIAEoCBIOCgZ1bnBhc3MYDSAB", "KAgSDgoGdW5tb3ZlGA4gASgIEg8KB3Vuc2lnaHQYDyABKAgSDQoFYXZvaWQY", "ECABKAgSHQoVbm9fbW92ZW1lbnRfYW5pbWF0aW9uGBEgASgIEgwKBHRha2UY", "EiABKAgSFwoPbGlxdWlkY29udGFpbmVyGBMgASgIEgwKBGhhbmcYFCABKAgS", "PQoEaG9vaxgVIAEoCzIvLk9YR2FtaW5nLlRpYmlhQVBJLlV0aWxpdGllcy5B", "cHBlYXJhbmNlRmxhZ0hvb2sSDgoGcm90YXRlGBYgASgIEj8KBWxpZ2h0GBcg", "ASgLMjAuT1hHYW1pbmcuVGliaWFBUEkuVXRpbGl0aWVzLkFwcGVhcmFuY2VG", "bGFnTGlnaHQSEQoJZG9udF9oaWRlGBggASgIEhMKC3RyYW5zbHVjZW50GBkg", "ASgIEj8KBXNoaWZ0GBogASgLMjAuT1hHYW1pbmcuVGliaWFBUEkuVXRpbGl0", "aWVzLkFwcGVhcmFuY2VGbGFnU2hpZnQSQQoGaGVpZ2h0GBsgASgLMjEuT1hH", "YW1pbmcuVGliaWFBUEkuVXRpbGl0aWVzLkFwcGVhcmFuY2VGbGFnSGVpZ2h0", "EhQKDGx5aW5nX29iamVjdBgcIAEoCBIWCg5hbmltYXRlX2Fsd2F5cxgdIAEo", "CBJDCgdhdXRvbWFwGB4gASgLMjIuT1hHYW1pbmcuVGliaWFBUEkuVXRpbGl0", "aWVzLkFwcGVhcmFuY2VGbGFnQXV0b21hcBJFCghsZW5zaGVscBgfIAEoCzIz", "Lk9YR2FtaW5nLlRpYmlhQVBJLlV0aWxpdGllcy5BcHBlYXJhbmNlRmxhZ0xl", "bnNoZWxwEhAKCGZ1bGxiYW5rGCAgASgIEhMKC2lnbm9yZV9sb29rGCEgASgI", "EkMKB2Nsb3RoZXMYIiABKAsyMi5PWEdhbWluZy5UaWJpYUFQSS5VdGlsaXRp", "ZXMuQXBwZWFyYW5jZUZsYWdDbG90aGVzElAKDmRlZmF1bHRfYWN0aW9uGCMg", "ASgLMjguT1hHYW1pbmcuVGliaWFBUEkuVXRpbGl0aWVzLkFwcGVhcmFuY2VG", "bGFnRGVmYXVsdEFjdGlvbhJBCgZtYXJrZXQYJCABKAsyMS5PWEdhbWluZy5U", "aWJpYUFQSS5VdGlsaXRpZXMuQXBwZWFyYW5jZUZsYWdNYXJrZXQSDAoEd3Jh", "cBglIAEoCBIOCgZ1bndyYXAYJiABKAgSEQoJdG9wZWZmZWN0GCcgASgIEkMK", "C25wY3NhbGVkYXRhGCggAygLMi4uT1hHYW1pbmcuVGliaWFBUEkuVXRpbGl0", "aWVzLkFwcGVhcmFuY2VGbGFnTlBDElMKD2NoYW5nZWR0b2V4cGlyZRgpIAEo", "CzI6Lk9YR2FtaW5nLlRpYmlhQVBJLlV0aWxpdGllcy5BcHBlYXJhbmNlRmxh", "Z0NoYW5nZWRUb0V4cGlyZRIOCgZjb3Jwc2UYKiABKAgSFQoNcGxheWVyX2Nv", "cnBzZRgrIAEoCBJNCg5jeWNsb3BlZGlhaXRlbRgsIAEoCzI1Lk9YR2FtaW5n", "LlRpYmlhQVBJLlV0aWxpdGllcy5BcHBlYXJhbmNlRmxhZ0N5Y2xvcGVkaWES", "DAoEYW1tbxgtIAEoCBIXCg9zaG93X29mZl9zb2NrZXQYLiABKAgSEgoKcmVw", "b3J0YWJsZRgvIAEoCBJfChV1cGdyYWRlY2xhc3NpZmljYXRpb24YMCABKAsy", "QC5PWEdhbWluZy5UaWJpYUFQSS5VdGlsaXRpZXMuQXBwZWFyYW5jZUZsYWdV", "cGdyYWRlQ2xhc3NpZmljYXRpb24SGwoTcmV2ZXJzZV9hZGRvbnNfZWFzdBgx", "IAEoCBIbChNyZXZlcnNlX2FkZG9uc193ZXN0GDIgASgIEhwKFHJldmVyc2Vf", "YWRkb25zX3NvdXRoGDMgASgIEhwKFHJldmVyc2VfYWRkb25zX25vcnRoGDQg", "ASgIEg8KB3dlYXJvdXQYNSABKAgSEwoLY2xvY2tleHBpcmUYNiABKAgSDgoG", "ZXhwaXJlGDcgASgIEhIKCmV4cGlyZXN0b3AYOCABKAgSEAoIZGVjb19raXQY", "OSABKAgSUAoOc2tpbGx3aGVlbF9nZW0YOiABKAsyOC5PWEdhbWluZy5UaWJp", "YUFQSS5VdGlsaXRpZXMuQXBwZWFyYW5jZUZsYWdTa2lsbFdoZWVsR2VtIkUK", "I0FwcGVhcmFuY2VGbGFnVXBncmFkZUNsYXNzaWZpY2F0aW9uEh4KFnVwZ3Jh", "ZGVfY2xhc3NpZmljYXRpb24YASABKA0iJwoSQXBwZWFyYW5jZUZsYWdCYW5r", "EhEKCXdheXBvaW50cxgBIAEoDSIuChNBcHBlYXJhbmNlRmxhZ1dyaXRlEhcK", "D21heF90ZXh0X2xlbmd0aBgBIAEoDSI3ChdBcHBlYXJhbmNlRmxhZ1dyaXRl", "T25jZRIcChRtYXhfdGV4dF9sZW5ndGhfb25jZRgBIAEoDSI4ChNBcHBlYXJh", "bmNlRmxhZ0xpZ2h0EhIKCmJyaWdodG5lc3MYASABKA0SDQoFY29sb3IYAiAB", "KA0iKQoUQXBwZWFyYW5jZUZsYWdIZWlnaHQSEQoJZWxldmF0aW9uGAEgASgN", "IisKE0FwcGVhcmFuY2VGbGFnU2hpZnQSCQoBeBgBIAEoDRIJCgF5GAIgASgN", "IiUKFUFwcGVhcmFuY2VGbGFnQ2xvdGhlcxIMCgRzbG90GAEgASgNIlkKG0Fw", "cGVhcmFuY2VGbGFnRGVmYXVsdEFjdGlvbhI6CgZhY3Rpb24YASABKA4yKi5P", "WEdhbWluZy5UaWJpYUFQSS5VdGlsaXRpZXMuUExBWUVSX0FDVElPTiLyAQoU", "QXBwZWFyYW5jZUZsYWdNYXJrZXQSPAoIY2F0ZWdvcnkYASABKA4yKi5PWEdh", "bWluZy5UaWJpYUFQSS5VdGlsaXRpZXMuSVRFTV9DQVRFR09SWRIaChJ0cmFk", "ZV9hc19vYmplY3RfaWQYAiABKA0SGQoRc2hvd19hc19vYmplY3RfaWQYAyAB", "KA0STgoWcmVzdHJpY3RfdG9fcHJvZmVzc2lvbhgFIAMoDjIuLk9YR2FtaW5n", "LlRpYmlhQVBJLlV0aWxpdGllcy5QTEFZRVJfUFJPRkVTU0lPThIVCg1taW5p", "bXVtX2xldmVsGAYgASgNIqUBChFBcHBlYXJhbmNlRmxhZ05QQxIMCgRuYW1l", "GAEgASgMEhAKCGxvY2F0aW9uGAIgASgMEhIKCnNhbGVfcHJpY2UYAyABKA0S", "EQoJYnV5X3ByaWNlGAQgASgNEh8KF2N1cnJlbmN5X29iamVjdF90eXBlX2lk", "GAUgASgNEigKIGN1cnJlbmN5X3F1ZXN0X2ZsYWdfZGlzcGxheV9uYW1lGAYg", "ASgMIiYKFUFwcGVhcmFuY2VGbGFnQXV0b21hcBINCgVjb2xvchgBIAEoDSJP", "ChJBcHBlYXJhbmNlRmxhZ0hvb2sSOQoJZGlyZWN0aW9uGAEgASgOMiYuT1hH", "YW1pbmcuVGliaWFBUEkuVXRpbGl0aWVzLkhPT0tfVFlQRSIkChZBcHBlYXJh", "bmNlRmxhZ0xlbnNoZWxwEgoKAmlkGAEgASgNIj0KHUFwcGVhcmFuY2VGbGFn", "Q2hhbmdlZFRvRXhwaXJlEhwKFGZvcm1lcl9vYmplY3RfdHlwZWlkGAEgASgN", "IjMKGEFwcGVhcmFuY2VGbGFnQ3ljbG9wZWRpYRIXCg9jeWNsb3BlZGlhX3R5", "cGUYASABKA0isQEKG1NwZWNpYWxNZWFuaW5nQXBwZWFyYW5jZUlkcxIUCgxn", "b2xkX2NvaW5faWQYASABKA0SGAoQcGxhdGludW1fY29pbl9pZBgCIAEoDRIX", "Cg9jcnlzdGFsX2NvaW5faWQYAyABKA0SFQoNdGliaWFfY29pbl9pZBgEIAEo", "DRIZChFzdGFtcGVkX2xldHRlcl9pZBgFIAEoDRIXCg9zdXBwbHlfc3Rhc2hf", "aWQYBiABKA0iSgobQXBwZWFyYW5jZUZsYWdTa2lsbFdoZWVsR2VtEhYKDmdl", "bV9xdWFsaXR5X2lkGAEgASgNEhMKC3ZvY2F0aW9uX2lkGAIgASgNKpQBCg1Q", "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", "X1RZUEVfU09VVEgQARISCg5IT09LX1RZUEVfRUFTVBACKoEBChFGSVhFRF9G", "UkFNRV9HUk9VUBIhCh1GSVhFRF9GUkFNRV9HUk9VUF9PVVRGSVRfSURMRRAA", "EiMKH0ZJWEVEX0ZSQU1FX0dST1VQX09VVEZJVF9NT1ZJTkcQARIkCiBGSVhF", "RF9GUkFNRV9HUk9VUF9PQkpFQ1RfSU5JVElBTBAC")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::OXGaming.TibiaAPI.Utilities.PLAYER_ACTION), typeof(global::OXGaming.TibiaAPI.Utilities.ITEM_CATEGORY), typeof(global::OXGaming.TibiaAPI.Utilities.PLAYER_PROFESSION), typeof(global::OXGaming.TibiaAPI.Utilities.ANIMATION_LOOP_TYPE), typeof(global::OXGaming.TibiaAPI.Utilities.HOOK_TYPE), typeof(global::OXGaming.TibiaAPI.Utilities.FIXED_FRAME_GROUP), }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.Coordinate), global::OXGaming.TibiaAPI.Utilities.Coordinate.Parser, new[]{ "X", "Y", "Z" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.Appearances), global::OXGaming.TibiaAPI.Utilities.Appearances.Parser, new[]{ "Object", "Outfit", "Effect", "Missile", "SpecialMeaningAppearanceIds" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.SpritePhase), global::OXGaming.TibiaAPI.Utilities.SpritePhase.Parser, new[]{ "DurationMin", "DurationMax" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.SpriteAnimation), global::OXGaming.TibiaAPI.Utilities.SpriteAnimation.Parser, new[]{ "DefaultStartPhase", "Synchronized", "RandomStartPhase", "LoopType", "LoopCount", "SpritePhase" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.Box), global::OXGaming.TibiaAPI.Utilities.Box.Parser, new[]{ "X", "Y", "Width", "Height" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.SpriteInfo), global::OXGaming.TibiaAPI.Utilities.SpriteInfo.Parser, new[]{ "PatternWidth", "PatternHeight", "PatternDepth", "Layers", "SpriteId", "BoundingSquare", "Animation", "IsOpaque", "BoundingBoxPerDirection" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.FrameGroup), global::OXGaming.TibiaAPI.Utilities.FrameGroup.Parser, new[]{ "FixedFrameGroup", "Id", "SpriteInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.Appearance), global::OXGaming.TibiaAPI.Utilities.Appearance.Parser, new[]{ "Id", "FrameGroup", "Flags", "Name", "Description" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlags), global::OXGaming.TibiaAPI.Utilities.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", "DecoKit", "SkillwheelGem" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagUpgradeClassification), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagUpgradeClassification.Parser, new[]{ "UpgradeClassification" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagBank), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagBank.Parser, new[]{ "Waypoints" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagWrite), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagWrite.Parser, new[]{ "MaxTextLength" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagWriteOnce), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagWriteOnce.Parser, new[]{ "MaxTextLengthOnce" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagLight), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagLight.Parser, new[]{ "Brightness", "Color" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagHeight), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagHeight.Parser, new[]{ "Elevation" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagShift), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagShift.Parser, new[]{ "X", "Y" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagClothes), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagClothes.Parser, new[]{ "Slot" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagDefaultAction), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagDefaultAction.Parser, new[]{ "Action" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagMarket), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagMarket.Parser, new[]{ "Category", "TradeAsObjectId", "ShowAsObjectId", "RestrictToProfession", "MinimumLevel" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagNPC), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagNPC.Parser, new[]{ "Name", "Location", "SalePrice", "BuyPrice", "CurrencyObjectTypeId", "CurrencyQuestFlagDisplayName" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagAutomap), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagAutomap.Parser, new[]{ "Color" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagHook), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagHook.Parser, new[]{ "Direction" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagLenshelp), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagLenshelp.Parser, new[]{ "Id" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagChangedToExpire), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagChangedToExpire.Parser, new[]{ "FormerObjectTypeid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagCyclopedia), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagCyclopedia.Parser, new[]{ "CyclopediaType" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.SpecialMeaningAppearanceIds), global::OXGaming.TibiaAPI.Utilities.SpecialMeaningAppearanceIds.Parser, new[]{ "GoldCoinId", "PlatinumCoinId", "CrystalCoinId", "TibiaCoinId", "StampedLetterId", "SupplyStashId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::OXGaming.TibiaAPI.Utilities.AppearanceFlagSkillWheelGem), global::OXGaming.TibiaAPI.Utilities.AppearanceFlagSkillWheelGem.Parser, new[]{ "GemQualityId", "VocationId" }, 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 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 } 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.SpecialMeaningAppearanceIds specialMeaningAppearanceIds_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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 object_.WriteTo(output, _repeated_object_codec); outfit_.WriteTo(output, _repeated_outfit_codec); effect_.WriteTo(output, _repeated_effect_codec); missile_.WriteTo(output, _repeated_missile_codec); if (specialMeaningAppearanceIds_ != null) { output.WriteRawTag(42); output.WriteMessage(SpecialMeaningAppearanceIds); } 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) { 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::OXGaming.TibiaAPI.Utilities.SpecialMeaningAppearanceIds(); } 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 uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { object_.AddEntriesFrom(input, _repeated_object_codec); break; } case 18: { outfit_.AddEntriesFrom(input, _repeated_outfit_codec); break; } case 26: { effect_.AddEntriesFrom(input, _repeated_effect_codec); break; } case 34: { missile_.AddEntriesFrom(input, _repeated_missile_codec); break; } case 42: { if (specialMeaningAppearanceIds_ == null) { SpecialMeaningAppearanceIds = new global::OXGaming.TibiaAPI.Utilities.SpecialMeaningAppearanceIds(); } input.ReadMessage(SpecialMeaningAppearanceIds); 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: { 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::OXGaming.TibiaAPI.Utilities.SpecialMeaningAppearanceIds(); } 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 SpritePhase() { OnConstruction(); } partial void OnConstruction(); [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 Clone() { return new SpritePhase(this); } /// 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; } /// 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 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 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 (HasDurationMin) { output.WriteRawTag(8); output.WriteUInt32(DurationMin); } if (HasDurationMax) { output.WriteRawTag(16); output.WriteUInt32(DurationMax); } 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 (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 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 uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { DurationMin = input.ReadUInt32(); break; } case 16: { DurationMax = 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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 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; 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 "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; } /// 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_type" field. public const int LoopTypeFieldNumber = 4; private readonly static global::OXGaming.TibiaAPI.Utilities.ANIMATION_LOOP_TYPE LoopTypeDefaultValue = global::OXGaming.TibiaAPI.Utilities.ANIMATION_LOOP_TYPE.Pingpong; private global::OXGaming.TibiaAPI.Utilities.ANIMATION_LOOP_TYPE loopType_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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 "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::OXGaming.TibiaAPI.Utilities.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 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 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 (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(output, _repeated_spritePhase_codec); 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 [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(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: { DefaultStartPhase = input.ReadUInt32(); break; } case 16: { Synchronized = input.ReadBool(); break; } case 24: { RandomStartPhase = input.ReadBool(); break; } case 32: { LoopType = (global::OXGaming.TibiaAPI.Utilities.ANIMATION_LOOP_TYPE) input.ReadEnum(); break; } case 40: { LoopCount = input.ReadUInt32(); break; } case 50: { spritePhase_.AddEntriesFrom(input, _repeated_spritePhase_codec); 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: { DefaultStartPhase = input.ReadUInt32(); break; } case 16: { Synchronized = input.ReadBool(); break; } case 24: { RandomStartPhase = input.ReadBool(); break; } case 32: { LoopType = (global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 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); } /// 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 "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; } /// 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 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 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 (HasWidth) { output.WriteRawTag(24); output.WriteUInt32(Width); } if (HasHeight) { output.WriteRawTag(32); output.WriteUInt32(Height); } 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 (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(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: { Width = input.ReadUInt32(); break; } case 32: { Height = 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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 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; } /// 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 "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 "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; } /// 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 "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 "animation" field. public const int AnimationFieldNumber = 6; private global::OXGaming.TibiaAPI.Utilities.SpriteAnimation animation_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.SpriteAnimation Animation { get { return animation_; } set { animation_ = value; } } /// 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::OXGaming.TibiaAPI.Utilities.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 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 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 (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(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(output, _repeated_boundingBoxPerDirection_codec); 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 [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::OXGaming.TibiaAPI.Utilities.SpriteAnimation(); } 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 uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, 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(input, _repeated_spriteId_codec); break; } case 50: { if (animation_ == null) { Animation = new global::OXGaming.TibiaAPI.Utilities.SpriteAnimation(); } input.ReadMessage(Animation); break; } case 56: { BoundingSquare = input.ReadUInt32(); break; } case 64: { IsOpaque = input.ReadBool(); break; } case 74: { boundingBoxPerDirection_.AddEntriesFrom(input, _repeated_boundingBoxPerDirection_codec); 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: { 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::OXGaming.TibiaAPI.Utilities.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; } } } } #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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 FrameGroup() { OnConstruction(); } 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public FrameGroup Clone() { return new FrameGroup(this); } /// Field number for the "fixed_frame_group" field. public const int FixedFrameGroupFieldNumber = 1; private readonly static global::OXGaming.TibiaAPI.Utilities.FIXED_FRAME_GROUP FixedFrameGroupDefaultValue = global::OXGaming.TibiaAPI.Utilities.FIXED_FRAME_GROUP.OutfitIdle; private global::OXGaming.TibiaAPI.Utilities.FIXED_FRAME_GROUP fixedFrameGroup_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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; } /// 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::OXGaming.TibiaAPI.Utilities.SpriteInfo spriteInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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 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 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 (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(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 [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::OXGaming.TibiaAPI.Utilities.SpriteInfo(); } 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 uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { FixedFrameGroup = (global::OXGaming.TibiaAPI.Utilities.FIXED_FRAME_GROUP) input.ReadEnum(); break; } case 16: { Id = input.ReadUInt32(); break; } case 26: { if (spriteInfo_ == null) { SpriteInfo = new global::OXGaming.TibiaAPI.Utilities.SpriteInfo(); } input.ReadMessage(SpriteInfo); 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: { FixedFrameGroup = (global::OXGaming.TibiaAPI.Utilities.FIXED_FRAME_GROUP) input.ReadEnum(); break; } case 16: { Id = input.ReadUInt32(); break; } case 26: { if (spriteInfo_ == null) { SpriteInfo = new global::OXGaming.TibiaAPI.Utilities.SpriteInfo(); } 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[7]; } } [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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public Appearance Clone() { return new Appearance(this); } /// 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 "frame_group" field. public const int FrameGroupFieldNumber = 2; private static readonly pb::FieldCodec _repeated_frameGroup_codec = pb::FieldCodec.ForMessage(18, global::OXGaming.TibiaAPI.Utilities.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_; } } /// Field number for the "flags" field. public const int FlagsFieldNumber = 3; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlags flags_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlags Flags { get { return flags_; } set { flags_ = value; } } /// 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; } /// 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 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 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 (HasId) { output.WriteRawTag(8); output.WriteUInt32(Id); } frameGroup_.WriteTo(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(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.WriteBytes(Name); } if (HasDescription) { output.WriteRawTag(42); output.WriteBytes(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.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::OXGaming.TibiaAPI.Utilities.AppearanceFlags(); } 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::OXGaming.TibiaAPI.Utilities.AppearanceFlags(); } input.ReadMessage(Flags); break; } case 34: { Name = input.ReadBytes(); break; } case 42: { Description = 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 8: { Id = input.ReadUInt32(); break; } case 18: { frameGroup_.AddEntriesFrom(ref input, _repeated_frameGroup_codec); break; } case 26: { if (flags_ == null) { Flags = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[8]; } } [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 AppearanceFlags() { OnConstruction(); } 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_; decoKit_ = other.decoKit_; skillwheelGem_ = other.skillwheelGem_ != null ? other.skillwheelGem_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlags Clone() { return new AppearanceFlags(this); } /// Field number for the "bank" field. public const int BankFieldNumber = 1; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlagBank bank_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlagBank Bank { get { return bank_; } set { bank_ = value; } } /// 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; 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 "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; } /// 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 "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; } /// 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 "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; } /// Field number for the "write" field. public const int WriteFieldNumber = 10; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlagWrite write_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlagWrite Write { get { return write_; } set { write_ = value; } } /// Field number for the "write_once" field. public const int WriteOnceFieldNumber = 11; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlagWriteOnce writeOnce_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlagWriteOnce WriteOnce { get { return writeOnce_; } set { writeOnce_ = value; } } /// 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 "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; } /// 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 "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; } /// 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 "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 "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 "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; } /// 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 "hook" field. public const int HookFieldNumber = 21; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlagHook hook_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlagHook Hook { get { return hook_; } set { hook_ = value; } } /// 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::OXGaming.TibiaAPI.Utilities.AppearanceFlagLight light_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagShift shift_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlagShift Shift { get { return shift_; } set { shift_ = value; } } /// Field number for the "height" field. public const int HeightFieldNumber = 27; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlagHeight height_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagAutomap automap_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlagAutomap Automap { get { return automap_; } set { automap_ = value; } } /// Field number for the "lenshelp" field. public const int LenshelpFieldNumber = 31; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlagLenshelp lenshelp_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagClothes clothes_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlagClothes Clothes { get { return clothes_; } set { clothes_ = value; } } /// Field number for the "default_action" field. public const int DefaultActionFieldNumber = 35; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlagDefaultAction defaultAction_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlagDefaultAction DefaultAction { get { return defaultAction_; } set { defaultAction_ = value; } } /// Field number for the "market" field. public const int MarketFieldNumber = 36; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlagMarket market_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagChangedToExpire changedtoexpire_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagCyclopedia cyclopediaitem_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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 "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 "upgradeclassification" field. public const int UpgradeclassificationFieldNumber = 48; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlagUpgradeClassification upgradeclassification_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlagUpgradeClassification Upgradeclassification { get { return upgradeclassification_; } set { upgradeclassification_ = value; } } /// 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 "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; } /// 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 "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; } /// 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 "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; } /// 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; 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 "deco_kit" field. public const int DecoKitFieldNumber = 57; private readonly static bool DecoKitDefaultValue = false; private bool decoKit_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool DecoKit { get { if ((_hasBits1 & 256) != 0) { return decoKit_; } else { return DecoKitDefaultValue; } } set { _hasBits1 |= 256; decoKit_ = value; } } /// Gets whether the "deco_kit" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasDecoKit { get { return (_hasBits1 & 256) != 0; } } /// Clears the value of the "deco_kit" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearDecoKit() { _hasBits1 &= ~256; } /// Field number for the "skillwheel_gem" field. public const int SkillwheelGemFieldNumber = 58; private global::OXGaming.TibiaAPI.Utilities.AppearanceFlagSkillWheelGem skillwheelGem_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.AppearanceFlagSkillWheelGem SkillwheelGem { get { return skillwheelGem_; } set { skillwheelGem_ = value; } } [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; if (DecoKit != other.DecoKit) return false; if (!object.Equals(SkillwheelGem, other.SkillwheelGem)) 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 (HasDecoKit) hash ^= DecoKit.GetHashCode(); if (skillwheelGem_ != null) hash ^= SkillwheelGem.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 (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(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 (HasDecoKit) { output.WriteRawTag(200, 3); output.WriteBool(DecoKit); } if (skillwheelGem_ != null) { output.WriteRawTag(210, 3); output.WriteMessage(SkillwheelGem); } 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 (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 (HasDecoKit) { output.WriteRawTag(200, 3); output.WriteBool(DecoKit); } if (skillwheelGem_ != null) { output.WriteRawTag(210, 3); output.WriteMessage(SkillwheelGem); } 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 (HasDecoKit) { size += 2 + 1; } if (skillwheelGem_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(SkillwheelGem); } 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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagWrite(); } Write.MergeFrom(other.Write); } if (other.writeOnce_ != null) { if (writeOnce_ == null) { WriteOnce = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagHook(); } Hook.MergeFrom(other.Hook); } if (other.HasRotate) { Rotate = other.Rotate; } if (other.light_ != null) { if (light_ == null) { Light = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagShift(); } Shift.MergeFrom(other.Shift); } if (other.height_ != null) { if (height_ == null) { Height = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagAutomap(); } Automap.MergeFrom(other.Automap); } if (other.lenshelp_ != null) { if (lenshelp_ == null) { Lenshelp = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagClothes(); } Clothes.MergeFrom(other.Clothes); } if (other.defaultAction_ != null) { if (defaultAction_ == null) { DefaultAction = new global::OXGaming.TibiaAPI.Utilities.AppearanceFlagDefaultAction(); } DefaultAction.MergeFrom(other.DefaultAction); } if (other.market_ != null) { if (market_ == null) { Market = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagCyclopedia(); } 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::OXGaming.TibiaAPI.Utilities.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.HasDecoKit) { DecoKit = other.DecoKit; } if (other.skillwheelGem_ != null) { if (skillwheelGem_ == null) { SkillwheelGem = new global::OXGaming.TibiaAPI.Utilities.AppearanceFlagSkillWheelGem(); } SkillwheelGem.MergeFrom(other.SkillwheelGem); } _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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagWrite(); } input.ReadMessage(Write); break; } case 90: { if (writeOnce_ == null) { WriteOnce = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagHook(); } input.ReadMessage(Hook); break; } case 176: { Rotate = input.ReadBool(); break; } case 186: { if (light_ == null) { Light = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagShift(); } input.ReadMessage(Shift); break; } case 218: { if (height_ == null) { Height = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagAutomap(); } input.ReadMessage(Automap); break; } case 250: { if (lenshelp_ == null) { Lenshelp = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagClothes(); } input.ReadMessage(Clothes); break; } case 282: { if (defaultAction_ == null) { DefaultAction = new global::OXGaming.TibiaAPI.Utilities.AppearanceFlagDefaultAction(); } input.ReadMessage(DefaultAction); break; } case 290: { if (market_ == null) { Market = new global::OXGaming.TibiaAPI.Utilities.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(input, _repeated_npcsaledata_codec); break; } case 330: { if (changedtoexpire_ == null) { Changedtoexpire = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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: { DecoKit = input.ReadBool(); break; } case 466: { if (skillwheelGem_ == null) { SkillwheelGem = new global::OXGaming.TibiaAPI.Utilities.AppearanceFlagSkillWheelGem(); } input.ReadMessage(SkillwheelGem); 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: { if (bank_ == null) { Bank = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagWrite(); } input.ReadMessage(Write); break; } case 90: { if (writeOnce_ == null) { WriteOnce = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagHook(); } input.ReadMessage(Hook); break; } case 176: { Rotate = input.ReadBool(); break; } case 186: { if (light_ == null) { Light = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagShift(); } input.ReadMessage(Shift); break; } case 218: { if (height_ == null) { Height = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagAutomap(); } input.ReadMessage(Automap); break; } case 250: { if (lenshelp_ == null) { Lenshelp = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.AppearanceFlagClothes(); } input.ReadMessage(Clothes); break; } case 282: { if (defaultAction_ == null) { DefaultAction = new global::OXGaming.TibiaAPI.Utilities.AppearanceFlagDefaultAction(); } input.ReadMessage(DefaultAction); break; } case 290: { if (market_ == null) { Market = new global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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: { DecoKit = input.ReadBool(); break; } case 466: { if (skillwheelGem_ == null) { SkillwheelGem = new global::OXGaming.TibiaAPI.Utilities.AppearanceFlagSkillWheelGem(); } input.ReadMessage(SkillwheelGem); 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 AppearanceFlagUpgradeClassification() { OnConstruction(); } partial void 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagUpgradeClassification Clone() { return new AppearanceFlagUpgradeClassification(this); } /// 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 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 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 (HasUpgradeClassification) { output.WriteRawTag(8); output.WriteUInt32(UpgradeClassification); } 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 [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(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: { UpgradeClassification = 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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[10]; } } [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(); [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 AppearanceFlagBank Clone() { return new AppearanceFlagBank(this); } /// 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 bool Equals(object other) { return Equals(other as AppearanceFlagBank); } [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 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); } [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 } #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(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: { Waypoints = 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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[11]; } } [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 AppearanceFlagWrite() { OnConstruction(); } partial void 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagWrite Clone() { return new AppearanceFlagWrite(this); } /// 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 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 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 (HasMaxTextLength) { output.WriteRawTag(8); output.WriteUInt32(MaxTextLength); } 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 [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(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: { MaxTextLength = 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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 AppearanceFlagWriteOnce() { OnConstruction(); } partial void 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagWriteOnce Clone() { return new AppearanceFlagWriteOnce(this); } /// 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 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 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 (HasMaxTextLengthOnce) { output.WriteRawTag(8); output.WriteUInt32(MaxTextLengthOnce); } 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 [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(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: { MaxTextLengthOnce = 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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[13]; } } [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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagLight Clone() { return new AppearanceFlagLight(this); } /// 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; } /// 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 bool Equals(object other) { return Equals(other as AppearanceFlagLight); } [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 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 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 (HasBrightness) { output.WriteRawTag(8); output.WriteUInt32(Brightness); } if (HasColor) { output.WriteRawTag(16); output.WriteUInt32(Color); } 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 (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(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); } [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; } } } #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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 AppearanceFlagHeight() { OnConstruction(); } partial void 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagHeight Clone() { return new AppearanceFlagHeight(this); } /// 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 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 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 (HasElevation) { output.WriteRawTag(8); output.WriteUInt32(Elevation); } 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 [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(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: { Elevation = 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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 AppearanceFlagShift() { OnConstruction(); } partial void OnConstruction(); [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 Clone() { return new AppearanceFlagShift(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; } [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 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 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 (_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 [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(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; } } } #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 } 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[16]; } } [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(); [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 AppearanceFlagClothes Clone() { return new AppearanceFlagClothes(this); } /// 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 bool Equals(object other) { return Equals(other as AppearanceFlagClothes); } [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 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); } [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 } #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(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: { Slot = 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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 AppearanceFlagDefaultAction() { OnConstruction(); } partial void 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagDefaultAction Clone() { return new AppearanceFlagDefaultAction(this); } /// Field number for the "action" field. public const int ActionFieldNumber = 1; private readonly static global::OXGaming.TibiaAPI.Utilities.PLAYER_ACTION ActionDefaultValue = global::OXGaming.TibiaAPI.Utilities.PLAYER_ACTION.None; private global::OXGaming.TibiaAPI.Utilities.PLAYER_ACTION action_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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 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 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 (HasAction) { output.WriteRawTag(8); output.WriteEnum((int) Action); } 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 [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(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: { Action = (global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 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); } /// Field number for the "category" field. public const int CategoryFieldNumber = 1; private readonly static global::OXGaming.TibiaAPI.Utilities.ITEM_CATEGORY CategoryDefaultValue = global::OXGaming.TibiaAPI.Utilities.ITEM_CATEGORY.Armors; private global::OXGaming.TibiaAPI.Utilities.ITEM_CATEGORY category_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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; } /// 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 "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 "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::OXGaming.TibiaAPI.Utilities.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 "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 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 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 (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(output, _repeated_restrictToProfession_codec); if (HasMinimumLevel) { output.WriteRawTag(48); output.WriteUInt32(MinimumLevel); } 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; } [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); } [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::OXGaming.TibiaAPI.Utilities.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; } } } #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: { Category = (global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[19]; } } [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 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; } /// 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 "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; } /// 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_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; } /// 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 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 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 (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(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.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(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: { 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 } #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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[20]; } } [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 AppearanceFlagAutomap() { OnConstruction(); } partial void 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagAutomap Clone() { return new AppearanceFlagAutomap(this); } /// 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 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 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 (HasColor) { output.WriteRawTag(8); output.WriteUInt32(Color); } 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); } [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; } } } #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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[21]; } } [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 AppearanceFlagHook() { OnConstruction(); } partial void 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagHook Clone() { return new AppearanceFlagHook(this); } /// Field number for the "direction" field. public const int DirectionFieldNumber = 1; private readonly static global::OXGaming.TibiaAPI.Utilities.HOOK_TYPE DirectionDefaultValue = global::OXGaming.TibiaAPI.Utilities.HOOK_TYPE.South; private global::OXGaming.TibiaAPI.Utilities.HOOK_TYPE direction_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::OXGaming.TibiaAPI.Utilities.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 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 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 (HasDirection) { output.WriteRawTag(8); output.WriteEnum((int) Direction); } 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 [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(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: { Direction = (global::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[22]; } } [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 AppearanceFlagLenshelp() { OnConstruction(); } partial void 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagLenshelp Clone() { return new AppearanceFlagLenshelp(this); } /// 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 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 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 (HasId) { output.WriteRawTag(8); output.WriteUInt32(Id); } 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 [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(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; } } } #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 } 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[23]; } } [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 AppearanceFlagChangedToExpire() { OnConstruction(); } partial void 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagChangedToExpire Clone() { return new AppearanceFlagChangedToExpire(this); } /// 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 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 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 (HasFormerObjectTypeid) { output.WriteRawTag(8); output.WriteUInt32(FormerObjectTypeid); } 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 [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(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: { FormerObjectTypeid = 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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.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 AppearanceFlagCyclopedia() { OnConstruction(); } partial void 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); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagCyclopedia Clone() { return new AppearanceFlagCyclopedia(this); } /// 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 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 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 (HasCyclopediaType) { output.WriteRawTag(8); output.WriteUInt32(CyclopediaType); } 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 [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(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: { CyclopediaType = 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: { 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[25]; } } [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; 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 "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; } /// 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 "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; } /// 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; 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; } [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 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 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 (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 (_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 (_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 (_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(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: { 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; } } } #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; } } } } #endif } public sealed partial class AppearanceFlagSkillWheelGem : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AppearanceFlagSkillWheelGem()); 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::OXGaming.TibiaAPI.Utilities.DatReaderReflection.Descriptor.MessageTypes[26]; } } [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 AppearanceFlagSkillWheelGem() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagSkillWheelGem(AppearanceFlagSkillWheelGem other) : this() { _hasBits0 = other._hasBits0; gemQualityId_ = other.gemQualityId_; vocationId_ = other.vocationId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public AppearanceFlagSkillWheelGem Clone() { return new AppearanceFlagSkillWheelGem(this); } /// Field number for the "gem_quality_id" field. public const int GemQualityIdFieldNumber = 1; private readonly static uint GemQualityIdDefaultValue = 0; private uint gemQualityId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint GemQualityId { get { if ((_hasBits0 & 1) != 0) { return gemQualityId_; } else { return GemQualityIdDefaultValue; } } set { _hasBits0 |= 1; gemQualityId_ = value; } } /// Gets whether the "gem_quality_id" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasGemQualityId { get { return (_hasBits0 & 1) != 0; } } /// Clears the value of the "gem_quality_id" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearGemQualityId() { _hasBits0 &= ~1; } /// Field number for the "vocation_id" field. public const int VocationIdFieldNumber = 2; private readonly static uint VocationIdDefaultValue = 0; private uint vocationId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public uint VocationId { get { if ((_hasBits0 & 2) != 0) { return vocationId_; } else { return VocationIdDefaultValue; } } set { _hasBits0 |= 2; vocationId_ = value; } } /// Gets whether the "vocation_id" field is set [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool HasVocationId { get { return (_hasBits0 & 2) != 0; } } /// Clears the value of the "vocation_id" field [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void ClearVocationId() { _hasBits0 &= ~2; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as AppearanceFlagSkillWheelGem); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(AppearanceFlagSkillWheelGem other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (GemQualityId != other.GemQualityId) return false; if (VocationId != other.VocationId) 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 (HasGemQualityId) hash ^= GemQualityId.GetHashCode(); if (HasVocationId) hash ^= VocationId.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 (HasGemQualityId) { output.WriteRawTag(8); output.WriteUInt32(GemQualityId); } if (HasVocationId) { output.WriteRawTag(16); output.WriteUInt32(VocationId); } 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 (HasGemQualityId) { output.WriteRawTag(8); output.WriteUInt32(GemQualityId); } if (HasVocationId) { output.WriteRawTag(16); output.WriteUInt32(VocationId); } 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 (HasGemQualityId) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(GemQualityId); } if (HasVocationId) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(VocationId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(AppearanceFlagSkillWheelGem other) { if (other == null) { return; } if (other.HasGemQualityId) { GemQualityId = other.GemQualityId; } if (other.HasVocationId) { VocationId = other.VocationId; } _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: { GemQualityId = input.ReadUInt32(); break; } case 16: { VocationId = 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: { GemQualityId = input.ReadUInt32(); break; } case 16: { VocationId = input.ReadUInt32(); break; } } } } #endif } #endregion } #endregion Designer generated code