game_example_def.pb.cc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: game_example_def.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "game_example_def.pb.h"
  5. #include <algorithm>
  6. #include <google/protobuf/stubs/common.h>
  7. #include <google/protobuf/stubs/once.h>
  8. #include <google/protobuf/io/coded_stream.h>
  9. #include <google/protobuf/wire_format_lite_inl.h>
  10. #include <google/protobuf/descriptor.h>
  11. #include <google/protobuf/generated_message_reflection.h>
  12. #include <google/protobuf/reflection_ops.h>
  13. #include <google/protobuf/wire_format.h>
  14. // @@protoc_insertion_point(includes)
  15. namespace game_example_protocols {
  16. namespace {
  17. const ::google::protobuf::EnumDescriptor* e_server_msg_type_descriptor_ = NULL;
  18. } // namespace
  19. void protobuf_AssignDesc_game_5fexample_5fdef_2eproto() {
  20. protobuf_AddDesc_game_5fexample_5fdef_2eproto();
  21. const ::google::protobuf::FileDescriptor* file =
  22. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  23. "game_example_def.proto");
  24. GOOGLE_CHECK(file != NULL);
  25. e_server_msg_type_descriptor_ = file->enum_type(0);
  26. }
  27. namespace {
  28. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  29. inline void protobuf_AssignDescriptorsOnce() {
  30. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  31. &protobuf_AssignDesc_game_5fexample_5fdef_2eproto);
  32. }
  33. void protobuf_RegisterTypes(const ::std::string&) {
  34. protobuf_AssignDescriptorsOnce();
  35. }
  36. } // namespace
  37. void protobuf_ShutdownFile_game_5fexample_5fdef_2eproto() {
  38. }
  39. void protobuf_AddDesc_game_5fexample_5fdef_2eproto() {
  40. static bool already_here = false;
  41. if (already_here) return;
  42. already_here = true;
  43. GOOGLE_PROTOBUF_VERIFY_VERSION;
  44. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  45. "\n\026game_example_def.proto\022\026game_example_p"
  46. "rotocols*\223\001\n\021e_server_msg_type\022\024\n\017e_mst_"
  47. "start_c2l\020\220N\022\030\n\023e_mst_c2l_game_play\020\221N\022\024"
  48. "\n\017e_mst_start_l2c\020\230u\022\037\n\032e_mst_l2c_game_p"
  49. "lay_result\020\231u\022\027\n\021e_mst_clend_index\020\240\234\001", 198);
  50. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  51. "game_example_def.proto", &protobuf_RegisterTypes);
  52. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_game_5fexample_5fdef_2eproto);
  53. }
  54. // Force AddDescriptors() to be called at static initialization time.
  55. struct StaticDescriptorInitializer_game_5fexample_5fdef_2eproto {
  56. StaticDescriptorInitializer_game_5fexample_5fdef_2eproto() {
  57. protobuf_AddDesc_game_5fexample_5fdef_2eproto();
  58. }
  59. } static_descriptor_initializer_game_5fexample_5fdef_2eproto_;
  60. const ::google::protobuf::EnumDescriptor* e_server_msg_type_descriptor() {
  61. protobuf_AssignDescriptorsOnce();
  62. return e_server_msg_type_descriptor_;
  63. }
  64. bool e_server_msg_type_IsValid(int value) {
  65. switch(value) {
  66. case 10000:
  67. case 10001:
  68. case 15000:
  69. case 15001:
  70. case 20000:
  71. return true;
  72. default:
  73. return false;
  74. }
  75. }
  76. // @@protoc_insertion_point(namespace_scope)
  77. } // namespace game_example_protocols
  78. // @@protoc_insertion_point(global_scope)