OpenMinecraft.InfdevHandler.ExpandFluids C# (CSharp) Method

ExpandFluids() public method

public ExpandFluids ( byte fluidID, bool CompleteRegen, ForEachProgressHandler ph ) : int
fluidID byte
CompleteRegen bool
ph ForEachProgressHandler
return int
        public override int ExpandFluids(byte fluidID, bool CompleteRegen, ForEachProgressHandler ph)
        {
            int total = 0;
            int chunksProcessed=0;
            ForEachChunk(delegate(IMapHandler mh, long X, long Z)
            {
                total += ExpandFluids(X, Z, fluidID, CompleteRegen);
                ph(-1, ++chunksProcessed);
            });
            return total;
        }

Same methods

InfdevHandler::ExpandFluids ( long X, long Z, byte fluidID, bool CompleteRegen ) : int