• This project
    • Loading...
  • Sign in

강동현 / nodejs-game

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • nodejs-game
  • common
  • message.ts
  • 강동현's avatar
    common 폴더 추가 & 레퍼런스 · ce81def6
    ce81def6
    강동현 authored 2021-06-01 12:31:18 +0900
message.ts 300 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
export interface ServerInboundMessageMap {
  login: {
    username: string;
  };
  roomList: {
    result: {
      uuid: string;
      name: string;
      currentUsers: number;
      maxUsers: number;
    }[];
  };
}

export interface ServerOutboundMessageMap {
  chat: {
    message: string;
  };
}