tyutu
Member
- Oct 25, 2016
- 110
- 8
Hello, when buying a furni you get a notice in the inventory, and the furni bought is "marked with green color", I want to know how can I do this with the badges, so I know this is done by the ID, I know how to get badge ID. I will try to explain:
namespace Plus.Communication.Packets.Outgoing.Inventory.Furni
{
class FurniListNotificationComposer : ServerPacket
{
public FurniListNotificationComposer(int Id, int Type)
: base(ServerPacketHeader.FurniListNotificationMessageComposer)
{
base.WriteInteger(1);
base.WriteInteger(Type); --------> Here is the type in case it is the 4 of badges
base.WriteInteger(1);
base.WriteInteger(Id); --------> Here is where I should enter the "Emblem ID". This is the question, how am I going to get this ID?
}
}
}
Session.SendMessage(new FurniListNotificationComposer(0, 4));
Example of what I'm saying, this is a print of boon.pw
namespace Plus.Communication.Packets.Outgoing.Inventory.Furni
{
class FurniListNotificationComposer : ServerPacket
{
public FurniListNotificationComposer(int Id, int Type)
: base(ServerPacketHeader.FurniListNotificationMessageComposer)
{
base.WriteInteger(1);
base.WriteInteger(Type); --------> Here is the type in case it is the 4 of badges
base.WriteInteger(1);
base.WriteInteger(Id); --------> Here is where I should enter the "Emblem ID". This is the question, how am I going to get this ID?
}
}
}
Session.SendMessage(new FurniListNotificationComposer(0, 4));
Example of what I'm saying, this is a print of boon.pw
You must be registered for see images attach