Examples of DisplayShop


Examples of com.kellerkindt.scs.shops.DisplayShop

        if (is == null || is.getTypeId() == 0) {
          throw new MissingOrIncorrectArgumentException (Term.ITEM_MISSING.get());
        }

        // if the id already exists, the ShopHandler will set a new one
        DisplayShop  shop  = new DisplayShop(UUID.randomUUID(), player.getName(), null, is.clone());
       
        shop.setAmount  (0);
        shop.setPrice  (0);
       
        scs.addTodo(player, new Todo(player, Type.CREATE, shop, 0, null));
       
        return true;
    }
View Full Code Here

Examples of com.kellerkindt.scs.shops.DisplayShop

            amount = 0;
            price = 0.0;
            //No need to parse the data.
           
            // new shop
            shop = new DisplayShop(UUID.randomUUID(), owner, loc, is);
           
        } else {
            ShowCaseStandalone.slog(Level.INFO, "Could not get activity for shop, " + getClass().getName());
            return null;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.