34 lines
746 B
C#
34 lines
746 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core
|
|
{
|
|
// Token: 0x02000019 RID: 25
|
|
[Token(Token = "0x2000008")]
|
|
[StructLayout(3)]
|
|
public interface IReadOnlyReactiveProperty<T>
|
|
{
|
|
// Token: 0x17000008 RID: 8
|
|
// (get) Token: 0x0600003A RID: 58
|
|
[Token(Token = "0x17000008")]
|
|
T Value
|
|
{
|
|
[Token(Token = "0x6000014")]
|
|
[Address(Slot = "0")]
|
|
get;
|
|
}
|
|
|
|
// Token: 0x0600003B RID: 59
|
|
[Token(Token = "0x6000015")]
|
|
[Address(Slot = "1")]
|
|
IDisposable Observe(Action<T> onValueChanged);
|
|
|
|
// Token: 0x0600003C RID: 60
|
|
[Token(Token = "0x6000016")]
|
|
[Address(Slot = "2")]
|
|
IDisposable Observe(global::UnityEngine.Object context, Action<T> onValueChanged);
|
|
}
|
|
}
|