Class EventBridge.PlayerCompleteAchievementEvent
Event triggered when a player completes an achievement.
public record EventBridge.PlayerCompleteAchievementEvent : Event<EventBridge.PlayerCompleteAchievementEvent>, IEvent, IEquatable<Event>, IEquatable<Event<EventBridge.PlayerCompleteAchievementEvent>>, IEquatable<EventBridge.PlayerCompleteAchievementEvent>
- Inheritance
-
EventBridge.PlayerCompleteAchievementEvent
- Implements
- Inherited Members
- Extension Methods
Constructors
PlayerCompleteAchievementEvent(FromCharacter, Entity, AchievementOwner, PrefabGUID, bool)
Event triggered when a player completes an achievement.
public PlayerCompleteAchievementEvent(FromCharacter Character, Entity PlayerEntity, AchievementOwner Owner, PrefabGUID AchievementGuid, bool ForceClaim)
Parameters
CharacterFromCharacterThe character that completed the achievement.
PlayerEntityEntityThe entity representing the player who completed the achievement.
OwnerAchievementOwnerThe owner of the achievement.
AchievementGuidPrefabGUIDThe GUID of the achievement that was completed.
ForceClaimboolIndicates whether the achievement claim was forced.
Properties
AchievementGuid
The GUID of the achievement that was completed.
public PrefabGUID AchievementGuid { get; init; }
Property Value
- PrefabGUID
Character
The character that completed the achievement.
public FromCharacter Character { get; init; }
Property Value
- FromCharacter
ForceClaim
Indicates whether the achievement claim was forced.
public bool ForceClaim { get; init; }
Property Value
Owner
The owner of the achievement.
public AchievementOwner Owner { get; init; }
Property Value
- AchievementOwner
PlayerEntity
The entity representing the player who completed the achievement.
public Entity PlayerEntity { get; init; }
Property Value
- Entity