private static bool LoadSingleKit(string kit_id) { kitJSON kit = LoginManager.LoadSingleAltVRItem <kitJSON>(kit_id); if (kit != null && !string.IsNullOrEmpty(kit.name)) { EnterKitData(kit); return(true); } return(false); }
private static bool LoadSingleTemplate(string template_id) { templateJSON tmpl = LoginManager.LoadSingleAltVRItem <templateJSON>(template_id); if (tmpl != null && !string.IsNullOrEmpty(tmpl.activity_name)) { EnterTemplateData(tmpl); return(true); } return(false); }
protected static bool LoadSingleItem(string item_id) { U itemJSON = LoginManager.LoadSingleAltVRItem <U>(item_id); if (itemJSON != null && !String.IsNullOrEmpty(itemJSON.assetName)) { EnterItemData(itemJSON); return(true); } return(false); }