• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

SOLVED Create DsList in iOS Native extension

B

blitNicofo

Guest
Hello

I have created an extension for iOS with Objective C and I need to return a list of maps.
In the iOS native extensions examples show how to create a dsMap with CreateDsMap, but nothing more.

How can I create a DsList of DsMaps in objective C?
Is there a list of all the GameMaker functions available from the native extension?

Thank you
 
Last edited by a moderator:

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
There's a list of available functions on the helpdesk page for async events:
I think your general options are:
  • Include a JSON list as a string ("[a, b, c]") in the map (built-in Steam functions do this)
  • Use suffixed keys ("item-0", "item-1", etc.) for the indexed entries (some official extensions do this)
 
Top