static EnglishTestComponentSolver()
 {
     ComponentType = ReflectionHelper.FindType("EnglishTestModule");
     IndexField    = ComponentType.GetField("selectedAnswerIndex", BindingFlags.NonPublic | BindingFlags.Instance);
 }
 static ForeignExchangeRatesComponentSolver()
 {
     ComponentType = ReflectionHelper.FindType("ForeignExchangeRates");
     ButtonsField  = ComponentType.GetField("buttons", BindingFlags.Public | BindingFlags.Instance);
 }
 static EdgeworkComponentSolver()
 {
     ComponentType        = ReflectionHelper.FindType("EdgeworkModule");
     ButtonsField         = ComponentType.GetField("Buttons", BindingFlags.Public | BindingFlags.Instance);
     CanPressButtonsField = ComponentType.GetField("canPressButtons", BindingFlags.NonPublic | BindingFlags.Instance);
 }
 static CryptographyComponentSolver()
 {
     ComponentType = ReflectionHelper.FindType("CryptMod");
     KeysField     = ComponentType.GetField("Keys", BindingFlags.Public | BindingFlags.Instance);
 }
Exemplo n.º 5
0
 static TranslatedWhosOnFirstComponentSolver()
 {
     ComponentType = ReflectionHelper.FindType("WhosOnFirstTranslatedModule");
     ButtonsField  = ComponentType.GetField("buttons", BindingFlags.Public | BindingFlags.Instance);
 }
 static KnowYourWayComponentSolver()
 {
     ComponentType = ReflectionHelper.FindType("KnowYourWay");
     ButtonFields  = Directions.Select(direction => ComponentType.GetField(direction + "Button", BindingFlags.Public | BindingFlags.Instance)).ToArray();
     TextFields    = Directions.Select(direction => ComponentType.GetField(direction + "Text", BindingFlags.Public | BindingFlags.Instance)).ToArray();
 }
Exemplo n.º 7
0
 static ErrorCodesComponentSolver()
 {
     ComponentType = ReflectionHelper.FindType("ErrorCodes");
     ButtonsField  = ComponentType.GetField("numberButtons", BindingFlags.Public | BindingFlags.Instance);
     SendField     = ComponentType.GetField("sendButton", BindingFlags.Public | BindingFlags.Instance);
 }
 static NeedyMathComponentSolver()
 {
     ComponentType = ReflectionHelper.FindType("NeedyMathModule");
     ButtonsField  = ComponentType.GetField("Buttons", BindingFlags.Public | BindingFlags.Instance);
 }
Exemplo n.º 9
0
 static ThirdBaseComponentSolver()
 {
     ComponentType = ReflectionHelper.FindType("ThirdBaseModule");
     ButtonsField  = ComponentType.GetField("buttons", BindingFlags.Public | BindingFlags.Instance);
     PhraseField   = ComponentType.GetField("phrase", BindingFlags.NonPublic | BindingFlags.Instance);
 }
Exemplo n.º 10
0
 static ProbingComponentSolver()
 {
     ComponentType = ReflectionHelper.FindType("ProbingModule");
     WiresField    = ComponentType.GetField("selectables", BindingFlags.Public | BindingFlags.Instance);
 }
Exemplo n.º 11
0
 static FlavorTextComponentSolver()
 {
     ComponentType = ReflectionHelper.FindType("FlavorText");
     ButtonsField  = ComponentType.GetField("buttons", BindingFlags.Instance | BindingFlags.Public);
 }