FAForever / FAForever/server

Redesign party commands

オープン
#600 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
72
フォーク
84
平均マージ
5時間 11分
マージ済み PR(30日)
1

説明

It may be better to send party commands using a single command with many subcommands than our current implementation of having a separate command for every action.

We could go with a "polymorphic" approach:
```
{
"command": "party",
"action": "invite",
"recipient_id":
}
```

Or more of a "compositional" approach:
```
{
"command": "party",
"action": "invite",
"data": {
"recipient_id":
}
}
```

The compositional approach has a little more boilerplate built into the message, but it feels cleaner to me.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。