public override void Read(OsiReader reader) { base.Read(reader); LeftParentRef = reader.ReadNodeRef(); RightParentRef = reader.ReadNodeRef(); Adapter1Ref = reader.ReadAdapterRef(); Adapter2Ref = reader.ReadAdapterRef(); Database1Ref = reader.ReadDatabaseRef(); Database1 = new NodeEntryItem(); Database1.Read(reader); Database1Flag = reader.ReadByte(); Database2Ref = reader.ReadDatabaseRef(); Database2 = new NodeEntryItem(); Database2.Read(reader); Database2Flag = reader.ReadByte(); }
public virtual void Read(OsiReader reader) { DatabaseRef = reader.ReadDatabaseRef(); Name = reader.ReadString(); if (Name.Length > 0) { NameIndex = reader.ReadByte(); } }
public override void Read(OsiReader reader) { base.Read(reader); LeftParentRef = reader.ReadNodeRef(); RightParentRef = reader.ReadNodeRef(); LeftAdapterRef = reader.ReadAdapterRef(); RightAdapterRef = reader.ReadAdapterRef(); LeftDatabaseRef = reader.ReadDatabaseRef(); LeftDatabase = new NodeEntryItem(); LeftDatabase.Read(reader); LeftDatabaseFlag = reader.ReadByte(); RightDatabaseRef = reader.ReadDatabaseRef(); RightDatabase = new NodeEntryItem(); RightDatabase.Read(reader); RightDatabaseFlag = reader.ReadByte(); }