UNPKG

galeforce-tmp-sea

Version:

A customizable, promise-based, and command-oriented TypeScript library for the Riot Games API.

23 lines 774 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TakesLorSet = void 0; /** * A mixin for the `.lorSet()` method. * @template TBase The type of the object inside. Defaults to `typeof Action`. * @param Base The target class. */ function TakesLorSet(Base) { return class extends Base { /** * Modifies the Legends of Runeterra **lorSet** associated with the Action object it is called from. * @param lorSet The Legends of Runeterra set to update the calling Action object with. */ lorSet(lorSet) { this.payload.lorSet = lorSet; this.lorSet = undefined; return this; } }; } exports.TakesLorSet = TakesLorSet; //# sourceMappingURL=lor-set.js.map