Namespace Anvil.API
Classes
- AppearanceTableEntry
A creature appearance table entry (appearance.2da)
- CallInfo
Meta information for script calls, consumed by ScriptHandler attributed methods in service classes.
- Cassowary
Represents a Cassowary engine structure.
A Cassowary is a type of solver. NWN uses them internally to resize the newer GUI window.
- CollectionExtensions
Various class extensions for generic collections.
- CreatureSpellAbility
Represents a spell-like ability on a creature.
- Effect
Represents an effect engine structure.
- EffectIconTableEntry
An effect icon table entry (effecticons.2da)
- EffectParams<T>
Represents an array of Effect parameters.
- EngineStructure
A pointer-type VM structure.
- EnvironmentPreset
An environment preset defined in environment.2da
- GffResourceField
A property/field in a GffResource.
- GffResourceFieldList
A GffResourceField containing a list of GffResourceFieldStruct values.
- GffResourceFieldStruct
A GffResourceField containing a structure of key/value pairs.
- GffResourceFieldValue
A regular GffResourceField containing a primitive value.
- GuidExtensions
GUID/UUID extension methods for resolving game objects, and GUID serialisation.
- ItemProperty
Represents an item property effect engine structure.
- Json
Represents a json engine structure.
- JsonUtility
Utility methods for serializing/deserializing JSON data.
- LocalVariableStruct<T>
A local variable generic structure.
- Location
A location in the module, represented by area, position and orientation.
- NuiBind<T>
A NUI property binding that can be updated after being sent to the client.
- NuiButton
A clickable button with text as the label.
- NuiButtonImage
A clickable button with an image as the label.
- NuiButtonSelect
A clickable button with text as the label.
Same as NuiButton, but this one is a toggle.
- NuiChart
A line/column chart element.
- NuiChartSlot
A chart element/data set for use in NuiChart.
- NuiCheck
A checkbox with a label to the right of it.
- NuiColorPicker
A simple color picker, with no borders or spacing.
- NuiColumn
A layout element that will auto-space all elements inside of it and advise the parent about its desired size.
- NuiCombo
A dropdown menu/combobox.
- NuiComboEntry
A combo/list element for use in NuiCombo.
- NuiElement
A dynamic NUI element with style support.
- NuiGroup
A group, usually with a border and some padding, holding a single element. Can scroll.
Will not advise parent of size, so you need to let it fill a span (col/row) as if it was a element.
- NuiImage
An image, with no border or padding.
- NuiLabel
A single-line, styleable, non-editable text field.
- NuiList
A list view of elements.
- NuiListTemplateCell
A cell template for use in NuiList.
- NuiOptions
A list of options (radio buttons).
Only one can be selected at a time.
- NuiProgress
A generic progress bar.
- NuiProperty<T>
A NUI property that can be configured as a static readonly value, or a property that can be updated at runtime.
- NuiRow
A layout element that will auto-space all elements inside of it and advise the parent about its desired size.
- NuiSlider
A slider bar with integer values.
- NuiSliderFloat
A slider bar with floating-point values.
- NuiSpacer
A special widget that just takes up layout space.
Configure the space used with the Width and Height properties.
- NuiText
A non-editable text field. Supports multiple lines and has a skinned border and a scrollbar if needed.
- NuiTextEdit
An editable text field. Can be optionally configured as multi-line.
- NuiValue<T>
A readonly NUI property value that cannot be changed at runtime.
- NuiWidget
The abstract base for all NUI widgets - the building blocks for creating NUI windows.
- NuiWindow
Represents a NUI scriptable window container.
- NwArea
An environment/game level.
- NwAreaOfEffect
The area/region of an ongoing spell effect or ability.
- NwBaseItem
A base item type definition.
- NwClass
A creature/character class definition.
- NwCreature
A monster, NPC, player character or DM avatar
- NwDomain
A selectable domain type used by classes with the HasDomains property (e.g. clerics)
- NwDoor
A tile-based door.
- NwEncounter
An encounter trigger that spawns creatures.
- NwFaction
The faction info of a Creature/Player/GameObject.
- NwFeat
A creature/character feat(ure) definition.
- NwGameObject
Base class for all entities in areas.
- NwItem
An item object that can be carried by creatures, stored in placeable containers, or dropped in an anrea.
- NwMath
Common math functions and constants.
- NwModule
The root container object for all areas and module entities.
- NwObject
Base class for all world entities (game objects) and containers (modules, areas).
- NwPlaceable
A static world object that is optionally interactable or destroyable.
- NwPlayer
A player client connected to the server.
- NwRace
The race type of a creature. Contains additional ruleset information about the race.
- NwRandom
Functions for generating random values (numbers, names).
- NwRuleset
Ruleset definitions for the module.
Classes/Feats/Races/Skills/BaseItems/Spells.
- NwSkill
A creature/character skill definition.
- NwSound
A configurable sound object in an area.
- NwSpell
A spell definition.
- NwStationary
A stationary game object entity.
- NwStore
A store object for bartering, and items to purchase.
- NwTask
Asynchronous tasks and helpers for running NWN APIs in an async context.
- NwTimeSpan
Helpers to convert game time units to a TimeSpan.
- NwTrappable
A trappable game object/entity.
- NwTrigger
A trigger volume entity.
- NwWaypoint
A waypoint entity that uniquely identifies a location in the module.
- ObjectVariable
A key/value pair/variable stored on an Object.
- PlaceableTypeTableEntry
A placeable type table entry (placeabletypes.2da)
- PolymorphTableEntry
A creature polymorph table entry (polymorph.2da)
- PortraitTableEntry
A portrait table entry (portraits.2da)
- RandomExtensions
Extensions to the Random class for reimplementing native random functions (Dice and Ranges).
- SQLQuery
A SQL Query.
- Talent
Represents a talent structure. A talent is a feat, skill or spell possessed by a creature.
- TileData
Represents a tile configuration at a location.
- TileInfo
Area tile information
- Time
Interface for querying time information for the current frame or since startup.
- TwoDimArray
A two dimensional array data resource.
- TwoDimArrayEntry
2da row data.
- TwoDimArray<T>
A two dimensional array resource, with a decoded row type.
- VirtualMachine
Standard and Low Level methods and properties for querying/interacting with the NwScript virtual machine.
Structs
- Color
A 8 bit Color structure.
- HitEffect
Represents an "On Hit" item property effect, for use with OnHitEffect(IPOnHitSaveDC, HitEffect).
- MonsterHitEffect
Represents a monster "On Hit" item property effect, for use with OnMonsterHitProperties(MonsterHitEffect).
- NuiWindowToken
Represents a NUI window instance for a certain player.
- StrRef
A talk table (tlk) string reference.
- Vector2Int
A vector with two 32 bit integer values.
Interfaces
- IAwaitable
Explicit interface to support the compiling of async/await.
- IAwaitable<TResult>
Explicit interface to support the compiling of async/await.
- IAwaiter
Explicit interface for an awaiter. An awaiter is a system that will run an async operation and schedule a continuation when it completes.
- IAwaiter<TResult>
Explicit interface for an awaiter. An awaiter is a system that will run an async operation and schedule a continuation when it completes.
- ITwoDimArrayEntry
Implement to decode TwoDimArrayEntry into a type using GetTable<T>(string?, bool, bool).