54 lines
2.8 KiB
C#
54 lines
2.8 KiB
C#
using NeonSprawl.Server.Game.Factions;
|
|
using NeonSprawl.Server.Game.Items;
|
|
using NeonSprawl.Server.Game.Skills;
|
|
|
|
namespace NeonSprawl.Server.Game.Rewards;
|
|
|
|
/// <summary>Stable deny reason codes for quest completion reward delivery (NEO-127).</summary>
|
|
public static class RewardDeliveryReasonCodes
|
|
{
|
|
/// <summary>Idempotent replay — success path when <see cref="IRewardDeliveryStore.TryGet"/> hits before apply.</summary>
|
|
public const string AlreadyDelivered = "already_delivered";
|
|
|
|
public const string InvalidPlayerId = "invalid_player_id";
|
|
|
|
public const string InvalidQuestId = "invalid_quest_id";
|
|
|
|
public const string InventoryStoreMissing = "inventory_store_missing";
|
|
|
|
public const string ProgressionStoreMissing = "progression_store_missing";
|
|
|
|
/// <summary>Passthrough from <see cref="PlayerInventoryReasonCodes.InventoryFull"/>.</summary>
|
|
public const string InventoryFull = PlayerInventoryReasonCodes.InventoryFull;
|
|
|
|
/// <summary>Passthrough from <see cref="PlayerInventoryReasonCodes.InvalidItem"/>.</summary>
|
|
public const string InvalidItem = PlayerInventoryReasonCodes.InvalidItem;
|
|
|
|
/// <summary>Passthrough from <see cref="PlayerInventoryReasonCodes.InvalidQuantity"/>.</summary>
|
|
public const string InvalidQuantity = PlayerInventoryReasonCodes.InvalidQuantity;
|
|
|
|
/// <summary>Passthrough from <see cref="SkillProgressionSnapshotApi.ReasonUnknownSkill"/>.</summary>
|
|
public const string UnknownSkill = SkillProgressionSnapshotApi.ReasonUnknownSkill;
|
|
|
|
/// <summary>Passthrough from <see cref="SkillProgressionSnapshotApi.ReasonInvalidAmount"/>.</summary>
|
|
public const string InvalidAmount = SkillProgressionSnapshotApi.ReasonInvalidAmount;
|
|
|
|
/// <summary>Passthrough from <see cref="SkillProgressionSnapshotApi.ReasonSourceKindNotAllowed"/>.</summary>
|
|
public const string SourceKindNotAllowed = SkillProgressionSnapshotApi.ReasonSourceKindNotAllowed;
|
|
|
|
/// <summary>Passthrough from <see cref="FactionStandingReasonCodes.UnknownFaction"/> via rep apply (NEO-138).</summary>
|
|
public const string UnknownFaction = FactionStandingReasonCodes.UnknownFaction;
|
|
|
|
/// <summary>Passthrough from <see cref="ReputationApplyReasonCodes.InvalidDelta"/>.</summary>
|
|
public const string InvalidDelta = ReputationApplyReasonCodes.InvalidDelta;
|
|
|
|
/// <summary>Passthrough from <see cref="ReputationApplyReasonCodes.InvalidDeltaId"/>.</summary>
|
|
public const string InvalidDeltaId = ReputationApplyReasonCodes.InvalidDeltaId;
|
|
|
|
/// <summary>Passthrough from <see cref="ReputationApplyReasonCodes.InvalidSource"/>.</summary>
|
|
public const string InvalidSource = ReputationApplyReasonCodes.InvalidSource;
|
|
|
|
/// <summary>Passthrough from <see cref="ReputationApplyReasonCodes.AuditAppendFailed"/>.</summary>
|
|
public const string AuditAppendFailed = ReputationApplyReasonCodes.AuditAppendFailed;
|
|
}
|