Renderer/net/inventory.json
2024-06-07 19:42:48 -04:00

88 lines
2.9 KiB
JSON

{
"outputPath" : "./src/main/java/electrosphere/net/parser/",
"packageName" : "electrosphere.net.parser",
"categories":[
{
"categoryName" : "Inventory",
"data" : [
{
"name" : "itemTemplate",
"type" : "VAR_STRING"
},
{
"name" : "equipPointId",
"type" : "VAR_STRING"
},
{
"name" : "entityId",
"type" : "FIXED_INT"
},
{
"name" : "equipperId",
"type" : "FIXED_INT"
},
{
"name" : "containerType",
"type" : "FIXED_INT"
}
],
"messageTypes" : [
{
"messageName" : "addItemToInventory",
"data" : [
"entityId",
"itemTemplate"
]
},
{
"messageName" : "removeItemFromInventory",
"data" : [
"entityId"
]
},
{
"messageName" : "clientRequestEquipItem",
"description" : "Requests that the server equip an item to the player's entity",
"data" : [
"equipPointId",
"entityId"
]
},
{
"messageName" : "serverCommandMoveItemContainer",
"description" : "Instructs the client to move an item to a container",
"data" : [
"entityId",
"containerType",
"equipPointId"
]
},
{
"messageName" : "serverCommandEquipItem",
"description" : "Instructs the client to equip an item to an entity",
"data" : [
"equipperId",
"equipPointId",
"entityId",
"itemTemplate"
]
},
{
"messageName" : "serverCommandUnequipItem",
"description" : "Instructs the client to unequip an item",
"data" : [
"equipperId",
"equipPointId"
]
},
{
"messageName" : "clientRequestUnequipItem",
"description" : "Requests that the server unequip an item from the client's entity",
"data" : [
"equipPointId"
]
}
]
}
]
}