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