Files
ZYZ/game-server/app/servers/role/remote/roleRemote.ts
2020-09-08 19:59:19 +08:00

15 lines
369 B
TypeScript

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