File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ abstract class BaseCategory implements ModCategoryInterface
2222 public const ERROR_MOD_ID_NOT_FOUND = 164701 ;
2323 public const ERROR_NO_MODS_IN_COLLECTION = 164702 ;
2424
25+ public const SCREENSHOTS_FOLDER_NAME = 'screens ' ;
26+
2527 private ModCollection $ collection ;
2628 private string $ id ;
2729
@@ -55,7 +57,12 @@ public function getDataURL() : string
5557
5658 public function getScreensURL () : string
5759 {
58- return $ this ->getDataURL ().'/screens ' ;
60+ return $ this ->getDataURL ().'/ ' .self ::SCREENSHOTS_FOLDER_NAME ;
61+ }
62+
63+ public function getScreensFolder () : FolderInfo
64+ {
65+ return FolderInfo::factory ($ this ->getDataFolder ().'/ ' .self ::SCREENSHOTS_FOLDER_NAME );
5966 }
6067
6168 public function getDataFiles () : array
You can’t perform that action at this time.
0 commit comments