commonui-lib-test
Version:
"#common ui lib test"
29 lines (28 loc) • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const basicMsgHandler_1 = require("./basicMsgHandler");
class CommMsgHandler extends basicMsgHandler_1.default {
constructor() {
super();
}
;
initHandler(protoRoot, socketHandler) {
this.protoRoot = protoRoot;
this.socketHandler = socketHandler;
this.enumActionKey = "GameProtocol";
this.serverToClientKey = "MessageServerToClient";
this.clientToServerKey = "MessageClientToServer";
this.initResponseAction("GameProtocol", "");
this.initUpdateAction("CommonUpdate", "");
this.initNotifyAction("EnumNotifyType");
// console.warn("CommMsgHandler responseAction : ", this.responseAction);
// console.warn("CommMsgHandler updateAction : ", this.updateAction);
}
onMessageError(evt) {
super.onMessageError(evt);
}
reciveServerToClient(evt) {
super.reciveServerToClient(evt);
}
}
exports.default = CommMsgHandler;