A set of classes for parsing, evaluating, and formatting die roll strings.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

SA_DiceErrorHandling.h 542B

123456789101112131415161718192021
  1. //
  2. // SA_DiceErrorHandling.h
  3. //
  4. // Copyright (c) 2016 Said Achmiz.
  5. //
  6. // This software is licensed under the MIT license.
  7. // See the file "LICENSE" for more information.
  8. #import <Foundation/Foundation.h>
  9. @interface SA_DiceErrorHandler : NSObject
  10. +(void) addError:(NSString *)error
  11. toExpression:(NSMutableDictionary *)expression;
  12. +(void) addErrorsFromExpression:(NSDictionary *)sourceExpression
  13. toExpression:(NSMutableDictionary *)targetExpression;
  14. +(NSArray <NSString *> *) errorsForExpression:(NSDictionary *)expression;
  15. @end