1234567891011121314151617181920212223242526272829303132333435363738 |
- -record(team, {
- name, % { team name for now will bu just first player username }
- id,
- play_record, % { linked list history of played users under that ticket }
- type }).
- -record(meeting, {
- name, % { tournament name }
- id,
- game_type,
- description,
- creator,
- created, % time
- start_date,
- start_time,
- end_date,
- status, % { activated, ongoing, finished, canceled }
- quota,
- tours,
- awards,
- winners :: list(), % [{UserId, Position, GiftId}]
- waiting_queue, % { play_record, added here when user wants to join tournament }
- avatar,
- owner,
- players_count,
- speed,
- type,
- game_mode }). % { eliminatin, pointing, etc }
- -record(play_record, { % { tournament_player, game_record, tournament_info, choose your name :) }
- who, % { user }
- tournament, % { tournament in which user played }
- team, % { team under which user player tournament }
- game_id, % { game id that user played under that team }
- realname,
- points, % [{money,Point},{bonus,Points}]
- quota }).
|