Table of Contents

Method GetLevelFromXP

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

GetLevelFromXP(TwoDimArray<ExpTableEntry>, int)

Gets the current level for a player with the specified XP.

public static int? GetLevelFromXP(this TwoDimArray<ExpTableEntry> table, int xp)

Parameters

table TwoDimArray<ExpTableEntry>

The table to lookup.

xp int

The amount of xp.

Returns

int?