Show / Hide Table of Contents

Class WorldSpawnSpellEvent

Inheritance
System.Object
BaseActionEvent
WorldTargetActionEvent
WorldSpawnSpellEvent
Implements
ISpeakSpell
Namespace: Content.Shared.Magic.Events
Assembly: Content.Shared.dll
Syntax
public sealed class WorldSpawnSpellEvent : WorldTargetActionEvent, ISpeakSpell

Fields

| Improve this Doc View Source

Contents

The list of prototypes this spell will spawn

Declaration
public List<EntitySpawnEntry> Contents
Field Value
Type Description
List<EntitySpawnEntry>
| Improve this Doc View Source

Lifetime

Lifetime to set for the entities to self delete

Declaration
public float? Lifetime
Field Value
Type Description
System.Nullable<System.Single>
| Improve this Doc View Source

Offset

The offset the prototypes will spawn in on relative to the one prior. Set to 0,0 to have them spawn on the same tile.

Declaration
public Vector2 Offset
Field Value
Type Description
Vector2

Properties

| Improve this Doc View Source

Speech

Declaration
public string? Speech { get; }
Property Value
Type Description
System.Nullable<System.String>

Implements

ISpeakSpell
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾