public void Initialise(Object host) { Host = ( Host )host; _Next = Utilities.ReadStructure <VcrRecord>(Host.VcrReader.BaseStream); _IsInitialised = true; }
/// <summary> /// VCR_ReadNext /// </summary> private void ReadNext() { try { _Next = sys.ReadStructure <VcrRecord>(host.VcrReader.BaseStream); } catch (IOException) { _Next = new VcrRecord(); _Next.op = 255; sys.Error("=== END OF PLAYBACK===\n"); } if (_Next.op < 1 || _Next.op > VcrOp.VCR_MAX_MESSAGE) { sys.Error("VCR_ReadNext: bad op"); } }
public void Init() { _Next = sys.ReadStructure <VcrRecord>(host.VcrReader.BaseStream); _IsInitialized = true; }
/// <summary> /// VCR_ReadNext /// </summary> private void ReadNext() { try { _Next = Sys.ReadStructure<VcrRecord>(Host.VcrReader.BaseStream); } catch (IOException) { _Next = new VcrRecord(); _Next.op = 255; Sys.Error("=== END OF PLAYBACK===\n"); } if (_Next.op < 1 || _Next.op > VcrOp.VCR_MAX_MESSAGE) Sys.Error("VCR_ReadNext: bad op"); }
public void Init() { _Next = Sys.ReadStructure<VcrRecord>(Host.VcrReader.BaseStream); _IsInitialized = true; }