GameM.ts 328 B

1234567891011121314
  1. import WsM from "./WsM";
  2. export default class GameM {
  3. private static _ins: GameM;
  4. public static get ins(): GameM {
  5. return (GameM._ins ??= new GameM());
  6. }
  7. public async getGameList(): Promise<any> {
  8. let result = await WsM.ins.syncRequest(24001, {});
  9. console.log("gameList", result);
  10. return result;
  11. }
  12. }