This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,53 @@
using System;
namespace RecRoom.Challenges
{
// Token: 0x02000B27 RID: 2855
public class BoolVarEqualsChallenge : VarEqualsChallenge<bool, bool>
{
// Token: 0x06015B7D RID: 88957 RVA: 0x00606EF4 File Offset: 0x006050F4
public BoolVarEqualsChallenge()
{
}
// Token: 0x06015B7E RID: 88958 RVA: 0x00606EFC File Offset: 0x006050FC
public BoolVarEqualsChallenge(string varKey, bool requiredValue)
: this(varKey, true, requiredValue)
{
}
// Token: 0x06015B7F RID: 88959 RVA: 0x00606F08 File Offset: 0x00605108
public BoolVarEqualsChallenge(string varKey, bool inclusive, bool requiredValue)
: base(varKey, inclusive, new bool[] { requiredValue })
{
}
// Token: 0x06015B80 RID: 88960 RVA: 0x00606F1C File Offset: 0x0060511C
protected override bool? GetValueFromData(ChallengeEvents.IChallengeEventData challengeEventData)
{
return (bool?)challengeEventData.GetVar(this.VarKey);
}
// Token: 0x06015B81 RID: 88961 RVA: 0x00606F30 File Offset: 0x00605130
protected override bool SerializeValue(bool value)
{
return value;
}
// Token: 0x06015B82 RID: 88962 RVA: 0x00606F34 File Offset: 0x00605134
protected override bool DeserializeValue(bool obj)
{
return obj;
}
// Token: 0x17000908 RID: 2312
// (get) Token: 0x06015B83 RID: 88963 RVA: 0x00606F38 File Offset: 0x00605138
public override ChallengeTypes ChallengeType
{
get
{
return ChallengeTypes.BoolVarEqualsChallenge;
}
}
}
}