public void CopyTimeOver(ServerFrame.TimerEvent evt) { if (mIsFinished) { return; } OnFinish(false); }
public void used(ServerFrame.TimerEvent et) { 持续时间 -= 时间间隔; if (持续时间 <= 0) { ServerFrame.TimerManager.clearTimer(mTimeHandle); return; } user.ChangeHP(一次加血, user); var pkg = new RPC.PackageWriter(); //Wuxia.H_RpcRoot.smInstance.HIndex(pkg, user.Id).RPC_SkillReceiveData(pkg, 0, 0, (byte)CSCommon.eHitType.AddHp, 一次加血); Wuxia.H_RpcRoot.smInstance.HIndex(pkg, user.Id).RPC_FlutterInfo(pkg, (byte)CSCommon.eFlutterInfoType.AddHp, 0, 0, 0); pkg.DoCommandPlanes2Client(user.Planes2GateConnect, user.ClientLinkId); }
/**清理;*/ public void clear() { method = null; args = null; }