client2center_msg_type.pb.cc 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: client2center_msg_type.proto
  3. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  4. #include "client2center_msg_type.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 client2center_protocols {
  16. namespace {
  17. const ::google::protobuf::EnumDescriptor* e_server_msg_type_descriptor_ = NULL;
  18. } // namespace
  19. void protobuf_AssignDesc_client2center_5fmsg_5ftype_2eproto() {
  20. protobuf_AddDesc_client2center_5fmsg_5ftype_2eproto();
  21. const ::google::protobuf::FileDescriptor* file =
  22. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  23. "client2center_msg_type.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_client2center_5fmsg_5ftype_2eproto);
  32. }
  33. void protobuf_RegisterTypes(const ::std::string&) {
  34. protobuf_AssignDescriptorsOnce();
  35. }
  36. } // namespace
  37. void protobuf_ShutdownFile_client2center_5fmsg_5ftype_2eproto() {
  38. }
  39. void protobuf_AddDesc_client2center_5fmsg_5ftype_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\034client2center_msg_type.proto\022\027client2c"
  46. "enter_protocols*\271\001\n\021e_server_msg_type\022\032\n"
  47. "\024e_mst_start_c2center\020\260\352\001\022#\n\035e_mst_c2cen"
  48. "ter_player_connect\020\261\352\001\022\032\n\024e_mst_start_ce"
  49. "nter2c\020\270\221\002\022*\n$e_mst_center2c_player_conn"
  50. "ect_result\020\271\221\002\022\033\n\025e_mst_centerend_index\020"
  51. "\300\270\002", 243);
  52. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  53. "client2center_msg_type.proto", &protobuf_RegisterTypes);
  54. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_client2center_5fmsg_5ftype_2eproto);
  55. }
  56. // Force AddDescriptors() to be called at static initialization time.
  57. struct StaticDescriptorInitializer_client2center_5fmsg_5ftype_2eproto {
  58. StaticDescriptorInitializer_client2center_5fmsg_5ftype_2eproto() {
  59. protobuf_AddDesc_client2center_5fmsg_5ftype_2eproto();
  60. }
  61. } static_descriptor_initializer_client2center_5fmsg_5ftype_2eproto_;
  62. const ::google::protobuf::EnumDescriptor* e_server_msg_type_descriptor() {
  63. protobuf_AssignDescriptorsOnce();
  64. return e_server_msg_type_descriptor_;
  65. }
  66. bool e_server_msg_type_IsValid(int value) {
  67. switch(value) {
  68. case 30000:
  69. case 30001:
  70. case 35000:
  71. case 35001:
  72. case 40000:
  73. return true;
  74. default:
  75. return false;
  76. }
  77. }
  78. // @@protoc_insertion_point(namespace_scope)
  79. } // namespace client2center_protocols
  80. // @@protoc_insertion_point(global_scope)