Advertisement
Dramiel

RIFT Diagnostics API proposal

Nov 7th, 2011
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local diagnostics = Diagnostics();
  2.  
  3. --@debug@
  4. diagnostics:Enable();
  5. --@end-debug@
  6.  
  7. table.insert(Event.System.Update, { diagnostics:Wrap("Description", function()
  8.     -- do stuff
  9. end), "MightyTest", "MightyTest test event" });
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement