galeforce-tmp-sea
Version:
A customizable, promise-based, and command-oriented TypeScript library for the Riot Games API.
23 lines • 806 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TakesLorRegion = void 0;
/**
* A mixin for the `.lorRegion()` method.
* @template TBase The type of the object inside. Defaults to `typeof Action`.
* @param Base The target class.
*/
function TakesLorRegion(Base) {
return class extends Base {
/**
* Modifies the Legends of Runeterra in-game **lorRegion** associated with the Action object it is called from.
* @param lorRegion The lorRegion to update the calling Action object with.
*/
lorRegion(lorRegion) {
this.payload.lorRegion = lorRegion;
this.lorRegion = undefined;
return this;
}
};
}
exports.TakesLorRegion = TakesLorRegion;
//# sourceMappingURL=lor-region.js.map