Stumps.Server.Data.DataAccess.StumpFindAll C# (CSharp) Method

StumpFindAll() public method

Finds all a list of all T:Stumps.Server.Data.StumpEntity for the specified serverId.
public StumpFindAll ( string serverId ) : IList
serverId string The unique identifier for the Stumps server.
return IList
        public IList<StumpEntity> StumpFindAll(string serverId)
        {
            var stumpsPath = Path.Combine(_storagePath, serverId, DataAccess.StumpsPathName);

            var stumpEntities = JsonUtility.DeserializeFromDirectory<StumpEntity>(
                stumpsPath, "*" + DataAccess.StumpFileExtension, SearchOption.TopDirectoryOnly);

            return stumpEntities;
        }