I have a problem with setting custom parameters for inventory items.
When overriding OpenSpaceExtension getInventoryItemsList method i'm browsing the items list in the debugger but none of items has these fields defined in properties hashmap. All i have is:
Code: Select all
[null, null, null, null, null, null, null, null, null, null, null, null, null, null, key=sofa, null]
This is an example of inventory:
Code: Select all
{"cpk":"yName;yId","items":[{"t":"t","p":"furniture_fabric_sofa;88","a":"t6;;t6;;t6;;t6","i":"sofa"},{"t":"t","p":"furniture_design_coffee_table;89","a":"t48;;t48;;t48;;t48","i":"table"},{"t":"t","p":"furniture_design_guitar;90","a":"t19;;t19;;t19;;t19","i":"guitar"}]}
What's wrong with it?
BTW custom parameters are visible on client side after loading the inventory. Is there any possibility to have it on server side?