예제 #1
0
 /// <summary>
 /// Updates the system as to how the position of the sun should be handled.
 /// </summary>
 /// <param name="regionHandle"></param>
 /// <param name="FixedTime">True if the Sun Position is fixed</param>
 /// <param name="useEstateTime">True if the Estate Settings should be used instead of region</param>
 /// <param name="FixedSunHour">The hour 0.0 <= FixedSunHour <= 24.0 at which the sun is fixed at. Sun Hour 0 is sun-rise, when Day/Night ratio is 1:1</param>
 public void TriggerEstateToolsSunUpdate(ulong regionHandle, bool FixedTime, bool useEstateTime, float FixedSunHour)
 {
     handlerEstateToolsSunUpdate = OnEstateToolsSunUpdate;
     if (handlerEstateToolsSunUpdate != null)
     {
         handlerEstateToolsSunUpdate(regionHandle, FixedTime, useEstateTime, FixedSunHour);
     }
 }
예제 #2
0
 /// <summary>
 /// Updates the system as to how the position of the sun should be handled.
 /// </summary>
 /// <param name="regionHandle"></param>
 /// <param name="FixedTime">True if the Sun Position is fixed</param>
 /// <param name="useEstateTime">True if the Estate Settings should be used instead of region</param>
 /// <param name="FixedSunHour">The hour 0.0 <= FixedSunHour <= 24.0 at which the sun is fixed at. Sun Hour 0 is sun-rise, when Day/Night ratio is 1:1</param>
 public void TriggerEstateToolsSunUpdate(ulong regionHandle, bool FixedTime, bool useEstateTime, float FixedSunHour)
 {
     handlerEstateToolsSunUpdate = OnEstateToolsSunUpdate;
     if (handlerEstateToolsSunUpdate != null)
     {
         handlerEstateToolsSunUpdate(regionHandle, FixedTime, useEstateTime, FixedSunHour);
     }
 }