Ejemplo n.º 1
0
    public static byte[] FilterData(string editorType, Dictionary <string, Dictionary <int, KVData> > orignalData)
    {
        Debug.Log("GEditorConfig.FilterData-->editorType:" + editorType);
        switch (editorType)
        {
        case "skill":
            return(ActiveSkillDataTemplate.FilterExportData(orignalData));

            break;

        case "item":
            return(ItemDataTemplate.FilterExportData(orignalData));

            break;

        case "task":
            return(TaskDataTemplate.FilterExportData(orignalData));

            break;
        }
        return(null);
    }