public void sendClient(string uid, List <Dictionary <string, object> > actions) { if (!this.server.mapData.isWatch) { NetAdapter.receive(uid, actions); } }
private void sendClient(float time) { //判断不是最后一帧 并且到了指定的帧 就停止。 if (this._stepIndex == this._totalIndex && this._totalIndex < this.steps.Count) { FightMain.instance.selection.pause = true; return; } //if(FightMain.instance.selection.pause) return; if (this.steps.Count - 1 > this._stepIndex) { NetAdapter.receive(FightMain.instance.selection.uid, this.steps[this._stepIndex++]); } else { this.endFight(); FightMain.instance.gotoLobby(); } }