-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
131 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
syntax = "proto2"; | ||
/* XXX: This is a first approximation of login response. Not looked into or verified. */ | ||
import "per-session-info.proto"; | ||
|
||
message LoginResponse { | ||
required string session_state = 1; | ||
required PerSessionInfo info = 2; | ||
optional uint32 relay_session_id = 3; | ||
optional uint32 expiration = 4; // minutes | ||
optional EconomyConfig economy_config = 5; | ||
} | ||
|
||
message LoginRequest { | ||
optional AnalyticsEventProperties properties = 1; | ||
required bytes key = 2; | ||
} | ||
|
||
message AnalyticsEventProperty { | ||
required string f1 = 1; | ||
required string f2 = 2; | ||
} | ||
|
||
message AnalyticsEventProperties { | ||
repeated AnalyticsEventProperty property = 2; | ||
} | ||
|
||
message RelaySessionRefreshResponse { | ||
required uint32 relay_session_id = 1; | ||
required uint32 expiration = 2; // minutes | ||
} | ||
|
||
message EconomyConfig { | ||
repeated Level cycling_levels = 1; | ||
repeated Level running_levels = 2; | ||
required uint32 f3 = 3; | ||
required uint32 f4 = 4; | ||
required uint32 f5 = 5; | ||
optional uint32 transition_start = 6; | ||
optional uint32 transition_end = 7; | ||
} | ||
|
||
message Level { | ||
required uint32 level = 1; | ||
required uint32 xp = 2; | ||
required uint32 drops = 3; | ||
optional uint32 f4 = 4; | ||
optional string entitlement_1 = 5; | ||
optional string entitlement_2 = 6; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters