GetNPC() 공개 정적인 메소드

public static GetNPC ( int type ) : ModNPC
type int
리턴 ModNPC
예제 #1
0
 /// <summary>
 /// Gets the ModNPC instance corresponding to the specified type.
 /// </summary>
 /// <param name="type">The type of the npc</param>
 /// <returns>The ModNPC instance in the npcs array, null if not found.</returns>
 public static ModNPC GetModNPC(int type) => NPCLoader.GetNPC(type);