Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Zanderfax on May 17, 2017, 08:40:26 AM

Title: Can you store dictionary data in Playmaker?
Post by: Zanderfax on May 17, 2017, 08:40:26 AM
Is it possible to store the contents of a C# dictionary in Playmaker?
Title: Re: Can you store dictionary data in Playmaker?
Post by: Fat Pug Studio on May 17, 2017, 10:11:49 AM
You can use arraymaker for hashtables if that's what you're thinking of?
Title: Re: Can you store dictionary data in Playmaker?
Post by: Zanderfax on May 17, 2017, 10:54:02 AM
I have created a nested HashTableProxy successfully, however there is no way for me to get the nested hash tables out because it appears PlayMaker can't cast to a hash table proxy.

I can't find any documentation nor examples of how to work with the HashTableProxy, so I am a bit lost.
Title: Re: Can you store dictionary data in Playmaker?
Post by: Fat Pug Studio on May 18, 2017, 07:35:25 AM
I'm afrait that's a bit out of my scope, you'll have to wait out Jean on this one.
Title: Re: Can you store dictionary data in Playmaker?
Post by: jeanfabre on May 23, 2017, 02:54:12 AM
Hi,

 yes, ArrayMaker hashtable system can not nest hashtables.

 Typically when I need this I use several hashtable proxies, but that's limited I give you that.

 when you mention nested dictionnary, for me this is typically a case to move from hashtables and use either Xml ( DataMaker for PlayMaker gives you full xml support) or databases.

 Bye,

 Jean