private SmallTamingBOD( SmallMobileBulkEntry entry, int amountMax ) { this.Hue = 0x1CA; this.AmountMax = amountMax; this.Type = entry.Type; this.AnimalName = entry.AnimalName; this.Graphic = entry.Graphic; }
public LargeMobileBulkEntry( LargeMobileBOD owner, GenericReader reader ) { m_Owner = owner; m_Amount = reader.ReadInt(); Type realType = null; string type = reader.ReadString(); if ( type != null ) realType = ScriptCompiler.FindTypeByFullName( type ); m_Details = new SmallMobileBulkEntry( realType, reader.ReadString(), reader.ReadInt() ); }
public static LargeMobileBulkEntry[] ConvertEntries( LargeMobileBOD owner, SmallMobileBulkEntry[] small ) { LargeMobileBulkEntry[] large = new LargeMobileBulkEntry[small.Length]; for ( int i = 0; i < small.Length; ++i ) large[i] = new LargeMobileBulkEntry( owner, small[i] ); return large; }
public LargeMobileBulkEntry( LargeMobileBOD owner, SmallMobileBulkEntry details ) { m_Owner = owner; m_Details = details; }