We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need an RPC API for external services such as clank-bot Discord Bot etc.
Example:
syntax = "proto3"; option java_package = "net.hashsploit.mediusdiscordbot.proto"; service MediusInformation{ rpc GetStatus(StatusReq) returns (StatusRes) {} rpc GetPlayers(PlayersReq) returns (TableData){} rpc GetGames(GamesReq) returns (TableData){} rpc BroadcastMessage(BroadcastReq) returns (BroadcastRes){} } message BroadcastReq{ string message = 1; } message BroadcastRes{ bool success = 1; } message StatusListing{ string serverName = 1; bool serverActive = 2; } message GamesReq{} message StatusReq{} message StatusRes{ repeated StatusListing serverStatuses = 1; } message PlayersReq{} message TableRow{ repeated string values = 1; } message TableData{ TableRow headers = 1; repeated TableRow rows = 2; } message PlayerStatus{ string playerName = 1; string status = 2; } message PlayersRes{ // repeated string onlinePlayers = 1; repeated PlayerStatus onlinePlayers = 1; } message PlayerInfoReq{ string playerName = 1; } message PlayerInfoRes{ string playerName = 1; bool status = 2; string clan = 3; int32 overallRank = 4; int32 skillLevel = 5; int32 gamesPlayed = 6; int32 wins = 7; int32 losses = 8; int32 kills = 9; int32 deaths = 10; int32 nodesTaken = 11; int32 squats = 12; }
The text was updated successfully, but these errors were encountered:
hashsploit
No branches or pull requests
We need an RPC API for external services such as clank-bot Discord Bot etc.
Example:
The text was updated successfully, but these errors were encountered: