Package net.feed_the_beast.launcher.json

Examples of net.feed_the_beast.launcher.json.OldPropertyMapSerializer


                } else if (s.equals("${game_assets}") || s.equals("${assets_root}")) {
                    arguments.add(assetDir.getAbsolutePath());
                } else if (s.equals("${assets_index_name}")) {
                    arguments.add(assetIndex == null ? "legacy" : assetIndex);
                } else if (s.equals("${user_properties}")) {
                    arguments.add(new GsonBuilder().registerTypeAdapter(PropertyMap.class, new OldPropertyMapSerializer()).create().toJson(authentication.getUserProperties()));
                } else if (s.equals("${user_properties_map}")) {
                    arguments.add(new GsonBuilder().registerTypeAdapter(PropertyMap.class, new PropertyMap.Serializer()).create().toJson(authentication.getUserProperties()));
                } else if (isLegacy) {
                    arguments.add(parseLegacyArgs(s));
                } else {
View Full Code Here

TOP

Related Classes of net.feed_the_beast.launcher.json.OldPropertyMapSerializer

Copyright © 2018 www.massapicom. 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.