示例#1
0
 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();
 }
示例#2
0
        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);
        }