top level

haxe
AbilityKind

One of the passive or usable abilities for some entities. Full list in the database

AlignmentStepKind

The different behavior steps a faction takes regarding a player. 0 : Enemy 1 : Hostile 2 : Neutral 3 : Friendly

Any

Any is a type that is compatible with any other in both ways.

Array

ArrayAccess

ArrayAccess is used to indicate a class that can be accessed using brackets. The type parameter represents the type of the elements stored.

BannerKind

Dialog informations concerning the representation of a clan's Bannerman. Used to display a campaign bannerman's portrait during dialogs.

BaseUnit

The first level of definition for a Unit. Hold all informations related to health points and damages.

BiomeKind

One of the environments for a map Full list in the database

BonusKind

One of the bonuses you can give to players. They are used in Conquest mode. Full list in the database

BonusSave

The data of a Conquest bonus.

BonusValId

Bool

The standard Boolean type, which can either be true or false.

Building

The buildings can be either player-built or part the central building defining the role of a zone.

BuildingKind

One of the existing buildings, including natural resources or victory buildings. Full list in the database.

ButtonOptions

ClanKind

One of the clan available clan. Full list in the database.

Class

An abstract type that represents a Class.

DialogOptions

Dynamic

Dynamic is a special type which is compatible with all other types.

Entity

Represent any existing object in the 3D world of Northgard.

Enum

An abstract type that represents an Enum type.

EnumValue

An abstract type that represents any enum value. See Type for the Haxe Reflection API.

EventKind

One of the in-game event that can happen any time of the year. Full list in the database.

Events

Class managing the ingame world events like Earthquakes, Rats invasion or Volcano eruptions.

Faction

A faction is the base of all groupment of units in Northgard. It includes both the players and the neutral factions like Kobolds or Giants. Factions are usually displayed in the Faction list at the top left of the screen.

Float

The standard Float type, this is a double-precision IEEE 64bit float.

FontKind

GameState

Int

The standard Int type. Its precision depends on the platform.

Iterable

An Iterable is a data structure which has an iterator() method. See Lambda for generic functions on iterable structures.

Iterator

An Iterator is a structure that permits iteration over elements of type T.

KeyValueIterable

A KeyValueIterable is a data structure which has a keyValueIterator() method to iterate over key-value-pairs.

KeyValueIterator

A KeyValueIterator is an Iterator that has a key and a value.

NeutralFaction

NeutralKind

The different neutral factions of the game.

Null

Null<T> is a wrapper that can be used to make the basic types Int, Float and Bool nullable on static targets.

OStatus

All the statuses an objective can take.

ObjectiveParams

A list of optional parameters for your objective.

PingFlagType

Player

One of the player in a game of northgard. Can be both a human or AI player. Any player manage a clan nand own one TownHall and a territory.

PlayerBonus

PlayerFlag

Player flags for IA control.

ReadOnlyArray

Array with an unchangeable number of elements.

ReadOnlyMap

Map with an unchangeable number of elements.

RecipeKind

Recipes available for the Squirrel's cooking system.

RelationCommon

RelationCommon contains the current state of a relation toward a faction. The final relation value is the sum of the relation lost due to the war and the relation gained from trading. relation = alignment + trade;

RelationData

Describe the relation between the current faction and another.

ResourceKind

One of the resources the players can produce. Full list in the database.

RivalryState

RuleKind

One of the rules you can set for a game. They are used in Conquest mode. Full list in the database

ScriptApi

ScriptMath

ScriptObjectives

SpyInfo

Std

The Std class provides standard methods for manipulating basic types.

String

The basic String class.

TechKind

One of the techs the player can unlock. Full list in the database

TradingPost

Controller of a trading post, to manage incoming and outgoing trades.

Type

The Haxe Reflection API allows retrieval of type information at runtime.

UiSfxKind

One of the SFX used by the UI. Full list in the database.

Unit

A multipurpose unit. Can be either a fighting or a producting unit.

UnitKind

One of the unit existing units, including warchiefs or foes. Full list in the database.

VictoryKind

global Victory

Void

The standard Void type. Only null values can be of the type Void.

Zone

A zone represent a patch of land in Northgard that can be colonized and exploited by the players. Any entity is located in