mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-21 00:59:22 +00:00
API cleanup
This commit is contained in:
parent
cccb3dce84
commit
878d7fe298
1 changed files with 3 additions and 1 deletions
|
|
@ -72,10 +72,10 @@ const (
|
|||
WebrtcAnswer PT = 102
|
||||
WebrtcIce PT = 103
|
||||
StartGame PT = 104
|
||||
ChangePlayer PT = 108
|
||||
QuitGame PT = 105
|
||||
SaveGame PT = 106
|
||||
LoadGame PT = 107
|
||||
ChangePlayer PT = 108
|
||||
ToggleMultitap PT = 109
|
||||
RecordGame PT = 110
|
||||
GetWorkerList PT = 111
|
||||
|
|
@ -116,6 +116,8 @@ func (p PT) String() string {
|
|||
return "RecordGame"
|
||||
case GetWorkerList:
|
||||
return "GetWorkerList"
|
||||
case ErrNoFreeSlots:
|
||||
return "NoFreeSlots"
|
||||
case RegisterRoom:
|
||||
return "RegisterRoom"
|
||||
case CloseRoom:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue