scripts
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace RecRoom
|
||||
{
|
||||
// Token: 0x02000026 RID: 38
|
||||
[Token(Token = "0x2000026")]
|
||||
[StructLayout(3)]
|
||||
public static class GenericExt
|
||||
{
|
||||
// Token: 0x060000A2 RID: 162 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60000A2")]
|
||||
[Address(RVA = "0x1E30440", Offset = "0x1E2EE40", VA = "0x181E30440")]
|
||||
public static V IfNotNull<V, T>(this T t, Func<T, V> todo, [Optional] V defaultValue) where T : class
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060000A3 RID: 163 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x60000A3")]
|
||||
[Address(RVA = "0x1AAF490", Offset = "0x1AADE90", VA = "0x181AAF490")]
|
||||
public static void DoIfNotNull<T>(this T t, Action<T> todo) where T : class
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user