private string GetSelectTableName() { int select = masterDropDown.value; EMASTERDATA emaster = (EMASTERDATA)Enum.Parse(typeof(EMASTERDATA), masterDropDown.options[select].text); return(emaster.GetTableName()); }
public static EMASTERDATA_SERVER Convert(this EMASTERDATA emasterdata) { switch (emasterdata) { case EMASTERDATA.eMASTERDATA_PARAM_ENEMY: return(EMASTERDATA_SERVER.ENEMY); case EMASTERDATA.eMASTERDATA_ASSET_BUNDLE_PATH: return(EMASTERDATA_SERVER.ASSET_PATH); case EMASTERDATA.eMASTERDATA_PARAM_CHARA: return(EMASTERDATA_SERVER.CHARA); case EMASTERDATA.eMASTERDATA_PARAM_CHARA_EVOL: return(EMASTERDATA_SERVER.CHARA_EVOL); default: return(emasterdata.ToString().Replace("eMASTERDATA_", "").ToEnum <EMASTERDATA_SERVER>()); } }
public GetMaster2TestContext(EMASTERDATA e) { this.emasterData = e; Title = e.ToString(); }
public static string GetTableName(this EMASTERDATA emasterdata) { return(DivRNUtil.GetTableName(emasterdata.ToString().Replace("eMASTERDATA_", ""))); }