示例#1
0
 public void FromBZW(BZFlag.Map.Elements.Link.PorterLink link)
 {
     Group      = link.TargetGroup;
     Target     = link.TargetName;
     Wildcard   = link.Wildcard;
     TargetSide = link.Front ? TargetSides.Front : TargetSides.Back;
 }
示例#2
0
        public BZFlag.Map.Elements.Link.PorterLink ToBZW( )
        {
            BZFlag.Map.Elements.Link.PorterLink link = new BZFlag.Map.Elements.Link.PorterLink();

            link.TargetGroup = Group;
            link.TargetName  = Target;
            link.Wildcard    = Wildcard;
            link.Front       = TargetSide == TargetSides.Front;

            return(link);
        }