示例#1
0
        public override ITravelerJournal GetDataByIdentifier <IDType> (IDType _id)
        {
            SetStorage($"{FileID}{_id}");

            IJournal journal = JournalFactory.CreateEmpty(JournalType.TravelerJournal);

            try
            {
                journal.BuildEntity(Storage.ReadAll());
            }
            catch (Exception _e)
            {
                Debug.LogWarning(_e.ToString());
            }

            return(journal as ITravelerJournal);
        }