Files
ZYZ/game-server/app/servers/activity/remote/activityRemote.ts
2021-05-12 18:56:47 +08:00

23 lines
519 B
TypeScript

import { Application, ChannelService } from 'pinus';
import { reloadResources } from '../../../pubUtils/data';
export default function (app: Application) {
return new ActivityRemote(app);
}
export class ActivityRemote {
constructor(private app: Application) {
this.app = app;
this.channelService = app.get('channelService');
}
private channelService: ChannelService;
/**
* 重载json资源
*/
public async reloadResources() {
reloadResources();
}
}