Beispiel #1
0
 /// <summary>
 /// 客户端模拟接到消息
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="channel"></param>
 /// <param name="type"></param>
 /// <param name="msg"></param>
 public void OnClientReceiveBuff <T>(int channel, int type, T msg)
 {
     byte[] buffs = NSocket.Serialize <T>(msg);
     OnReceiveBuff(channel, type, buffs, 0);
 }