mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-02-03 09:10:41 +03:00
Add MonoPInvokeCallback to OnDebugMessage
This commit is contained in:
parent
23129f3a83
commit
d06054875a
@ -233,6 +233,7 @@ namespace Steamworks
|
||||
/// <summary>
|
||||
/// This can be called from other threads - so we're going to queue these up and process them in a safe place.
|
||||
/// </summary>
|
||||
[MonoPInvokeCallback]
|
||||
private static void OnDebugMessage( NetDebugOutput nType, IntPtr str )
|
||||
{
|
||||
debugMessages.Enqueue( new DebugMessage { Type = nType, Msg = Helpers.MemoryToString( str ) } );
|
||||
|
Loading…
x
Reference in New Issue
Block a user