public static Packet_Client Craft(int x, int y, int z, int recipeId)
 {
     Packet_ClientCraft cmd = new Packet_ClientCraft();
     cmd.X = x;
     cmd.Y = y;
     cmd.Z = z;
     cmd.RecipeId = recipeId;
     Packet_Client p = new Packet_Client();
     p.Id = Packet_ClientIdEnum.Craft;
     p.Craft = cmd;
     return p;
 }
Exemple #2
0
    public static Packet_Client Craft(int x, int y, int z, int recipeId)
    {
        Packet_ClientCraft cmd = new Packet_ClientCraft();

        cmd.X        = x;
        cmd.Y        = y;
        cmd.Z        = z;
        cmd.RecipeId = recipeId;
        Packet_Client p = new Packet_Client();

        p.Id    = Packet_ClientIdEnum.Craft;
        p.Craft = cmd;
        return(p);
    }