コード例 #1
0
 public override void Stream(ref InitialRooms.ID initialRoomID)
 {
     initialRoomID = (InitialRooms.ID)mBitStream.ReadByte(SaveUtils.GetNumBits(initialRoomID));
 }
コード例 #2
0
 public override void Stream(ref InitialRooms.ID initialRoomID)
 {
     mBitStream.WriteByte((byte)initialRoomID, SaveUtils.GetNumBits(initialRoomID));
 }
コード例 #3
0
 public override void Stream(ref Objects.ID type)
 {
     mBitStream.WriteByte((byte)type, SaveUtils.GetNumBits(type));
 }
コード例 #4
0
 public override void Stream(ref Objects.ID type)
 {
     type = (Objects.ID)mBitStream.ReadByte(SaveUtils.GetNumBits(type));
 }