|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532 |
- // 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 <limits>
- #include <string>
-
- #include <google/protobuf/port_def.inc>
- #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 <google/protobuf/port_undef.inc>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata_lite.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/generated_enum_reflection.h>
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #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<int32_t>::min(),
- BulletType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& BulletType_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, BulletType>::value || ::std::is_integral<T>::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>(
- 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<int32_t>::min(),
- PlaceType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& PlaceType_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, PlaceType>::value || ::std::is_integral<T>::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>(
- 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<int32_t>::min(),
- ShapeType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& ShapeType_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, ShapeType>::value || ::std::is_integral<T>::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>(
- 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<int32_t>::min(),
- PropType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& PropType_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, PropType>::value || ::std::is_integral<T>::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>(
- 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<int32_t>::min(),
- StudentBuffType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& StudentBuffType_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, StudentBuffType>::value || ::std::is_integral<T>::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>(
- 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<int32_t>::min(),
- StudentState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& StudentState_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, StudentState>::value || ::std::is_integral<T>::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>(
- 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<int32_t>::min(),
- TrickerBuffType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& TrickerBuffType_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, TrickerBuffType>::value || ::std::is_integral<T>::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>(
- 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<int32_t>::min(),
- PlayerType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& PlayerType_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, PlayerType>::value || ::std::is_integral<T>::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>(
- 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<int32_t>::min(),
- StudentType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& StudentType_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, StudentType>::value || ::std::is_integral<T>::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>(
- 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<int32_t>::min(),
- TrickerType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& TrickerType_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, TrickerType>::value || ::std::is_integral<T>::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>(
- 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<int32_t>::min(),
- GameState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::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<typename T>
- inline const std::string& GameState_Name(T enum_t_value)
- {
- static_assert(::std::is_same<T, GameState>::value || ::std::is_integral<T>::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>(
- 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 <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_MessageType_2eproto
|