배틀 생성/조회

배틀 참여/접속

배틀 (클라이언트 → 서버)

배틀 (서버 → 클라이언트)

  1. 소문자 사용

  2. client→server : 능동 / server → client: 수동

  3. 하나의 단어로만 형성 + 여러 단어가 결합되면 콜론(:) 추가

  4. 마무리는 항상 동사며 그 이전까지는 명사로

    === !! == 
    battle:join 
    battle:team:vote
    battle:attack
    battle:defense
    battle:chat
    battle:attack:vote
    battle:defense:vote
    
    battle:joined
    battle:team:voted
    battle:attack:voted
    battle:defense:voted
    battle:chatted
    battle:attacked
    battle:defensed
    
    battle:round:updated
    battle:phase:updated
    battle:turn:updated
    battle:attack:created
    battle:defense:created
    battle:closed
    
battle:Join 
Battle:TeamVote
Battle:Chat
Battle:Attack
Battle:Defense
Battle:AttackVote
Battle:DefenseVote

Battle:Joined
Battle:NewAttack
Battle:NewDefense
Battle:TeamVoteUpdate
Battle:AttackVoteUpdate
Battle:DefenseVoteUpdate
Battle:ChatUpdate
Battle:Attacked
Battle:Defensed
battle:round:update
battle:phase:update
battle:turn:update
Battle:Closed
user:join
user:joined

team:change
team:changed

battle:chat
battle:chatted
battle:attack
battle:defense
battle:attacked
battle:defensed
battle:round:updated
battle:phase:updated
battle:turn:updated

vote:attack
vote:defense
vote:attack:update
vote:defense:update
vote:attack:create
vote:defense:create
battle:user:join
battle:user:joined

battle:team:change
battle:team:changed

battle:chat
battle:chatted
battle:attack
battle:defense
battle:attacked
battle:defensed
battle:round:updated
battle:phase:updated
battle:turn:updated

battle:vote:attack
battle:vote:defense
battle:vote:attack:update
battle:vote:defense:update
battle:vote:attack:create
battle:vote:defense:create