socket.on(action)をPlayerに移動。