v1.6.17.0 (Unto the Breach update)

This commit is contained in:
Regalis11
2024-10-22 17:29:04 +03:00
parent e74b3cdb17
commit 6e6c17e100
417 changed files with 17166 additions and 5870 deletions
@@ -29,11 +29,13 @@ namespace Barotrauma
UpdatePermanentStats = 14,
RemoveFromCrew = 15,
LatchOntoTarget = 16,
UpdateTalentRefundPoints = 17,
ConfirmTalentRefund = 18,
MinValue = 0,
MaxValue = 16
MaxValue = 18
}
private interface IEventData : NetEntityEvent.IData
{
public EventType EventType { get; }
@@ -230,9 +232,18 @@ namespace Barotrauma
public struct UpdateSkillsEventData : IEventData
{
public EventType EventType => EventType.UpdateSkills;
public readonly EventType EventType => EventType.UpdateSkills;
public readonly bool ForceNotification;
public readonly Identifier SkillIdentifier;
public UpdateSkillsEventData(Identifier skillIdentifier, bool forceNotification)
{
SkillIdentifier = skillIdentifier;
ForceNotification = forceNotification;
}
}
private struct UpdateMoneyEventData : IEventData
{
public EventType EventType => EventType.UpdateMoney;
@@ -242,11 +253,21 @@ namespace Barotrauma
{
public EventType EventType => EventType.UpdatePermanentStats;
public readonly StatTypes StatType;
public UpdatePermanentStatsEventData(StatTypes statType)
{
StatType = statType;
}
}
public struct UpdateRefundPointsEventData : IEventData
{
public EventType EventType => EventType.UpdateTalentRefundPoints;
}
public struct ConfirmRefundEventData : IEventData
{
public EventType EventType => EventType.ConfirmTalentRefund;
}
}
}