protected override void copyData() { base.copyData(); SkillTargetData targetDataTemp = targetData; if (targetDataTemp != null) { this.targetData = (SkillTargetData)targetDataTemp.clone(); } else { this.targetData = null; nullObjError("targetData"); } PosDirData posDirTemp = posDir; if (posDirTemp != null) { this.posDir = (PosDirData)BytesControl.createData(PosDirData.dataID); this.posDir.copy(posDirTemp); } else { this.posDir = null; nullObjError("posDir"); } }
protected override void copyData() { base.copyData(); SkillTargetData targetTemp = target; if (targetTemp != null) { this.target = (SkillTargetData)targetTemp.clone(); } else { this.target = null; nullObjError("target"); } }
protected override void copyData() { base.copyData(); SkillTargetData targetDataTemp = targetData; if (targetDataTemp != null) { this.targetData = (SkillTargetData)targetDataTemp.clone(); } else { this.targetData = null; nullObjError("targetData"); } IntList targetsTemp = targets; if (targetsTemp != null) { this.targets = new IntList(); IntList targetsT = this.targets; if (!targetsTemp.isEmpty()) { int[] targetsVValues = targetsTemp.getValues(); for (int targetsVI = 0, targetsVLen = targetsTemp.length(); targetsVI < targetsVLen; ++targetsVI) { int targetsV = targetsVValues[targetsVI]; int targetsU; targetsU = targetsV; targetsT.add(targetsU); } } } else { this.targets = null; nullObjError("targets"); } }