Part of LeviLamina
This is a PreLoader for LeviLamina. It will load LeviLamina before the BDS starts.
LeviLamina requires to use MCAPI, which is magically provided by PreLoader.
We uses windows delay load to expose and remap original bds symbol to our own symbol, and then we will provide them to plugins.
Put the PreLoader.dll
into the same folder of bedrock_server.exe, and run PeEditor to patch the bedrock_server.exe.
You should use SymbolProvider and delay load option of linker to use the symbols. Besides, to link the BDS's symbols, you should use the libs generated by PeEditor