Removed unused incoming stream code.

This commit is contained in:
Filip Maj 2015-10-15 17:04:04 -04:00
parent c767c626a3
commit 7c22cece93
2 changed files with 2 additions and 11 deletions

View File

@ -20,22 +20,12 @@ namespace FFXIVClassic_Lobby_Server
public Blowfish blowfish; public Blowfish blowfish;
public Socket socket; public Socket socket;
public byte[] buffer = new byte[0xffff]; public byte[] buffer = new byte[0xffff];
public CircularBuffer<byte> incomingStream = new CircularBuffer<byte>(1024); private BlockingCollection<BasePacket> sendPacketQueue = new BlockingCollection<BasePacket>(1000);
private BlockingCollection<BasePacket> sendPacketQueue = new BlockingCollection<BasePacket>(100);
//Instance Stuff //Instance Stuff
public uint owner = 0; public uint owner = 0;
public uint connType = 0; public uint connType = 0;
public void processIncoming(int bytesIn)
{
if (bytesIn == 0)
return;
incomingStream.Put(buffer, 0, bytesIn);
}
public void queuePacket(BasePacket packet) public void queuePacket(BasePacket packet)
{ {
sendPacketQueue.Add(packet); sendPacketQueue.Add(packet);

View File

@ -93,6 +93,7 @@
<Compile Include="packets\send\actor\inventory\EquipmentSetupPacket.cs" /> <Compile Include="packets\send\actor\inventory\EquipmentSetupPacket.cs" />
<Compile Include="packets\send\actor\RemoveActorPacket.cs" /> <Compile Include="packets\send\actor\RemoveActorPacket.cs" />
<Compile Include="packets\send\actor\SetActorNamePacket.cs" /> <Compile Include="packets\send\actor\SetActorNamePacket.cs" />
<Compile Include="packets\send\actor\SetActorPropetyPacket.cs" />
<Compile Include="packets\send\actor\SetActorSpeedPacket.cs" /> <Compile Include="packets\send\actor\SetActorSpeedPacket.cs" />
<Compile Include="packets\send\actor\SetActorStatePacket.cs" /> <Compile Include="packets\send\actor\SetActorStatePacket.cs" />
<Compile Include="packets\send\actor\SetActorTargetAnimatedPacket.cs" /> <Compile Include="packets\send\actor\SetActorTargetAnimatedPacket.cs" />