// Set the day/night cycle of area // type = NWNX_AREA_DAYNIGHTCYCLE_* public static void SetDayNightCycle(uint area, DayNightCycleType type) { Internal.NativeFunctions.nwnxSetFunction(PLUGIN_NAME, "SetDayNightCycle"); Internal.NativeFunctions.nwnxPushInt(type.InternalValue); Internal.NativeFunctions.nwnxPushObject(area); Internal.NativeFunctions.nwnxCallFunction(); }
// Set the day/night cycle of area // type = NWNX_AREA_DAYNIGHTCYCLE_* public static void SetDayNightCycle(uint area, DayNightCycleType type) { Internal.NativeFunctions.nwnxSetFunction(PluginName, "SetDayNightCycle"); Internal.NativeFunctions.nwnxPushInt((int)type); Internal.NativeFunctions.nwnxPushObject(area); Internal.NativeFunctions.nwnxCallFunction(); }