Table of Contents

Method IsLoginPlayerCharacter

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

IsLoginPlayerCharacter(NwObject?, out NwPlayer?)

Gets if this object is a player character/DM avatar.
If this object is not a NwCreature, this returns false.
If this creature is a NPC or familiar, regardless of possession, this will return false.

public static bool IsLoginPlayerCharacter(this NwObject? gameObject, out NwPlayer? player)

Parameters

gameObject NwObject
player NwPlayer

Returns

bool