Table of Contents

Method Deserialize

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

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

serializedARE byte[]

The serialized static area information (.are).

serializedGIT byte[]

The serialized dynamic area information (.git).

newTag string

A new tag for this area. Defaults to the tag set in the toolset.

newName string

A 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

resRef string

The base resref name to use (e.g. area001). Overrides previous areas with the same resref (excl. development folder areas).

serializedARE byte[]

The serialized static area information (.are).

serializedGIT byte[]

The serialized dynamic area information (.git).

newTag string

A new tag for this area. Defaults to the tag set in the toolset.

newName string

A new name for this area. Defaults to the name set in the toolset.

Returns

NwArea

The created area.