From 25092ff98979f93387867db337850801cc9a7e71 Mon Sep 17 00:00:00 2001 From: HarrySilan Date: Wed, 6 Jul 2022 12:02:20 +0800 Subject: [PATCH] add more filters --- cheat-library/src/user/cheat/game/filters.cpp | 26 ++++++++++++++++++- cheat-library/src/user/cheat/game/filters.h | 24 +++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/cheat-library/src/user/cheat/game/filters.cpp b/cheat-library/src/user/cheat/game/filters.cpp index 70f87df..d3e54d0 100644 --- a/cheat-library/src/user/cheat/game/filters.cpp +++ b/cheat-library/src/user/cheat/game/filters.cpp @@ -29,6 +29,16 @@ namespace cheat::game::filters ChestFilter STrap = ChestFilter(game::Chest::ChestState::Trap); } + namespace equipment + { + SimpleFilter Artifacts = { app::EntityType__Enum_1::DropItem, "_Relic" }; + SimpleFilter Bow = { app::EntityType__Enum_1::DropItem, "_Bow" }; + SimpleFilter Claymore = { app::EntityType__Enum_1::DropItem, "_Claymore" }; + SimpleFilter Catalyst = { app::EntityType__Enum_1::DropItem, "_Catalyst" }; + SimpleFilter Pole = { app::EntityType__Enum_1::DropItem, "_Pole" }; + SimpleFilter Sword = { app::EntityType__Enum_1::DropItem, "_Sword" }; + } + namespace featured { SimpleFilter Anemoculus = { app::EntityType__Enum_1::GatherObject, "WindCrystalShell" }; @@ -93,12 +103,13 @@ namespace cheat::game::filters SimpleFilter WeaselThief = { app::EntityType__Enum_1::Monster, "Thoarder_Weasel" }; SimpleFilter Kitsune = { app::EntityType__Enum_1::EnvAnimal, "Vulpes" }; SimpleFilter BakeDanuki = { app::EntityType__Enum_1::Monster, "Inu_Tanuki" }; + SimpleFilter Meat = { app::EntityType__Enum_1::GatherObject , std::vector { "_Food_BirdMeat", "_Food_Meat", "_Fishmeat" }}; } namespace mineral { SimpleFilter AmethystLump = { app::EntityType__Enum_1::GatherObject, "_Thundercrystal" }; - SimpleFilter ArchaicStone = { app::EntityType__Enum_1::GatherObject, "AncientOre" }; + SimpleFilter ArchaicStone = { app::EntityType__Enum_1::GatherObject, "_AncientOre" }; SimpleFilter CorLapis = { app::EntityType__Enum_1::GatherObject, "_ElementRock" }; SimpleFilter CrystalChunk = { app::EntityType__Enum_1::GatherObject, std::vector { "_OreCrystal", "_ShiningCrystalOre" } }; @@ -112,6 +123,16 @@ namespace cheat::game::filters SimpleFilter Starsilver = { app::EntityType__Enum_1::GatherObject, "_OreMoonMeteor" }; SimpleFilter WhiteIronChunk = { app::EntityType__Enum_1::GatherObject, "_OreMetal" }; SimpleFilter DunlinsTooth = { app::EntityType__Enum_1::GatherObject, "_DunlinsTooth" }; + + SimpleFilter AmethystLumpDrop = { app::EntityType__Enum_1::GatherObject, "_Thundercrystaldrop" }; + SimpleFilter CrystalChunkDrop = { app::EntityType__Enum_1::GatherObject,"_Drop_Crystal"}; + SimpleFilter ElectroCrystalDrop = { app::EntityType__Enum_1::GatherObject, "_Drop_Ore_ElectricRock" }; + SimpleFilter IronChunkDrop = { app::EntityType__Enum_1::GatherObject, "_Drop_Stone" }; + SimpleFilter NoctilucousJadeDrop = { app::EntityType__Enum_1::GatherObject,"_NightBerth" }; + SimpleFilter MagicalCrystalChunkDrop = { app::EntityType__Enum_1::GatherObject, "_DropMagicCrystal" }; + SimpleFilter ScarletQuartzDrop = { app::EntityType__Enum_1::GatherObject, "_DropDulinsBlood" }; + SimpleFilter StarsilverDrop = { app::EntityType__Enum_1::GatherObject, "_DropMoonMeteor" }; + SimpleFilter WhiteIronChunkDrop = { app::EntityType__Enum_1::GatherObject, "_Drop_Metal" }; } namespace monster @@ -193,6 +214,7 @@ namespace cheat::game::filters SimpleFilter BambooShoot = { app::EntityType__Enum_1::GatherObject, "_Bambooshoot" }; SimpleFilter Berry = { app::EntityType__Enum_1::GatherObject, "_Raspberry" }; SimpleFilter CallaLily = { app::EntityType__Enum_1::GatherObject, "_Plant_Callas" }; + SimpleFilter Cabbage = { app::EntityType__Enum_1::GatherObject, "_Plant_Cabbage" }; SimpleFilter Carrot = { app::EntityType__Enum_1::GatherObject, "_Plant_Carrot" }; SimpleFilter Cecilia = { app::EntityType__Enum_1::GatherObject, "_Cecilia" }; SimpleFilter DandelionSeed = { app::EntityType__Enum_1::GatherObject, "_Plant_Dandelion" }; @@ -211,6 +233,7 @@ namespace cheat::game::filters SimpleFilter NakuWeed = { app::EntityType__Enum_1::GatherObject, "_Howlgrass" }; SimpleFilter PhilanemoMushroom = { app::EntityType__Enum_1::GatherObject, "_WindmilHunter" }; SimpleFilter Pinecone = { app::EntityType__Enum_1::GatherObject, "_Drop_Plant_Pine" }; + SimpleFilter Potato = { app::EntityType__Enum_1::GatherObject, "_Plant_Potato" }; SimpleFilter Qingxin = { app::EntityType__Enum_1::GatherObject, "_QingXin" }; SimpleFilter Radish = { app::EntityType__Enum_1::GatherObject, "_Plant_Radish" }; SimpleFilter SakuraBloom = { app::EntityType__Enum_1::GatherObject, "_Cherrypetals" }; @@ -224,6 +247,7 @@ namespace cheat::game::filters SimpleFilter SweetFlower = { app::EntityType__Enum_1::GatherObject, "_Plant_Whiteballet" }; SimpleFilter Valberry = { app::EntityType__Enum_1::GatherObject, "_DropingBerry_Gather" }; SimpleFilter Violetgrass = { app::EntityType__Enum_1::GatherObject, "_GlazedGrass" }; + SimpleFilter Wheat = { app::EntityType__Enum_1::GatherObject, "_Plant_Wheat" }; SimpleFilter WindwheelAster = { app::EntityType__Enum_1::GatherObject, "_WindmilDaisy" }; SimpleFilter Wolfhook = { app::EntityType__Enum_1::GatherObject, "_GogoFruit" }; } diff --git a/cheat-library/src/user/cheat/game/filters.h b/cheat-library/src/user/cheat/game/filters.h index aafe47e..20617bf 100644 --- a/cheat-library/src/user/cheat/game/filters.h +++ b/cheat-library/src/user/cheat/game/filters.h @@ -32,6 +32,16 @@ namespace cheat::game::filters extern ChestFilter STrap; } + namespace equipment + { + extern SimpleFilter Artifacts; + extern SimpleFilter Bow; + extern SimpleFilter Claymore; + extern SimpleFilter Catalyst; + extern SimpleFilter Pole; + extern SimpleFilter Sword; + } + namespace featured { extern SimpleFilter Anemoculus; @@ -94,6 +104,7 @@ namespace cheat::game::filters extern SimpleFilter Weasel; extern SimpleFilter Kitsune; extern SimpleFilter BakeDanuki; + extern SimpleFilter Meat; } namespace mineral @@ -111,6 +122,16 @@ namespace cheat::game::filters extern SimpleFilter Starsilver; extern SimpleFilter WhiteIronChunk; extern SimpleFilter DunlinsTooth; + + extern SimpleFilter AmethystLumpDrop; + extern SimpleFilter CrystalChunkDrop; + extern SimpleFilter ElectroCrystalDrop; + extern SimpleFilter IronChunkDrop; + extern SimpleFilter NoctilucousJadeDrop; + extern SimpleFilter MagicalCrystalChunkDrop; + extern SimpleFilter ScarletQuartzDrop; + extern SimpleFilter StarsilverDrop; + extern SimpleFilter WhiteIronChunkDrop; } namespace monster @@ -189,6 +210,7 @@ namespace cheat::game::filters extern SimpleFilter Apple; extern SimpleFilter BambooShoot; extern SimpleFilter Berry; + extern SimpleFilter Cabbage; extern SimpleFilter CallaLily; extern SimpleFilter Carrot; extern SimpleFilter Cecilia; @@ -208,6 +230,7 @@ namespace cheat::game::filters extern SimpleFilter NakuWeed; extern SimpleFilter PhilanemoMushroom; extern SimpleFilter Pinecone; + extern SimpleFilter Potato; extern SimpleFilter Qingxin; extern SimpleFilter Radish; extern SimpleFilter SakuraBloom; @@ -221,6 +244,7 @@ namespace cheat::game::filters extern SimpleFilter SweetFlower; extern SimpleFilter Valberry; extern SimpleFilter Violetgrass; + extern SimpleFilter Wheat; extern SimpleFilter WindwheelAster; extern SimpleFilter Wolfhook; }