Compare commits
No commits in common. "72b1faa2ce1f3e46fe738116120d573cf645c554" and "5697afed33af9daf50e4c0d6a34b13b489799bd0" have entirely different histories.
72b1faa2ce
...
5697afed33
|
@ -327,11 +327,11 @@ func CSShieldMsgHandler(s *netlib.Session, packetid int, data interface{}, sid i
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
//聊天消息
|
//聊天消息
|
||||||
common.Register(int(chat.ChatPacketID_PACKET_CSChatMsg), &chat.CSChatMsg{}, CSChatMsgHandler)
|
common.Register(int(chat.ChatPacketID_PACKET_SCChatMsg), &chat.CSChatMsg{}, CSChatMsgHandler)
|
||||||
//聊天记录
|
//聊天记录
|
||||||
common.Register(int(chat.ChatPacketID_PACKET_CSGetChatLog), &chat.CSGetChatLog{}, CSGetChatLogHandler)
|
common.Register(int(chat.ChatPacketID_PACKET_CSGetChatLog), &chat.CSGetChatLog{}, CSGetChatLogHandler)
|
||||||
//读消息
|
//读消息
|
||||||
common.Register(int(chat.ChatPacketID_PACKET_CSReadChatMsg), &chat.CSReadChatMsg{}, CSReadChatMsgHandler)
|
common.Register(int(chat.ChatPacketID_PACKET_CSReadChatMsg), &chat.CSReadChatMsg{}, CSReadChatMsgHandler)
|
||||||
//屏蔽玩家
|
//屏蔽玩家
|
||||||
common.Register(int(chat.ChatPacketID_PACKET_CSShieldMsg), &chat.SCShieldMsg{}, CSShieldMsgHandler)
|
common.Register(int(chat.ChatPacketID_PACKET_SCShieldMsg), &chat.SCShieldMsg{}, CSShieldMsgHandler)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue