using System; using WingsAPI.Scripting.Attribute; using WingsAPI.Scripting.Enum; using WingsAPI.Scripting.Enum.TimeSpace; namespace WingsAPI.Scripting.Object.Common.Map { /// /// Object used to represent a portal in a script /// [ScriptObject] public class SPortal { /// /// Randomly generated id /// public Guid Id { get; set; } /// /// Id of the source map /// public Guid SourceId { get; set; } /// /// Id of the destination map /// public Guid DestinationId { get; set; } /// /// Position of the portal in the source map /// public SPosition SourcePosition { get; set; } /// /// Position where you're teleported in destination map /// public SPosition DestinationPosition { get; set; } public SPortalType Type { get; set; } public int? CreationDelay { get; set; } public bool IsReturn { get; set; } public SPortalMinimapOrientation PortalMiniMapOrientation { get; set; } } }