File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 99 " fnf"
1010 ],
1111 "description" : " An useful tool to work with GameJolt for FNF Mods and Haxe Games as well!" ,
12- "version" : " 4.0.0 " ,
12+ "version" : " 4.0.1 " ,
1313 "classPath" : " src/" ,
14- "releasenote" : " Every command is now included, along with a new interface !" ,
14+ "releasenote" : " Minor changes !" ,
1515 "contributors" : [
1616 " GamerPablito"
1717 ],
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ class GJRequest {
2424 /**
2525 * If `true`, requests will use `Md5` encryptation when creating URLs, otherwise they'll use `Sha1` encryptation.
2626 */
27- public static var useMd5 : Bool = true ;
27+ public static var useMd5 ( default , set ) : Bool = true ;
2828
2929 /**
3030 * The current URL this request contains to process.
@@ -55,7 +55,7 @@ class GJRequest {
5555 /**
5656 * Whether if you want this not to end as error if you make a batch call where one of its subrequests fail or not.
5757 */
58- public var ignoreSubErrors : Bool = false ;
58+ public var ignoreSubErrors ( default , set ) : Bool = false ;
5959
6060 var mainURL (default , never ): String = " https://api.gamejolt.com/api/game/v1_2" ;
6161 var process : Null <Future <Response >> = null ;
@@ -371,4 +371,16 @@ class GJRequest {
371371 return onError ;
372372 return onError = value ;
373373 }
374+
375+ function set_useMd5 (value : Bool ): Bool {
376+ if (isProcessing )
377+ return useMd5 ;
378+ return useMd5 = value ;
379+ }
380+
381+ function set_ignoreSubErrors (value : Bool ): Bool {
382+ if (isProcessing )
383+ return ignoreSubErrors ;
384+ return ignoreSubErrors = value ;
385+ }
374386}
You can’t perform that action at this time.
0 commit comments