forked from Elfocrash/L2dotNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGetItem.cs
More file actions
30 lines (28 loc) · 687 Bytes
/
Copy pathGetItem.cs
File metadata and controls
30 lines (28 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
namespace L2dotNET.Network.serverpackets
{
class GetItem : GameserverPacket
{
private readonly int _id;
private readonly int _itemId;
private readonly int _x;
private readonly int _y;
private readonly int _z;
public GetItem(int id, int itemId, int x, int y, int z)
{
_id = id;
_itemId = itemId;
_x = x;
_y = y;
_z = z;
}
public override void Write()
{
WriteByte(0x0d);
WriteInt(_id);
WriteInt(_itemId);
WriteInt(_x);
WriteInt(_y);
WriteInt(_z);
}
}
}