Signature
native set_pdata_string(entity, offset, const source[], realloc = 2, linux, mac = cellmin);
Notes
-
Sets a string in a private offset.
realloc = -1 - nonbyref copy (static
realloc = 0 - copy byref, no realloc *(char **)
realloc = 1 - reallocate new string with free+malloc
realloc = 2 - reallocate new string with delete[]+new[]
linux value is what to add to the offset for linux servers.
mac value iswhat to add to the offset for os x servers.
this cannot use a default value due to older version using an awkward default value.