示例#1
0
    public static Packet_Client MoveToInventory(Packet_InventoryPosition from)
    {
        Packet_ClientInventoryAction p = new Packet_ClientInventoryAction();

        p.A      = from;
        p.Action = Packet_InventoryActionTypeEnum.MoveToInventory;
        Packet_Client pp = new Packet_Client();

        pp.Id = Packet_ClientIdEnum.InventoryAction;
        pp.InventoryAction = p;
        return(pp);
    }
示例#2
0
    public static Packet_Client InventoryClick(Packet_InventoryPosition pos)
    {
        Packet_ClientInventoryAction p = new Packet_ClientInventoryAction();

        p.A      = pos;
        p.Action = Packet_InventoryActionTypeEnum.Click;
        Packet_Client pp = new Packet_Client();

        pp.Id = Packet_ClientIdEnum.InventoryAction;
        pp.InventoryAction = p;
        return(pp);
    }
示例#3
0
    public static Packet_Client WearItem(Packet_InventoryPosition from, Packet_InventoryPosition to)
    {
        Packet_ClientInventoryAction p = new Packet_ClientInventoryAction();

        p.A      = from;
        p.B      = to;
        p.Action = Packet_InventoryActionTypeEnum.WearItem;
        Packet_Client pp = new Packet_Client();

        pp.Id = Packet_ClientIdEnum.InventoryAction;
        pp.InventoryAction = p;
        return(pp);
    }
示例#4
0
 public static Packet_Client WearItem(Packet_InventoryPosition from, Packet_InventoryPosition to)
 {
     Packet_ClientInventoryAction p = new Packet_ClientInventoryAction();
     p.A = from;
     p.B = to;
     p.Action = Packet_InventoryActionTypeEnum.WearItem;
     Packet_Client pp = new Packet_Client();
     pp.Id = Packet_ClientIdEnum.InventoryAction;
     pp.InventoryAction = p;
     return pp;
 }
示例#5
0
 public static Packet_Client MoveToInventory(Packet_InventoryPosition from)
 {
     Packet_ClientInventoryAction p = new Packet_ClientInventoryAction();
     p.A = from;
     p.Action = Packet_InventoryActionTypeEnum.MoveToInventory;
     Packet_Client pp = new Packet_Client();
     pp.Id = Packet_ClientIdEnum.InventoryAction;
     pp.InventoryAction = p;
     return pp;
 }
示例#6
0
 public static Packet_Client InventoryClick(Packet_InventoryPosition pos)
 {
     Packet_ClientInventoryAction p = new Packet_ClientInventoryAction();
     p.A = pos;
     p.Action = Packet_InventoryActionTypeEnum.Click;
     Packet_Client pp = new Packet_Client();
     pp.Id = Packet_ClientIdEnum.InventoryAction;
     pp.InventoryAction = p;
     return pp;
 }