少年修仙传客户端基础资源
hch
2024-04-11 4c71d74b77c9eb62a0323698c9a0db3b641a917e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Generic implementation for platforms that don't have this implemented
#include "il2cpp-config.h"
#include "os/Debug.h"
#include "utils/StringUtils.h"
 
namespace il2cpp
{
namespace os
{
#if !IL2CPP_PLATFORM_SUPPORTS_DEBUGGER_PRESENT
    bool Debug::IsDebuggerPresent()
    {
        return false;
    }
 
#endif
 
#if IL2CPP_USE_GENERIC_DEBUG_LOG
    void Debug::WriteString(const utils::StringView<Il2CppNativeChar>& message)
    {
        il2cpp::utils::StringUtils::Printf(message.Str());
    }
 
#endif
}
}