예제 #1
0
 public static void SendExchangeCraftInformationObjectMessage(IPacketReceiver client, IItem item, Character owner, ExchangeCraftResultEnum result)
 {
     client.Send(new ExchangeCraftInformationObjectMessage((sbyte)result, (short)item.Template.Id, owner.Id));
 }
예제 #2
0
 public static void SendExchangeCraftResultWithObjectIdMessage(IPacketReceiver client, ExchangeCraftResultEnum result, ItemTemplate item)
 {
     client.Send(new ExchangeCraftResultWithObjectIdMessage((sbyte)result, (short)item.Id));
 }
예제 #3
0
 public static void SendExchangeCraftResultWithObjectDescMessage(IPacketReceiver client, ExchangeCraftResultEnum result, BasePlayerItem createdItem, int amount)
 {
     client.Send(new ExchangeCraftResultWithObjectDescMessage((sbyte)result, new ObjectItemNotInContainer((short)createdItem.Template.Id, createdItem.Effects.Select(x => x.GetObjectEffect()), createdItem.Guid, amount)));
 }
예제 #4
0
 public static void SendExchangeCraftResultMessage(IPacketReceiver client, ExchangeCraftResultEnum result)
 {
     client.Send(new ExchangeCraftResultMessage((sbyte)result));
 }