From a7166536c2be2f98a2050bfb9f1b88509ecca431 Mon Sep 17 00:00:00 2001 From: Chris <2648373+QuiCM@users.noreply.github.com> Date: Mon, 1 Jun 2020 19:12:14 +0930 Subject: [PATCH] Update projectilestruct to add brief documentation --- TShockAPI/GetDataHandlers.cs | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/TShockAPI/GetDataHandlers.cs b/TShockAPI/GetDataHandlers.cs index e50e6c4c..587683d4 100644 --- a/TShockAPI/GetDataHandlers.cs +++ b/TShockAPI/GetDataHandlers.cs @@ -3770,12 +3770,27 @@ namespace TShockAPI { {TileID.MinecartTrack, 3} }; - + + /// + /// Contains brief information about a projectile + /// public struct ProjectileStruct { + /// + /// Index inside Main.projectile + /// public int Index { get; set; } + /// + /// Projectile's type ID + /// public short Type { get; set; } + /// + /// Time at which the projectile was created + /// public DateTime CreatedAt { get; set; } + /// + /// Whether or not the projectile has been killed + /// public bool Killed { get; internal set; } }