Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
852
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.72 KB | None | 0 0
  1. /*
  2.  * C# Server Emulator Project Blackout / PointBlank
  3.  * Authors: the__all
  4.  * Copyright (C) 2015-2016 | OZ-Network
  5.  */
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Linq;
  9. using System.Text;
  10.  
  11. namespace Game.Network.ServerPacket
  12. {
  13.     public class PROTOCOL_BASE_LEVEL_UP_ITEM_ACK : SendPacket
  14.     {
  15.         private int Rank, ItemID;
  16.  
  17.         public PROTOCOL_BASE_LEVEL_UP_ITEM_ACK(int Rank, int ItemID)
  18.         {
  19.             this.Rank = Rank;
  20.             this.ItemID = ItemID;
  21.         }
  22.  
  23.         public override void WriteImpl()
  24.         {
  25.             WriteH(0xa36);// opcode
  26.             WriteD(Rank);// new rank
  27.             WriteD(1);// unk
  28.             WriteD(ItemID);// item id
  29.         }
  30.     }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement