WowPacketParser.Misc.WowGuid.HasEntry C# (CSharp) Method

HasEntry() public method

public HasEntry ( ) : bool
return bool
        public bool HasEntry()
        {
            switch (GetHighType())
            {
                case HighGuidType.Creature:
                case HighGuidType.GameObject:
                case HighGuidType.Vehicle:
                    return true;
                default:
                    return false;
            }
        }

Usage Example

Example #1
0
        public static bool CheckFilter(WowGuid guid)
        {
            var result = true;

            if (guid.HasEntry())
                result = CheckFilter(Utilities.ObjectTypeToStore(guid.GetObjectType()), (int)guid.GetEntry());

            return result;
        }
All Usage Examples Of WowPacketParser.Misc.WowGuid::HasEntry