Method Deserialize
Deserialize(byte[], byte[], string, string)
Creates an area from the specified serialized area data.
public static NwArea? Deserialize(byte[] serializedARE, byte[] serializedGIT, string newTag = "", string newName = "")
Parameters
serializedAREbyte[]The serialized static area information (.are).
serializedGITbyte[]The serialized dynamic area information (.git).
newTagstringA new tag for this area. Defaults to the tag set in the toolset.
newNamestringA new name for this area. Defaults to the name set in the toolset.
Returns
- NwArea
The created area.
Deserialize(string, byte[], byte[], string, string)
Creates an area from the specified serialized area data.
public static NwArea? Deserialize(string resRef, byte[] serializedARE, byte[] serializedGIT, string newTag = "", string newName = "")
Parameters
resRefstringThe base resref name to use (e.g. area001). Overrides previous areas with the same resref (excl. development folder areas).
serializedAREbyte[]The serialized static area information (.are).
serializedGITbyte[]The serialized dynamic area information (.git).
newTagstringA new tag for this area. Defaults to the tag set in the toolset.
newNamestringA new name for this area. Defaults to the name set in the toolset.
Returns
- NwArea
The created area.