player.go 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package nameRemote
  2. const (
  3. Player_SendGM = "sendGM"
  4. Player_AssetAdd = "assetAdd"
  5. Player_AssetSub = "assetSub"
  6. Player_AssetCheck = "assetCheck"
  7. Player_ChargeDeliver = "chargeDeliver"
  8. Player_GetInfo = "playerGetInfo"
  9. )
  10. const (
  11. Player_OnEnter = "onEnter" // 进入游戏
  12. Player_OnSessionClosed = "onSessionClosed" // session断开事件
  13. Player_OnCheckExit = "onCheckExit" // 检测是否退出actor
  14. )
  15. const (
  16. Player_BindUID = "bindUID" // 绑定UID
  17. Player_UpdateLastPlayer = "updateLastPlayer" // 更新最后登陆的玩家信息
  18. )
  19. const (
  20. Player_GMTimeOffset = "gmTimeOffset"
  21. )
  22. const (
  23. Player_ChatGroupInvite = "groupInvite" // 发送群组邀请消息
  24. Player_ChatGroupMemberRemove = "groupRemove" // 群组移除群成员
  25. Player_ChatPrivateMsgSend = "privateMsgSend" // 发送私聊消息
  26. Player_ChatRoomUpdate = "chatRoomUpdate" // 聊天室更新(联盟,地图)
  27. Player_ChatMapSystemMsg = "chatMapSystemMsg" // 地图系统消息
  28. Player_FriendAddSend = "friendAddSend" // 发送添加好友的请求消息
  29. Player_FriendAddSendBack = "friendAddSendBack" // 发送好友申请确认返回的消息
  30. Player_FriendConfirmSend = "friendConfirmSend" // 发送好友申请确认的消息
  31. Player_FriendConfirmBack = "friendConfirmbBack" // 发送好友申请确认返回的消息
  32. )