server-master/srcs/WingsAPI.Scripting/Object/Timespace/STimeSpaceObject.cs
2026-02-10 18:21:30 +01:00

53 lines
No EOL
1.3 KiB
C#

// WingsEmu
//
// Developed by NosWings Team
using System;
using System.Collections.Generic;
using WingsAPI.Scripting.Attribute;
using WingsAPI.Scripting.Object.Common;
namespace WingsAPI.Scripting.Object.Timespace
{
[ScriptObject]
public class ScriptTimeSpace
{
/// <summary>
/// Randomly generated id
/// </summary>
public Guid Id { get; set; }
/// <summary>
/// </summary>
public int TimeSpaceId { get; set; }
public STimeSpaceObjective Objectives { get; set; }
/// <summary>
/// Maps of the timespace
/// </summary>
public IEnumerable<SMap> Maps { get; set; }
/// <summary>
/// Spawn point of this timespace
/// </summary>
public SLocation Spawn { get; set; }
/// <summary>
/// Duration of the timespace
/// </summary>
public int DurationInSeconds { get; set; }
public byte Lives { get; set; }
public int BonusPointItemDropChance { get; set; }
public int? PreFinishDialog { get; set; }
public bool PreFinishDialogIsObjective { get; set; }
public short? ObtainablePartnerVnum { get; set; }
public bool InfiniteDuration { get; set; }
}
}