message: Add files via upload
  player: added GetLanguage()
diff: @@ -274,6 +274,22 @@ int NWNX_Player_PossessCreature(object oPossessor, object oPossessed, int bMindI
  /// @brief returns the platform ID of the given player (NWNX_PLAYER_PLATFORM_*)
  int NWNX_Player_GetPlatformId(object oPlayer);
  +/// @brief returns the UI language of the given player (NWNX_PLAYER_LANGUAGE_*)
  +/// @details This function returns the ID of the UI language displayed by the player. If you want to know
  +/// the name of the language used, add and include the nwnx_dialog.nss file to your scripts and the refer to
  +/// the following constants:
  +/// NWNX_DIALOG_LANGUAGE_ENGLISH
  +/// NWNX_DIALOG_LANGUAGE_FRENCH
  +/// NWNX_DIALOG_LANGUAGE_GERMAN
  +/// NWNX_DIALOG_LANGUAGE_ITALIAN
  +/// NWNX_DIALOG_LANGUAGE_SPANISH
  +/// NWNX_DIALOG_LANGUAGE_POLISH
  +/// NWNX_DIALOG_LANGUAGE_KOREAN
  +/// NWNX_DIALOG_LANGUAGE_CHINESE_TRADITIONAL
  +/// NWNX_DIALOG_LANGUAGE_CHINESE_SIMPLIFIED
  +/// NWNX_DIALOG_LANGUAGE_JAPANESE
  +int NWNX_Player_GetLanguage(object oPlayer);
  +
  /// @}
  void NWNX_Player_ForcePlaceableExamineWindow(object player, object placeable)
  @@ -680,3 +696,13 @@ int NWNX_Player_GetPlatformId(object oPlayer)
  NWNX_CallFunction(NWNX_Player, sFunc);
  return NWNX_GetReturnValueInt(NWNX_Player, sFunc);
  }
  +
  +int NWNX_Player_GetLanguage(object oPlayer)
  +{
  + string sFunc = "GetLanguage";
  +
  + NWNX_PushArgumentObject(NWNX_Player, sFunc, oPlayer);
  +
  + NWNX_CallFunction(NWNX_Player, sFunc);
  + return NWNX_GetReturnValueInt(NWNX_Player, sFunc);
  +}
  \ No newline at end of file
  