2024-10-10 10:15:52 +02:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package actions;
|
|
|
|
|
2024-10-10 10:52:35 +02:00
|
|
|
option go_package = "gitea.boner.be/bdnugget/goonserver/actions";
|
|
|
|
|
2024-10-10 10:15:52 +02:00
|
|
|
message Action {
|
|
|
|
enum ActionType {
|
|
|
|
MOVE = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ActionType type = 1;
|
|
|
|
int32 x = 2;
|
|
|
|
int32 y = 3;
|
2024-10-10 11:42:36 +02:00
|
|
|
int32 player_id = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ServerMessage {
|
|
|
|
int32 player_id = 1;
|
|
|
|
// Add other fields for server responses
|
2024-10-10 10:15:52 +02:00
|
|
|
}
|