Skip to content

Commit 869573a

Browse files
committed
add storage monitor to protobuf spec
1 parent 456dd85 commit 869573a

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

rustplus.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,23 @@ message AppEntityInfo {
159159
enum AppEntityType {
160160
Switch = 1;
161161
Alarm = 2;
162+
StorageMonitor = 3;
162163
}
163164

164165
message AppEntityPayload {
166+
165167
optional bool value = 1;
168+
repeated AppEntityPayload.Item items = 2;
169+
optional int32 capacity = 3;
170+
optional bool hasProtection = 4;
171+
optional uint32 protectionExpiry = 5;
172+
173+
message Item {
174+
required int32 itemId = 1;
175+
required int32 quantity = 2;
176+
required bool itemIsBlueprint = 3;
177+
}
178+
166179
}
167180

168181
message AppFlag {

0 commit comments

Comments
 (0)