Gets the local instance of the type of the specified GlobalNPC instance. This will throw exceptions on failure.
- Exceptions
-
| T:System.Collections.Generic.KeyNotFoundException | - Exceptions
-
| T:System.NullReferenceException | |
|
Definition at line 112485 of file NPC.cs.
112486 {
112488 }
This class allows you to modify and use hooks for all NPCs, including vanilla mobs....
RefReadOnlyArray< GlobalNPC > EntityGlobals
int type
The NPC ID of this NPC. The NPC ID is a unique number assigned to each NPC loaded into the game....