public void UpdateStage(FlourMillStage stage) { List <AddonComponent> components = this.Components; for (int i = 0; i < components.Count; ++i) { AddonComponent component = components[i] as AddonComponent; if (component == null) { continue; } int[] itemTable = FindItemTable(component.ItemID); if (itemTable != null) { component.ItemID = itemTable[(int)stage]; } } }
public void UpdateStage(FlourMillStage stage) { ArrayList components = this.AddonComponents; int[][] stageTable = m_StageTable; for (int i = 0; i < components.Count; ++i) { AddonComponent component = (AddonComponent)components[i]; if (component == null) { continue; } int[] itemTable = FindItemTable(component.ItemID); if (itemTable != null) { component.ItemID = itemTable[(int)stage]; } } }
public void UpdateStage( FlourMillStage stage ) { List<AddonComponent> components = this.Components; int[][] stageTable = m_StageTable; for ( int i = 0; i < components.Count; ++i ) { AddonComponent component = components[i] as AddonComponent; if ( component == null ) continue; int[] itemTable = FindItemTable( component.ItemID ); if ( itemTable != null ) component.ItemID = itemTable[(int)stage]; } }