From 838e078e0f9e16ce849216d85a91cf50dc87f9ac Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 5 Jan 2023 16:09:48 +0800 Subject: [PATCH] 1 --- server/gameserver/constant.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/server/gameserver/constant.h b/server/gameserver/constant.h index cce4fbbf..9d7fd3a4 100644 --- a/server/gameserver/constant.h +++ b/server/gameserver/constant.h @@ -440,6 +440,16 @@ enum BulletConsumeType_e kBulletConsumeMulti = 1, }; +enum SamplePolyFlags +{ + SAMPLE_POLYFLAGS_WALK = 0x01, // Ability to walk (ground, grass, road) + SAMPLE_POLYFLAGS_SWIM = 0x02, // Ability to swim (water). + SAMPLE_POLYFLAGS_DOOR = 0x04, // Ability to move through doors. + SAMPLE_POLYFLAGS_JUMP = 0x08, // Ability to jump. + SAMPLE_POLYFLAGS_DISABLED = 0x10, // Disabled polygon + SAMPLE_POLYFLAGS_ALL = 0xffff // All abilities. +}; + enum MagicType_e { MAGIC_NONE = 0,