From 64bd9a335444379ebe1cad8e34d5b5953a76f671 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 25 Jul 2009 15:49:10 +0000 Subject: * Updates libOMV to version 0.7.0 * Uses mantis #3811 as a base (thanks jhuliman) with changes. * E-mail regarding interface changes sent to the opensim-dev list * Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html --- OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs | 23 +++++++++------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs') diff --git a/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs b/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs index 5091793..a80c1f0 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs @@ -36,14 +36,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP /// class KillPacket : Packet { - private Header header; - public override int Length { get { return 0; } } - public override void FromBytes(Header header, byte[] bytes, ref int i, ref int packetEnd, byte[] zeroBuffer) + public override void FromBytes(Header header, byte[] bytes, ref int i, ref int packetEnd) { } @@ -51,26 +49,23 @@ namespace OpenSim.Region.ClientStack.LindenUDP { } - public override Header Header { get { return header; } set { header = value; }} - public override byte[] ToBytes() { return new byte[0]; } - public KillPacket() + public override byte[][] ToBytesMultiple() { - Header = new LowHeader(); - Header.ID = 65531; - Header.Reliable = true; + return new byte[][] { new byte[0] }; } - public override PacketType Type + public KillPacket() { - get - { - return PacketType.UseCircuitCode; - } + Type = PacketType.UseCircuitCode; + Header = new Header(); + Header.Frequency = OpenMetaverse.PacketFrequency.Low; + Header.ID = 65531; + Header.Reliable = true; } } } -- cgit v1.1