GolemComputers/proto/all.proto

29 lines
510 B
Protocol Buffer
Raw Normal View History

2025-03-23 22:33:38 -04:00
syntax = "proto3";
package computer;
option java_package = "ca.sanae.golemcomputers.computer";
option java_outer_classname = "NativeProtobuf";
message ComputerInit {
repeated ComponentInit components = 1;
uint32 primary_ram_pages = 2;
sint32 primary_rom_index = 3;
}
message ComponentInit {
oneof data {
CoreComponentInit core = 1;
ChatComponentInit chat = 2;
}
}
message CoreComponentInit {
uint32 instructions_per_tick = 1;
}
message ChatComponentInit {
sint32 java_index = 1;
}