NetEase/libpomelo2

事件宏的时态不一致

xpol opened this issue · 1 comments

xpol commented
  • PC_EV_CONNECTED: 过去时
  • PC_EV_DISCONNECT: 一般现在时
  • PC_EV_KICKED_BY_SERVER: 过去时

Nodejs 的 net.Socket 事件是用的一般现在时,比如 connect, close.

这个connected跟kicked_by 都是完成时