scripts
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RecRoom.Challenges
|
||||
{
|
||||
// Token: 0x02000B28 RID: 2856
|
||||
public class DiscGolfFinishUnderParChallenge : ChallengeBase
|
||||
{
|
||||
// Token: 0x06015B85 RID: 88965 RVA: 0x00606F44 File Offset: 0x00605144
|
||||
protected override bool EvaluateInternal(ChallengeEvents.IChallengeEventData challengeEventData)
|
||||
{
|
||||
return challengeEventData.ChallengeEventType == ChallengeEvents.ChallengeEventTypes.GameEnd && challengeEventData.Activity == PGOPAPIFECA.DISC_GOLF && (float)challengeEventData.GetVar("t_score") < 0f;
|
||||
}
|
||||
|
||||
// Token: 0x06015B86 RID: 88966 RVA: 0x00606F80 File Offset: 0x00605180
|
||||
protected override void DeserializeInternal(Dictionary<string, object> jsonDict)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000909 RID: 2313
|
||||
// (get) Token: 0x06015B87 RID: 88967 RVA: 0x00606F84 File Offset: 0x00605184
|
||||
public override ChallengeTypes ChallengeType
|
||||
{
|
||||
get
|
||||
{
|
||||
return ChallengeTypes.DiscGolfFinishUnderParChallenge;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user