Renderer/net/inventory.json
austin b5e8c71545
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
toolbar state mostly working
2024-09-27 18:23:55 -04:00

127 lines
4.5 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"
},
{
"name" : "toolbarId",
"type" : "FIXED_INT"
},
{
"name" : "itemActionCode",
"type" : "FIXED_INT"
},
{
"name" : "itemActionCodeState",
"type" : "FIXED_INT"
}
],
"messageTypes" : [
{
"messageName" : "addItemToInventory",
"description" : "Requests that the server add the item to the client entity's appropriate inventory",
"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",
"containerType",
"equipPointId",
"entityId",
"itemTemplate"
]
},
{
"messageName" : "serverCommandUnequipItem",
"description" : "Instructs the client to unequip an item",
"data" : [
"equipperId",
"containerType",
"equipPointId"
]
},
{
"messageName" : "clientRequestUnequipItem",
"description" : "Requests that the server unequip an item from the client's entity",
"data" : [
"equipPointId"
]
},
{
"messageName" : "clientRequestAddToolbar",
"description" : "Requests that the server add the item to the client entity's toolbar",
"data" : [
"entityId",
"toolbarId"
]
},
{
"messageName" : "clientRequestAddNatural",
"description" : "Requests that the server add the item to the client entity's natural inventory",
"data" : [
"entityId"
]
},
{
"messageName" : "clientRequestPerformItemAction",
"description" : "Requests that the server have the entity perform its equipped item's action for the given equip point",
"data" : [
"equipPointId",
"itemActionCode",
"itemActionCodeState"
]
}
]
}
]
}