105 lines
		
	
	
		
			3.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			105 lines
		
	
	
		
			3.6 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" : "itemActionCode",
 | |
|                     "type" : "FIXED_INT"
 | |
|                 },
 | |
|                 {
 | |
|                     "name" : "itemActionCodeState",
 | |
|                     "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"
 | |
|                     ]
 | |
|                 },
 | |
|                 {
 | |
|                     "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"
 | |
|                     ]
 | |
|                 }
 | |
|             ]
 | |
|         }
 | |
|     ]
 | |
| } |