areaspawnr
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -115,2 +115,8 @@ /// <reference path="../typings/ItemsHoldr.d.ts" /> | ||
/** | ||
* Sets the scope to run PreThing commands in. | ||
* | ||
* @param commandScope A scope to run PreThing commands in. | ||
*/ | ||
setCommandScope(commandScope: any): any; | ||
/** | ||
* Sets the currently manipulated Map in the handler to be the one under a | ||
@@ -248,3 +254,3 @@ * given name. Note that this will do very little unless a location is | ||
/** | ||
* An optional scope to call stretchAdd and afterAdd on, if not this. | ||
* An optional scope to call Prething commands in, if not this. | ||
*/ | ||
@@ -313,2 +319,8 @@ private commandScope; | ||
/** | ||
* Sets the scope to run PreThing commands in. | ||
* | ||
* @param commandScope A scope to run PreThing commands in. | ||
*/ | ||
setCommandScope(commandScope: any): any; | ||
/** | ||
* Sets the currently manipulated Map in the handler to be the one under a | ||
@@ -315,0 +327,0 @@ * given name. Note that this will do very little unless a location is |
@@ -114,2 +114,10 @@ /// <reference path="../typings/ItemsHoldr.d.ts" /> | ||
/** | ||
* Sets the scope to run PreThing commands in. | ||
* | ||
* @param commandScope A scope to run PreThing commands in. | ||
*/ | ||
AreaSpawnr.prototype.setCommandScope = function (commandScope) { | ||
this.commandScope = commandScope; | ||
}; | ||
/** | ||
* Sets the currently manipulated Map in the handler to be the one under a | ||
@@ -276,3 +284,3 @@ * given name. Note that this will do very little unless a location is | ||
prething.spawned = status; | ||
callback(prething); | ||
callback.call(this.commandScope, prething); | ||
} | ||
@@ -279,0 +287,0 @@ } |
@@ -137,2 +137,9 @@ /// <reference path="../typings/ItemsHoldr.d.ts" /> | ||
/** | ||
* Sets the scope to run PreThing commands in. | ||
* | ||
* @param commandScope A scope to run PreThing commands in. | ||
*/ | ||
setCommandScope(commandScope: any): any; | ||
/** | ||
* Sets the currently manipulated Map in the handler to be the one under a | ||
@@ -298,3 +305,3 @@ * given name. Note that this will do very little unless a location is | ||
/** | ||
* An optional scope to call stretchAdd and afterAdd on, if not this. | ||
* An optional scope to call Prething commands in, if not this. | ||
*/ | ||
@@ -422,2 +429,11 @@ private commandScope: any; | ||
/** | ||
* Sets the scope to run PreThing commands in. | ||
* | ||
* @param commandScope A scope to run PreThing commands in. | ||
*/ | ||
public setCommandScope(commandScope: any): any { | ||
this.commandScope = commandScope; | ||
} | ||
/** | ||
* Sets the currently manipulated Map in the handler to be the one under a | ||
@@ -611,3 +627,3 @@ * given name. Note that this will do very little unless a location is | ||
prething.spawned = status; | ||
callback(prething); | ||
callback.call(this.commandScope, prething); | ||
} | ||
@@ -614,0 +630,0 @@ } |
{ | ||
"name": "areaspawnr", | ||
"description": "Loads GameStartr maps to spawn and unspawn areas on demand.", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Josh Goldberg", |
@@ -113,2 +113,10 @@ /// <reference path="../typings/MapsCreatr.d.ts" /> | ||
/** | ||
* Sets the scope to run PreThing commands in. | ||
* | ||
* @param commandScope A scope to run PreThing commands in. | ||
*/ | ||
AreaSpawnr.prototype.setCommandScope = function (commandScope) { | ||
this.commandScope = commandScope; | ||
}; | ||
/** | ||
* Sets the currently manipulated Map in the handler to be the one under a | ||
@@ -275,3 +283,3 @@ * given name. Note that this will do very little unless a location is | ||
prething.spawned = status; | ||
callback(prething); | ||
callback.call(this.commandScope, prething); | ||
} | ||
@@ -278,0 +286,0 @@ } |
@@ -101,3 +101,3 @@ /// <reference path="../typings/MapsCreatr.d.ts" /> | ||
/** | ||
* An optional scope to call stretchAdd and afterAdd on, if not this. | ||
* An optional scope to call Prething commands in, if not this. | ||
*/ | ||
@@ -225,2 +225,11 @@ private commandScope: any; | ||
/** | ||
* Sets the scope to run PreThing commands in. | ||
* | ||
* @param commandScope A scope to run PreThing commands in. | ||
*/ | ||
public setCommandScope(commandScope: any): any { | ||
this.commandScope = commandScope; | ||
} | ||
/** | ||
* Sets the currently manipulated Map in the handler to be the one under a | ||
@@ -414,3 +423,3 @@ * given name. Note that this will do very little unless a location is | ||
prething.spawned = status; | ||
callback(prething); | ||
callback.call(this.commandScope, prething); | ||
} | ||
@@ -417,0 +426,0 @@ } |
@@ -132,2 +132,9 @@ /// <reference path="../typings/MapsCreatr.d.ts" /> | ||
/** | ||
* Sets the scope to run PreThing commands in. | ||
* | ||
* @param commandScope A scope to run PreThing commands in. | ||
*/ | ||
setCommandScope(commandScope: any): any; | ||
/** | ||
* Sets the currently manipulated Map in the handler to be the one under a | ||
@@ -134,0 +141,0 @@ * given name. Note that this will do very little unless a location is |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
194019
4854
0