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; }
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); }