Mooege.Core.GS.Common.InventoryGrid.Unreveal C# (CSharp) Method

Unreveal() public method

public Unreveal ( Player player ) : bool
player Player
return bool
        public bool Unreveal(Player player)
        {
            if (_owner == null || _owner.World == null)
                return false;

            for (int r = 0; r < Rows; r++)
            {
                for (int c = 0; c < Columns; c++)
                {
                    if (_backpack[r, c] != 0)
                    {
                        //_owner.World.Actors[_backpack[r, c]].Unreveal(player); // TODO: Fixme /raist
                    }
                }
            }

            return true;
        }
    }