Skip to main content

NPCStats.KnowsLanguage

Declaration#

public bool KnowsLanguage(string id)

Parameters#

NameDescription
idId of the Language to check for

Description#

True if object has a Language with the provided id.

Usage#

Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{    public void ExampleMethod(NPCStats target)    {        bool result = target.KnowsLanguage(StatsDatabaseV2.languages[0].info.id);    }}