import BinaryStream from '../../../common/binarystream' ; /**
 * A tech availablity change.
 */ export default class TechAvailabilityChange { playerFlags = 0 ; id = '\0\0\0\0' ; load ( stream ) { this . playerFlags = stream . readUint32 ( ) ; this . id = stream . readBinary ( 4 ) ; } save ( stream ) { stream . writeUint32 ( this . playerFlags ) ; stream . writeBinary ( this . id ) ; } }