commonui-lib-test
Version:
"#common ui lib test"
29 lines (28 loc) • 1.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const basicMsgHandler_1 = require("./basicMsgHandler");
class GameMsgHandler extends basicMsgHandler_1.default {
constructor() {
super();
}
;
initHandler(protoRoot, socketHandler) {
this.protoRoot = protoRoot;
this.socketHandler = socketHandler;
this.enumActionKey = "EnumOgddzProtocol";
this.serverToClientKey = "ServerToClient";
this.clientToServerKey = "ClientToServer";
this.initResponseAction("EnumOgddzProtocol", "unknow");
this.initUpdateAction("Update");
this.initNotifyAction('Notify');
// console.warn("GameMsgHandler responseAction : ", this.responseAction);
// console.warn("GameMsgHandler updateAction : ", this.updateAction);
}
onMessageError(evt) {
super.onMessageError(evt);
}
reciveServerToClient(evt) {
super.reciveServerToClient(evt);
}
}
exports.default = GameMsgHandler;