Class QuestObjectInteracted
Triggers after a SDG.Unturned.InteractableObjectQuest or SDG.Unturned.InteractableObjectNote gets interacted with.
[EventModel(EventSynchronizationContext.Pure)]
public class QuestObjectInteracted : PlayerEvent, IPlayerEvent
- Inheritance
-
QuestObjectInteracted
- Implements
- Inherited Members
Properties
Interactable
The SDG.Unturned.InteractableObjectQuest or SDG.Unturned.InteractableObjectNote that was interacted with.
public required InteractableObject Interactable { get; init; }
Property Value
- InteractableObject
Object
The object that was interacted with.
public required LevelObject Object { get; init; }
Property Value
- LevelObject
ObjectIndex
The index of the object in it's region.
public required int ObjectIndex { get; init; }
Property Value
RegionPosition
Coordinate of the object region in SDG.Unturned.LevelObjects.objects.
public required RegionCoord RegionPosition { get; init; }
Property Value
- RegionCoord
Transform
The transform of the object.
public required Transform Transform { get; init; }
Property Value
- Transform