Files
ZYZ/game-server/app/servers/gate/remote/gateRemote.ts
2021-07-16 11:29:26 +08:00

16 lines
419 B
TypeScript

import { Application, ChannelService, FrontendSession, RemoterClass, HandlerService, } from 'pinus';
export default function (app: Application) {
new HandlerService(app, {});
return new GateRemote(app);
}
export class GateRemote {
constructor(private app: Application) {
this.app = app;
this.channelService = app.get('channelService');
}
private channelService: ChannelService;
}