UNPKG

ns2-front-module-common

Version:
28 lines 1.28 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { AbstractMessage } from "./abstract/abstract-message.model"; import { MESSAGE_HEADER_TYPE_SYSTEM, MESSAGE_HEADER_ACTION_JOIN, MESSAGE_RCPT_CHANNEL } from "./abstract/const"; /** * Модель уведомления о вступлении пользователя в канал */ var JoinSystemChannel = (function (_super) { __extends(JoinSystemChannel, _super); function JoinSystemChannel() { var _this = _super.call(this) || this; _this.header.type = MESSAGE_HEADER_TYPE_SYSTEM; _this.header.action = MESSAGE_HEADER_ACTION_JOIN; _this.header.rcpt = MESSAGE_RCPT_CHANNEL; return _this; } return JoinSystemChannel; }(AbstractMessage)); export { JoinSystemChannel }; //# sourceMappingURL=join-system-channel.model.js.map