public void turn(Table.Turn turn) { Debug.Log("turn的回合"); if (turn.id == MainRole.Instance.Id) { EventDispatcher.Instance.Dispatch(GameEventConst.TURN_TO, true, turn.id); } else { EventDispatcher.Instance.Dispatch(GameEventConst.TURN_TO, false, turn.id); } }
public static void Turn() { Table.Turn turn = new Table.Turn(); NetClient.Instance().WriteMsg("Table.Turn", turn); }