| 43 | MMethod* Internal_RequestStartPlayOnEditMode = nullptr; |
| 44 | |
| 45 | void OnLightmapsBake(ShadowsOfMordor::BuildProgressStep step, float stepProgress, float totalProgress, bool isProgressEvent) |
| 46 | { |
| 47 | if (Internal_LightmapsBake == nullptr) |
| 48 | { |
| 49 | Internal_LightmapsBake = ManagedEditor::GetStaticClass()->GetMethod("Internal_LightmapsBake", 4); |
| 50 | ASSERT(Internal_LightmapsBake); |
| 51 | } |
| 52 | |
| 53 | MainThreadManagedInvokeAction::ParamsBuilder params; |
| 54 | params.AddParam(step); |
| 55 | params.AddParam(stepProgress); |
| 56 | params.AddParam(totalProgress); |
| 57 | params.AddParam(isProgressEvent); |
| 58 | MainThreadManagedInvokeAction::Invoke(Internal_LightmapsBake, params); |
| 59 | } |
| 60 | |
| 61 | void OnLightmapsBuildStarted() |
| 62 | { |
no test coverage detected