示例#1
0
 public static void Send(WorldPacket pkg)
 {
     try {
         pkg.Set(0, (int)(pkg.BaseStream.Length - 4));
         m_connection.Send(pkg.GetBuffer(), pkg.BaseStream.Length);
     } catch (Exception exp) {
         DebugLogger.Log("", exp);
     }
 }
示例#2
0
 public static void Send(WorldPacket pkg)
 {
     pkg.Set(0, (int)(pkg.BaseStream.Length - 4));
     m_connection.Send(pkg.GetBuffer(), pkg.BaseStream.Length);
 }
示例#3
0
 public void Send(WorldPacket pkg)
 {
     pkg.Set(0, (int)(pkg.BaseStream.Length - 4));
     m_client.Send(pkg.GetBuffer(), pkg.BaseStream.Length);
 }