Worldspawn settings

Hey,

I would like to read out the Worldspawn settings of a map and save them in gsc array/variables.

I found the gfxworld.h in the xassets source, but I don’t know how to access the data through a plugin.
Can you help me?