playMaker

Author Topic: Can you store dictionary data in Playmaker?  (Read 2603 times)

Zanderfax

  • Playmaker Newbie
  • *
  • Posts: 14
Can you store dictionary data in Playmaker?
« on: May 17, 2017, 08:40:26 AM »
Is it possible to store the contents of a C# dictionary in Playmaker?

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Can you store dictionary data in Playmaker?
« Reply #1 on: May 17, 2017, 10:11:49 AM »
You can use arraymaker for hashtables if that's what you're thinking of?
Available for Playmaker work

Zanderfax

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Can you store dictionary data in Playmaker?
« Reply #2 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.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Can you store dictionary data in Playmaker?
« Reply #3 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.
Available for Playmaker work

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Can you store dictionary data in Playmaker?
« Reply #4 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