mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-23 05:07:47 +00:00
Removed unused incoming stream code.
This commit is contained in:
parent
c767c626a3
commit
7c22cece93
2 changed files with 2 additions and 11 deletions
|
@ -20,22 +20,12 @@ namespace FFXIVClassic_Lobby_Server
|
|||
public Blowfish blowfish;
|
||||
public Socket socket;
|
||||
public byte[] buffer = new byte[0xffff];
|
||||
public CircularBuffer<byte> incomingStream = new CircularBuffer<byte>(1024);
|
||||
private BlockingCollection<BasePacket> sendPacketQueue = new BlockingCollection<BasePacket>(100);
|
||||
private BlockingCollection<BasePacket> sendPacketQueue = new BlockingCollection<BasePacket>(1000);
|
||||
|
||||
//Instance Stuff
|
||||
public uint owner = 0;
|
||||
public uint connType = 0;
|
||||
|
||||
|
||||
public void processIncoming(int bytesIn)
|
||||
{
|
||||
if (bytesIn == 0)
|
||||
return;
|
||||
|
||||
incomingStream.Put(buffer, 0, bytesIn);
|
||||
}
|
||||
|
||||
public void queuePacket(BasePacket packet)
|
||||
{
|
||||
sendPacketQueue.Add(packet);
|
||||
|
|
|
@ -93,6 +93,7 @@
|
|||
<Compile Include="packets\send\actor\inventory\EquipmentSetupPacket.cs" />
|
||||
<Compile Include="packets\send\actor\RemoveActorPacket.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\SetActorStatePacket.cs" />
|
||||
<Compile Include="packets\send\actor\SetActorTargetAnimatedPacket.cs" />
|
||||
|
|
Loading…
Add table
Reference in a new issue