Renderer/net/synchronization.json
2024-07-13 15:26:29 -04:00

79 lines
2.4 KiB
JSON

{
"outputPath" : "./src/main/java/electrosphere/net/parser/",
"packageName" : "electrosphere.net.parser",
"categories":[
{
"categoryName" : "Synchronization",
"data" : [
{
"name" : "entityId",
"type" : "FIXED_INT"
},
{
"name" : "bTreeId",
"type" : "FIXED_INT"
},
{
"name" : "fieldId",
"type" : "FIXED_INT"
},
{
"name" : "bTreeValue",
"type" : "FIXED_INT"
},
{
"name" : "stringValue",
"type" : "VAR_STRING"
}
],
"messageTypes" : [
{
"messageName" : "UpdateClientState",
"description" : "Updates an integer on the client",
"data" : [
"entityId",
"bTreeId",
"fieldId",
"bTreeValue"
]
},
{
"messageName" : "UpdateClientStringState",
"description" : "Updates a string on the client",
"data" : [
"entityId",
"bTreeId",
"fieldId",
"stringValue"
]
},
{
"messageName" : "AttachTree",
"description" : "Attaches a btree to an entity on the client",
"data" : [
"entityId",
"bTreeId"
]
},
{
"messageName" : "DetatchTree",
"description" : "Detatches a btree from an entity on the client",
"data" : [
"entityId",
"bTreeId"
]
},
{
"messageName" : "LoadScene",
"description" : "Instructs the client to load a given scene",
"data" : [
"stringValue"
]
}
]
}
]
}