it would be nice to have to possibility to add custom properties to VirtualGoods. That is incredibly useful for goods type (ex: weapons range, swords properties etc).
Actually we have the tag field, that is a string so we can add everything here (like a JSON) however it is more like a "trick" that a feature.
I actually implemented that using custom metadata collection properties that are added to the ListVirtualGoodsResponse script data.
Would you plan to implement such kind of support ?
We have just added this feature! You can now set custom properties to include in almost any circumstance using the new Properties feature.
unless i'm mistaken, this custom properties feature doesn't really add a new custom property to a virtual good. it just allows one to associate a json object to a virtual good via a short code. so if i want to add a custom property, say, "duration" with a number value to a set of virtual goods, i'm not actually adding a "duration" property and then assigning values to each virtual good, but instead need to either:
is that in fact how custom properties work? or have i misunderstood its design?
Hi Hamlet, I agree with you on this. I am new to GS and have been playing with the virtual goods and assigning them properties. Its looks like a over kill to set an entire set of table with each virtual good, if assigned as a property set.
A 3rd option would be to be able to assign one of the items inside the table to the virtual good as a property rather than a property set itself.
As you has said I am starting to think if I have misunderstood the properties as well, it looks like the PropertySets are tables you have mentioned above.