31 lines
602 B
Protocol Buffer
31 lines
602 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
package dfproto;
|
|
|
|
option optimize_for = LITE_RUNTIME;
|
|
|
|
// Plugin: rename
|
|
|
|
// RPC RenameSquad : RenameSquadIn -> EmptyMessage
|
|
message RenameSquadIn {
|
|
required int32 squad_id = 1;
|
|
|
|
optional string nickname = 2;
|
|
optional string alias = 3;
|
|
}
|
|
|
|
// RPC RenameUnit : RenameUnitIn -> EmptyMessage
|
|
message RenameUnitIn {
|
|
required int32 unit_id = 1;
|
|
|
|
optional string nickname = 2;
|
|
optional string profession = 3;
|
|
}
|
|
|
|
// RPC RenameBuilding : RenameBuildingIn -> EmptyMessage
|
|
message RenameBuildingIn {
|
|
required int32 building_id = 1;
|
|
|
|
optional string name = 2;
|
|
}
|