@ginstone/nga-api
Version:
21 lines (20 loc) • 511 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BetOption = exports.VoteOption = void 0;
//投票选项
class VoteOption {
constructor(id, label, count) {
this.id = id;
this.label = label;
this.count = count;
}
}
exports.VoteOption = VoteOption;
// 菠菜选项
class BetOption extends VoteOption {
constructor(id, label, count, money) {
super(id, label, count);
this.money = money;
}
}
exports.BetOption = BetOption;