fight.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617
  1. //import "google/protobuf/any.proto";
  2. // Code generated by protoc-gen-go. DO NOT EDIT.
  3. // versions:
  4. // protoc-gen-go v1.27.1
  5. // protoc v3.3.0
  6. // source: pb/fight.proto
  7. package BossServer
  8. import (
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. //上报伤害输出
  21. type CSFightReportDamage struct {
  22. state protoimpl.MessageState
  23. sizeCache protoimpl.SizeCache
  24. unknownFields protoimpl.UnknownFields
  25. // 伤害输出
  26. Damage int32 `protobuf:"varint,1,opt,name=Damage,proto3" json:"Damage,omitempty"`
  27. }
  28. func (x *CSFightReportDamage) Reset() {
  29. *x = CSFightReportDamage{}
  30. if protoimpl.UnsafeEnabled {
  31. mi := &file_pb_fight_proto_msgTypes[0]
  32. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  33. ms.StoreMessageInfo(mi)
  34. }
  35. }
  36. func (x *CSFightReportDamage) String() string {
  37. return protoimpl.X.MessageStringOf(x)
  38. }
  39. func (*CSFightReportDamage) ProtoMessage() {}
  40. func (x *CSFightReportDamage) ProtoReflect() protoreflect.Message {
  41. mi := &file_pb_fight_proto_msgTypes[0]
  42. if protoimpl.UnsafeEnabled && x != nil {
  43. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  44. if ms.LoadMessageInfo() == nil {
  45. ms.StoreMessageInfo(mi)
  46. }
  47. return ms
  48. }
  49. return mi.MessageOf(x)
  50. }
  51. // Deprecated: Use CSFightReportDamage.ProtoReflect.Descriptor instead.
  52. func (*CSFightReportDamage) Descriptor() ([]byte, []int) {
  53. return file_pb_fight_proto_rawDescGZIP(), []int{0}
  54. }
  55. func (x *CSFightReportDamage) GetDamage() int32 {
  56. if x != nil {
  57. return x.Damage
  58. }
  59. return 0
  60. }
  61. // 上报玩家剩余血量
  62. type CSReportUserHP struct {
  63. state protoimpl.MessageState
  64. sizeCache protoimpl.SizeCache
  65. unknownFields protoimpl.UnknownFields
  66. UserHP int32 `protobuf:"varint,1,opt,name=UserHP,proto3" json:"UserHP,omitempty"`
  67. }
  68. func (x *CSReportUserHP) Reset() {
  69. *x = CSReportUserHP{}
  70. if protoimpl.UnsafeEnabled {
  71. mi := &file_pb_fight_proto_msgTypes[1]
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. ms.StoreMessageInfo(mi)
  74. }
  75. }
  76. func (x *CSReportUserHP) String() string {
  77. return protoimpl.X.MessageStringOf(x)
  78. }
  79. func (*CSReportUserHP) ProtoMessage() {}
  80. func (x *CSReportUserHP) ProtoReflect() protoreflect.Message {
  81. mi := &file_pb_fight_proto_msgTypes[1]
  82. if protoimpl.UnsafeEnabled && x != nil {
  83. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  84. if ms.LoadMessageInfo() == nil {
  85. ms.StoreMessageInfo(mi)
  86. }
  87. return ms
  88. }
  89. return mi.MessageOf(x)
  90. }
  91. // Deprecated: Use CSReportUserHP.ProtoReflect.Descriptor instead.
  92. func (*CSReportUserHP) Descriptor() ([]byte, []int) {
  93. return file_pb_fight_proto_rawDescGZIP(), []int{1}
  94. }
  95. func (x *CSReportUserHP) GetUserHP() int32 {
  96. if x != nil {
  97. return x.UserHP
  98. }
  99. return 0
  100. }
  101. // 结束(一般情况下是玩家血量到底主动退出)
  102. type CSLeaveFight struct {
  103. state protoimpl.MessageState
  104. sizeCache protoimpl.SizeCache
  105. unknownFields protoimpl.UnknownFields
  106. XNo int32 `protobuf:"varint,1,opt,name=_no,json=No,proto3" json:"_no,omitempty"`
  107. }
  108. func (x *CSLeaveFight) Reset() {
  109. *x = CSLeaveFight{}
  110. if protoimpl.UnsafeEnabled {
  111. mi := &file_pb_fight_proto_msgTypes[2]
  112. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  113. ms.StoreMessageInfo(mi)
  114. }
  115. }
  116. func (x *CSLeaveFight) String() string {
  117. return protoimpl.X.MessageStringOf(x)
  118. }
  119. func (*CSLeaveFight) ProtoMessage() {}
  120. func (x *CSLeaveFight) ProtoReflect() protoreflect.Message {
  121. mi := &file_pb_fight_proto_msgTypes[2]
  122. if protoimpl.UnsafeEnabled && x != nil {
  123. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  124. if ms.LoadMessageInfo() == nil {
  125. ms.StoreMessageInfo(mi)
  126. }
  127. return ms
  128. }
  129. return mi.MessageOf(x)
  130. }
  131. // Deprecated: Use CSLeaveFight.ProtoReflect.Descriptor instead.
  132. func (*CSLeaveFight) Descriptor() ([]byte, []int) {
  133. return file_pb_fight_proto_rawDescGZIP(), []int{2}
  134. }
  135. func (x *CSLeaveFight) GetXNo() int32 {
  136. if x != nil {
  137. return x.XNo
  138. }
  139. return 0
  140. }
  141. // 从连接状态转入已经登陆状态(标记自己的uid和zoneid)
  142. type CSEnterFight struct {
  143. state protoimpl.MessageState
  144. sizeCache protoimpl.SizeCache
  145. unknownFields protoimpl.UnknownFields
  146. Zoneid int32 `protobuf:"varint,1,opt,name=Zoneid,proto3" json:"Zoneid,omitempty"`
  147. Uid string `protobuf:"bytes,2,opt,name=Uid,proto3" json:"Uid,omitempty"`
  148. Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"`
  149. BossId int32 `protobuf:"varint,4,opt,name=BossId,proto3" json:"BossId,omitempty"`
  150. }
  151. func (x *CSEnterFight) Reset() {
  152. *x = CSEnterFight{}
  153. if protoimpl.UnsafeEnabled {
  154. mi := &file_pb_fight_proto_msgTypes[3]
  155. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  156. ms.StoreMessageInfo(mi)
  157. }
  158. }
  159. func (x *CSEnterFight) String() string {
  160. return protoimpl.X.MessageStringOf(x)
  161. }
  162. func (*CSEnterFight) ProtoMessage() {}
  163. func (x *CSEnterFight) ProtoReflect() protoreflect.Message {
  164. mi := &file_pb_fight_proto_msgTypes[3]
  165. if protoimpl.UnsafeEnabled && x != nil {
  166. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  167. if ms.LoadMessageInfo() == nil {
  168. ms.StoreMessageInfo(mi)
  169. }
  170. return ms
  171. }
  172. return mi.MessageOf(x)
  173. }
  174. // Deprecated: Use CSEnterFight.ProtoReflect.Descriptor instead.
  175. func (*CSEnterFight) Descriptor() ([]byte, []int) {
  176. return file_pb_fight_proto_rawDescGZIP(), []int{3}
  177. }
  178. func (x *CSEnterFight) GetZoneid() int32 {
  179. if x != nil {
  180. return x.Zoneid
  181. }
  182. return 0
  183. }
  184. func (x *CSEnterFight) GetUid() string {
  185. if x != nil {
  186. return x.Uid
  187. }
  188. return ""
  189. }
  190. func (x *CSEnterFight) GetName() string {
  191. if x != nil {
  192. return x.Name
  193. }
  194. return ""
  195. }
  196. func (x *CSEnterFight) GetBossId() int32 {
  197. if x != nil {
  198. return x.BossId
  199. }
  200. return 0
  201. }
  202. // 登陆完成
  203. type SCEnterFight struct {
  204. state protoimpl.MessageState
  205. sizeCache protoimpl.SizeCache
  206. unknownFields protoimpl.UnknownFields
  207. BossHp int32 `protobuf:"varint,1,opt,name=BossHp,proto3" json:"BossHp,omitempty"`
  208. BossMaxHp int32 `protobuf:"varint,2,opt,name=BossMaxHp,proto3" json:"BossMaxHp,omitempty"`
  209. UserHP int32 `protobuf:"varint,3,opt,name=UserHP,proto3" json:"UserHP,omitempty"`
  210. // 倒计时
  211. CountDown int32 `protobuf:"varint,4,opt,name=CountDown,proto3" json:"CountDown,omitempty"`
  212. }
  213. func (x *SCEnterFight) Reset() {
  214. *x = SCEnterFight{}
  215. if protoimpl.UnsafeEnabled {
  216. mi := &file_pb_fight_proto_msgTypes[4]
  217. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  218. ms.StoreMessageInfo(mi)
  219. }
  220. }
  221. func (x *SCEnterFight) String() string {
  222. return protoimpl.X.MessageStringOf(x)
  223. }
  224. func (*SCEnterFight) ProtoMessage() {}
  225. func (x *SCEnterFight) ProtoReflect() protoreflect.Message {
  226. mi := &file_pb_fight_proto_msgTypes[4]
  227. if protoimpl.UnsafeEnabled && x != nil {
  228. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  229. if ms.LoadMessageInfo() == nil {
  230. ms.StoreMessageInfo(mi)
  231. }
  232. return ms
  233. }
  234. return mi.MessageOf(x)
  235. }
  236. // Deprecated: Use SCEnterFight.ProtoReflect.Descriptor instead.
  237. func (*SCEnterFight) Descriptor() ([]byte, []int) {
  238. return file_pb_fight_proto_rawDescGZIP(), []int{4}
  239. }
  240. func (x *SCEnterFight) GetBossHp() int32 {
  241. if x != nil {
  242. return x.BossHp
  243. }
  244. return 0
  245. }
  246. func (x *SCEnterFight) GetBossMaxHp() int32 {
  247. if x != nil {
  248. return x.BossMaxHp
  249. }
  250. return 0
  251. }
  252. func (x *SCEnterFight) GetUserHP() int32 {
  253. if x != nil {
  254. return x.UserHP
  255. }
  256. return 0
  257. }
  258. func (x *SCEnterFight) GetCountDown() int32 {
  259. if x != nil {
  260. return x.CountDown
  261. }
  262. return 0
  263. }
  264. // 更新状态数据
  265. type SCUpdateProperties struct {
  266. state protoimpl.MessageState
  267. sizeCache protoimpl.SizeCache
  268. unknownFields protoimpl.UnknownFields
  269. BossHp int32 `protobuf:"varint,1,opt,name=BossHp,proto3" json:"BossHp,omitempty"`
  270. BossMaxHp int32 `protobuf:"varint,2,opt,name=BossMaxHp,proto3" json:"BossMaxHp,omitempty"`
  271. // 倒计时
  272. CountDown int32 `protobuf:"varint,3,opt,name=CountDown,proto3" json:"CountDown,omitempty"`
  273. }
  274. func (x *SCUpdateProperties) Reset() {
  275. *x = SCUpdateProperties{}
  276. if protoimpl.UnsafeEnabled {
  277. mi := &file_pb_fight_proto_msgTypes[5]
  278. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  279. ms.StoreMessageInfo(mi)
  280. }
  281. }
  282. func (x *SCUpdateProperties) String() string {
  283. return protoimpl.X.MessageStringOf(x)
  284. }
  285. func (*SCUpdateProperties) ProtoMessage() {}
  286. func (x *SCUpdateProperties) ProtoReflect() protoreflect.Message {
  287. mi := &file_pb_fight_proto_msgTypes[5]
  288. if protoimpl.UnsafeEnabled && x != nil {
  289. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  290. if ms.LoadMessageInfo() == nil {
  291. ms.StoreMessageInfo(mi)
  292. }
  293. return ms
  294. }
  295. return mi.MessageOf(x)
  296. }
  297. // Deprecated: Use SCUpdateProperties.ProtoReflect.Descriptor instead.
  298. func (*SCUpdateProperties) Descriptor() ([]byte, []int) {
  299. return file_pb_fight_proto_rawDescGZIP(), []int{5}
  300. }
  301. func (x *SCUpdateProperties) GetBossHp() int32 {
  302. if x != nil {
  303. return x.BossHp
  304. }
  305. return 0
  306. }
  307. func (x *SCUpdateProperties) GetBossMaxHp() int32 {
  308. if x != nil {
  309. return x.BossMaxHp
  310. }
  311. return 0
  312. }
  313. func (x *SCUpdateProperties) GetCountDown() int32 {
  314. if x != nil {
  315. return x.CountDown
  316. }
  317. return 0
  318. }
  319. // 战斗结束
  320. type SCGameOver struct {
  321. state protoimpl.MessageState
  322. sizeCache protoimpl.SizeCache
  323. unknownFields protoimpl.UnknownFields
  324. BossHp int32 `protobuf:"varint,1,opt,name=BossHp,proto3" json:"BossHp,omitempty"`
  325. // 倒计时
  326. CountDown int32 `protobuf:"varint,2,opt,name=CountDown,proto3" json:"CountDown,omitempty"`
  327. }
  328. func (x *SCGameOver) Reset() {
  329. *x = SCGameOver{}
  330. if protoimpl.UnsafeEnabled {
  331. mi := &file_pb_fight_proto_msgTypes[6]
  332. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  333. ms.StoreMessageInfo(mi)
  334. }
  335. }
  336. func (x *SCGameOver) String() string {
  337. return protoimpl.X.MessageStringOf(x)
  338. }
  339. func (*SCGameOver) ProtoMessage() {}
  340. func (x *SCGameOver) ProtoReflect() protoreflect.Message {
  341. mi := &file_pb_fight_proto_msgTypes[6]
  342. if protoimpl.UnsafeEnabled && x != nil {
  343. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  344. if ms.LoadMessageInfo() == nil {
  345. ms.StoreMessageInfo(mi)
  346. }
  347. return ms
  348. }
  349. return mi.MessageOf(x)
  350. }
  351. // Deprecated: Use SCGameOver.ProtoReflect.Descriptor instead.
  352. func (*SCGameOver) Descriptor() ([]byte, []int) {
  353. return file_pb_fight_proto_rawDescGZIP(), []int{6}
  354. }
  355. func (x *SCGameOver) GetBossHp() int32 {
  356. if x != nil {
  357. return x.BossHp
  358. }
  359. return 0
  360. }
  361. func (x *SCGameOver) GetCountDown() int32 {
  362. if x != nil {
  363. return x.CountDown
  364. }
  365. return 0
  366. }
  367. var File_pb_fight_proto protoreflect.FileDescriptor
  368. var file_pb_fight_proto_rawDesc = []byte{
  369. 0x0a, 0x0e, 0x70, 0x62, 0x2f, 0x66, 0x69, 0x67, 0x68, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  370. 0x12, 0x0a, 0x42, 0x6f, 0x73, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x22, 0x2d, 0x0a, 0x13,
  371. 0x43, 0x53, 0x46, 0x69, 0x67, 0x68, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61, 0x6d,
  372. 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20,
  373. 0x01, 0x28, 0x05, 0x52, 0x06, 0x44, 0x61, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x28, 0x0a, 0x0e, 0x43,
  374. 0x53, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x55, 0x73, 0x65, 0x72, 0x48, 0x50, 0x12, 0x16, 0x0a,
  375. 0x06, 0x55, 0x73, 0x65, 0x72, 0x48, 0x50, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x55,
  376. 0x73, 0x65, 0x72, 0x48, 0x50, 0x22, 0x1f, 0x0a, 0x0c, 0x43, 0x53, 0x4c, 0x65, 0x61, 0x76, 0x65,
  377. 0x46, 0x69, 0x67, 0x68, 0x74, 0x12, 0x0f, 0x0a, 0x03, 0x5f, 0x6e, 0x6f, 0x18, 0x01, 0x20, 0x01,
  378. 0x28, 0x05, 0x52, 0x02, 0x4e, 0x6f, 0x22, 0x64, 0x0a, 0x0c, 0x43, 0x53, 0x45, 0x6e, 0x74, 0x65,
  379. 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x5a, 0x6f, 0x6e, 0x65, 0x69, 0x64,
  380. 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x5a, 0x6f, 0x6e, 0x65, 0x69, 0x64, 0x12, 0x10,
  381. 0x0a, 0x03, 0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x69, 0x64,
  382. 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  383. 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x42, 0x6f, 0x73, 0x73, 0x49, 0x64, 0x18, 0x04,
  384. 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x42, 0x6f, 0x73, 0x73, 0x49, 0x64, 0x22, 0x7a, 0x0a, 0x0c,
  385. 0x53, 0x43, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x46, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06,
  386. 0x42, 0x6f, 0x73, 0x73, 0x48, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x42, 0x6f,
  387. 0x73, 0x73, 0x48, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x6f, 0x73, 0x73, 0x4d, 0x61, 0x78, 0x48,
  388. 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x42, 0x6f, 0x73, 0x73, 0x4d, 0x61, 0x78,
  389. 0x48, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x72, 0x48, 0x50, 0x18, 0x03, 0x20, 0x01,
  390. 0x28, 0x05, 0x52, 0x06, 0x55, 0x73, 0x65, 0x72, 0x48, 0x50, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x6f,
  391. 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x43,
  392. 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x22, 0x68, 0x0a, 0x12, 0x53, 0x43, 0x55, 0x70,
  393. 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x16,
  394. 0x0a, 0x06, 0x42, 0x6f, 0x73, 0x73, 0x48, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
  395. 0x42, 0x6f, 0x73, 0x73, 0x48, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x42, 0x6f, 0x73, 0x73, 0x4d, 0x61,
  396. 0x78, 0x48, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x42, 0x6f, 0x73, 0x73, 0x4d,
  397. 0x61, 0x78, 0x48, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f, 0x77,
  398. 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x6f,
  399. 0x77, 0x6e, 0x22, 0x42, 0x0a, 0x0a, 0x53, 0x43, 0x47, 0x61, 0x6d, 0x65, 0x4f, 0x76, 0x65, 0x72,
  400. 0x12, 0x16, 0x0a, 0x06, 0x42, 0x6f, 0x73, 0x73, 0x48, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
  401. 0x52, 0x06, 0x42, 0x6f, 0x73, 0x73, 0x48, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x6f, 0x75, 0x6e,
  402. 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x43, 0x6f, 0x75,
  403. 0x6e, 0x74, 0x44, 0x6f, 0x77, 0x6e, 0x42, 0x0f, 0x5a, 0x0d, 0x70, 0x62, 0x2f, 0x42, 0x6f, 0x73,
  404. 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  405. }
  406. var (
  407. file_pb_fight_proto_rawDescOnce sync.Once
  408. file_pb_fight_proto_rawDescData = file_pb_fight_proto_rawDesc
  409. )
  410. func file_pb_fight_proto_rawDescGZIP() []byte {
  411. file_pb_fight_proto_rawDescOnce.Do(func() {
  412. file_pb_fight_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_fight_proto_rawDescData)
  413. })
  414. return file_pb_fight_proto_rawDescData
  415. }
  416. var file_pb_fight_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
  417. var file_pb_fight_proto_goTypes = []interface{}{
  418. (*CSFightReportDamage)(nil), // 0: BossServer.CSFightReportDamage
  419. (*CSReportUserHP)(nil), // 1: BossServer.CSReportUserHP
  420. (*CSLeaveFight)(nil), // 2: BossServer.CSLeaveFight
  421. (*CSEnterFight)(nil), // 3: BossServer.CSEnterFight
  422. (*SCEnterFight)(nil), // 4: BossServer.SCEnterFight
  423. (*SCUpdateProperties)(nil), // 5: BossServer.SCUpdateProperties
  424. (*SCGameOver)(nil), // 6: BossServer.SCGameOver
  425. }
  426. var file_pb_fight_proto_depIdxs = []int32{
  427. 0, // [0:0] is the sub-list for method output_type
  428. 0, // [0:0] is the sub-list for method input_type
  429. 0, // [0:0] is the sub-list for extension type_name
  430. 0, // [0:0] is the sub-list for extension extendee
  431. 0, // [0:0] is the sub-list for field type_name
  432. }
  433. func init() { file_pb_fight_proto_init() }
  434. func file_pb_fight_proto_init() {
  435. if File_pb_fight_proto != nil {
  436. return
  437. }
  438. if !protoimpl.UnsafeEnabled {
  439. file_pb_fight_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  440. switch v := v.(*CSFightReportDamage); i {
  441. case 0:
  442. return &v.state
  443. case 1:
  444. return &v.sizeCache
  445. case 2:
  446. return &v.unknownFields
  447. default:
  448. return nil
  449. }
  450. }
  451. file_pb_fight_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  452. switch v := v.(*CSReportUserHP); i {
  453. case 0:
  454. return &v.state
  455. case 1:
  456. return &v.sizeCache
  457. case 2:
  458. return &v.unknownFields
  459. default:
  460. return nil
  461. }
  462. }
  463. file_pb_fight_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  464. switch v := v.(*CSLeaveFight); i {
  465. case 0:
  466. return &v.state
  467. case 1:
  468. return &v.sizeCache
  469. case 2:
  470. return &v.unknownFields
  471. default:
  472. return nil
  473. }
  474. }
  475. file_pb_fight_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  476. switch v := v.(*CSEnterFight); i {
  477. case 0:
  478. return &v.state
  479. case 1:
  480. return &v.sizeCache
  481. case 2:
  482. return &v.unknownFields
  483. default:
  484. return nil
  485. }
  486. }
  487. file_pb_fight_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  488. switch v := v.(*SCEnterFight); i {
  489. case 0:
  490. return &v.state
  491. case 1:
  492. return &v.sizeCache
  493. case 2:
  494. return &v.unknownFields
  495. default:
  496. return nil
  497. }
  498. }
  499. file_pb_fight_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  500. switch v := v.(*SCUpdateProperties); i {
  501. case 0:
  502. return &v.state
  503. case 1:
  504. return &v.sizeCache
  505. case 2:
  506. return &v.unknownFields
  507. default:
  508. return nil
  509. }
  510. }
  511. file_pb_fight_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  512. switch v := v.(*SCGameOver); i {
  513. case 0:
  514. return &v.state
  515. case 1:
  516. return &v.sizeCache
  517. case 2:
  518. return &v.unknownFields
  519. default:
  520. return nil
  521. }
  522. }
  523. }
  524. type x struct{}
  525. out := protoimpl.TypeBuilder{
  526. File: protoimpl.DescBuilder{
  527. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  528. RawDescriptor: file_pb_fight_proto_rawDesc,
  529. NumEnums: 0,
  530. NumMessages: 7,
  531. NumExtensions: 0,
  532. NumServices: 0,
  533. },
  534. GoTypes: file_pb_fight_proto_goTypes,
  535. DependencyIndexes: file_pb_fight_proto_depIdxs,
  536. MessageInfos: file_pb_fight_proto_msgTypes,
  537. }.Build()
  538. File_pb_fight_proto = out.File
  539. file_pb_fight_proto_rawDesc = nil
  540. file_pb_fight_proto_goTypes = nil
  541. file_pb_fight_proto_depIdxs = nil
  542. }