Beispiel #1
0
        public static List <GameCharaFileInfo> CreateCharaFileInfoList(
            bool useMale,
            bool useFemale,
            bool useMyData   = true,
            bool useDownload = true,
            bool firstEmpty  = false)
        {
            List <GameCharaFileInfo> _list = new List <GameCharaFileInfo>();
            int idx = 0;

            if (useMale)
            {
                string path = UserData.Path + "chara/male/";
                GameCharaFileInfoAssist.AddList(_list, path, (byte)0, useMyData, useDownload, false, false, firstEmpty, ref idx);
            }
            if (useFemale)
            {
                string path = UserData.Path + "chara/female/";
                GameCharaFileInfoAssist.AddList(_list, path, (byte)1, useMyData, useDownload, false, true, firstEmpty, ref idx);
            }
            return(_list);
        }
Beispiel #2
0
 public void InitCharaList(bool enableFirstEmpty = true)
 {
     this.lstMaleCharaFileInfo   = GameCharaFileInfoAssist.CreateCharaFileInfoList(this.useMale, false, this.useMyData, this.useDownload, enableFirstEmpty && this.addFirstEmpty);
     this.lstFemaleCharaFileInfo = GameCharaFileInfoAssist.CreateCharaFileInfoList(false, this.useFemale, this.useMyData, this.useDownload, enableFirstEmpty && this.addFirstEmpty);
 }