goonserver/actions/actions.proto
2024-10-10 11:42:36 +02:00

22 lines
352 B
Protocol Buffer

syntax = "proto3";
package actions;
option go_package = "gitea.boner.be/bdnugget/goonserver/actions";
message Action {
enum ActionType {
MOVE = 0;
}
ActionType type = 1;
int32 x = 2;
int32 y = 3;
int32 player_id = 4;
}
message ServerMessage {
int32 player_id = 1;
// Add other fields for server responses
}