public override void Stream(ref InitialRooms.ID initialRoomID) { initialRoomID = (InitialRooms.ID)mBitStream.ReadByte(SaveUtils.GetNumBits(initialRoomID)); }
public override void Stream(ref InitialRooms.ID initialRoomID) { mBitStream.WriteByte((byte)initialRoomID, SaveUtils.GetNumBits(initialRoomID)); }
public override void Stream(ref Objects.ID type) { mBitStream.WriteByte((byte)type, SaveUtils.GetNumBits(type)); }
public override void Stream(ref Objects.ID type) { type = (Objects.ID)mBitStream.ReadByte(SaveUtils.GetNumBits(type)); }