Advertisement
Guest User

Untitled

a guest
May 5th, 2017
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. using Plus.Core;
  2. using Plus.Database.Interfaces;
  3. using Plus.HabboHotel.GameClients;
  4. using Plus.HabboHotel.Users;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Data;
  8. using System.IO;
  9. using System.Linq;
  10. using System.Text;
  11. using System.Threading.Tasks;
  12. using System.Windows.Forms;
  13.  
  14. namespace Plus.Communication.Packets.Outgoing.LandingView
  15. {
  16. class HallOfFameComposer : ServerPacket
  17. {
  18. public HallOfFameComposer()
  19. : base(ServerPacketHeader.HallOfFameMessageComposer)
  20. {
  21.  
  22. base.WriteString("besthalloffame");
  23.  
  24.  
  25. base.WriteInteger(PlusEnvironment.GetGame().GetHallOfFame().BestList.Count);
  26.  
  27. for (int i = 0; i < PlusEnvironment.GetGame().GetHallOfFame().BestList.Count; i++)
  28. {
  29. base.WriteInteger(PlusEnvironment.GetGame().GetHallOfFame().BestList[i].id);
  30.  
  31. base.WriteString(PlusEnvironment.GetGame().GetHallOfFame().BestList[i].username);
  32.  
  33. base.WriteString(PlusEnvironment.GetGame().GetHallOfFame().BestList[i].look);
  34.  
  35. base.WriteInteger(i);
  36.  
  37. base.WriteInteger(PlusEnvironment.GetGame().GetHallOfFame().BestList[i].place);
  38.  
  39. }
  40. }
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement