private string GetSelectTableName()
    {
        int         select  = masterDropDown.value;
        EMASTERDATA emaster = (EMASTERDATA)Enum.Parse(typeof(EMASTERDATA), masterDropDown.options[select].text);

        return(emaster.GetTableName());
    }
示例#2
0
    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>());
        }
    }
示例#3
0
 public GetMaster2TestContext(EMASTERDATA e)
 {
     this.emasterData = e;
     Title            = e.ToString();
 }
示例#4
0
 public static string GetTableName(this EMASTERDATA emasterdata)
 {
     return(DivRNUtil.GetTableName(emasterdata.ToString().Replace("eMASTERDATA_", "")));
 }