25
edits
(add categoory) |
No edit summary |
||
Line 2: | Line 2: | ||
Creating your own wishes requires 2.0.200.24 or greater. | Creating your own wishes requires 2.0.200.24 or greater. | ||
To create a wish, you define a | To create a wish, you define a <code>XRL.World.Capabilities.WishHandler</code> attribute on a public class, you pass two parameters, a RegularExpression pattern string, and a Method Name which should take a successful Match if one is found. Your method should return true if you handled the wish. | ||
<syntaxhighlight lang="csharp"> | <syntaxhighlight lang="csharp"> |