| 35 | } |
| 36 | |
| 37 | void ExampleMod::PostBeginPlay(std::wstring ModActorName, UE4::AActor* Actor) |
| 38 | { |
| 39 | // Filters Out All Mod Actors Not Related To Your Mod |
| 40 | std::wstring TmpModName(ModName.begin(), ModName.end()); |
| 41 | if (ModActorName == TmpModName) |
| 42 | { |
| 43 | //Sets ModActor Ref |
| 44 | ModActor = Actor; |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | void ExampleMod::DX11Present(ID3D11Device* pDevice, ID3D11DeviceContext* pContext, ID3D11RenderTargetView* pRenderTargetView) |
| 49 | { |