summaryrefslogtreecommitdiff
path: root/plugins/proto
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-09-05 21:27:42 +0400
committerAlexander Gavrilov2012-09-05 21:27:42 +0400
commit8d876cc7d92faf1616d914e03c890772256ebb83 (patch)
tree86a87e2dc8a586a0d12f51966d065b9f5ae92de1 /plugins/proto
parent57086ac56eb489abd0c7759aed084020edc71148 (diff)
downloaddfhack-8d876cc7d92faf1616d914e03c890772256ebb83.tar.gz
dfhack-8d876cc7d92faf1616d914e03c890772256ebb83.tar.bz2
dfhack-8d876cc7d92faf1616d914e03c890772256ebb83.tar.xz
Support renaming some buildings, and arbitrary units, via gui script.
Diffstat (limited to 'plugins/proto')
-rw-r--r--plugins/proto/rename.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/proto/rename.proto b/plugins/proto/rename.proto
index aa1e95f4..810091fc 100644
--- a/plugins/proto/rename.proto
+++ b/plugins/proto/rename.proto
@@ -17,3 +17,10 @@ message RenameUnitIn {
optional string nickname = 2;
optional string profession = 3;
}
+
+// RPC RenameBuilding : RenameBuildingIn -> EmptyMessage
+message RenameBuildingIn {
+ required int32 building_id = 1;
+
+ optional string name = 2;
+}