FluffyManager.History.UpdateThingCounts C# (CSharp) Method

UpdateThingCounts() public method

public UpdateThingCounts ( ) : void
return void
        public void UpdateThingCounts( params int[] counts )
        {
            if( counts.Length != _chapters.Count )
            {
                Log.Warning( "History updated with incorrect number of chapters" );
            }

            for( int i = 0; i < counts.Length; i++ )
            {
                _chapters[i].ThingCount.count = counts[i];
            }
        }