mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
20 lines
503 B
C#
20 lines
503 B
C#
using Content.Shared.Actions;
|
|
using Content.Shared.Chat;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Magic.Events;
|
|
|
|
public sealed partial class ProjectileSpellEvent : WorldTargetActionEvent, ISpeakSpell
|
|
{
|
|
/// <summary>
|
|
/// What entity should be spawned.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public EntProtoId Prototype;
|
|
|
|
[DataField]
|
|
public string? Speech { get; private set; }
|
|
|
|
public InGameICChatType ChatType { get; } = InGameICChatType.Speak;
|
|
}
|