Пример #1
0
        public static void MakeDefaultCore()
        {
            Instance.m_Core = new Core23();
            Bucket23 bucket = new Bucket23();

            bucket.timeIndex = DataCore.Core.NextBucketTimeIndex;
            File23 newFile = new File23();

            newFile.id        = DataCore.UniqueTimeStamp;
            newFile.m_Title   = "Guide";
            newFile.m_Caption = "Welcome to the secret world!";
            bucket.AddFile(newFile);
            DataCore.Core.AddBucket(bucket);
            SaveCore();
        }
Пример #2
0
 public void AddBucket(Bucket23 bucket)
 {
     buckets.Add(bucket);
 }