A stable modding interface between Techblox and mods https://mod.exmods.org/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

18 lines
575B

  1. using System;
  2. namespace TechbloxModdingAPI.Tests
  3. {
  4. [AttributeUsage(AttributeTargets.Property)]
  5. public class TestValueAttribute : Attribute
  6. {
  7. public object PossibleValue { get; }
  8. /// <summary>
  9. /// <param name="possibleValue">
  10. /// When set, the property test accepts the specified value in addition to the test input.<br />
  11. /// Useful if setting the property isn't always possible.
  12. /// </param>
  13. /// </summary>
  14. public TestValueAttribute(object possibleValue) => PossibleValue = possibleValue;
  15. }
  16. }