{"size": 1894, "ext": "js", "max_stars_repo_path": "library/imports/c2/c2fea9cc-b97c-4f88-bb5f-3476f72c2ddd.js", "max_stars_repo_name": "potato47/nhwc-client", "max_stars_repo_stars_event_min_datetime": "2018-06-27T08:16:04.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-29T14:59:20.000Z", "max_issues_repo_path": "library/imports/c2/c2fea9cc-b97c-4f88-bb5f-3476f72c2ddd.js", "max_issues_repo_name": "blockgames2018/nhwc-client", "max_issues_repo_issues_event_min_datetime": "2018-08-28T03:10:47.000Z", "max_issues_repo_issues_event_max_datetime": "2020-01-06T03:34:55.000Z", "max_forks_repo_path": "library/imports/c2/c2fea9cc-b97c-4f88-bb5f-3476f72c2ddd.js", "max_forks_repo_name": "blockgames2018/nhwc-client", "max_forks_repo_forks_event_min_datetime": "2018-08-11T05:37:13.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-31T01:25:09.000Z"}
{"max_stars_count": 50, "max_issues_count": 2, "max_forks_count": 29, "avg_line_length": 31.5666666667, "max_line_length": 77, "alphanum_fraction": 0.6309398099}
"use strict";
cc._RF.push(module, 'c2feanMuXxPiLtfNHb3LC3d', 'RoomModel');
// src/models/RoomModel.ts

Object.defineProperty(exports, "__esModule", { value: true });
var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property;
var RoomModel = /** @class */ (function (_super) {
    __extends(RoomModel, _super);
    function RoomModel() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.room = {};
        return _this;
    }
    RoomModel.prototype.init = function (roomData) {
        this.room = roomData;
    };
    RoomModel.prototype.setRoom = function (room) {
        this.room = room;
    };
    RoomModel.prototype.getRoom = function () {
        return this.room;
    };
    RoomModel.prototype.getSeatMap = function () {
        return this.room.seatMap;
    };
    RoomModel.prototype.getUidBySeat = function (seat) {
        return this.room.seatMap[seat].uid;
    };
    RoomModel.prototype.setScoreBySeat = function (seat, score) {
        this.room.seatMap[seat].score = score;
    };
    RoomModel.prototype.getScoreBySeat = function (seat) {
        return this.room.seatMap[seat].score;
    };
    RoomModel.prototype.setSeatReady = function (seat, isReady) {
        this.room.seatMap[seat].isReady = isReady;
    };
    RoomModel.prototype.getRid = function () {
        return this.room.rid;
    };
    RoomModel.prototype.getHint = function () {
        return this.room.hint;
    };
    RoomModel.prototype.getGameTime = function () {
        return this.room.gameTime;
    };
    RoomModel.prototype.getResultTime = function () {
        return this.room.resultTime;
    };
    RoomModel.prototype.getPaintSeat = function () {
        return this.room.paint;
    };
    RoomModel = __decorate([
        ccclass
    ], RoomModel);
    return RoomModel;
}(cc.Component));
exports.RoomModel = RoomModel;

cc._RF.pop();