public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 0 ); // version writer.WriteEncodedInt( (int) m_Entries.Count ); for ( int i = 0; i < m_Entries.Count; ++i ) { MonsterContractEntry obj = m_Entries[i] as MonsterContractEntry; if( obj != null ) obj.Serialize( writer ); } }
public MonsterCorpseBookTarget( MonsterContractBook book, int i ) : base( -1, true, TargetFlags.None ) { MCE = book.Entries[i] as MonsterContractEntry; b = book; }