mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Removed unused incoming stream code.
This commit is contained in:
parent
c767c626a3
commit
7c22cece93
@ -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);
|
||||||
|
@ -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" />
|
||||||
|
Loading…
Reference in New Issue
Block a user