public static new GameRuleEventHappenedCondition unpackFromString(GameRuleDeserializer deserializer)
 {
     GameRuleEventType et = deserializer.unpackFromString(GameRuleEvent.eventTypesList);
     System.Type st = deserializer.unpackFromString(GameRuleEvent.eventTypeSourcesList[et]);
     System.Type tt = deserializer.unpackFromString(GameRuleEvent.potentialEventsList[et][st]);
     string p = (tt == typeof(FieldObject)) ? deserializer.unpackFromString(FieldObject.standardFieldObjects) : null;
     return new GameRuleEventHappenedCondition(et, st, tt, p);
 }
Ejemplo n.º 2
0
 public static new GameRuleZoneCondition unpackFromString(GameRuleDeserializer deserializer)
 {
     GameRuleRequiredObject zt = deserializer.unpackFromString(Zone.standardZoneTypes);
     GameRuleSourceSelector s = GameRuleSourceSelector.unpackFromString(deserializer);
     return new GameRuleZoneCondition(zt, s);
 }