public LogEntry() { source = new Actor(); target = new Actor(); @event = new GameObject(); ability = new GameObject(); effect = new Effect(); result = new Result(); mitigation = new Result(); defense = new GameObject(); }
private void ParseGameObject(GameObject entry, string line) { if (line == null) return; var btwn = Between('{', '}', line); entry.name = btwn.BeforeFound.Trim(); entry.number = Convert.ToInt64(btwn.FoundValue); }