Example #1
0
 public override void SetValue(string op, IPara v)
 {
     try
     {
         para.SetValue(op, v);
         if (op.Equals(OP_ASSIGN))
         {
             field.SetValue(obj, para.GetValue());
         }
     }
     catch (Exception e)
     {
         throw new GameConfigExpception("set value failed.\n" + ExceptionUtil.GetExceptionContent(e));
     }
 }