diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs b/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs index dfdabc8..864cb4e 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs | |||
@@ -1,42 +1,42 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using libsecondlife.Packets; | 4 | using libsecondlife.Packets; |
5 | 5 | ||
6 | namespace OpenSim.Region.ClientStack.LindenUDP | 6 | namespace OpenSim.Region.ClientStack.LindenUDP |
7 | { | 7 | { |
8 | class KillPacket : Packet | 8 | class KillPacket : Packet |
9 | { | 9 | { |
10 | private Header header; | 10 | private Header header; |
11 | public override void FromBytes(Header header, byte[] bytes, ref int i, ref int packetEnd, byte[] zeroBuffer) | 11 | public override void FromBytes(Header header, byte[] bytes, ref int i, ref int packetEnd, byte[] zeroBuffer) |
12 | { | 12 | { |
13 | 13 | ||
14 | } | 14 | } |
15 | 15 | ||
16 | public override void FromBytes(byte[] bytes, ref int i, ref int packetEnd, byte[] zeroBuffer) | 16 | public override void FromBytes(byte[] bytes, ref int i, ref int packetEnd, byte[] zeroBuffer) |
17 | { | 17 | { |
18 | 18 | ||
19 | } | 19 | } |
20 | 20 | ||
21 | public override Header Header { get { return header; } set { header = value; }} | 21 | public override Header Header { get { return header; } set { header = value; }} |
22 | 22 | ||
23 | public override byte[] ToBytes() | 23 | public override byte[] ToBytes() |
24 | { | 24 | { |
25 | return new byte[0]; | 25 | return new byte[0]; |
26 | } | 26 | } |
27 | public KillPacket() | 27 | public KillPacket() |
28 | { | 28 | { |
29 | Header = new LowHeader(); | 29 | Header = new LowHeader(); |
30 | Header.ID = 65531; | 30 | Header.ID = 65531; |
31 | Header.Reliable = true; | 31 | Header.Reliable = true; |
32 | } | 32 | } |
33 | 33 | ||
34 | public override PacketType Type | 34 | public override PacketType Type |
35 | { | 35 | { |
36 | get | 36 | get |
37 | { | 37 | { |
38 | return PacketType.UseCircuitCode; | 38 | return PacketType.UseCircuitCode; |
39 | } | 39 | } |
40 | } | 40 | } |
41 | } | 41 | } |
42 | } | 42 | } |