Пример #1
0
 public void Save(ISaveFile save, int offset)
 {
     save.WriteU16(offset, ItemId);
     save.WriteU8(offset + 2, Flags0);
     save.WriteU8(offset + 3, Flags1);
     save.WriteU16(offset + 4, Count);
     save.WriteU16(offset + 6, UseCount);
 }