@Override public void load(final ExtendedDataInputStream stream) throws IOException { super.load(stream); for (int i = 0; i < 324; ++i) { this.m_costs[i] = stream.readByte(); this.m_murfins[i] = stream.readByte(); this.m_properties[i] = stream.readByte(); this.m_zs[i] = stream.readShort(); this.m_heights[i] = stream.readByte(); this.m_movLos[i] = stream.readByte(); } }
public void load(final ExtendedDataInputStream is) { final int numSounds = is.readInt(); this.m_soundIds = new long[numSounds]; this.m_gains = new byte[numSounds]; for (int i = 0; i < numSounds; ++i) { this.m_soundIds[i] = is.readLong(); this.m_gains[i] = is.readByte(); } this.m_loop = is.readBooleanBit(); this.m_rollOffId = is.readInt(); this.m_fadeOutTime = is.readInt(); this.m_stopOnRemoveAps = is.readBooleanBit(); this.m_delay = is.readInt(); }