Exemplo n.º 1
0
        public void YochiAppend()
        {
            uint  address = Util.YochiStartAddress + (uint)Yochi.List.Count * Util.YochiDateSize;
            Yochi item    = new Yochi(address);

            item.Create();
            Yochi.Append(item);
        }
Exemplo n.º 2
0
 public void YochiInit()
 {
     Yochi.Clear();
     for (uint i = 0; i < Util.YochiCount; i++)
     {
         uint address = Util.YochiStartAddress + i * Util.YochiDateSize;
         uint value   = SaveData.Instance().ReadNumber(address + Util.YochiDateSize - 4, 4);
         if (value == 0xFFFFFFFF)
         {
             break;
         }
         Yochi.Append(new Yochi(address));
     }
 }