BattleNet.Container.NumberFields C# (CSharp) Method

NumberFields() public method

public NumberFields ( ) : UInt32
return System.UInt32
        public UInt32 NumberFields()
        {
            UInt32 i = 0;
            for (Int32 y = 0; y < m_height; y++) {
                for (Int32 x = 0; x < m_width; x++)
                    if (m_fields[y][x])
                        i++;
            }

            return i;
        }