public void Test_Value() { PropString ps = new PropString(); ps.RawValue = "${ai.Root}"; Assert.AreEqual(Props.Global.Get("ai.Root"), ps.Get(Props.Global)); ps.RawValue = ""; Assert.AreEqual("", ps.Get(Props.Global)); ps.RawValue = null; Assert.AreEqual("", ps.Get(Props.Global)); }
public GameDefinition() { Name = ""; BetStructure = new double[0]; BlindStructure = new double[0]; PrivateCardsCount = new int[0]; PublicCardsCount = new int[0]; SharedCardsCount = new int[0]; BetsCountLimits = new int[0]; FirstActor = new int[0]; FirstActorHeadsUp = new int[0]; DeckDescrFile = new PropString(); GameRulesType = new PropString(); GameRulesAssemblyFile = new PropString(); }
public SessionCfg(string name, SessionKind kind, string gameDefinitionFile) { Name = name; Kind = kind; GameDefinitionFile = new PropString(gameDefinitionFile); }
public SessionCfg() { ReplayFrom = new PropString(); GameDefinitionFile = new PropString(); }