///<summary> /// If parameters is a string[] with card names, shows card names instead of indexes. /// </summary> public string ToStrategicString(object parameters) { if (IsDealerAction) { return(StrategicString.ToStrategicString(Position, Card, parameters)); } else { return(StrategicString.ToStrategicString(Position, Amount, parameters)); } }
///<summary> /// If parameters is a string[] with card names, shows card names instead of indexes. /// </summary> public string ToStrategicString(object parameters) { return(StrategicString.ToStrategicString(Position, Card, parameters)); }
/// <summary> /// Finds a node by a textual action path. Action path must not contain the root node and the blinds. /// This function is not speed-optimized. /// </summary> /// <param name="parameters">See StrategicString.FromStrategicString()</param> public Int64 FindNode(string path, object parameters) { List <IStrategicAction> actions = StrategicString.FromStrategicString(path, parameters); return(FindNode(actions.ToArray())); }