Rody's Angelica Editor Extensions Library
After the installation create a file FodyWeavers.xml in your project root directory. For example into:
\source\repos\ExampleApp1\FodyWeavers.xml
With the next content:
<?xml version="1.0" encoding="utf-8"?>
<Weavers>
<RealmWeaver/>
</Weavers>
- Add this to the file header:
using RAExt;
- Open a database:
var db = new RaeDatabase("D:/rae_items.realm");
- Get items:
var item = db.GetItem(11208);
//test:
Console.WriteLine(item.Name);
Console.WriteLine(item.ToJson());
- Don't forget to close realm file when your app is closing or you don't need any items anymore:
db.CloseRealm();
Download: https://github.com/Rody66/RAExt/raw/master/rae_items.zip