RollPost.Pristine Property
From DiceRoller Documentation
Gets the "pristine" version of the post.
- Namespace: Dice.PbP
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public IReadOnlyList<RollResult> Pristine { get; }
Property Value
Type: System.Collections.Generic.IReadOnlyList<Dice.RollResult>
The "pristine" version of the post. This is used in cheat detection, as it should be a prefix of Current. If Pristine and Current diverge (as opposed to Current just having more elements), the post is flagged as being tampered with when Validate is called.
Remarks
Calling Validate will update Pristine if the validation is successful (i.e. no tampering was detected). This allows any additional rolls that were made to be tracked along with previously-made rolls, so that future edits cannot manipulate those rolls either.