noref bool require_spawnfunc_prefix;
.bool spawnfunc_checked;
+.string fullspawndata;
+
// Optional type checking; increases compile time too much to be enabled by default
#if 0
bool entityfieldassignablefromeditor(int i)
} \
if (!this.spawnfunc_checked) { \
_checkWhitelisted(this, #id); \
+ if (__fullspawndata) { \
+ /* not supported in old DP */ \
+ /* must be read inside the real spawnfunc */ \
+ this.fullspawndata = __fullspawndata; \
+ } \
this.spawnfunc_checked = true; \
if (this) { \
/* not worldspawn, delay spawn */ \