// Generated by the protocol buffer compiler. DO NOT EDIT! // source: MessageType.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_MessageType_2eproto #define GOOGLE_PROTOBUF_INCLUDED_MessageType_2eproto #include #include #include #if PROTOBUF_VERSION < 3021000 #error This file was generated by a newer version of protoc which is #error incompatible with your Protocol Buffer headers. Please update #error your headers. #endif #if 3021009 < PROTOBUF_MIN_PROTOC_VERSION #error This file was generated by an older version of protoc which is #error incompatible with your Protocol Buffer headers. Please #error regenerate this file with a newer version of protoc. #endif #include #include #include #include #include #include #include #include // IWYU pragma: export #include // IWYU pragma: export #include // @@protoc_insertion_point(includes) #include #define PROTOBUF_INTERNAL_EXPORT_MessageType_2eproto PROTOBUF_NAMESPACE_OPEN namespace internal { class AnyMetadata; } // namespace internal PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not use these members. struct TableStruct_MessageType_2eproto { static const uint32_t offsets[]; }; extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_MessageType_2eproto; PROTOBUF_NAMESPACE_OPEN PROTOBUF_NAMESPACE_CLOSE namespace protobuf { enum BulletType : int { NULL_BULLET_TYPE = 0, LINE_BULLET = 1, COMMON_BULLET = 2, FAST_BULLET = 3, ORDINARY_BULLET = 4, ATOM_BOMB = 5, BulletType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), BulletType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool BulletType_IsValid(int value); constexpr BulletType BulletType_MIN = NULL_BULLET_TYPE; constexpr BulletType BulletType_MAX = ATOM_BOMB; constexpr int BulletType_ARRAYSIZE = BulletType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* BulletType_descriptor(); template inline const std::string& BulletType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function BulletType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( BulletType_descriptor(), enum_t_value ); } inline bool BulletType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BulletType* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( BulletType_descriptor(), name, value ); } enum PlaceType : int { NULL_PLACE_TYPE = 0, LAND = 1, WALL = 2, GRASS = 3, CLASSROOM = 4, GATE = 5, HIDDEN_GATE = 6, PlaceType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), PlaceType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool PlaceType_IsValid(int value); constexpr PlaceType PlaceType_MIN = NULL_PLACE_TYPE; constexpr PlaceType PlaceType_MAX = HIDDEN_GATE; constexpr int PlaceType_ARRAYSIZE = PlaceType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlaceType_descriptor(); template inline const std::string& PlaceType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function PlaceType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( PlaceType_descriptor(), enum_t_value ); } inline bool PlaceType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlaceType* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( PlaceType_descriptor(), name, value ); } enum ShapeType : int { NULL_SHAPE_TYPE = 0, CIRCLE = 1, SQUARE = 2, ShapeType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), ShapeType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool ShapeType_IsValid(int value); constexpr ShapeType ShapeType_MIN = NULL_SHAPE_TYPE; constexpr ShapeType ShapeType_MAX = SQUARE; constexpr int ShapeType_ARRAYSIZE = ShapeType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ShapeType_descriptor(); template inline const std::string& ShapeType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function ShapeType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( ShapeType_descriptor(), enum_t_value ); } inline bool ShapeType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ShapeType* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( ShapeType_descriptor(), name, value ); } enum PropType : int { NULL_PROP_TYPE = 0, PTYPE1 = 1, PTYPE2 = 2, PTYPE3 = 3, PTYPE4 = 4, PropType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), PropType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool PropType_IsValid(int value); constexpr PropType PropType_MIN = NULL_PROP_TYPE; constexpr PropType PropType_MAX = PTYPE4; constexpr int PropType_ARRAYSIZE = PropType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PropType_descriptor(); template inline const std::string& PropType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function PropType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( PropType_descriptor(), enum_t_value ); } inline bool PropType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PropType* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( PropType_descriptor(), name, value ); } enum StudentBuffType : int { NULL_SBUFF_TYPE = 0, SBUFFTYPE1 = 1, SBUFFTYPE2 = 2, SBUFFTYPE3 = 3, SBUFFTYPE4 = 4, StudentBuffType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), StudentBuffType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool StudentBuffType_IsValid(int value); constexpr StudentBuffType StudentBuffType_MIN = NULL_SBUFF_TYPE; constexpr StudentBuffType StudentBuffType_MAX = SBUFFTYPE4; constexpr int StudentBuffType_ARRAYSIZE = StudentBuffType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StudentBuffType_descriptor(); template inline const std::string& StudentBuffType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function StudentBuffType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( StudentBuffType_descriptor(), enum_t_value ); } inline bool StudentBuffType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StudentBuffType* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( StudentBuffType_descriptor(), name, value ); } enum StudentState : int { NULL_STATUS = 0, IDLE = 1, LEARNING = 2, ADDICTED = 3, QUIT = 4, GRADUATED = 5, TREATED = 6, RESCUED = 7, STUNNED = 8, StudentState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), StudentState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool StudentState_IsValid(int value); constexpr StudentState StudentState_MIN = NULL_STATUS; constexpr StudentState StudentState_MAX = STUNNED; constexpr int StudentState_ARRAYSIZE = StudentState_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StudentState_descriptor(); template inline const std::string& StudentState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function StudentState_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( StudentState_descriptor(), enum_t_value ); } inline bool StudentState_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StudentState* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( StudentState_descriptor(), name, value ); } enum TrickerBuffType : int { NULL_TBUFF_TYPE = 0, TBUFFTYPE1 = 1, TBUFFTYPE2 = 2, TBUFFTYPE3 = 3, TBUFFTYPE4 = 4, TrickerBuffType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), TrickerBuffType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool TrickerBuffType_IsValid(int value); constexpr TrickerBuffType TrickerBuffType_MIN = NULL_TBUFF_TYPE; constexpr TrickerBuffType TrickerBuffType_MAX = TBUFFTYPE4; constexpr int TrickerBuffType_ARRAYSIZE = TrickerBuffType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TrickerBuffType_descriptor(); template inline const std::string& TrickerBuffType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function TrickerBuffType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( TrickerBuffType_descriptor(), enum_t_value ); } inline bool TrickerBuffType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TrickerBuffType* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( TrickerBuffType_descriptor(), name, value ); } enum PlayerType : int { NULL_PLAYER_TYPE = 0, STUDENT_PLAYER = 1, TRICKER_PLAYER = 2, PlayerType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), PlayerType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool PlayerType_IsValid(int value); constexpr PlayerType PlayerType_MIN = NULL_PLAYER_TYPE; constexpr PlayerType PlayerType_MAX = TRICKER_PLAYER; constexpr int PlayerType_ARRAYSIZE = PlayerType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PlayerType_descriptor(); template inline const std::string& PlayerType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function PlayerType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( PlayerType_descriptor(), enum_t_value ); } inline bool PlayerType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PlayerType* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( PlayerType_descriptor(), name, value ); } enum StudentType : int { NULL_STUDENT_TYPE = 0, STUDENTTYPE1 = 1, STUDENTTYPE2 = 2, STUDENTTYPE3 = 3, STUDENTTYPE4 = 4, StudentType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), StudentType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool StudentType_IsValid(int value); constexpr StudentType StudentType_MIN = NULL_STUDENT_TYPE; constexpr StudentType StudentType_MAX = STUDENTTYPE4; constexpr int StudentType_ARRAYSIZE = StudentType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StudentType_descriptor(); template inline const std::string& StudentType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function StudentType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( StudentType_descriptor(), enum_t_value ); } inline bool StudentType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StudentType* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( StudentType_descriptor(), name, value ); } enum TrickerType : int { NULL_TRICKER_TYPE = 0, TRICKERTYPE1 = 1, TRICKERTYPE2 = 2, TRICKERTYPE3 = 3, TRICKERTYPE4 = 4, TrickerType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), TrickerType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool TrickerType_IsValid(int value); constexpr TrickerType TrickerType_MIN = NULL_TRICKER_TYPE; constexpr TrickerType TrickerType_MAX = TRICKERTYPE4; constexpr int TrickerType_ARRAYSIZE = TrickerType_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TrickerType_descriptor(); template inline const std::string& TrickerType_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function TrickerType_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( TrickerType_descriptor(), enum_t_value ); } inline bool TrickerType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TrickerType* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( TrickerType_descriptor(), name, value ); } enum GameState : int { NULL_GAME_STATE = 0, GAME_START = 1, GAME_RUNNING = 2, GAME_END = 3, GameState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits::min(), GameState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits::max() }; bool GameState_IsValid(int value); constexpr GameState GameState_MIN = NULL_GAME_STATE; constexpr GameState GameState_MAX = GAME_END; constexpr int GameState_ARRAYSIZE = GameState_MAX + 1; const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GameState_descriptor(); template inline const std::string& GameState_Name(T enum_t_value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to function GameState_Name."); return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( GameState_descriptor(), enum_t_value ); } inline bool GameState_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GameState* value ) { return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( GameState_descriptor(), name, value ); } // =================================================================== // =================================================================== // =================================================================== #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif // __GNUC__ #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ // @@protoc_insertion_point(namespace_scope) } // namespace protobuf PROTOBUF_NAMESPACE_OPEN template<> struct is_proto_enum<::protobuf::BulletType> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::BulletType>() { return ::protobuf::BulletType_descriptor(); } template<> struct is_proto_enum<::protobuf::PlaceType> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::PlaceType>() { return ::protobuf::PlaceType_descriptor(); } template<> struct is_proto_enum<::protobuf::ShapeType> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::ShapeType>() { return ::protobuf::ShapeType_descriptor(); } template<> struct is_proto_enum<::protobuf::PropType> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::PropType>() { return ::protobuf::PropType_descriptor(); } template<> struct is_proto_enum<::protobuf::StudentBuffType> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::StudentBuffType>() { return ::protobuf::StudentBuffType_descriptor(); } template<> struct is_proto_enum<::protobuf::StudentState> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::StudentState>() { return ::protobuf::StudentState_descriptor(); } template<> struct is_proto_enum<::protobuf::TrickerBuffType> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::TrickerBuffType>() { return ::protobuf::TrickerBuffType_descriptor(); } template<> struct is_proto_enum<::protobuf::PlayerType> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::PlayerType>() { return ::protobuf::PlayerType_descriptor(); } template<> struct is_proto_enum<::protobuf::StudentType> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::StudentType>() { return ::protobuf::StudentType_descriptor(); } template<> struct is_proto_enum<::protobuf::TrickerType> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::TrickerType>() { return ::protobuf::TrickerType_descriptor(); } template<> struct is_proto_enum<::protobuf::GameState> : ::std::true_type { }; template<> inline const EnumDescriptor* GetEnumDescriptor<::protobuf::GameState>() { return ::protobuf::GameState_descriptor(); } PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) #include #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_MessageType_2eproto