• 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
  • dataType.ts
  • 강동현's avatar
    타입 정비 · 4b9d5682
    4b9d5682
    강동현 authored 2021-06-01 17:48:03 +0900
dataType.ts 368 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/**
 * 방 리스트에서 사용됩니다.
 */
export interface RoomDescription {
  uuid: string;
  name: string;
  currentUsers: number;
  maxUsers: number;
}

/**
 * 방에 접속했을 때 사용됩니다.
 */
export interface RoomInfo {
  uuid: string;
  name: string;
  maxUsers: number;
  users: UserData[];
}

export interface UserData {
  username: string;
}