Kasper_OmsK
Hi there,
I've been fiddling around with the games c# assemblies today and still didn't find a way to log something directly to the dev console (using the developper mod).
I've found the wrapper methods around Imgui funcitons and managed to display arbitrary debug windows. (TallWorlds.Engine.Imgui)
I've found how to add custom console commands (by adding the attribute [CommandLineFunctionality.CommandLineArgumentFunction])
And I did find the MBDebug class which seems promising but I'm unable to find any method that display something the console.
MBDebug.ConsolePrint(), WriteDebugLineOnScreen(), Print() etc do not do anything for some reasons.
I've also checked if they log to the standard output Console by calling AllocConsole but no...
Thanks in advance and sorry for my english, I'm really tired lol.
I've been fiddling around with the games c# assemblies today and still didn't find a way to log something directly to the dev console (using the developper mod).
I've found the wrapper methods around Imgui funcitons and managed to display arbitrary debug windows. (TallWorlds.Engine.Imgui)
I've found how to add custom console commands (by adding the attribute [CommandLineFunctionality.CommandLineArgumentFunction])
And I did find the MBDebug class which seems promising but I'm unable to find any method that display something the console.
MBDebug.ConsolePrint(), WriteDebugLineOnScreen(), Print() etc do not do anything for some reasons.
I've also checked if they log to the standard output Console by calling AllocConsole but no...
Thanks in advance and sorry for my english, I'm really tired lol.

