-
Notifications
You must be signed in to change notification settings - Fork 20
IWurmApi
Peter edited this page Jun 22, 2016
·
2 revisions
Requires reference to WurmApi project.
Use IWurmApi to leverage the same utilities used by core wurm assistant features, to power timers, triggers, granger and all other goodies. You can do things like querying game logs, observing new log events or getting some info about game characters (like current server or skill levels).
Most important characteristics:
- IWurmApi is guaranteed to be thread safe.
- all events on the API are automatically marshalled to the GUI thread, handling them will not block WurmApi, throwing exceptions from them will not crash WurmApi.
- Decently documented through xml-doc, try it out!
- Big suite of tests helps ensure correctness of most features. Note that most of them are integration tests and can fail on an off chance. Rerun to be sure it's really an error.