Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from CastyLab/develop
Browse files Browse the repository at this point in the history
Adding GET_FRIEND_STATE enum
  • Loading branch information
mrjosh committed Dec 25, 2020
2 parents 5cd9eb3 + 7f0a864 commit cf0387f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
7 changes: 7 additions & 0 deletions pbjs/ws.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,7 @@ $root.proto = (function() {
case 42:
case 43:
case 44:
case 45:
break;
}
if (message.data != null && message.hasOwnProperty("data"))
Expand Down Expand Up @@ -1199,6 +1200,10 @@ $root.proto = (function() {
case 44:
message.type = 44;
break;
case "GET_FRIEND_STATE":
case 45:
message.type = 45;
break;
}
if (object.data != null)
if (typeof object.data === "string")
Expand Down Expand Up @@ -1329,6 +1334,7 @@ $root.proto = (function() {
* @property {number} CALLLING=42 CALLLING value
* @property {number} DECLINED=43 DECLINED value
* @property {number} ANSWERED=44 ANSWERED value
* @property {number} GET_FRIEND_STATE=45 GET_FRIEND_STATE value
*/
proto.EMSG = (function() {
var valuesById = {}, values = Object.create(valuesById);
Expand Down Expand Up @@ -1377,6 +1383,7 @@ $root.proto = (function() {
values[valuesById[42] = "CALLLING"] = 42;
values[valuesById[43] = "DECLINED"] = 43;
values[valuesById[44] = "ANSWERED"] = 44;
values[valuesById[45] = "GET_FRIEND_STATE"] = 45;
return values;
})();

Expand Down
10 changes: 7 additions & 3 deletions proto/ws.enums.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions protofiles/ws.enums.proto
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,6 @@ enum EMSG {
CALLLING = 42;
DECLINED = 43;
ANSWERED = 44;

GET_FRIEND_STATE = 45;
}

0 comments on commit cf0387f

Please sign in to comment.