mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Removal of ToArray()
This commit is contained in:
parent
9eb22da9e7
commit
9f5cf132f0
41 changed files with 184 additions and 189 deletions
|
|
@ -50,14 +50,7 @@ namespace QueryMaster
|
|||
//consecutive rcon command replies start with an empty packet
|
||||
if (BitConverter.ToInt32(recvData[i], 4) == (int)PacketId.Empty)
|
||||
continue;
|
||||
//if (recvData[i].Length - BitConverter.ToInt32(recvData[i], 0) == 4)
|
||||
//{
|
||||
str.Append(RconUtil.ProcessPacket(recvData[i]).Body);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// str.Append(RconUtil.ProcessPacket(recvData[i]).Body + Util.BytesToString(recvData[++i].Take(recvData[i].Length - 2).ToArray()));
|
||||
//}
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue