Local-MT-Extension/README.md
Akash Mozumdar c678c74286 rename
2018-09-29 16:56:22 -04:00

1.1 KiB

ExampleExtension

Every time Textractor has a sentence of text ready, it will call OnNewSentence on all extensions it finds sequentially, plugging the output of OnNewSentence from the previous extension into the next extension.
After the sentence has been processed by all extensions, it will be displayed.

SentenceInfo

The following properties are in SentenceInfo

"current select": always 0 unless the sentence is in the text channel selected by the user.
"hook address": address the hook was inserted at. May need cast to unsigned. Console text channel is always -1.
"process id": process id that the sentence is coming from.
"text handle": number that uniquely identifies the current text channel.
"text name": pointer to start of a wchar array of the name of the current text channel.

Notes

You just need Visual Studio with basic C++ support to compile this project.
Compile using Release configuration unless you built Textractor from source yourself using a Debug configuration. Compile targeting x86 for Textractor and x64 for Textractor64.