void HandleFriendEchoMsg(IPacketMsg packetMsg) { var friendEchoMsg = new ClientMsgProtobuf <CMsgClientFriendMsgIncoming>(packetMsg); var callback = new FriendMsgEchoCallback(friendEchoMsg.Body); this.Client.PostCallback(callback); }
void HandleFriendEchoMsg( IPacketMsg packetMsg ) { var friendEchoMsg = new ClientMsgProtobuf<CMsgClientFriendMsgIncoming>( packetMsg ); var callback = new FriendMsgEchoCallback( friendEchoMsg.Body ); this.Client.PostCallback( callback ); }