Parser gibt Challenge an Backend weiter

This commit is contained in:
Daniel Herrmann
2014-06-05 12:26:31 +02:00
parent 3107b7065b
commit e1b280369b
2 changed files with 6 additions and 0 deletions

View File

@@ -213,6 +213,11 @@ namespace WorldOfPeacecraft
InitializedEvent.WaitOne(); InitializedEvent.WaitOne();
initialized = true; initialized = true;
} }
public void ChallengeIncome(Challenge c)
{
Challenge(c);
}
} }
} }

View File

@@ -310,6 +310,7 @@ namespace WorldOfPeacecraft
} }
bool accepted = challengeBlock.GetBoolValue("accepted"); bool accepted = challengeBlock.GetBoolValue("accepted");
Challenge c = new Challenge(id, type, accepted); Challenge c = new Challenge(id, type, accepted);
Backend.ChallengeIncome(c);
} }
private void ProcessPlayerSelf (Block playerBlock) private void ProcessPlayerSelf (Block playerBlock)