diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index 64f5b6d..ca7ba7f 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -1066,25 +1066,13 @@ namespace OpenSim.Region.ClientStack | |||
1066 | 1066 | ||
1067 | #region unimplemented handlers | 1067 | #region unimplemented handlers |
1068 | case PacketType.RequestGodlikePowers: | 1068 | case PacketType.RequestGodlikePowers: |
1069 | //RequestGodlikePowersPacket rglpPack = (RequestGodlikePowersPacket) Pack; | 1069 | RequestGodlikePowersPacket rglpPack = (RequestGodlikePowersPacket) Pack; |
1070 | //RequestGodlikePowersPacket.RequestBlockBlock rblock = rglpPack.RequestBlock; | 1070 | RequestGodlikePowersPacket.RequestBlockBlock rblock = rglpPack.RequestBlock; |
1071 | //LLUUID token = rblock.Token; | 1071 | LLUUID token = rblock.Token; |
1072 | //RequestGodlikePowersPacket.AgentDataBlock ablock = rglpPack.AgentData; | 1072 | RequestGodlikePowersPacket.AgentDataBlock ablock = rglpPack.AgentData; |
1073 | 1073 | ||
1074 | OnRequestGodlikePowers(ablock.AgentID, ablock.SessionID, token, this); | ||
1074 | 1075 | ||
1075 | //GrantGodlikePowersPacket respondPacket = new GrantGodlikePowersPacket(); | ||
1076 | //GrantGodlikePowersPacket.GrantDataBlock gdb = new GrantGodlikePowersPacket.GrantDataBlock(); | ||
1077 | //GrantGodlikePowersPacket.AgentDataBlock adb = new GrantGodlikePowersPacket.AgentDataBlock(); | ||
1078 | |||
1079 | //adb.AgentID = ablock.AgentID; | ||
1080 | //adb.SessionID = ablock.SessionID; | ||
1081 | |||
1082 | //gdb.GodLevel = (byte)100; | ||
1083 | //gdb.Token = token; | ||
1084 | //respondPacket.AgentData = (GrantGodlikePowersPacket.AgentDataBlock)ablock; | ||
1085 | //respondPacket.GrantData = gdb; | ||
1086 | //respondPacket.AgentData = adb; | ||
1087 | //OutPacket(respondPacket, ThrottleOutPacketType.Task); | ||
1088 | break; | 1076 | break; |
1089 | case PacketType.GodKickUser: | 1077 | case PacketType.GodKickUser: |
1090 | //GodKickUserPacket gkupack = (GodKickUserPacket) Pack; | 1078 | //GodKickUserPacket gkupack = (GodKickUserPacket) Pack; |