private bool OnPacketReceived(Packet pkt) { if (parent.IsReady()) { parent.Manager.Network.AddPendingPacket(parent, pkt); return(true); } return(false); }
private bool OnPacketReceived(PacketID id, byte[] pkt) { if (!parent.IsReady()) { return(false); } parent.Manager.Network.AddPendingPacket(parent, id, pkt); return(true); }
private bool OnPacketReceived(Packet pkt) { if (parent.IsReady()) { parent.ProcessPacket(pkt); return(true); } return(false); }
private bool OnPacketReceived(Packet pkt) { //return parent.ProcessPacket(pkt); if (parent.IsReady()) { RealmManager.Network.AddPendingPacket(parent, pkt); return(true); } else { return(false); } }