-
Notifications
You must be signed in to change notification settings - Fork 156
/
Copy pathsteammessages_unified_test.proto
51 lines (39 loc) · 1.56 KB
/
steammessages_unified_test.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
syntax = "proto2";
import "steammessages_base.proto";
import "steammessages_unified_base.proto";
option py_generic_services = true;
message CMsgTest_MessageToClient_Request {
optional string some_text = 1 [(description) = "Some string."];
}
message CMsgTest_MessageToClient_Response {
optional string some_text = 1 [(description) = "Some string."];
}
message CMsgTest_NotifyClient_Notification {
optional string some_text = 1 [(description) = "Some string."];
}
message CMsgTest_MessageToServer_Request {
optional string some_text = 1 [(description) = "Some string."];
}
message CMsgTest_MessageToServer_Response {
optional string some_text = 1 [(description) = "Some string."];
}
message CMsgTest_NotifyServer_Notification {
optional string some_text = 1 [(description) = "Some string."];
}
service TestSteamClient {
option (service_execution_site) = k_EProtoExecutionSiteSteamClient;
rpc MessageToClient (.CMsgTest_MessageToClient_Request) returns (.CMsgTest_MessageToClient_Response) {
option (method_description) = "Some description - MessageToClient.";
}
rpc NotifyClient (.CMsgTest_NotifyClient_Notification) returns (.NoResponse) {
option (method_description) = "Some description - NotifyClient.";
}
}
service TestServerFromClient {
rpc MessageToServer (.CMsgTest_MessageToServer_Request) returns (.CMsgTest_MessageToServer_Response) {
option (method_description) = "Some description - MessageToServer.";
}
rpc NotifyServer (.CMsgTest_NotifyServer_Notification) returns (.NoResponse) {
option (method_description) = "Some description - NotifyServer.";
}
}