DPB1Class · Utilities and settings

AreaInstance

Provides area instance data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Models

public class AreaInstance
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

15 declared here

TimeEntered

FieldLink ↗
public DateTime AreaInstance.TimeEntered

Reads or assigns time entered on AreaInstance as DateTime. The exact type and accessors are shown below.

Value type: DateTimeNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

AreaInstance

MethodLink ↗
public AreaInstance.AreaInstance(AreaTemplate area, AreaMap areaMap, uint hash, int realLevel)

Creates a new AreaInstance instance using the supplied arguments.

Parameters

area
Parameter type: AreaTemplate

Specifies area.

areaMap

Specifies area map.

hash
Parameter type: uintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies hash.

realLevel
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies real level.

GetTimeString

MethodLink ↗
public static string AreaInstance.GetTimeString(TimeSpan timeSpent)

Calls GetTimeString on AreaInstance with timeSpent and returns string. Open the return contract below before using the result.

Return type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

timeSpent
Parameter type: TimeSpanNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies time spent.

Returns: The string result.

ToString

MethodLink ↗
public override string AreaInstance.ToString()

Returns a text representation of this value.

Return type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Returns: The string result.

Act

PropertyLink ↗
public int AreaInstance.Act { get; }

Reads act on AreaInstance as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Cols

PropertyLink ↗
public int AreaInstance.Cols { get; private set; }

Reads or assigns cols on AreaInstance as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

DisplayName

PropertyLink ↗
public string AreaInstance.DisplayName { get; }

Reads display name on AreaInstance as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

HasWaypoint

PropertyLink ↗
public bool AreaInstance.HasWaypoint { get; }

Whether waypoint is present.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Hash

PropertyLink ↗
public uint AreaInstance.Hash { get; }

Whether h is present.

Value type: uintNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsHideout

PropertyLink ↗
public bool AreaInstance.IsHideout { get; }

Whether this area instance is hideout.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

IsTown

PropertyLink ↗
public bool AreaInstance.IsTown { get; }

Whether this area instance is town.

Value type: boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Name

PropertyLink ↗
public string AreaInstance.Name { get; }

Reads name on AreaInstance as string. The exact type and accessors are shown below.

Value type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

RealLevel

PropertyLink ↗
public int AreaInstance.RealLevel { get; }

Reads real level on AreaInstance as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Rows

PropertyLink ↗
public int AreaInstance.Rows { get; private set; }

Reads or assigns rows on AreaInstance as int. The exact type and accessors are shown below.

Value type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

DPB1 0.3.29.56 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.