Table of Contents

Class GhostCreatedEventArgs

Namespace
S1API.Building
Assembly
S1API.dll

Event arguments for OnGhostCreated. The game builds a placement ghost from the item definition, so there is no item instance.

public class GhostCreatedEventArgs
Inheritance
GhostCreatedEventArgs
Inherited Members
Extension Methods

Properties

GameObject

The placement ghost shown while the player places the item.

public GameObject GameObject { get; }

Property Value

GameObject

ItemId

The definition ID of the item being placed.

public string ItemId { get; }

Property Value

string