event.go 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. package nameEvent
  2. const (
  3. Item_Add = "item_add"
  4. Currency_Add = "currency_add"
  5. )
  6. const (
  7. Lord_LevelUp = "lord_levelup"
  8. Lord_FacilityUp = "lord_facility_up"
  9. Lord_FacilityBuild = "lord_facility_build"
  10. )
  11. const (
  12. Vip_LevelUp = "vip_level_up"
  13. Vip_Active = "vip_active"
  14. )
  15. const (
  16. Player_Create = "player_create"
  17. Player_Login = "player_login"
  18. Player_Logout = "player_logout"
  19. Player_Reset = "player_reset"
  20. )
  21. const (
  22. Hero_Recruit = "hero_recruit"
  23. )
  24. const (
  25. Chat_SystemMsg = "chat_system_msg"
  26. )
  27. const (
  28. League_Create = "league_create"
  29. League_Join = "league_join"
  30. League_Quit = "league_quit"
  31. League_Upgrade = "league_upgrade"
  32. League_Tech_Upgrade = "league_tech_upgrade"
  33. League_Build = "league_build"
  34. League_BuildFinish = "league_buildFinish"
  35. League_PointDestroy = "league_point_destroy" // 联盟驻地摧毁
  36. League_CastleUpdate = "league_castle_update" // 联盟攻城城池
  37. League_Diplomacy_Finish = "league_diplomacy_finish" // 联盟外交建立完成
  38. League_Castle_Success = "league_castle_success" // 联盟攻占城池成功
  39. )
  40. const (
  41. Chapter_Challenge = "chapter_challenge"
  42. )
  43. const (
  44. Troop_Train_Count = "troop_train_count"
  45. )
  46. const (
  47. Equip_Craft = "equip_craft"
  48. Equip_Enhance = "equip_enhance"
  49. Equip_Add = "equip_add"
  50. Equip_Dimantle = "equip_dimantle"
  51. )
  52. const (
  53. Hero_Get = "hero_get"
  54. Hero_Star = "hero_star"
  55. Hero_Wear_Equip = "hero_wear_equip"
  56. )
  57. const (
  58. MapLeagueRes_Gather = "map_league_res_gather" // 联盟资源采集
  59. MapLeague_LeaderChange = "map_league_leader_change" // 联盟盟主变更
  60. )
  61. const (
  62. Map_WatcherSync = "map_watcher_sync"
  63. Map_PlayerTeamTroops = "map_player_team_troops" // 队伍兵力
  64. Map_PlayerPrestigeUpdate = "map_player_prestige_update" // 声望更新
  65. Map_PlayerCrusadeBattle = "map_player_crusade_battle" // 讨伐流寇
  66. Map_PlayerResGather = "map_player_res_gather" // 玩家资源采集
  67. Map_PlayerCastleKill = "map_player_castle_kill" // 玩家消灭城池驻城部队
  68. Map_PlayerTileSiege = "map_player_tile_siege" // 玩家攻城扣除耐久
  69. Map_PlayerCastleSuccess = "map_player_castle_success" // 玩家攻城成功
  70. Map_PlayerTeamUp = "map_player_team_up" // 队伍上阵
  71. Map_PlayerTileOccupy = "map_player_tile_occupy" // 攻占资源田
  72. Map_ResOccupy = "map_res_occupy" // 地图资源占领事件
  73. Map_ResUpdate = "map_res_update" // 地图资源更新事件
  74. Map_LeagueSync = "map_league_sync"
  75. Map_MarchArrive = "map_march_arrive"
  76. Map_WarUpdate = "map_war_update" // 战争更新
  77. Map_MainCityShowChange = "map_main_city_show_change" // 地图主城外观更新
  78. Map_MainCitySiege = "map_main_city_siege" // 玩家主城被攻打
  79. Map_PlayerBattleResult = "map_player_battle_result" // 地图战斗结果
  80. Map_PlayerPointUpdate = "map_player_point_update" // 玩家坐标更新
  81. )