summaryrefslogtreecommitdiffstats
path: root/src/Registries/CustomStatistics.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-05-04 17:11:56 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-05-04 17:11:56 +0200
commit34bf5c0d9db195edf8b576d1273876966cf650b2 (patch)
treeb9682f8226fef09d3625089ba06235f93ce5c976 /src/Registries/CustomStatistics.h
parentAdd player statistics to API (#5193) (diff)
downloadcuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar.gz
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar.bz2
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar.lz
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar.xz
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.tar.zst
cuberite-34bf5c0d9db195edf8b576d1273876966cf650b2.zip
Diffstat (limited to 'src/Registries/CustomStatistics.h')
-rw-r--r--src/Registries/CustomStatistics.h125
1 files changed, 125 insertions, 0 deletions
diff --git a/src/Registries/CustomStatistics.h b/src/Registries/CustomStatistics.h
new file mode 100644
index 000000000..c0edba191
--- /dev/null
+++ b/src/Registries/CustomStatistics.h
@@ -0,0 +1,125 @@
+#pragma once
+
+// tolua_begin
+enum class CustomStatistic
+{
+ // tolua_end
+
+ /* Achievements */
+ AchOpenInventory, /* Taking Inventory */
+ AchMineWood, /* Getting Wood */
+ AchBuildWorkBench, /* Benchmarking */
+ AchBuildPickaxe, /* Time to Mine! */
+ AchBuildFurnace, /* Hot Topic */
+ AchAcquireIron, /* Acquire Hardware */
+ AchBuildHoe, /* Time to Farm! */
+ AchMakeBread, /* Bake Bread */
+ AchBakeCake, /* The Lie */
+ AchBuildBetterPickaxe, /* Getting an Upgrade */
+ AchCookFish, /* Delicious Fish */
+ AchOnARail, /* On A Rail */
+ AchBuildSword, /* Time to Strike! */
+ AchKillEnemy, /* Monster Hunter */
+ AchKillCow, /* Cow Tipper */
+ AchFlyPig, /* When Pigs Fly */
+ AchSnipeSkeleton, /* Sniper Duel */
+ AchDiamonds, /* DIAMONDS! */
+ AchPortal, /* We Need to Go Deeper */
+ AchGhast, /* Return to Sender */
+ AchBlazeRod, /* Into Fire */
+ AchPotion, /* Local Brewery */
+ AchTheEnd, /* The End? */
+ AchTheEnd2, /* The End. */
+ AchEnchantments, /* Enchanter */
+ AchOverkill, /* Overkill */
+ AchBookcase, /* Librarian */
+ AchExploreAllBiomes, /* Adventuring Time */
+ AchSpawnWither, /* The Beginning? */
+ AchKillWither, /* The Beginning. */
+ AchFullBeacon, /* Beaconator */
+ AchBreedCow, /* Repopulation */
+ AchDiamondsToYou, /* Diamonds to you! */
+
+ // tolua_begin
+
+ /* Statistics */
+ AnimalsBred,
+ AviateOneCm,
+ BellRing,
+ BoatOneCm,
+ CleanArmor,
+ CleanBanner,
+ CleanShulkerBox,
+ ClimbOneCm,
+ CrouchOneCm,
+ DamageAbsorbed,
+ DamageBlockedByShield,
+ DamageDealt,
+ DamageDealtAbsorbed,
+ DamageDealtResisted,
+ DamageResisted,
+ DamageTaken,
+ Deaths,
+ Drop,
+ EatCakeSlice,
+ EnchantItem,
+ FallOneCm,
+ FillCauldron,
+ FishCaught,
+ FlyOneCm,
+ HorseOneCm,
+ InspectDispenser,
+ InspectDropper,
+ InspectHopper,
+ InteractWithAnvil,
+ InteractWithBeacon,
+ InteractWithBlastFurnace,
+ InteractWithBrewingstand,
+ InteractWithCampfire,
+ InteractWithCartographyTable,
+ InteractWithCraftingTable,
+ InteractWithFurnace,
+ InteractWithGrindstone,
+ InteractWithLectern,
+ InteractWithLoom,
+ InteractWithSmithingTable,
+ InteractWithSmoker,
+ InteractWithStonecutter,
+ Jump,
+ LeaveGame,
+ MinecartOneCm,
+ MobKills,
+ OpenBarrel,
+ OpenChest,
+ OpenEnderchest,
+ OpenShulkerBox,
+ PigOneCm,
+ PlayNoteblock,
+ PlayOneMinute,
+ PlayRecord,
+ PlayerKills,
+ PotFlower,
+ RaidTrigger,
+ RaidWin,
+ SleepInBed,
+ SneakTime,
+ SprintOneCm,
+ StriderOneCm,
+ SwimOneCm,
+ TalkedToVillager,
+ TargetHit,
+ TimeSinceDeath,
+ TimeSinceRest,
+ TradedWithVillager,
+ TriggerTrappedChest,
+ TuneNoteblock,
+ UseCauldron,
+ WalkOnWaterOneCm,
+ WalkOneCm,
+ WalkUnderWaterOneCm,
+
+ // Old ones just for compatibility
+ JunkFished,
+ TreasureFished,
+};
+// tolua_end