Guest User

Untitled

a guest
Apr 24th, 2017
429
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.34 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("africaDesert");
  23.            
  24.  
  25.             base.WriteInteger(PlusEnvironment.GetGame().GetHallOfFame().StaffList.Count);
  26.            
  27.             for (int i = 0; i < PlusEnvironment.GetGame().GetHallOfFame().StaffList.Count; i++)
  28.             {
  29.                 base.WriteInteger(PlusEnvironment.GetGame().GetHallOfFame().StaffList[i].id);
  30.                
  31.                 base.WriteString(PlusEnvironment.GetGame().GetHallOfFame().StaffList[i].username);
  32.                
  33.                 base.WriteString(PlusEnvironment.GetGame().GetHallOfFame().StaffList[i].look);
  34.                
  35.                 base.WriteInteger(i);
  36.                
  37.                 base.WriteInteger(PlusEnvironment.GetGame().GetHallOfFame().StaffList[i].rank);
  38.                
  39.             }
  40.         }
  41.     }
  42. }
Add Comment
Please, Sign In to add comment