scripts
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine
|
||||
{
|
||||
// Token: 0x02000022 RID: 34
|
||||
internal sealed class BootConfigData
|
||||
{
|
||||
// Token: 0x0600022D RID: 557 RVA: 0x00005368 File Offset: 0x00003568
|
||||
private BootConfigData(IntPtr nativeHandle)
|
||||
{
|
||||
if (nativeHandle == IntPtr.Zero)
|
||||
{
|
||||
throw new ArgumentException("native handle can not be null");
|
||||
}
|
||||
this.m_Ptr = nativeHandle;
|
||||
}
|
||||
|
||||
// Token: 0x0600022E RID: 558 RVA: 0x00005394 File Offset: 0x00003594
|
||||
public void AddKey(string key)
|
||||
{
|
||||
BootConfigData.Append(this.m_Ptr, key, null);
|
||||
}
|
||||
|
||||
// Token: 0x0600022F RID: 559 RVA: 0x000053A4 File Offset: 0x000035A4
|
||||
public void Append(string key, string value)
|
||||
{
|
||||
BootConfigData.Append(this.m_Ptr, key, value);
|
||||
}
|
||||
|
||||
// Token: 0x06000230 RID: 560 RVA: 0x000053B4 File Offset: 0x000035B4
|
||||
public void Set(string key, string value)
|
||||
{
|
||||
BootConfigData.Set(this.m_Ptr, key, value);
|
||||
}
|
||||
|
||||
// Token: 0x06000231 RID: 561 RVA: 0x000053C4 File Offset: 0x000035C4
|
||||
private static BootConfigData Wrap(IntPtr nativeHandle)
|
||||
{
|
||||
return new BootConfigData(nativeHandle);
|
||||
}
|
||||
|
||||
// Token: 0x06000232 RID: 562
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void Append(IntPtr nativeHandle, string key, string val);
|
||||
|
||||
// Token: 0x06000233 RID: 563
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void Set(IntPtr nativeHandle, string key, string val);
|
||||
|
||||
// Token: 0x0400002D RID: 45
|
||||
private IntPtr m_Ptr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user