public override void Import(DCFG cfg) { MapWorldBoss data = cfg as MapWorldBoss; this.ID = data.ID; this.BossID = data.BossID; this.BornBroadcast = data.BornBroadcast; this.OpenBroadcast = data.OpenBroadcast; this.DeadBroadcast = data.DeadBroadcast; this.FailBroadcast = data.FailBroadcast; this.Pos = data.Pos; this.Face = data.Face; }
public override DCFG Export() { MapWorldBoss data = new MapWorldBoss(); data.ID = this.ID; data.BossID = this.BossID; data.BornBroadcast = this.BornBroadcast; data.OpenBroadcast = this.OpenBroadcast; data.DeadBroadcast = this.DeadBroadcast; data.FailBroadcast = this.FailBroadcast; data.Pos = this.Pos; data.Face = this.Face; return(data); }